]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
This patch cleans up the strsep implementation and improves performance.
[thirdparty/glibc.git] / ChangeLog
1 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2
3 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
4 (do_one_test) Restore original string so iteration works.
5 * string/string-inlines.c (do_test): Create better input strings.
6 (test_main) Reduce number of testruns.
7 * string/string-inlines.c (__old_strsep_1c): New function.
8 (__old_strsep_2c): Likewise.
9 (__old_strsep_3c): Likewise.
10 * string/strsep.c (__strsep): Remove case of small delim string.
11 Call strcspn directly rather than strpbrk.
12 * string/bits/string2.h (__strsep): Remove define.
13 (__strsep_1c): Remove.
14 (__strsep_2c): Remove.
15 (__strsep_3c): Remove.
16 (strsep): Remove.
17 * sysdeps/unix/sysv/linux/internal_statvfs.c
18 (__statvfs_getflags): Rename to __strsep.
19
20 2016-12-21 Florian Weimer <fweimer@redhat.com>
21
22 * csu/libc-tls.c (_dl_tls_setup): Remove.
23 * elf/dl-tls.c (_dl_tls_setup): Likewise.
24 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
25 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
26
27 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
28
29 [BZ #7065]
30 * sysdeps/x86_64/Makefile [$(subdir) = elf]
31 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
32
33 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
34 Florian Weimer <fweimer@redhat.com>
35
36 [BZ #7065]
37 * csu/Makefile (tests): Empty assignment and document it.
38 (tests-static): Remove.
39 * csu/tst-empty.c: Move to...
40 * misc/tst-empty.c: ... here. Switch to new test driver.
41 * csu/tst-atomic.c: Move to...
42 * misc/tst-atomic.c: ... here. Switch to new test driver.
43 * csu/tst-atomic-long.c: Move to...
44 * misc/tst-atomic-long.c: ... here.
45 * misc/Makefile (tests): Add tst-empty, tst-atomic,
46 tst-atomic-long.
47 (tests-static): Add tst-empty.
48
49 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
50
51 * manual/nss.texi: Change incorrect @vtable to @table.
52 * manual/arith.texi: Convert @tables of variables to @vtables
53 and remove unnecessary indexing.
54 * manual/filesys.texi: Likewise.
55 * manual/llio.texi: Likewise.
56 * manual/memory.texi: Likewise.
57 * manual/process.texi: Likewise.
58 * manual/resource.texi: Likewise.
59 * manual/search.texi: Likewise.
60 * manual/signal.texi: Likewise.
61 * manual/socket.texi: Likewise.
62 * manual/stdio.texi: Likewise.
63 * manual/sysinfo.texi: Likewise.
64 * manual/syslog.texi: Likewise.
65 * manual/terminal.texi: Likewise.
66 * manual/time.texi: Likewise.
67 * manual/users.texi: Likewise.
68
69 2016-12-21 Joseph Myers <joseph@codesourcery.com>
70
71 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
72 (roundeven): New declaration.
73 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
74 macro.
75 * math/Versions (roundeven): New libm symbol at version
76 GLIBC_2.25.
77 (roundevenf): Likewise.
78 (roundevenl): Likewise.
79 * math/Makefile (libm-calls): Add s_roundevenF.
80 * math/libm-test.inc (roundeven_test_data): New array.
81 (roundeven_test): New function.
82 (main): Call roundeven_test.
83 * math/test-tgmath.c (NCALLS): Increase to 134.
84 (F(compile_test)): Call roundeven.
85 (F(roundeven)): New function.
86 * manual/arith.texi (Rounding Functions): Document roundeven,
87 roundevenf and roundevenl.
88 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
89 * include/math.h (roundeven): Use libm_hidden_proto.
90 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
91 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
92 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
93 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
94 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
95 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
96 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
97 roundeven.
98 (CFLAGS-nldbl-roundeven.c): New variable.
99 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
100 * sysdeps/nacl/libm.abilist: Update.
101 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
102 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
103 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
104 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
105 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
106 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
107 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
108 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
109 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
110 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
111 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
112 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
114 Likewise.
115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
116 Likewise.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
118 Likewise.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
120 Likewise.
121 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
122 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
123 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
124 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
125 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
127 Likewise.
128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
129 Likewise.
130 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
131 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
132 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
133
134 2016-12-20 Joseph Myers <joseph@codesourcery.com>
135
136 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
137 preprocessor indentation inside #if.
138
139 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
140
141 * math/libm-test.inc (fmt_ftostr): New function.
142 (print_float, check_float_internal): Replace some uses of
143 FTOSTR with uses of fmt_ftostr.
144 (print_max_error, print_complex_max_error, print_function_ulps)
145 (print_complex_function_ulps): Remove uses of the macros
146 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
147 * math/test-double.h (FTOSTR): Define to strfromd.
148 (PRINTF_EXPR): Delete.
149 (PRINTF_XEXPR): Likewise.
150 (PRINTF_NEXPR): Likewise.
151 * math/test-float.h (FTOSTR): Define to strfromf.
152 (PRINTF_EXPR): Delete.
153 (PRINTF_XEXPR): Likewise.
154 (PRINTF_NEXPR): Likewise.
155 * math/test-ldouble.h (FTOSTR): Define to strfroml.
156 (PRINTF_EXPR): Delete.
157 (PRINTF_XEXPR): Likewise.
158 (PRINTF_NEXPR): Likewise.
159
160 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
161
162 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
163 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
164 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
165 (__lll_lock_elision): Decrement adapt_count while unlocking
166 instead of before locking.
167 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
168 (__lll_trylock_elision): Likewise.
169 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
170 (__lll_unlock_elision): Likewise.
171
172 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
173
174 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
175 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
176 Use __libc_tbegin_retry macro.
177
178 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
179
180 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
181 Add -msoft-float.
182 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
183 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
184 Use __libc_t* transaction macros instead of __builtin_t*.
185 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
186 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
187
188 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
189
190 * sysdeps/unix/sysv/linux/s390/elision-lock.c
191 (__lll_lock_elision): Use atomics to load / store adapt_count.
192 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
193 (__lll_trylock_elision): Likewise.
194
195 2016-12-20 Florian Weimer <fweimer@redhat.com>
196
197 Do not require memset elimination in explicit_bzero test.
198 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
199 (enum test_expectation): Add NO_EXPECTATIONS.
200 (subtests): NO_EXPECTATIONS for ordinary clear.
201 (check_test_buffer): Handle NO_EXPECTATIONS.
202 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
203
204 2016-12-20 Joseph Myers <joseph@codesourcery.com>
205
206 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
207 (fmaxmag): New declaration.
208 (fminmag): Likewise.
209 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
210 macro.
211 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
212 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
213 (fmaxmagf): Likewise.
214 (fmaxmagl): Likewise.
215 (fminmag): Likewise.
216 (fminmagf): Likewise.
217 (fminmagl): Likewise.
218 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
219 * math/s_fmaxmag_template.c: New file.
220 * math/s_fminmag_template.c: Likewise.
221 * math/libm-test.inc (fmaxmag_test_data): New array.
222 (fmaxmag_test): New function.
223 (fminmag_test_data): New array.
224 (fminmag_test): New function.
225 (main): Call fmaxmag_test and fminmag_test.
226 * math/test-tgmath.c (NCALLS): Increase to 132.
227 (F(compile_test)): Call fmaxmag and fminmag.
228 (F(fminmag)): New function.
229 (F(fmaxmag)): Likewise.
230 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
231 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
232 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
233 fminmag.
234 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
235 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
236 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
237 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
238 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
239 and fminmag.
240 (CFLAGS-nldbl-fmaxmag.c): New variable.
241 (CFLAGS-nldbl-fminmag.c): Likewise.
242 * sysdeps/nacl/libm.abilist: Update.
243 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
244 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
245 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
246 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
247 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
248 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
249 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
250 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
251 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
252 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
253 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
254 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
256 Likewise.
257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
258 Likewise.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
260 Likewise.
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
262 Likewise.
263 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
264 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
265 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
266 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
267 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
269 Likewise.
270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
271 Likewise.
272 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
274 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
275
276 2016-12-19 Torvald Riegel <triegel@redhat.com>
277
278 [BZ #20973]
279 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
280 wake-up in robust mutexes.
281 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
282
283 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
284
285 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
286 (CFLAGS-bench-fmaxf.c): New rule.
287 (CFLAGS-bench-fminf.c): Likewise.
288 * benchtests/fmaxf-inputs: New file.
289 * benchtests/fminf-inputs: Likewise.
290
291 * benchtests/Makefile (bench-math): Add fmin and fmax.
292 (CFLAGS-bench-fmax.c): New rule.
293 (CFLAGS-bench-fmin.c): Likewise.
294 * benchtests/fmax-inputs: New file.
295 * benchtests/fmin-inputs: Likewise.
296
297 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
298 parenthesis.
299 (CMDLINE_PROCESS): Define using function instead of macro.
300 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
301 of test-skeleton.
302 * benchtests/bench-memchr.c: Likewise.
303 * benchtests/bench-memcmp.c: Likewise.
304 * benchtests/bench-memcpy-large.c: Likewise.
305 * benchtests/bench-memcpy.c: Likewise.
306 * benchtests/bench-memmem.c: Likewise.
307 * benchtests/bench-memmove-large.c: Likewise.
308 * benchtests/bench-memmove.c: Likewise.
309 * benchtests/bench-memset-large.c: Likewise.
310 * benchtests/bench-memset.c: Likewise.
311 * benchtests/bench-rawmemchr.c: Likewise.
312 * benchtests/bench-strcasecmp.c: Likewise.
313 * benchtests/bench-strcasestr.c: Likewise.
314 * benchtests/bench-strcat.c: Likewise.
315 * benchtests/bench-strchr.c: Likewise.
316 * benchtests/bench-strcmp.c: Likewise.
317 * benchtests/bench-strcpy.c: Likewise.
318 * benchtests/bench-strcpy_chk.c: Likewise.
319 * benchtests/bench-strlen.c: Likewise.
320 * benchtests/bench-strncasecmp.c: Likewise.
321 * benchtests/bench-strncmp.c: Likewise.
322 * benchtests/bench-strncpy.c: Likewise.
323 * benchtests/bench-strnlen.c: Likewise.
324 * benchtests/bench-strpbrk.c: Likewise.
325 * benchtests/bench-strrchr.c: Likewise.
326 * benchtests/bench-strsep.c: Likewise.
327 * benchtests/bench-strspn.c: Likewise.
328 * benchtests/bench-strstr.c: Likewise.
329 * benchtests/bench-strtok.c: Likewise.
330
331 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
332
333 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
334 stepping identification.
335 (init_cpu_features): Add handle of Haswell.
336
337 2016-11-25 Jim Meyering <meyering@fb.com>
338
339 [BZ #20386]
340 Let gcc detect assert(a = 1) errors.
341 * assert/assert.h (assert) Rewrite, retaining the old definintion
342 when required, but otherwise putting the expression as-is in an "if"
343 expression (hence, with no added parentheses) within a statement
344 expression.
345
346 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
347
348 * benchtests/Makefile (binaries-benchset): Depend on libsupport
349 DSO.
350
351 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
352
353 * Rules (python-flags, python-invoke): New.
354 ($(test-printers-out)): Use $(python-flags).
355
356 2016-12-16 Joseph Myers <joseph@codesourcery.com>
357
358 * manual/arith.texi (Math Error Reporting): Document that sNaN
359 arguments are not considered domain errors.
360
361 2016-12-16 Zack Weinberg <zackw@panix.com>
362 Florian Weimer <fweimer@redhat.com>
363 Nick Mathewson <nickm@torproject.org>
364
365 * string/explicit_bzero.c: New routine.
366 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
367 * string/Makefile (routines, strop-tests, tests): Add them.
368 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
369 * string/string.h [__USE_MISC]: Declare explicit_bzero.
370
371 * debug/explicit_bzero_chk.c: New routine.
372 * debug/Makefile (routines): Add it.
373 * debug/tst-chk1.c: Test fortification of explicit_bzero.
374 * string/bits/string3.h: Fortify explicit_bzero.
375
376 * manual/string.texi: Document explicit_bzero.
377 * NEWS: Mention addition of explicit_bzero.
378
379 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
380 data before returning, using explicit_bzero.
381 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
382 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
383 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
384
385 * include/string.h: Redirect internal uses of explicit_bzero
386 to __explicit_bzero_chk[_internal].
387 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
388 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
389 * sysdeps/arm/nacl/libc.abilist
390 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
391 * sysdeps/unix/sysv/linux/alpha/libc.abilist
392 * sysdeps/unix/sysv/linux/arm/libc.abilist
393 * sysdeps/unix/sysv/linux/hppa/libc.abilist
394 * sysdeps/unix/sysv/linux/i386/libc.abilist
395 * sysdeps/unix/sysv/linux/ia64/libc.abilist
396 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
397 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
398 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
399 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
400 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
401 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
402 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
403 * sysdeps/unix/sysv/linux/nios2/libc.abilist
404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
408 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
409 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
410 * sysdeps/unix/sysv/linux/sh/libc.abilist
411 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
412 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
415 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
416 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
417 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
418 Add entries for explicit_bzero and __explicit_bzero_chk.
419
420 2016-12-16 Joseph Myers <joseph@codesourcery.com>
421
422 * math/fenv.h
423 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
424 (FE_SNANS_ALWAYS_SIGNAL): New macro.
425 * math/test-fe-snans-always-signal.c: New file.
426 * math/Makefile (tests): Add test-fe-snans-always-signal.
427 (CFLAGS-test-fe-snans-always-signal.c): New variable.
428 * manual/arith.texi (Infinity and NaN): Document
429 FE_SNANS_ALWAYS_SIGNAL.
430
431 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
432
433 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
434 bracket.
435
436 2016-12-16 Joseph Myers <joseph@codesourcery.com>
437
438 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
439 before calling execv.
440
441 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
442
443 [BZ# 20971]
444 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
445 overflow in pointer addition.
446 * string/test-memchr.c (do_test): Add an argument to pass as
447 the size on memchr.
448 (test_main): Add check for SIZE_MAX.
449
450 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
451
452 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
453 (libm-calls): Add w_scalblnF.
454 * math/w_scalbln.c: Remove.
455 * math/w_scalblnf.c: Likewise.
456 * math/w_scalblnl.c: Likewise.
457 * math/w_scalbln_template.c: New file with type-generic
458 implementation based on math/w_scalbln.c.
459 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
460 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
461
462 2016-12-15 Joseph Myers <joseph@codesourcery.com>
463
464 [BZ #20947]
465 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
466 either is a signaling NaN.
467 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
468 follow fmaxl more closely.
469 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
470 when either is a signaling NaN.
471 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
472 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
473 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
474 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
475 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
476 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
477 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
478 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
479 (fmin_test_data): Likewise.
480
481 2016-12-15 Andreas Schwab <schwab@suse.de>
482
483 * support/support_test_main.c (support_test_main): Don't shadow
484 file-local variable test_pid.
485
486 2016-12-15 Joseph Myers <joseph@codesourcery.com>
487
488 [BZ #20947]
489 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
490 either is a signaling NaN.
491 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
492
493 2016-12-14 Joseph Myers <joseph@codesourcery.com>
494
495 [BZ #20947]
496 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
497 when either is a signaling NaN.
498 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
499
500 * bits/long-double.h: New file.
501 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
502 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
503 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
504 * sysdeps/mips/bits/long-double.h: Likewise.
505 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
506 * math/Makefile (headers): Add bits/long-double.h.
507 * misc/sys/cdefs.h: Include <bits/long-double.h>.
508 * stdlib/strtold.c: Include <bits/long-double.h> instead of
509 <bits/wordsize.h>.
510 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
511 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
512 * math/math.h: Do not include <bits/mathdef.h>.
513 * sysdeps/aarch64/bits/mathdef.h: Remove file.
514 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
515 inclusion.
516 * sysdeps/ia64/bits/mathdef.h: Remove file.
517 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
518 * sysdeps/mips/bits/mathdef.h: Likewise.
519 * sysdeps/powerpc/bits/mathdef.h: Likewise.
520 * sysdeps/s390/bits/mathdef.h: Likewise.
521 * sysdeps/sparc/bits/mathdef.h: Likewise.
522 * sysdeps/x86/bits/mathdef.h: Likewise.
523 * sysdeps/s390/s390-32/bits/wordsize.h
524 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
525 conditional code.
526 * sysdeps/s390/s390-64/bits/wordsize.h
527 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
528 Likewise.
529 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
530 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
531 Likewise.
532 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
533 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
534 Likewise.
535 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
536 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
537 Likewise.
538
539 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
540 <linux/falloc.h>.
541 (FALLOC_FL_KEEP_SIZE): Remove.
542 (FALLOC_FL_PUNCH_HOLE): Likewise.
543 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
544 (FALLOC_FL_ZERO_RANGE): Likewise.
545
546 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
547
548 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
549
550 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
551
552 * sysdeps/unix/sysv/linux/renameat.c: New file.
553 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
554
555 * sysdeps/unix/sysv/linux/rename.c: New file.
556 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
557
558 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
559
560 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
561 * string/strtok.c (strtok): Change to tailcall __strtok_r.
562 * string/strtok_r.c (__strtok_r): Optimize for performance.
563 * string/string-inlines.c (__old_strtok_r_1c): New function.
564 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
565
566 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
567
568 * math/Makefile (gen-libm-calls): Add w_log1pF.
569 (libm-calls): Remove w_log1pF.
570 * math/w_log1p.c: Remove.
571 * math/w_log1pf.c: Likewise.
572 * math/w_log1pl.c: Likewise.
573 * math/w_log1p_template.c: New file with type-generic
574 implementation based on math/w_log1p.c.
575 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
576 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
577
578 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
579
580 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
581
582 2016-12-14 Joseph Myers <joseph@codesourcery.com>
583
584 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
585 kernel version to 4.9.
586
587 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
588
589 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
590 ($(inst_libdir)/libm.a): Fix rule to create the target only.
591
592 2016-12-13 Andreas Schwab <schwab@suse.de>
593
594 * sysdeps/powerpc/dl-procinfo.c: Don't define
595 _dl_powerpc_platforms.
596 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
597 constants instead of referencing _dl_powerpc_platforms.
598 (_dl_platform_string): Remove.
599
600 2016-12-13 Florian Weimer <fweimer@redhat.com>
601
602 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
603
604 2016-12-13 Florian Weimer <fweimer@redhat.com>
605
606 * Rules (binaries-shared-tests, binaries-pie-tests)
607 (binaries-static-tests): Link with $(link-extra-libs-tests).
608 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
609 Remove $(link-extra-libs-tests).
610
611 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
612
613 * sysdeps/powerpc/powerpc64/multiarch/Makefile
614 (sysdep_routines): Add strncmp_power9.
615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
616 (strncmp): Add __strncmp_power9 to list of strncmp functions.
617 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
618 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
619 (strncmp): Add __strncmp_power9 to ifunc list.
620 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
621
622 2016-12-12 Florian Weimer <fweimer@redhat.com>
623
624 [BZ #17252]
625 Add getentropy, getrandom.
626 * stdlib/sys/random.h: New file.
627 (headers): Add it.
628 * stdlib/Makefile (routines): Add getentropy, getrandom.
629 (tests): Add tst-getrandom.
630 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
631 * stdlib/getentropy.c: New file.
632 * stdlib/getrandom.c: Likewise.
633 * stdlib/tst-getrandom.c: Likewise.
634 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
635 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
636 * manual/crypt.texi (Unpredictable Bytes): New section.
637 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
638 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
639 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
640 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
641 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
642 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
643 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
644 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
645 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
646 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
647 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
648 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
649 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
650 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
651 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
652 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
654 Likewise.
655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
656 Likewise.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
659 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
660 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
661 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
662 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
663 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
666 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
668 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
669
670 2016-12-10 Florian Weimer <fweimer@redhat.com>
671
672 [BZ #20956]
673 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
674 as additional compiler barriers.
675 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
676 (fn2, do_test): Declare with external linkage.
677 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
678 (do_test): Declare with external linkage.
679 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
680 (do_test): Declare with external linkage.
681 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
682 (do_test): Declare with external linkage.
683
684 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
685
686 * support/support_test_main.c (support_test_main): Use correct
687 timeout.
688
689 2016-12-09 Carlos O'Donell <carlos@redhat.com>
690 Florian Weimer <fweimer@redhat.com>
691
692 [BZ #16421]
693 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
694 and __u6_addr32 members.
695 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
696 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
697 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
698 Use __u6_addr32.
699 * inet/tst-checks.c: Use <support/test-driver.c>
700 * inet/tst-checks-posix.c: New file.
701 * inet/Makefile (tests): Add it.
702 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
703
704 2016-12-09 Florian Weimer <fweimer@redhat.com>
705
706 New subdirectory support for build and test infrastructure.
707 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
708 setting install-lib.
709 * Makeconfig (link-extra-libs-tests): Define.
710 (+link-pie-tests, +link-static-tests, +link-tests): Use
711 link-extra-libs-tests.
712 (rpath-dirs, all-subdirs): Add support.
713 (built-modules): Add libsupport.
714 (libsupport): Define.
715 * support: New directory.
716 * support/Makefile: New file.
717 * support/check.c: Likewise.
718 * support/check.h: Likewise.
719 * support/delayed_exit.c: Likewise.
720 * support/ignore_stderr.c: Likewise.
721 * support/oom_error.c: Likewise.
722 * support/set_fortify_handler.c: Likewise.
723 * support/support.h: Likewise.
724 * support/temp_file-internal.h: Likewise.
725 * support/temp_file.c: Likewise.
726 * support/test-driver.c: Likewise.
727 * support/test-driver.h: Likewise.
728 * support/test_main.c: Likewise.
729 * support/write_message.c: Likewise.
730 * support/xasprintf.c: Likewise.
731 * support/xcalloc.c: Likewise.
732 * support/xmalloc.c: Likewise.
733 * support/xpthread_barrier_destroy.c: Likewise.
734 * support/xpthread_barrier_init.c: Likewise.
735 * support/xpthread_barrier_wait.c: Likewise.
736 * support/xpthread_cancel.c: Likewise.
737 * support/xpthread_check_return.c: Likewise.
738 * support/xpthread_cond_wait.c: Likewise.
739 * support/xpthread_create.c: Likewise.
740 * support/xpthread_detach.c: Likewise.
741 * support/xpthread_join.c: Likewise.
742 * support/xpthread_mutex_lock.c: Likewise.
743 * support/xpthread_mutex_unlock.c: Likewise.
744 * support/xpthread_sigmask.c: Likewise.
745 * support/xpthread_spin_lock.c: Likewise.
746 * support/xpthread_spin_unlock.c: Likewise.
747 * support/xrealloc.c: Likweise.
748 * support/xsignal.h: Likewise.
749 * support/xthread.h: Likewise.
750 * support_tempfile.h: Likewise.
751 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
752 (TEST_DATA_LIMIT): Remove unused macro.
753 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
754 <support/check.h>.
755 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
756 (ignore_stderr, set_fortify_handler): Remove. Now in
757 <support/support.h>.
758 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
759 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
760 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
761 (xpthread_join): Remove. Now in <support/xthread.h>.
762 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
763 Introduce legacy wrappers.
764 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
765 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
766 (write_message): Remove.
767 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
768 test-skeleton.c.
769 * io/test-open-tmpfile: Likewise.
770 * io/tst-posix_fallocate-common.c: Likewise.
771 * libio/tst-fseek.c: Likewise.
772 * malloc/tst-malloc-backtrace.c: Likewise.
773 * malloc/tst-malloc-fork-deadlock.c: Likewise.
774 * malloc/tst-malloc-thread-exit.c: Likewise.
775 * nptl/tst-cancel7.c: Likewise.
776 * nptl/tst-cleanup0.c: Likewise.
777 * posix/tst-posix_fadvise-common.c: Likewise.
778 * rt/tst-shm.c: Likewise.
779 * time/bug-getdate1.c: Likewise.
780 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
781 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
782 * elf/Makefile (tst-piemod1.so): Link against libsupport.
783
784 2016-12-08 Joseph Myers <joseph@codesourcery.com>
785
786 * Rules [$(run-built-tests) != no] (tests-expected): Add
787 $(tests-printers).
788 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
789
790 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
791
792 [BZ #20539]
793 * math/Makefile (install-lib-ldscripts): Add libm.a.
794 (install_subdir): Remove.
795 (install-others): Add.
796 ($(inst_libdir)/libm.a): Add rule for installation as
797 linker script.
798 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
799
800 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
801
802 * INSTALL: Regenerated.
803 * Makeconfig: Add comments and whitespace to make the control flow
804 clearer.
805 (+link-printers-tests, +link-pie-printers-tests,
806 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
807 built-rtld-LDFLAGS, link-libc-rpath,
808 link-libc-tests-after-rpath-link,
809 link-libc-printers-tests): New.
810 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
811 link-libc-tests): Use the new variables as required.
812 * Makerules ($(py-const)): New rule.
813 generated: Add $(py-const).
814 * README.pretty-printers: New file.
815 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
816 (others): Depend on $(py-const).
817 (tests): Depend on $(tests-printers-programs) or
818 $(tests-printers-out),
819 as required. Pass $(tests-printers) to merge-test-results.sh.
820 * manual/install.texi: Add requirements for testing the pretty
821 printers.
822 * nptl/Makefile (gen-py-const-headers, pretty-printers,
823 tests-printers, CFLAGS-test-mutexattr-printers.c
824 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
825 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
826 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
827 * nptl/nptl-printers.py: New file.
828 * nptl/nptl_lock_constants.pysym: Likewise.
829 * nptl/test-cond-printers.c: Likewise.
830 * nptl/test-cond-printers.py: Likewise.
831 * nptl/test-condattr-printers.c: Likewise.
832 * nptl/test-condattr-printers.py: Likewise.
833 * nptl/test-mutex-printers.c: Likewise.
834 * nptl/test-mutex-printers.py: Likewise.
835 * nptl/test-mutexattr-printers.c: Likewise.
836 * nptl/test-mutexattr-printers.py: Likewise.
837 * nptl/test-rwlock-printers.c: Likewise.
838 * nptl/test-rwlock-printers.py: Likewise.
839 * nptl/test-rwlockattr-printers.c: Likewise.
840 * nptl/test-rwlockattr-printers.py: Likewise.
841 * scripts/gen-py-const.awk: Likewise.
842 * scripts/test_printers_common.py: Likewise.
843 * scripts/test_printers_exceptions.py: Likewise.
844
845 2016-12-07 Joseph Myers <joseph@codesourcery.com>
846
847 * scripts/build-many-glibcs.py (Context.__init__): Take strip
848 argument.
849 (Glibc.build_glibc): Strip installed shared libraries if
850 requested.
851 (get_parser): Add --strip option.
852 (main): Update Context call.
853
854 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
855 Dominik Vogt <vogt@linux.vnet.ibm.com>
856
857 [BZ #20847]
858 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
859 array bounds for else branch.
860 (__execvpe): Style fixes.
861 * posix/tst-vfork3.c (run_script): New function.
862 (create_script): Likewise.
863 (do_test): Use run_script internal function.
864 (do_prepare): Use create_script internal function.
865
866 2016-12-07 Andreas Schwab <schwab@suse.de>
867
868 * sysdeps/unix/sysv/linux/x86/elision-conf.h
869 (__elision_available): Don't declare.
870 * sysdeps/unix/sysv/linux/x86/elision-conf.c
871 (__elision_available): Don't define.
872 (elision_init): Don't set __elision_available.
873
874 2016-12-07 Joseph Myers <joseph@codesourcery.com>
875
876 [BZ #20940]
877 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
878 return Inf for arguments Inf and sNaN.
879 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
880 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
881 Likewise.
882 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
883 Likewise.
884 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
885 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
886 for arguments Inf and sNaN. When returning a NaN, compute it by
887 arithmetic on the arguments.
888 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
889 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
890 arguments.
891
892 2016-12-06 Joseph Myers <joseph@codesourcery.com>
893
894 [BZ #20916]
895 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
896 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
897 to compute result.
898 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
899 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
900
901 2016-12-05 Torvald Riegel <triegel@redhat.com>
902
903 * include/atomic.h (__atomic_check_size_ls): New.
904 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
905 atomic_store_release): Use it.
906 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
907 (elision_adapt, ELIDE_LOCK): Use atomics.
908 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
909 atomics and improve code comments.
910 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
911 (__lll_trylock_elision): Likewise.
912
913 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
914
915 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
916 programs.
917
918 2016-12-02 Joseph Myers <joseph@codesourcery.com>
919
920 [BZ #20916]
921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
922 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
923 arguments to compute result.
924 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
925 1 for arguments (sNaN, 0) or (1, sNaN).
926 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
927 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
928
929 [BZ #20919]
930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
931 NaN first argument when raised to power 0.
932 * math/w_pow.c (__pow): Do not check for NaN or zero results from
933 raising to power zero.
934 * math/w_powf.c (__powf): Likewise.
935 * math/w_powl.c (__powl): Likewise.
936 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
937 pow (0, 0) or pow (NaN, 0).
938
939 2016-12-02 Carlos O'Donell <carlos@redhat.com>
940
941 [BZ #20918]
942 * configure.ac: Test for static NSS cryptographic libraries and set
943 libc_cv_static_nss_crypt.
944 * configure: Regenerate.
945 * config.make.in (static-nss-crypt): Define.
946 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
947 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
948 (CFLAGS-tst-linkall-static.c): Define.
949 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
950 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
951 ($(objpfx)tst-linkall-static): Define.
952 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
953 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
954
955 2016-12-02 Florian Weimer <fweimer@redhat.com>
956
957 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
958 (one-hundred, tst-tls-many-dynamic-modules): Define.
959 (modules-names): Add $(tst-tls-many-dynamic-modules).
960 (tst-tls-manydynamic%mod.os): Build with special preprocessor
961 macros.
962 (tst-tls-manydynamic): Link against libdl, libpthread.
963 (tst-tls-manydynamic.out): The test needs the test modules at run
964 time.
965 * elf/tst-tls-manydynamic.c: New file.
966 * elf/tst-tls-manydynamic.h: Likewise.
967 * elf/tst-tls-manydynamicmod.c: Likewise.
968
969 2016-12-02 Florian Weimer <fweimer@redhat.com>
970
971 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
972 (TLS_DTV_UNALLOCATED): Add.
973 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
974 offsets.
975
976 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
977
978 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
979
980 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
981
982 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
983 Add -fno-optimize-sibling-calls.
984
985 2016-12-02 Joseph Myers <joseph@codesourcery.com>
986
987 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
988 New declaration.
989 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
990 macro.
991 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
992 New macro.
993 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
994 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
995 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
996 (llogbf): Likewise.
997 (llogbl): Likewise.
998 * math/Makefile (gen-libm-calls): Add w_llogbF.
999 (tests): Add test-fp-llogb-constants.
1000 * math/w_llogb_template.c: New file. Based on
1001 math/w_ilogb_template.c.
1002 * math/libm-test.inc (llogb_test_data): New array.
1003 (llogb_test): New function.
1004 (main): Call llogb_test.
1005 * math/test-fp-llogb-constants.c: New file. Based on
1006 math/test-fp-ilogb-constants.c.
1007 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
1008 (do_test): Call check_return_llogb.
1009 * math/test-tgmath.c (NCALLS): Increase to 126.
1010 (F(compile_test)): Call llogb.
1011 (F(llogb)): New function.
1012 * manual/math.texi (Exponents and Logarithms): Document llogb,
1013 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
1014 * manual/libm-err-tab.pl (@all_functions): Add llogb.
1015 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
1016 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1017 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
1018 (CFLAGS-nldbl-llogb.c): New variable.
1019 * sysdeps/nacl/libm.abilist: Update.
1020 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1021 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1022 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1023 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1024 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1025 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1026 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1027 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1028 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1029 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1030 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1031 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1033 Likewise.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1035 Likewise.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1037 Likewise.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1039 Likewise.
1040 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1041 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1042 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1043 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1044 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1046 Likewise.
1047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1048 Likewise.
1049 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1050 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1051 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1052
1053 2016-12-01 Joseph Myers <joseph@codesourcery.com>
1054
1055 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
1056 _Float128 instead of long double.
1057 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
1058
1059 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
1060 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
1061 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
1062 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
1063 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
1064 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
1065 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
1066 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
1067 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
1068 Likewise.
1069
1070 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1071
1072 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
1073 Remove redirection to __strrchr_ppc.
1074
1075 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1076
1077 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1078 (sysdep_routines): Add strcmp_power9.
1079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1080 (strcmp): Add __strcmp_power9 to list of strcmp functions.
1081 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
1082 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
1083 (strcmp): Add __strcmp_power9 to ifunc list.
1084 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
1085
1086 2016-12-01 Joseph Myers <joseph@codesourcery.com>
1087
1088 * bits/fp-logb.h: New file.
1089 * sysdeps/ia64/bits/fp-logb.h: Likewise.
1090 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
1091 * sysdeps/x86/bits/fp-logb.h: Likewise.
1092 * math/Makefile (headers): Add bits/fp-logb.h.
1093 * math/math.h: Include <bits/fp-logb.h>.
1094 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
1095 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
1096 * bits/mathdef.h (FP_ILOGB0): Remove.
1097 (FP_ILOGBNAN): Likewise.
1098 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
1099 (FP_ILOGBNAN): Likewise.
1100 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
1101 (FP_ILOGBNAN): Likewise.
1102 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
1103 (FP_ILOGBNAN): Likewise.
1104 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
1105 (FP_ILOGBNAN): Likewise.
1106 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
1107 (FP_ILOGBNAN): Likewise.
1108 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
1109 (FP_ILOGBNAN): Likewise.
1110 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
1111 (FP_ILOGBNAN): Likewise.
1112 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
1113 (FP_ILOGBNAN): Likewise.
1114 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
1115 (FP_ILOGBNAN): Likewise.
1116
1117 * scripts/build-many-glibcs.py: Add bot to usage message. Import
1118 time module.
1119 (Context.__init__): Initialize self.logsdir_old.
1120 (Context.run_builds): Handle bot action.
1121 (Context.bot_cycle): Copy logs directory before running builds.
1122 (Context.bot_run_self): Take argument for whether to check
1123 subprocess result. Flush stdout before running subprocess.
1124 (Context.bot): New function.
1125 (get_parser): Allow bot action.
1126
1127 2016-11-30 Joseph Myers <joseph@codesourcery.com>
1128
1129 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
1130 Import email.mime.text, email.utils and smtplib modules.
1131 (Context.__init__): Initialize self.bot_config_json.
1132 (Context.run_builds): Handle bot-cycle action.
1133 (Context.load_bot_config_json): New function.
1134 (Context.part_build_old): Likewise.
1135 (Context.bot_cycle): Likewise.
1136 (Context.bot_build_mail): Likewise.
1137 (Context.bot_run_self): Likewise.
1138 (get_parser): Allow bot-cycle action.
1139
1140 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1141
1142 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
1143 Remove redirection to __stpcpy_ppc.
1144
1145 2016-11-30 Florian Weimer <fweimer@redhat.com>
1146
1147 Remove __libc_memalign from ld.so because it is unused.
1148 * elf/dl-minimal.c: Update comment on the malloc implementation.
1149 (malloc): Renamed from __libc_memalign, replacing the original
1150 malloc implementation. Replace the align parameter with
1151 MALLOC_ALIGNMENT.
1152 * elf/Versions (ld): Update comment and remove __libc_memalign.
1153 * sysdeps/nacl/ld.abilist: Likewise.
1154 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
1155 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
1156 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
1157 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
1158 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
1159 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
1160 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
1161 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
1162 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
1163 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
1164 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
1165 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
1166 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1170 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
1171 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
1172 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
1173 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
1174 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
1175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
1176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
1177 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
1178 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
1179 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
1180 * sysdeps/generic/localplt.data (ld.so): Likewise.
1181 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1182 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1183 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1184 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1185 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1186 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1187 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1188 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
1189 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1191 (ld.so): Likewise.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1193 (ld.so): Likewise.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1195 Likewise.
1196 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1197 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1198 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
1199 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
1200 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1201
1202 2016-11-30 Florian Weimer <fweimer@redhat.com>
1203
1204 [BZ #16628]
1205 Implement _dl_catch_error, _dl_signal_error in libc.so.
1206 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
1207 (catch_hook): Define as thread-local or regular variable,
1208 depending on DL_ERROR_BOOTSTRAP.
1209 (CATCH_HOOK): Remove.
1210 (dl_signal_error, _dl_catch_error): Use
1211 catch_hook. Add hidden definition for libc.
1212 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
1213 for DL_ERROR_BOOTSTRAP only.
1214 * elf/dl-error.c: New file.
1215 * elf/dl-error-minimal.c: Likewise.
1216 * elf/tst-latepthread.c: Likewise.
1217 * elf/tst-latepthreadmod.c: Likewise.
1218 * elf/Makefile (routines): Add dl-error.
1219 (dl-routines): Remove dl-error.
1220 (rtld-routines): Add dl-error-minimal.
1221 [build-shared] (tests): Add tst-latepthread.
1222 (module-names): Add tst-latepthreadmod.
1223 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
1224 symbol.
1225 (tst-latepthreadmod.so): Link against libpthread.
1226 (tst-latepthread): Link against libdbl.
1227 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
1228 _dl_catch_error.
1229 [ld] (GLIBC_PRIVATE): Likewise.
1230 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
1231 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
1232 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
1233 directly.
1234 * elf/dl-tsd.c: Remove file.
1235 * elf/rtld.c (_rtld_global_ro): Remove initializers for
1236 _dl_catch_error, _dl_signal_error.
1237 (_dl_initial_error_catch_tsd): Remove definition.
1238 (do_preload): Remove initialization of dl_error_catch_tsd.
1239 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
1240 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
1241 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1242 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1243 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
1244 set dl_error_catch_tsd.
1245 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
1246 _dl_error_catch_tsd member.
1247 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
1248 members.
1249 (_dl_initial_error_catch_tsd): Remove declaration.
1250 (_dl_dprintf): Provide definition for use outside of ld.so.
1251 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
1252 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
1253 prototype for libc.
1254 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
1255 _dl_catch_error.
1256 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1257 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1258 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1259 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1260 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1261 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1262 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1263 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
1264 Likewise.
1265 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1267 (ld.so): Likewise.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1269 (ld.so): Likewise.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1271 Likewise.
1272 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1273 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1274 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
1275 Likewise.
1276 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
1277 Likewise.
1278 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1279
1280 2016-11-30 Florian Weimer <fweimer@redhat.com>
1281
1282 [BZ #4099]
1283 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
1284 _IO_BUFSIZ (8192).
1285
1286 2016-11-30 Carlos O'Donell <carlos@redhat.com>
1287
1288 * PROJECTS: Remove file.
1289
1290 2016-11-29 Florian Weimer <fweimer@redhat.com>
1291
1292 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
1293
1294 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
1295 Steve Ellcey <sellcey@caviumnetworks.com>
1296
1297 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
1298 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
1299 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
1300 fxstatat.
1301 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
1302 lxstat.
1303 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
1304 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
1305 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
1306 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
1307 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
1308 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
1309 __xstat.
1310
1311 2016-11-29 Florian Weimer <fweimer@redhat.com>
1312
1313 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
1314 Define.
1315 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
1316 definition.
1317
1318 2016-11-29 Florian Weimer <fweimer@redhat.com>
1319
1320 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
1321 version and turn into strong alias. Remove compat symbol.
1322
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1324 (__longjmp): Remove.
1325
1326 2016-11-29 Joseph Myers <joseph@codesourcery.com>
1327
1328 * bits/fp-fast.h: New file.
1329 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
1330 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
1331 * math/Makefile (headers): Add bits/fp-fast.h.
1332 * math/math.h: Include <bits/fp-fast.h>.
1333 * bits/mathdef.h (FP_FAST_FMA): Remove.
1334 (FP_FAST_FMAF): Likewise.
1335 (FP_FAST_FMAL): Likewise.
1336 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
1337 (FP_FAST_FMAF): Likewise.
1338 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
1339 (FP_FAST_FMAF): Likewise.
1340 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
1341 (FP_FAST_FMAF): Likewise.
1342 (FP_FAST_FMAL): Likewise.
1343 * sysdeps/arm/bits/mathdef.h: Remove file.
1344 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
1345 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1346 * sysdeps/tile/bits/mathdef.h: Likewise.
1347
1348 2016-11-28 Joseph Myers <joseph@codesourcery.com>
1349
1350 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
1351 * math/w_ilogb.c: Remove.
1352 * math/w_ilogbf.c: Likewise.
1353 * math/w_ilogbl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
1355 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
1356 * math/Makefile (gen-libm-calls): Add w_ilogbF.
1357 (libm-calls): Remove w_ilogbF.
1358 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
1359 (LDOUBLE_ilogbl_libm_version): New macro.
1360
1361 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
1362
1363 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
1364 [!__STRICT_ANSI__ && !__cplusplus].
1365
1366 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
1367
1368 [BZ #20750]
1369 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
1370 of PIC.
1371
1372 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1373 Yury Norov <ynorov@caviumnetworks.com>
1374 Steve Ellcey <sellcey@caviumnetworks.com>
1375
1376 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
1377 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
1378 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
1379 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
1380 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
1381 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
1382 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
1383 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
1384 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
1385 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
1386 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
1387 to get correct reg name for ILP32.
1388 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
1389 (RELA_SIZE): New Macro.
1390 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
1391 to support ILP32.
1392 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
1393 cast for ILP32 mode.
1394 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
1395 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
1396 * sysdeps/aarch64/memset.S (__memset): Ditto.
1397 * sysdeps/aarch64/strchr.S (strchr): Ditto.
1398 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
1399 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
1400 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
1401 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
1402 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
1403 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
1404 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
1405 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
1406 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
1407 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
1408 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
1409 change PTR_MANGLE call to use register numbers instead of names.
1410 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
1411 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
1412 ILP32 mode, change PTR_MANGLE calls to use register numbers.
1413 * sysdeps/aarch64/start.S (_start): Ditto.
1414 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
1415 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
1416 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
1417 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
1418 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
1419 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
1420 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
1421 Make defined values dependent on __ILP32__.
1422 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
1423 (sem_t): Change __align type.
1424 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
1425 PTR_SIZE): New Macros.
1426 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
1427 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
1428 Set when in ILP32 mode.
1429 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
1430 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
1431 Set elf flags for ILP32.
1432 (add_system_dir): Set ILP32 library directories.
1433 * sysdeps/unix/sysv/linux/aarch64/init-first.c
1434 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
1435 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
1436 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
1437 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
1438 New Macros.
1439 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
1440
1441 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
1442
1443 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
1444 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
1445 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
1446
1447 2016-11-28 Joseph Myers <joseph@codesourcery.com>
1448
1449 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
1450 <asm/cachectl.h>.
1451
1452 2016-11-27 Zack Weinberg <zackw@panix.com>
1453
1454 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
1455 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
1456
1457 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1458
1459 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
1460 error_t to fix usage in C++ programs.
1461
1462 2016-11-26 Joseph Myers <joseph@codesourcery.com>
1463
1464 * scripts/build-many-glibcs.py: Import datetime module.
1465 (Context.__init__): Load JSON build state. Initialize list of
1466 status logs.
1467 (Context.run_builds): Update saved build state.
1468 (Context.add_makefile_cmdlist): Update list of status logs.
1469 (Context.load_build_state_json): New function.
1470 (Context.store_build_state_json): Likewise.
1471 (Context.clear_last_build_state): Likewise.
1472 (Context.update_build_state): Likewise.
1473 (CommandList.status_logs): Likewise.
1474
1475 2016-11-25 Joseph Myers <joseph@codesourcery.com>
1476
1477 * scripts/build-many-glibcs.py (Context.__init__): Save text of
1478 script being executed.
1479 (Context.get_script_text): New function.
1480 (Context.exec_self): Likewise.
1481 (Context.checkout): Re-exec script if changed by checkout process.
1482
1483 2016-11-24 Joseph Myers <joseph@codesourcery.com>
1484
1485 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1486 (setpayloadsig): New declaration.
1487 * math/Versions (setpayloadsig): New libm symbol at version
1488 GLIBC_2.25.
1489 (setpayloadsigf): Likewise.
1490 (setpayloadsigl): Likewise.
1491 * math/Makefile (libm-calls): Add s_setpayloadsigF.
1492 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
1493 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
1494 (setpayloadsig_test_data): New array.
1495 (setpayloadsig_test): New function.
1496 (main): Call setpayloadsig_test.
1497 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
1498 setpayloadsigf and setpayloadsigl.
1499 * manual/libm-err-tab.pl: Update comment on interfaces without
1500 ulps tabulated.
1501 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
1502 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
1503 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
1504 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
1505 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
1506 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
1507 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1508 setpayloadsig.
1509 (CFLAGS-nldbl-setpayloadsig.c): New variable.
1510 * sysdeps/nacl/libm.abilist: Update.
1511 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1512 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1513 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1514 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1515 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1516 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1517 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1518 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1519 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1520 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1521 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1522 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1524 Likewise.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1526 Likewise.
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1528 Likewise.
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1530 Likewise.
1531 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1532 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1533 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1534 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1535 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1537 Likewise.
1538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1539 Likewise.
1540 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1541 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1542 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1543
1544 * scripts/build-many-glibcs.py: Import json module.
1545 (Context.__init__): Take replace_sources argument. Load
1546 versions.json.
1547 (Context.load_versions_json): New function.
1548 (Context.store_json): Likewise.
1549 (Context.store_versions_json): Likewise.
1550 (Context.set_component_version): Likewise.
1551 (Context.checkout): Update versions.json. Check for and handle
1552 changes of version. Prefer previously explicitly specified
1553 version to default version.
1554 (Context.checkout_vcs): Return a revision identifier.
1555 (Context.git_checkout): Likewise.
1556 (Context.gcc_checkout): Likewise.
1557 (get_parser): Add --replace-sources option.
1558 (main): Pass replace_sources argument to Context call.
1559
1560 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1561
1562 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
1563 * nptl/allocatestack.c (allocate_stack): Likewise.
1564 (__reclaim_stacks): Likewise.
1565 (setxid_signal_thread): Obtain pid through syscall.
1566 * nptl/nptl-init.c (sigcancel_handler): Likewise.
1567 (sighandle_setxid): Likewise.
1568 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
1569 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1570 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1571 Likewise.
1572 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1573 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
1574 comment.
1575 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
1576 * nptl/descr.h (struct pthread): Change comment about pid value.
1577 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1578 pid assert.
1579 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1580 Do not set pid value.
1581 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1582 pid cache check.
1583 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1584 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1585 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1586 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1587 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1588 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1589 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1590 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1591 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1592 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1593 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1594 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1595 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1596 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1597 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1598 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1599 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1600 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1601 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1602 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1603 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1604 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1605 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1606 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1607 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1610 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1611 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1612 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1613 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1614 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1615 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1616 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1617 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1618 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1619 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1620 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1621 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1622 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1623 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1624 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1625 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1628 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1629 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1630 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1631 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1633 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1634 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1635 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1636 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1637 struct access.
1638 (clone_test): Remove function.
1639 (do_test): Rewrite to take in consideration pid is not cached anymore.
1640
1641 2016-11-24 Joseph Myers <joseph@codesourcery.com>
1642
1643 * bits/flt-eval-method.h: New file.
1644 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1645 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1646 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1647 * math/Makefile (headers): Add bits/flt-eval-method.h.
1648 * math/math.h: Include <bits/flt-eval-method.h>.
1649 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1650 [__USE_ISOC99] (double_t): Likewise.
1651 * bits/mathdef.h (float_t): Remove.
1652 (double_t): Likewise.
1653 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1654 (double_t): Likewise.
1655 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1656 (double_t): Likewise.
1657 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1658 (double_t): Likewise.
1659 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1660 (double_t): Likewise.
1661 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1662 (double_t): Likewise.
1663 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1664 (double_t): Likewise.
1665 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1666 (double_t): Likewise.
1667 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1668 (double_t): Likewise.
1669 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1670 (double_t): Likewise.
1671 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1672 (double_t): Likewise.
1673 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1674 (double_t): Likewise.
1675 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1676 (double_t): Likewise.
1677 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1678 (double_t): Likewise.
1679
1680 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
1681
1682 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1683 instead of PIC.
1684
1685 2016-11-23 Joseph Myers <joseph@codesourcery.com>
1686
1687 [BZ #20859]
1688 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1689 (-0x7fffffff) instead of 0x80000001.
1690 * math/test-fp-ilogb-constants.c: New file.
1691 * math/Makefile (tests): Add test-fp-ilogb-constants.
1692
1693 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
1694
1695 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1696 (_init): Use it in place of hardcoded R_MIPS_JALR.
1697 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1698 (_init): Use it in place of hardcoded R_MIPS_JALR.
1699 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1700 (_init): Use it in place of hardcoded R_MIPS_JALR.
1701
1702 2016-11-23 Joseph Myers <joseph@codesourcery.com>
1703
1704 [BZ #20787]
1705 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1706 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1707 (double_t): Do not define to double if [__x86_64__] when
1708 __FLT_EVAL_METHOD__ is nonzero.
1709 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1710 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1711 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1712 test-flt-eval-method-387 and test-flt-eval-method-sse.
1713 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1714 variable.
1715 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1716
1717 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
1718
1719 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1720 use of -fno-isolate-erroneous-paths options for tilepro.
1721
1722 2016-11-23 Florian Weimer <fweimer@redhat.com>
1723
1724 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1725 structure initialization is no longer needed.
1726
1727 2016-11-23 Joseph Myers <joseph@codesourcery.com>
1728
1729 [BZ #20855]
1730 * bits/mathdef.h (float_t): Define to float.
1731 * math/test-flt-eval-method.c: New file.
1732 * math/Makefile (tests): Add test-flt-eval-method.
1733 (CFLAGS-test-flt-eval-method.c): New variable.
1734
1735 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
1736
1737 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1738 and __fstatfs. Make them aliases of __fstatfs64 if
1739 STATFS_IS_STATFS64 is set to non-zero.
1740 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1741 and __statfs64.
1742 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1743 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1744 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1745 for __statfs and statfs.
1746 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1747 to 0.
1748 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1749 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1750 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1751 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1752 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1753 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1756 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1757 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1758 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1759 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1760
1761 2016-11-22 Andreas Schwab <schwab@suse.de>
1762
1763 * misc/mkstemp.c: Include <fcntl.h>.
1764 * misc/mkstemps.c: Likewise.
1765 * misc/mkostemp.c: Likewise.
1766 * misc/mkostemps.c: Likewise.
1767
1768 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
1769
1770 [BZ #20847]
1771 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1772 array bounds.
1773 (__execvpe): Likewise.
1774
1775 2016-11-22 Joseph Myers <joseph@codesourcery.com>
1776
1777 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1778 -fno-isolate-erroneous-paths options for tilepro.
1779
1780 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
1781
1782 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1783 to 0 when in 32 bit mode.
1784 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1785 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1786 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1787 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1789 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1790 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1791 XSTAT_IS_XSTAT64 test.
1792 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1793 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1794 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1795 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1796 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1797 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1798 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1799 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1800 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1801 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1802 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1803
1804 2016-11-19 Joseph Myers <joseph@codesourcery.com>
1805
1806 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1807 (setpayload): New declaration.
1808 * math/Versions (setpayload): New libm symbol at version
1809 GLIBC_2.25.
1810 (setpayloadf): Likewise.
1811 (setpayloadl): Likewise.
1812 * math/Makefile (libm-calls): Add s_setpayloadF.
1813 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1814 test_Ff_b1_data.
1815 (RUN_TEST_Ff_b1): New macro.
1816 (RUN_TEST_LOOP_Ff_b1): Likewise.
1817 (canonicalize_test_data): Update type.
1818 (setpayload_test_data): New array.
1819 (setpayload_test): New function.
1820 (main): Call setpayload_test.
1821 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1822 setpayloadf and setpayloadl.
1823 * manual/libm-err-tab.pl: Update comment on interfaces without
1824 ulps tabulated.
1825 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1826 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1827 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1828 Likewise.
1829 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1830 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1835 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1836 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1837 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1838 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1839 setpayload.
1840 (CFLAGS-nldbl-setpayload.c): New variable.
1841 * sysdeps/nacl/libm.abilist: Update.
1842 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1843 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1844 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1845 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1846 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1847 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1848 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1849 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1850 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1851 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1852 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1853 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1855 Likewise.
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1857 Likewise.
1858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1859 Likewise.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1861 Likewise.
1862 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1863 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1864 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1865 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1866 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1868 Likewise.
1869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1870 Likewise.
1871 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1872 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1873 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1874
1875 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1876
1877 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1878 * include/unistd.h: Extend comment about __access_noerrno return
1879 semantics.
1880 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1881 (access_common): Correct typo for EACCES.
1882
1883 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
1884
1885 * sysdeps/tile/math-tests.h: New file.
1886
1887 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1888 (__old_set_dataplane): Rename from set_dataplane and make a
1889 compatibility symbol.
1890 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1891 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1892 sys/dataplane.h.
1893
1894 2016-11-18 Joseph Myers <joseph@codesourcery.com>
1895
1896 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1897 script quote words in command output to log suitably for input to
1898 the shell.
1899
1900 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
1901 Maciej W. Rozycki <macro@imgtec.com>
1902
1903 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1904 `.Lno_weak_fn' label.
1905 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1906 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1907
1908 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1909 Yury Norov <ynorov@caviumnetworks.com>
1910
1911 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1912 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1913 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1914 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1915 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1917 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1919 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1920 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1921 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1922 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1923 (sysdep_routines): Remove oldgetrlimit64.
1924 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1925 (sysdep_routines): Likewise.
1926 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1927 (sysdep_routines): Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1929 [$(subdir) = resource] (sysdep_routines): Likewise.
1930 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1931 [$(subdir) = resource] (sysdep_routines): Likewise.
1932 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1933 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1934 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1935 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1936 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1937 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1938 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1939 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1940 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1941 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1942 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1943 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1944 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1945 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1946 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1947 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1948 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1949 setrlimit and getrlimit.
1950 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1951 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1952 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1955 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1956 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1957 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1958 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1959 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1960 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1961 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1962 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1963 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1964 (__old_getrlimit64): Add compatibility symbol.
1965 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1966
1967 2016-11-17 Joseph Myers <joseph@codesourcery.com>
1968
1969 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1970 newly built gmp, mpfr and mpc.
1971
1972 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1973
1974 2016-11-16 Joseph Myers <joseph@codesourcery.com>
1975
1976 * conform/Makefile (linknamespace-libs): Rename to
1977 linknamespace-libs-thr.
1978 (linknamespace-libs-posix): New variable.
1979 (linknamespace-libs-xsi): Likewise.
1980 (linknamespace-libs-XPG3): Include libcrypt.a.
1981 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1982 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1983 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1984 (linknamespace-libs-XOPEN2K): Likewise.
1985 (linknamespace-libs-XOPEN2K8): Likewise.
1986 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1987
1988 [BZ #20829]
1989 * stdio-common/Versions (__snprintf): Add to version
1990 GLIBC_PRIVATE.
1991 * include/stdio.h (__snprintf): Use libc_hidden_proto.
1992 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1993 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1994 of snprintf.
1995 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1996
1997 2016-11-16 Zack Weinberg <zackw@panix.com>
1998
1999 * string/string.h: Remove obsolete comment stating that
2000 strcoll_l and strxfrm_l have not yet been standardized.
2001
2002 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2003
2004 * hurd/hurd.h (__hurd_fail_noerrno): New function.
2005 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
2006 __access_noerrno.
2007 * io/access.c (__access_noerrno): New function.
2008 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
2009 (hurd_fail_seterrno): Likewise.
2010 (access_common): Likewise.
2011 (__access_noerrno): Likewise.
2012 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
2013 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
2014 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
2015 macro.
2016
2017 2016-11-16 Joseph Myers <joseph@codesourcery.com>
2018
2019 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
2020 Only declare fpregs if [__SH_FPU_ANY__].
2021
2022 2016-11-15 Joseph Myers <joseph@codesourcery.com>
2023
2024 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
2025 Make code unconditional.
2026 [!(__SH4__ || __SH4A__)]: Remove conditional code.
2027
2028 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
2029
2030 * manual/sysinfo.texi (S_APPEND): Delete.
2031 (S_IMMUTABLE): Likewise.
2032
2033 2016-11-15 Denis Kaganovich <mahatma@eu.by>
2034 Magnus Granberg <zorry@gentoo.org>
2035 Mike Frysinger <vapier@gentoo.org>
2036
2037 [BZ #20662]
2038 * configure.ac (libc_cv_predef_stack_protector): Also check for
2039 __stack_chk_fail_local symbols.
2040 * configure: Regenerated.
2041
2042 2016-11-15 Florian Weimer <fweimer@redhat.com>
2043
2044 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
2045 (libc_hidden_def): Remove redefinition.
2046 (__sigsetjmp): Add hidden definition.
2047 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
2048 (libc_hidden_def): Remove redefinition.
2049 (__sigsetjmp): Add hidden definition.
2050
2051 2016-11-14 Joseph Myers <joseph@codesourcery.com>
2052
2053 * scripts/build-many-glibcs.py (os.path): Do not import.
2054 (Context): Inherit explicitly from object. Remove blank line
2055 between class and docstring.
2056 (Config): Likewise.
2057 (Glibc): Likewise.
2058 (Command): Likewise.
2059 (CommandList): Likewise.
2060 (Context.write_files): Store chmod mode in a variable.
2061
2062 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
2063 LIBC_SLIBDIR_RTLDDIR for tilegx32.
2064 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
2065
2066 2016-11-14 Zack Weinberg <zackw@panix.com>
2067
2068 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
2069 creating or re-creating it.
2070
2071 * string/bits/string2.h: Fix typo in comment.
2072
2073 2016-11-14 Zack Weinberg <zackw@panix.com>
2074
2075 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
2076 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
2077 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
2078 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
2079 of redirected function names.
2080
2081 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
2082 as well. Document that MESSAGE must be a single string literal.
2083
2084 2016-11-11 Joseph Myers <joseph@codesourcery.com>
2085
2086 * scripts/build-many-glibcs.py: New file.
2087
2088 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
2089 (do_test): Disable -Wmaybe-uninitialized around uses of
2090 except_mask.
2091
2092 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
2093
2094 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
2095
2096 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
2097 (atomic_store_release): Provide tilepro-specific implementations.
2098
2099 2016-11-10 Joseph Myers <joseph@codesourcery.com>
2100
2101 * math/math.h (__MATH_TG): New macro.
2102 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
2103 [__USE_ISOC99] (signbit): Likewise.
2104 [__USE_ISOC99] (isfinite): Likewise.
2105 [__USE_ISOC99] (isnan): Likewise.
2106 [__USE_ISOC99] (isinf): Likewise.
2107 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
2108 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
2109 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
2110 __MATH_TG and __MATH_EVAL_FMT2.
2111 * sysdeps/generic/math_private.h (fabs_tg): Define using
2112 __MATH_TG.
2113 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2114 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
2115 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
2116 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
2117 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
2118 macro.
2119 (__iscanonical): Likewise.
2120 (iscanonical): Define using __MATH_TG.
2121
2122 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2123
2124 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
2125 guards.
2126
2127 * sysdeps/unix/sysv/linux/access.c: New file.
2128 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
2129
2130 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
2131
2132 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
2133 and __WORDSIZE32_PTRDIFF_LONG.
2134
2135 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
2136
2137 * sysdeps/aarch64/libm-test-ulps: Regenerated.
2138
2139 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2140
2141 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
2142 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
2143 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
2144 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
2145 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
2147 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
2148 * sysdeps/unix/sysv/linux/truncate.c: New file.
2149 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
2150 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
2151 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
2152 Remove.
2153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
2154 Likewise.
2155
2156 * posix/tst-truncate-common.c: New file.
2157 * posix/tst-truncate.c: Use tst-truncate-common.c.
2158 * posix/tst-truncate64.c: Likewise and add LFS tests.
2159 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
2160 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
2161 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
2162 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
2163 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
2165 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
2166 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
2167 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
2168 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
2169 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
2170 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
2171 Remove.
2172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
2173 Likewise.
2174
2175 2016-11-08 Joseph Myers <joseph@codesourcery.com>
2176
2177 [BZ #20790]
2178 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
2179 to MAXLINESIZE.
2180 * sunrpc/bug20790.x: New file.
2181 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
2182 variable.
2183 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
2184 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
2185
2186 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
2187
2188 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
2189
2190 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
2191 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
2192 calloc, realloc, free, memalign and __libc_memalign rather than
2193 making them optional.
2194
2195 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
2196 for libc.so.
2197
2198 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2199
2200 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
2201 ptw-lseek64.
2202 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
2203 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
2204 Likewise.
2205 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
2206 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
2207 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
2208 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
2209 * sysdeps/unix/sysv/linux/lseek.c: New file.
2210 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
2211 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
2212 __libc_lseek64 from auto-generation.
2213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2214 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
2215
2216 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2217
2218 * nptl/tst-basic1.c (tf, do_test): Use write_message.
2219 * nptl/tst-cleanup1.c (do_test): Likewise.
2220 * nptl/tst-cleanup3.c (do_test): Likewise.
2221 * nptl/tst-key1.c (do_test): Likewise.
2222 * nptl/tst-key2.c (tf, do_test): Likewise.
2223 * nptl/tst-key3.c (tf, do_test): Likewise.
2224 * nptl/tst-stdio1.c (do_test): Likewise.
2225 * nptl/tst-stdio2.c (do_test): Likewise.
2226
2227 * nptl/tst-kill3.c (handler): Use write_message in place of write.
2228 * nptl/tst-kill6.c (handler): Likewise.
2229 * nptl/tst-tls2.c (CB): Likewise.
2230 * nptl/tst-tls3.c (CB): Likewise.
2231
2232 2016-11-07 Joseph Myers <joseph@codesourcery.com>
2233
2234 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
2235
2236 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
2237 Steve Ellcey <sellcey@caviumnetworks.com>
2238
2239 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
2240 __ASSUME_ST_INO_64_BIT as 0
2241 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
2242 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
2243 over the code where __ASSUME_ST_INO_64_BIT is used.
2244 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2245 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2246 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2247
2248 2016-11-07 Florian Weimer <fweimer@redhat.com>
2249
2250 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2251 Document ABI exposure of the __kind offset.
2252 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2253 Mention reason for the __kind offset exposure in the ABI.
2254 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2255 Likewise.
2256 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2257 Likewise.
2258 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2259 Likewise.
2260 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
2261 (struct __pthread_mutex_s): Likewise.
2262 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2263 Likewise.
2264 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2265 Likewise.
2266 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2267 Likewise.
2268 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2269 Likewise.
2270 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2271 Likewise.
2272 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2273 Likewise.
2274 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2275 (struct __pthread_mutex_s): Likewise.
2276 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2277 (struct __pthread_mutex_s): Likewise.
2278 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
2279 Likewise.
2280
2281 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
2282
2283 * test-skeleton.c: Document do_test usage.
2284
2285 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
2286
2287 * iconv/gconv.h (__gconv_info): Define __data element using a
2288 zero-length array.
2289
2290 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
2291
2292 * math/test-tgmath2.c: Split up test function.
2293
2294 2016-11-04 Joseph Myers <joseph@codesourcery.com>
2295
2296 * Rules (tests-expected): New variable, depending on
2297 $(run-built-tests).
2298 (tests): Pass $(tests-expected) to merge-test-results.sh, not
2299 $(tests).
2300
2301 * Rules [$(run-built-tests) = no] (tests): Do not depend on
2302 $(tests-unsupported).
2303
2304 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2305
2306 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2307 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
2308
2309 2016-11-04 Joseph Myers <joseph@codesourcery.com>
2310
2311 [BZ #20768]
2312 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
2313 __fegetenv instead of fegetenv.
2314
2315 [BZ #14139]
2316 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
2317 (find_files): Obtain platform name from libm-test-ulps-name and
2318 store in %pplatforms.
2319 (canonicalize_platform): Remove.
2320 (print_platforms): Use $pplatforms directly.
2321 (by_platforms): Do not allow for platforms missing from
2322 %pplatforms.
2323 * sysdeps/aarch64/libm-test-ulps-name: New file.
2324 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
2325 * sysdeps/arm/libm-test-ulps-name: Likewise.
2326 * sysdeps/generic/libm-test-ulps-name: Likewise.
2327 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
2328 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
2329 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
2330 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
2331 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
2332 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
2333 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
2334 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
2335 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
2336 * sysdeps/nios2/libm-test-ulps-name: Likewise.
2337 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
2338 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
2339 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
2340 * sysdeps/sh/libm-test-ulps-name: Likewise.
2341 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
2342 * sysdeps/tile/libm-test-ulps-name: Likewise.
2343 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
2344
2345 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
2346
2347 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
2348 (test-xfail-check-execstack): New variable.
2349
2350 * sysdeps/mips/localplt.data: New file.
2351
2352 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
2353 Steve Ellcey <sellcey@caviumnetworks.com>
2354
2355 * bits/wordsize.h: Add documentation.
2356 * sysdeps/aarch64/bits/wordsize.h : New file
2357 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
2358 definitions.
2359 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
2360 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
2361 with #if instead of #ifdef.
2362 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
2363 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
2364 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
2365 Add or change defines.
2366 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
2367 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2368 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
2369 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
2370 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2371 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2372 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
2373 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
2374 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
2375 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2376 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
2377 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
2378 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
2379 * sysdeps/x86/bits/wordsize.h: Likewise.
2380
2381 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
2382 Kevin Petit <kevin.petit@arm.com>
2383
2384 * sysdeps/aarch64/memchr.S (__memchr): New file.
2385
2386 2016-11-04 Joseph Myers <joseph@codesourcery.com>
2387
2388 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
2389
2390 2016-11-03 Joseph Myers <joseph@codesourcery.com>
2391
2392 [BZ #19398]
2393 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
2394 $(linknamespace-symlists-tests).
2395
2396 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
2397
2398 * time/tst-strptime2.c: Ignore -Wformat-length warning.
2399
2400 2016-11-02 Florian Weimer <fweimer@redhat.com>
2401 Carlos O'Donell <carlos@redhat.com>
2402
2403 [Bug #20729]
2404 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
2405 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
2406 for -Os related change.
2407
2408 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
2409
2410 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
2411
2412 2016-11-01 Joseph Myers <joseph@codesourcery.com>
2413
2414 [BZ #19673]
2415 * manual/math.texi (Exponents and Logarithms): Correct description
2416 of clog10.
2417
2418 2016-10-31 Carlos O'Donell <carlos@redhat.com>
2419
2420 [Bz #20729]
2421 * locale/weight.h: Include libc-internal.h.
2422 * locale/weightwc.h: Likewise.
2423 * nptl/nptl_dbP.h: Likewise.
2424
2425 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
2426
2427 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
2428 when it is MACH_PORT_NULL.
2429
2430 2016-10-31 Andreas Schwab <schwab@suse.de>
2431
2432 [BZ #20707]
2433 * posix/glob.c (glob): Initialize pglob before checking for
2434 GLOB_BRACE. Don't call glob recursively if pattern contains no
2435 valid brace expression despite GLOB_BRACE.
2436 * posix/globtest.sh: Test it.
2437
2438 2016-10-28 Carlos O'Donell <carlos@redhat.com>
2439
2440 [BZ #20729]
2441 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
2442 Define.
2443 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
2444 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
2445 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
2446 for seq2.back_us and seq1.back_us only for -Os compiles.
2447 * locale/weightwc.h (findix): Likewise.
2448 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
2449 DB_GET_FIELD_ADDRESS only for -Os compiles.
2450 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
2451 for slen only for -Os compiles.
2452 * string/strcoll_l.c (get_next_seq): Ignore
2453 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
2454 for -Os compiles.
2455
2456 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
2457 * include/crypt.h: New file.
2458
2459 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2460
2461 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
2462 from test-skeleton.c.
2463 (statclass): Replace calls to write with calls to write_message.
2464
2465 2016-10-28 Joseph Myers <joseph@codesourcery.com>
2466
2467 * math/math.h
2468 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
2469 New macro.
2470 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
2471 Likewise.
2472 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
2473 Likewise.
2474 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
2475 SNANL.
2476 * math/test-double.h (snan_value_MACRO): New macro.
2477 * math/test-float.h (snan_value_MACRO): Likewise.
2478 * math/test-ldouble.h (snan_value_MACRO): Likewise.
2479 * math/libm-test.inc (issignaling_test_data): Add tests of
2480 snan_value_MACRO.
2481
2482 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2483
2484 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
2485 behavior when eliding a lock not held by the current thread.
2486 * sysdeps/powerpc/nptl/elide.h: Likewise.
2487
2488 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2489
2490 [BZ #20728]
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
2492 branch to _exit() by a function call.
2493
2494 2016-10-28 Florian Weimer <fweimer@redhat.com>
2495
2496 * malloc/malloc.c: Update chunk layout comments.
2497 (chunk_main_arena): Update comment.
2498
2499 2016-10-28 Florian Weimer <fweimer@redhat.com>
2500
2501 * crypt/sha256.c, crypt/sha256-block.c,
2502 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
2503 sha256_process_block to __sha256_process_block.
2504 * crypt/sha512.c, crypt/sha512-block.c,
2505 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
2506 sha512_process_block to __sha512_process_block.
2507
2508 2016-10-28 Carlos O'Donell <carlos@redhat.com>
2509
2510 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
2511
2512 * math/test-nan-overflow.c: Include stdlib.h for malloc.
2513
2514 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
2515
2516 [BZ #20019]
2517 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
2518 definition in unrelocated shared library.
2519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2520
2521 2016-10-28 Florian Weimer <fweimer@redhat.com>
2522
2523 [BZ #20729]
2524 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
2525 * sysdeps/unix/sysv/linux/i386/Makefile
2526 (uses-6-syscall-arguments): Define.
2527 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
2528 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
2529 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
2530 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
2531 Likewise.
2532 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
2533 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
2534 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
2535 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
2536 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
2537 (CFLAGS-fallocate64.os): Likewise.
2538 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
2539 (CFLAGS-pthread_rwlock_timedrdlock.os)
2540 (CFLAGS-pthread_rwlock_timedwrlock.o)
2541 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
2542 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
2543 (CFLAGS-sem_timedwait.os): Likewise.
2544
2545 2016-10-28 Florian Weimer <fweimer@redhat.com>
2546
2547 * elf/tst-linkall-static.c: New file.
2548 * elf/Makefile (tests-static): Add tst-linkall-static.
2549 (tst-linkall-static): Link against static libraries.
2550
2551 2016-10-27 Florian Weimer <fweimer@redhat.com>
2552
2553 * malloc/malloc.c (sysmalloc): Initialize previous size field of
2554 mmaped chunks.
2555
2556 2016-10-28 Florian Weimer <fweimer@redhat.com>
2557
2558 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
2559 members to mchunk_prev_size, mchunk_size.
2560 (chunk_main_arena): Reverse sense and rename from
2561 chunk_non_main_arena.
2562 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
2563 mchunk_size instead of size.
2564 (set_non_main_arena): Define.
2565 (chunksize): Use chunksize_nomask instead of direct member access.
2566 (chunksize_nomask): Define.
2567 (next_chunk): Use chunksize instead of direct member access.
2568 (prev_size, set_prev_size): Define.
2569 (prev_chunk): Use prev_size instead of direct member access.
2570 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
2571 (inuse_bit_at_offset, set_inuse_bit_at_offset)
2572 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
2573 (mchunk_prev_size, mchunk_size): Poison tokens.
2574 (unlink): Use chunksize_nomask, prev_size accessors.
2575 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
2576 (do_check_free_chunk): Use prev_size accessor.
2577 (sysmalloc): Use set_prev_size, set_head accessors.
2578 (munmap_chunk, mremap_chunk): Use prev_size accessor.
2579 (__libc_free): Use chunksize_nomask accessor.
2580 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2581 chunk_main_arena accessors.
2582 (_int_free): Use chunksize_nomask, prev_size accessors.
2583 (malloc_consolidate): Use chunksize, prev_size accessors.
2584 (_int_realloc): Use chunksize_nomask accessor.
2585 (_int_memalign): Use set_prev_size accessor.
2586 (__malloc_info): Use chunksize_nomask accessor.
2587 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2588 accessors.
2589 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2590 (heap_trim): Use chunksize_nomask, prev_size accessors.
2591
2592 2016-10-28 Joseph Myers <joseph@codesourcery.com>
2593
2594 [BZ #19380]
2595 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2596 for inexact results.
2597 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2598 of inexact result where mpfr_subnormalize is the only inexact
2599 step.
2600 * stdlib/tst-strtod-round-data.h: Regenerated.
2601 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2602 Define to 0.
2603 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2604
2605 2016-10-27 David S. Miller <davem@davemloft.net>
2606
2607 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2608
2609 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
2610
2611 * malloc/malloc.c (do_set_mallopt_check): New function.
2612 (do_set_mmap_threshold): Likewise.
2613 (do_set_mmaps_max): Likewise.
2614 (do_set_top_pad): Likewise.
2615 (do_set_perturb_byte): Likewise.
2616 (do_set_trim_threshold): Likewise.
2617 (do_set_arena_max): Likewise.
2618 (do_set_arena_test): Likewise.
2619 (__libc_mallopt): Use them.
2620
2621 2016-10-26 Joseph Myers <joseph@codesourcery.com>
2622
2623 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2624 (canonicalize): New declaration.
2625 * math/Versions (canonicalize): New libm symbol at version
2626 GLIBC_2.25.
2627 (canonicalizef): Likewise.
2628 (canonicalizel): Likewise.
2629 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2630 * math/s_canonicalize_template.c: New file.
2631 * math/libm-test.inc: Update comment on functions tested and
2632 testing of NaN payloads.
2633 (TEST_NAN_PAYLOAD): New macro.
2634 (NO_TEST_INLINE): Update value.
2635 (XFAIL_TEST): Likewise.
2636 (ERRNO_UNCHANGED): Likewise.
2637 (ERRNO_EDOM): Likewise.
2638 (ERRNO_ERANGE): Likewise.
2639 (IGNORE_RESULT): Likewise.
2640 (NON_FINITE): Likewise.
2641 (TEST_SNAN): Likewise.
2642 (NO_TEST_MATHVEC): Likewise.
2643 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2644 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2645 (struct test_Ffp_b1_data): New type.
2646 (RUN_TEST_Ffp_b1): New macro.
2647 (RUN_TEST_LOOP_Ffp_b1): Likewise.
2648 (canonicalize_test_data): New array.
2649 (canonicalize_test): New function.
2650 (main): Call canonicalize_test.
2651 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2652 canonicalizef and canonicalizel.
2653 * manual/libm-err-tab.pl: Update comment on interfaces without
2654 ulps tabulated.
2655 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2656 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2657 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2658 canonicalize.
2659 (CFLAGS-nldbl-canonicalize.c): New variable.
2660 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2661 to ...
2662 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2663 ... here.
2664 (do_test): Also test canonicalizel.
2665 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2666 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2667 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2668 file.
2669 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2670 Use libm_hidden_def.
2671 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2672 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2673 (do_test): Also test canonicalizel.
2674 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2675 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2676 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2677 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2678 libm_hidden_def.
2679 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2680 macro.
2681 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2682 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2683 * sysdeps/nacl/libm.abilist: Update.
2684 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2685 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2686 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2687 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2688 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2689 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2690 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2691 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2692 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2693 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2694 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2695 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2697 Likewise.
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2699 Likewise.
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2701 Likewise.
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2703 Likewise.
2704 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2705 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2706 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2707 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2710 Likewise.
2711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2712 Likewise.
2713 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2714 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2715 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2716
2717 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2718 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2719 getpayload.
2720 (CFLAGS-nldbl-getpayload.c): New variable.
2721
2722 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2723
2724 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2725 integer from the format string.
2726
2727 2016-10-26 Florian Weimer <fweimer@redhat.com>
2728
2729 [BZ #19473]
2730 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2731 declarations.
2732 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2733 weak aliases.
2734 * malloc/hooks.c (__malloc_get_state): Remove definition.
2735 (malloc_get_state): New stub implementation as
2736 compatibility symbol.
2737 (malloc_set_state): Rename from __malloc_set_state. Turn into
2738 compat symbol.
2739 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2740 malloc_set_state.
2741 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2742
2743 2016-10-26 Florian Weimer <fweimer@redhat.com>
2744
2745 * iconvdata/iso646.c (enum variant): Drop illegal_var.
2746 (names): Turn into concatenation of strings.
2747 (gconv_init): Adapt iteration over names.
2748
2749 2016-10-26 Florian Weimer <fweimer@redhat.com>
2750
2751 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2752 make const.
2753 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2754 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2755 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2756 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2757 character in sbconv.
2758 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2759 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2760 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2761
2762 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
2763
2764 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2765
2766 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2767 (M_TRIM_THRESHOLD): Likewise.
2768
2769 * manual/memory.texi (M_ARENA_TEST): Add documentation.
2770 (M_ARENA_MAX): Likewise.
2771 * malloc/malloc.c: Remove obsolete comment.
2772
2773 * manual/memory.texi: Add environment variable alternatives to
2774 setting mallopt parameters.
2775
2776 2016-10-26 Carlos O'Donell <carlos@redhat.com>
2777
2778 * include/atomic.h
2779 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2780 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2781
2782 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2783
2784 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2785 * stdlib/tst-strfrom.h: New file.
2786 * stdlib/tst-strfrom.c: New file.
2787 * stdlib/tst-strfrom-locale.c: New file.
2788
2789 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2790 * stdlib/bug-strtod2.c: Likewise.
2791 * stdlib/tst-strtod-round-skeleton.c: Likewise.
2792 * stdlib/tst-strtod6.c: Likewise.
2793 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2794
2795 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2796
2797 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2798 * manual/arith.texi: Document strfromd, strfromf, strfroml.
2799 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2800 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2801 * stdlib/stdlib.h (strfromd): New declaration.
2802 (strfromf): Likewise.
2803 (strfroml): Likewise.
2804 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
2805 strfrom.
2806 * stdlib/strfromd.c: New file.
2807 * stdlib/strfromf.c: Likewise.
2808 * stdlib/strfroml.c: Likewise.
2809 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2810 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2811 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2812 * sysdeps/arm/nacl/libc.abilist: Update.
2813 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2814 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2815 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2816 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2817 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2818 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2819 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2820 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2821 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2822 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2823 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2824 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2825 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2826 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2831 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2832 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2833 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2834 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2838 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2839 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2840 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2841
2842 2016-10-25 Joseph Myers <joseph@codesourcery.com>
2843
2844 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2845 instead of cmpli.
2846 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2847 instead of cmpli.
2848
2849 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
2850
2851 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2852 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2853 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2854 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2855 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2856 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2857
2858 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2859
2860 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2861 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2862 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2863 SYSCALL_LL64_PRW.
2864 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2865 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2866 __ASSUME_PRW_DUMMY_ARG.
2867 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2868 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2869 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2870 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2871 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2872 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2873
2874 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
2875
2876 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2877
2878 2016-10-22 Florian Weimer <fweimer@redhat.com>
2879
2880 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2881 "C++", to override a potential extern "C" directive around the
2882 header file inclusion.
2883
2884 2016-10-21 Joseph Myers <joseph@codesourcery.com>
2885
2886 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2887
2888 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2889
2890 * sysdeps/powerpc/fpu/fenv_private.h:
2891 (_FPU_MASK_ALL): Rename to...
2892 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2893 XE FPSCR bits.
2894
2895 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2896
2897 (_FPU_MASK_ROUNDING): Rename to...
2898 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2899 NI bits.
2900
2901 (_FPU_MASK_EXCEPT_ROUND): Rename to...
2902 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2903 bits and rounding bits.
2904
2905 (__libc_feholdbits_ppc): New inline function to mask, set,
2906 and pontentially clear FSPCR bits, and change MSR[FE] bits.
2907 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2908 (libc_feholdexcept_setround_ppc): Likewise.
2909
2910 (__libc_femergeenv_ppc): New function to dynamically mask both
2911 old and new FP environments and merge.
2912 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2913 (libc_feresetround_ppc): Likewise.
2914 (libc_feupdateenv_test_ppc): Likewise.
2915 (libc_feupdateenv_ppc): Likewise.
2916
2917 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2918 of ISA RN bits, and update macro names.
2919 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2920 effectively the same as the previously mentioned function.
2921
2922 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2923 usage with fe_resetround_ppc.
2924
2925 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2926 to be used.
2927 (libc_feholdexcept_setround_ctxf): Likewise.
2928 (libc_feholdexcept_setround_ctxl): Likewise.
2929
2930 2016-10-21 Florian Weimer <fweimer@redhat.com>
2931
2932 [BZ #20715]
2933 * math/math.h [__cplusplus] (iszero): Define as function template.
2934 * math/Makefile [CXX] (tests): Add test-math-iszero.
2935 (CFLAGS-test-math-iszero.cc): Set.
2936 * math/test-math-iszero.cc: New file.
2937
2938 2016-10-20 Joseph Myers <joseph@codesourcery.com>
2939
2940 [BZ #20660]
2941 * sysdeps/arm/e_sqrt.c: New file.
2942 * sysdeps/arm/e_sqrtf.c: Likewise.
2943
2944 2016-10-19 Joseph Myers <joseph@codesourcery.com>
2945
2946 [BZ #20718]
2947 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2948 not use floating-point comparisons to test sign.
2949 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2950 Likewise.
2951
2952 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2953 (getpayload): New declaration.
2954 * math/Versions (getpayload): New libm symbol at version
2955 GLIBC_2.25.
2956 (getpayloadf): Likewise.
2957 (getpayloadl): Likewise.
2958 * math/Makefile (libm-calls): Add s_getpayloadF.
2959 * math/libm-test.inc: Include <nan-high-order-bit.h>.
2960 (struct test_f_f_data): Add comment.
2961 (RUN_TEST_fp_f): New macro.
2962 (RUN_TEST_LOOP_fp_f): Likewise.
2963 (getpayload_test_data): New array.
2964 (getpayload_test): New function.
2965 (main): Call getpayload_test.
2966 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2967 descriptor.
2968 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2969 getpayloadf and getpayloadl.
2970 * manual/libm-err-tab.pl: Update comment on interfaces without
2971 ulps tabulated.
2972 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2973 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2974 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2975 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2976 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2977 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2978 * sysdeps/nacl/libm.abilist: Update.
2979 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2980 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2981 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2982 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2983 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2984 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2985 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2986 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2987 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2988 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2989 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2990 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2992 Likewise.
2993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2994 Likewise.
2995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2996 Likewise.
2997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2998 Likewise.
2999 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3000 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3001 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3002 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3003 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3005 Likewise.
3006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3007 Likewise.
3008 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3009 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3010 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3011
3012 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3013
3014 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
3015 tst-fallocate{64}.
3016 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
3017 on syscall return.
3018
3019 2016-10-17 Carlos O'Donell <carlos@redhat.com>
3020
3021 [BZ #20689]
3022 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
3023 usable.
3024
3025 2016-10-17 Joseph Myers <joseph@codesourcery.com>
3026
3027 * sysdeps/generic/nan-high-order-bit.h: New file.
3028 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
3029 * sysdeps/mips/nan-high-order-bit.h: Likewise.
3030 * sysdeps/hppa/math_private.h: Remove file.
3031 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
3032 not define here.
3033 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
3034 <nan-high-order-bit.h>.
3035 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3036 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
3037 <nan-high-order-bit.h>.
3038 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3039 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
3040 <nan-high-order-bit.h>.
3041 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3042 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
3043 <nan-high-order-bit.h>.
3044 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3045 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
3046 <nan-high-order-bit.h>.
3047 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3048 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
3049 <nan-high-order-bit.h>.
3050 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3051 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
3052 <nan-high-order-bit.h>.
3053 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3054 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
3055 <nan-high-order-bit.h>.
3056 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3057 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
3058 <nan-high-order-bit.h>.
3059 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3060 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
3061 <nan-high-order-bit.h>.
3062 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3063 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
3064 <nan-high-order-bit.h>.
3065 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3066 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
3067 <nan-high-order-bit.h>.
3068 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3069 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
3070 <nan-high-order-bit.h>.
3071 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3072 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
3073 <nan-high-order-bit.h>.
3074 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3075 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
3076 <nan-high-order-bit.h>.
3077 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3078 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
3079 <nan-high-order-bit.h>.
3080 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3081 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
3082 <nan-high-order-bit.h>.
3083 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3084 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
3085 <nan-high-order-bit.h>.
3086 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3087
3088 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3089
3090 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
3091
3092 2016-09-22 John David Anglin <dave.anglin@bell.net>
3093
3094 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
3095 abort-instr.h.
3096 (EFAULT): Remove conditional define.
3097 (ENOSYS): Likewise.
3098 (atomic_compare_and_exchange_val_acq): Use instruction nullification
3099 instead of conditional branch instructions.
3100
3101 2016-10-15 Joseph Myers <joseph@codesourcery.com>
3102
3103 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3104 (totalordermag): New declaration.
3105 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
3106 New macro.
3107 * math/Versions (totalordermag): New libm symbol at version
3108 GLIBC_2.25.
3109 (totalordermagf): Likewise.
3110 (totalordermagl): Likewise.
3111 * math/Makefile (libm-calls): Add s_totalordermagF.
3112 * math/libm-test.inc (totalordermag_test_data): New array.
3113 (totalordermag_test): New function.
3114 (main): Call totalordermag_test.
3115 * math/test-tgmath.c (NCALLS): Increase to 125.
3116 (F(compile_test)): Call totalordermag.
3117 (F(totalordermag)): New function.
3118 * manual/arith.texi (FP Comparison Functions): Document
3119 totalordermag, totalordermagf and totalordermagl.
3120 * manual/libm-err-tab.pl: Update comment on interfaces without
3121 ulps tabulated.
3122 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
3123 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
3124 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
3127 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
3129 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3130 totalordermag.
3131 (CFLAGS-nldbl-totalordermag.c): New variable.
3132 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
3133 (do_test): Also test totalordermagl.
3134 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
3135 Likewise.
3136 * sysdeps/nacl/libm.abilist: Update.
3137 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3138 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3139 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3140 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3141 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3142 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3143 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3144 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3145 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3146 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3147 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3148 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3150 Likewise.
3151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3152 Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3154 Likewise.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3156 Likewise.
3157 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3158 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3159 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3160 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3161 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3163 Likewise.
3164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3165 Likewise.
3166 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3167 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3168 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3169
3170 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
3171
3172 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
3173 boolean.
3174
3175 2016-10-13 Joseph Myers <joseph@codesourcery.com>
3176
3177 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
3178 raising FE_INVALID with feraisexcept in case where part of
3179 argument is infinite, subtract that part of argument from itself.
3180 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
3181 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
3182 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
3183
3184 2016-10-12 Joseph Myers <joseph@codesourcery.com>
3185
3186 * math/libm-test.inc (totalorder_test_data): Add more tests.
3187
3188 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
3189
3190 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
3191 Undefine weak_alias and add a comment why mips64 require
3192 versioning.
3193
3194 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
3195
3196 [BZ #20647]
3197 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
3198 maximum CPUID level is less than 2.
3199
3200 2016-10-12 Joseph Myers <joseph@codesourcery.com>
3201
3202 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3203 (totalorder): New declaration.
3204 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
3205 New macro.
3206 * math/Versions (totalorder): New libm symbol at version
3207 GLIBC_2.25.
3208 (totalorderf): Likewise.
3209 (totalorderl): Likewise.
3210 * math/Makefile (libm-calls): Add s_totalorderF.
3211 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
3212 string.
3213 * math/libm-test.inc (PAYLOAD_DIG): New macro.
3214 (qnan_value_pl): Likewise.
3215 (snan_value_pl): Likewise.
3216 (qnan_value): Define using qnan_value_pl.
3217 (snan_value): Define using snan_value_pl.
3218 (struct test_ff_i_data): Add comment about which tests use this
3219 structure.
3220 (RUN_TEST_ff_b): New macro.
3221 (RUN_TEST_LOOP_ff_b): Likewise.
3222 (totalorder_test_data): New array.
3223 (totalorder_test): New function.
3224 (main): Call totalorder_test.
3225 * math/test-tgmath.c (NCALLS): Increase to 122.
3226 (F(compile_test)): Call totalorder.
3227 (F(totalorder)): New function.
3228 * manual/arith.texi (FP Comparison Functions): Document
3229 totalorder, totalorderf and totalorderl.
3230 * manual/libm-err-tab.pl: Update comment on interfaces without
3231 ulps tabulated.
3232 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
3233 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
3234 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
3235 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
3239 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3240 totalorder.
3241 (CFLAGS-nldbl-totalorder.c): New variable.
3242 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
3243 file.
3244 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3245 Add test-totalorderl-ldbl-128ibm.
3246 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
3247 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
3248 test-totalorderl-ldbl-96.
3249 * sysdeps/nacl/libm.abilist: Update.
3250 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3251 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3252 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3253 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3254 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3255 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3256 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3257 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3258 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3259 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3260 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3261 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3263 Likewise.
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3265 Likewise.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3267 Likewise.
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3269 Likewise.
3270 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3271 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3272 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3273 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3274 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3276 Likewise.
3277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3278 Likewise.
3279 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3280 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3281 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3282
3283 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3284
3285 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
3286 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
3287 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
3288 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
3289 remove ENOSYS implementation.
3290 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
3291 Consolidate all Linux implementations.
3292
3293 2016-10-11 Florian Weimer <fweimer@redhat.com>
3294
3295 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
3296 * resolv/herror.c (herror): Cast away const-ness.
3297 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
3298 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
3299
3300 2016-10-11 Joseph Myers <joseph@codesourcery.com>
3301
3302 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
3303 instead of M_NAN + M_NAN.
3304 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
3305
3306 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3307
3308 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
3309 unused variable 'p'.
3310
3311 2016-10-09 Alan Modra <amodra@gmail.com>
3312 Andreas Schwab <schwab@linux-m68k.org>
3313
3314 [BZ #20554]
3315 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
3316 [PIC && !SHARED]: Set up PIC register for PLT call.
3317
3318 2016-10-07 Joseph Myers <joseph@codesourcery.com>
3319
3320 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
3321 conditional on value of [__FLT_EVAL_METHOD__].
3322 * math/test-iseqsig-excess-precision.c: New file.
3323 * math/Makefile (tests): Add test-iseqsig-excess-precision.
3324
3325 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3326
3327 * math/s_iseqsig_template.c: Include math-private.h.
3328
3329 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
3330 * posix/tst-posix_fadvise.c: New file.
3331 * posix/tst-posix_fadvise64.c: Likewise.
3332 * posix/tst-posix_fadvise-common.c: Likewise.
3333 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3334 (__ASSUME_FADVISE64_64_6ARG): Define.
3335 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3336 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
3337 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3338 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
3339 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
3340 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
3341 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
3342 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3343 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
3344 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
3345 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
3346 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
3347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
3348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
3349 Likewise.
3350 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
3351 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
3352 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
3353 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
3354 Alias to __posix_fadvise64_l32.
3355 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
3356 Add compat definition to posix_fadvise64.
3357 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
3358 Add versioned definition to posix_fadvise64.
3359 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
3360 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
3361 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
3362 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
3363 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
3364
3365 * io/Makefile (tests): Add tst-posix_fallocate and
3366 tst-posix_fallocate64.
3367 * io/tst-posix_fallocate-common.c: New file.
3368 * io/tst-posix_fallocate.c: Likewise.
3369 * io/tst-posix_fallocate64.c: Likewise.
3370 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
3371 file.
3372 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
3373 Likewise.
3374 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
3375 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
3376 Likewise.
3377 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
3378 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
3379 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
3380 SYSCALL_LL to pass both offset and len arguments.
3381 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
3382 Likewise.
3383 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
3384 __libc_pwrite64 alias used by posix_fallocate64.
3385
3386 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
3387 tst-fallocate64.
3388 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
3389 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
3390 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3391 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
3392 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
3393 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
3394 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
3395 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3396 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
3397 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
3398 macro on offset argument.
3399 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
3400 SYSCALL_LL64 on offset argument.
3401
3402 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
3403 tst-fallocate64.
3404 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
3405 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
3406 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3407 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
3408 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
3409 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
3410 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
3411 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3412 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
3413 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
3414 macro on offset argument.
3415 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
3416 SYSCALL_LL64 on offset argument.
3417 * test-skeleton.c (FAIL_RET): Add macro.
3418 (FAIL_EXIT): Likewise.
3419 (FAIL_EXIT1): Likewise.
3420 (_FAIL): Likewise.
3421
3422 2016-10-07 Florian Weimer <fweimer@redhat.com>
3423
3424 [BZ #20629]
3425 resolv: Remove RES_USEBSTRING and its implementation.
3426 * resolv/resolv.h (RES_USEBSTRING): Remove.
3427 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
3428 (digitvalue, encode_bitstring, decode_bitstring): Remove.
3429 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
3430 (labellen): Remove extended label types support.
3431 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
3432 * resolv/res_init.c (res_setoptions): Likewise.
3433 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3434
3435 2016-10-07 Florian Weimer <fweimer@redhat.com>
3436
3437 resolv: Remove RES_NOIP6DOTINT and its implementation.
3438 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
3439 (RES_NOIP6DOTINT): Remove.
3440 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
3441 handling.
3442 * resolv/res_debug.c (p_option): Likewise.
3443 * resolv/res_init.c (res_setoptions): Likewise.
3444 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3445
3446 2016-10-07 Florian Weimer <fweimer@redhat.com>
3447
3448 resolv: Deprecate unimplemented flags.
3449 * misc/sys/cdefs.h (__glibc_macro_warning1)
3450 (__glibc_macro_warning): Define.
3451 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
3452 (RES_KEEPTSIG): Mark as deprecated.
3453 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
3454 RES_NOCHECKNAME, RES_KEEPTSIG.
3455 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
3456
3457 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3458
3459 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
3460 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
3461 Use strong_alias to create symbols for glibc verison 2.19.
3462
3463 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3464
3465 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
3466
3467 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3468
3469 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
3470
3471 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3472
3473 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
3474
3475 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3476
3477 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3478 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
3479 in header for using it as type for ifunc function because __GI_* symbols
3480 for ppc32 do not target the ifunc symbols.
3481 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3482
3483 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3484
3485 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
3486 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
3487 libc_ifunc_hidden_def.
3488 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
3489 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
3490 Redirect ifunced function in header for using it as type of ifunc'ed
3491 function. Redefine libc_hidden_def to use fallback non ifunc'ed
3492 function for __GI_* symbol.
3493 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
3494 * include/libc-symbols.h
3495 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
3496
3497 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3498
3499 [BZ #20478]
3500 * sysdeps/s390/multiarch/ifunc-resolve.h
3501 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
3502 to create ifunc symbols.
3503 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
3504 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
3505 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
3506 for using it as type for ifunc function.
3507 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3508 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3509 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3510 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3511 * sysdeps/s390/multiarch/strcat.c: Likewise.
3512 * sysdeps/s390/multiarch/strchr.c: Likewise.
3513 * sysdeps/s390/multiarch/strcmp.c: Likewise.
3514 * sysdeps/s390/multiarch/strcpy.c: Likewise.
3515 * sysdeps/s390/multiarch/strcspn.c: Likewise.
3516 * sysdeps/s390/multiarch/strlen.c: Likewise.
3517 * sysdeps/s390/multiarch/strncmp.c: Likewise.
3518 * sysdeps/s390/multiarch/strncpy.c: Likewise.
3519 * sysdeps/s390/multiarch/strnlen.c: Likewise.
3520 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3521 * sysdeps/s390/multiarch/strrchr.c: Likewise.
3522 * sysdeps/s390/multiarch/strspn.c: Likewise.
3523 * sysdeps/s390/multiarch/wcschr.c: Likewise.
3524 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3525 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3526 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3527 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3528 * sysdeps/s390/multiarch/wmemset.c: Likewise.
3529 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3530 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
3531 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
3532 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3533 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
3534 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
3535
3536 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3537
3538 * include/libc-symbols.h (__ifunc_resolver):
3539 New macro is used by __ifunc* macros.
3540 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
3541 depending on HAVE_GCC_IFUNC.
3542 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
3543 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
3544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3545 Redirect ifunced function in header for using as type for ifunc function.
3546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3550 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3551 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3552 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3553 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3554 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3555 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3556 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3557 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3558 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3559 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3565 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3566 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3567 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3568 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3569 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3570 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3571 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3572 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3573 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3574 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3575 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3576 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3577 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3578 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3580 Add libc_hidden_def() and use libc_ifunc_hidden() macro
3581 instead of libc_ifunc() macro.
3582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3583 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3584
3585 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3586
3587 * config.h.in (HAVE_GCC_IFUNC): New undef.
3588 * configure.ac: Add check if gcc supports attribute ifunc feature.
3589 * configure: Regenerated.
3590 * manual/install.texi: Add recommendation for gcc with
3591 indirect-function support.
3592 * INSTALL: Regenerated.
3593
3594 2016-10-06 Joseph Myers <joseph@codesourcery.com>
3595
3596 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3597 macro.
3598 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3599 (__iseqsig): New declaration.
3600 * math/s_iseqsig_template.c: New file.
3601 * math/Versions (__iseqsigf): New libm symbol at version
3602 GLIBC_2.25.
3603 (__iseqsig): Likewise.
3604 (__iseqsigl): Likewise.
3605 * math/libm-test.inc (iseqsig_test_data): New array.
3606 (iseqsig_test): New function.
3607 (main): Call iseqsig_test.
3608 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3609 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3610 * manual/libm-err-tab.pl: Update comment on interfaces without
3611 ulps tabulated.
3612 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3613 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3614 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3615 * sysdeps/nacl/libm.abilist: Update.
3616 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3617 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3618 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3619 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3620 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3621 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3622 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3623 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3624 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3625 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3626 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3627 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3629 Likewise.
3630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3631 Likewise.
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3633 Likewise.
3634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3635 Likewise.
3636 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3637 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3638 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3639 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3640 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3642 Likewise.
3643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3644 Likewise.
3645 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3646 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3647 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3648
3649 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
3650
3651 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3652 do_sincos_2, sloww, sloww1): Update comments.
3653
3654 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3655 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3656
3657 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3658 K boolean and rename it.
3659 (__sin): Adjust.
3660 (__cos): Adjust.
3661
3662 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
3663 Siddhesh Poyarekar <siddhesh@sourceware.org>
3664
3665 * manual/nss.texi: Fix typos in the manual.
3666
3667 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
3668
3669 * manual/contrib.texi: Fix typos in the manual.
3670
3671 * manual/maint.texi: Fix typos in the manual.
3672
3673 * manual/install.texi: Fix typos in the manual.
3674 * INSTALL: Regenerated.
3675
3676 * manual/lang.texi: Fix typos in the manual.
3677
3678 * manual/probes.texi: Fix typos in the manual.
3679
3680 * manual/threads.texi: Fix typos in the manual.
3681
3682 * manual/debug.texi: Fix typos in the manual.
3683
3684 * manual/crypt.texi: Fix typos in the manual.
3685
3686 * manual/conf.texi: Fix typos in the manual.
3687
3688 * manual/sysinfo.texi: Fix typos in the manual.
3689
3690 * manual/users.texi: Fix typos in the manual.
3691
3692 * manual/job.texi: Fix typos in the manual.
3693
3694 * manual/process.texi: Fix typos in the manual.
3695
3696 * manual/argp.texi: Fix typos in the manual.
3697 * manual/getopt.texi: Likewise.
3698 * manual/startup.texi: Likewise.
3699
3700 * manual/signal.texi: Fix typos in the manual.
3701
3702 * manual/setjmp.texi: Fix typos in the manual.
3703
3704 * manual/resource.texi: Fix typos in the manual.
3705
3706 * manual/time.texi: Fix typos in the manual.
3707
3708 * manual/arith.texi: Fix typos in the manual.
3709
3710 * manual/math.texi: Fix typos in the manual.
3711
3712 * manual/syslog.texi: Fix typos in the manual.
3713
3714 * manual/terminal.texi: Fix typos in the manual.
3715
3716 * manual/socket.texi: Fix typos in the manual.
3717
3718 * manual/filesys.texi: Fix typos in the manual.
3719
3720 * manual/llio.texi: Fix typos in the manual.
3721
3722 * manual/stdio.text: Fix typos in the manual.
3723
3724 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
3725
3726 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3727 instead of K1.
3728
3729 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3730 SHIFT_QUADRANT and make it bool.
3731 (do_sincos_2): Likewise.
3732 (sloww): Likewise.
3733 (sloww1): Likewise.
3734 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3735 (__cos): Likewise.
3736
3737 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3738
3739 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3740
3741 2016-10-04 Joseph Myers <joseph@codesourcery.com>
3742
3743 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3744 Define to __WORDSIZE, not conditional on [LONG_MAX ==
3745 0x7fffffffL].
3746 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3747
3748 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3749
3750 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3751 inline by __inline__.
3752 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3753 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3754 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3755 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3756 sigset_t from signal.h.
3757 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3758 which is already required.
3759
3760 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
3761
3762 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3763
3764 2016-10-03 Joseph Myers <joseph@codesourcery.com>
3765
3766 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3767 (struct tcp_repair_window): New type.
3768
3769 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3770
3771 * libio/tst-memstream3.c: Include string.h.
3772
3773 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3774
3775 [BZ #18241]
3776 [BZ #20181]
3777 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3778 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3779 write position is at the end the buffer.
3780 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3781 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3782 (_IO_str_seekoff): Set correct offset from negative displacement and
3783 set EINVAL for invalid ones.
3784 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3785 buffer length.
3786 (_IO_wstr_switch_to_get_mode): New function.
3787 (_IO_wstr_seekoff): Set correct offset from negative displacement and
3788 set EINVAL for invalid ones.
3789 * libio/tst-memstream3.c: New file.
3790 * libio/tst-wmemstream3.c: Likewise.
3791 * manual/examples/memstrm.c: Remove warning when priting size_t.
3792
3793 2016-09-30 Joseph Myers <joseph@codesourcery.com>
3794
3795 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3796 macro to use __builtin_fma.
3797 * sysdeps/x86_64/fpu/dla.h: Remove file.
3798
3799 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3800 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3801 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3802
3803 2016-09-30 Carlos O'Donell <carlos@redhat.com>
3804
3805 [BZ #20292]
3806 * elf/Makefile (routines): Add dl-addr-obj.
3807 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3808 tst-_dl_addr_inside_object.
3809 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3810 [ifeq (yesyes,$(have-fpie)$(build-shared))]
3811 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3812 [ifeq (yesyes,$(have-fpie)$(build-shared))]
3813 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3814 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3815 * elf/dl-open.c: Likewise.
3816 * elf/dl-addr-obj.c: New file.
3817 * elf/tst-_dl_addr_inside_object.c: New file.
3818
3819 2016-09-30 Joseph Myers <joseph@codesourcery.com>
3820
3821 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3822 <bits/iscanonical.h>.
3823 * bits/iscanonical.h: New file.
3824 * math/s_iscanonicall.c: Likewise.
3825 * math/Versions (__iscanonicall): New libm symbol at version
3826 GLIBC_2.25.
3827 * math/libm-test.inc (iscanonical_test_data): New array.
3828 (iscanonical_test): New function.
3829 (main): Call iscanonical_test.
3830 * math/Makefile (headers): Add bits/iscanonical.h.
3831 (type-ldouble-routines): Add s_iscanonicall.
3832 * manual/arith.texi (Floating Point Classes): Document
3833 iscanonical.
3834 * manual/libm-err-tab.pl: Update comment on interfaces without
3835 ulps tabulated.
3836 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3837 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3839 Likewise.
3840 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3841 test-iscanonical-ldbl-128ibm.
3842 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3843 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3844 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3845 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3846 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3847 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3848 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3850 Likewise.
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3852 Likewise.
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3854 Likewise.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3856 Likewise.
3857 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3858 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3859
3860 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3861
3862 * string/bits/string3.h: Remove C++ style comments.
3863
3864 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
3865
3866 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3867 instead of ternary condition.
3868 (do_sincos_2): Likewise.
3869 (__sin): Likewise.
3870 (__cos): Likewise.
3871 (slow): Likewise.
3872 (sloww): Likewise.
3873 (sloww1): Likewise.
3874 (bsloww): Likewise.
3875 (bsloww1): Likewise.
3876
3877 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3878 instead of ternary condition.
3879 (do_sin_slow): Likewise.
3880 (do_sincos_1): Likewise.
3881 (do_sincos_2): Likewise.
3882 (__cos): Likewise.
3883 (sloww): Likewise.
3884 (sloww1): Likewise.
3885 (sloww2): Likewise.
3886 (bsloww): Likewise.
3887 (bsloww1): Likewise.
3888 (bsloww2): Likewise.
3889
3890 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3891 check from here...
3892 (slow2): ... and here...
3893 (__sin): ... to here.
3894
3895 2016-09-28 Joseph Myers <joseph@codesourcery.com>
3896
3897 * math/math.h
3898 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3899 Cast argument to its own type.
3900 * math/test-iszero-excess-precision.c: New file.
3901 * math/Makefile (tests): Add test-iszero-excess-precision.
3902 (CFLAGS-test-iszero-excess-precision.c): New variable.
3903
3904 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3905
3906 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3907 field, add err field.
3908 (__spawni_child): Report error through err member instead of pipe.
3909 (__spawnix): Likewise.
3910
3911 2016-09-28 Zack Weinberg <zackw@panix.com>
3912
3913 * scripts/check-installed-headers.sh: Generalize treatment of
3914 sys/elf.h to all target architectures.
3915
3916 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3917 deleted typedef ucontext_t.
3918
3919 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3920
3921 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3922 (__INTERNAL_SYSCALL1): Likewise.
3923 (__INTERNAL_SYSCALL2): Likewise.
3924 (__INTERNAL_SYSCALL3): Likewise.
3925 (__INTERNAL_SYSCALL4): Likewise.
3926 (__INTERNAL_SYSCALL5): Likewise.
3927 (__INTERNAL_SYSCALL6): Likewise.
3928 (__INTERNAL_SYSCALL7): Likewise.
3929 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3930 (__INTERNAL_SYSCALL_NARGS): Likewise.
3931 (__INTERNAL_SYSCALL_DISP): Likewise.
3932 (INTERNAL_SYSCALL_CALL): Likewise.
3933 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3934 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3935 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3936 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3937 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3938 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3939 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3940 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3941 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3942 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3943 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3944 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3945 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3946
3947 2016-09-23 Joseph Myers <joseph@codesourcery.com>
3948
3949 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3950 macro.
3951 * math/libm-test.inc (iszero_test_data): New array.
3952 (iszero_test): New function.
3953 (main): Call iszero_test.
3954 * manual/arith.texi (Floating Point Classes): Document iszero.
3955 * manual/libm-err-tab.pl: Update comment on interfaces without
3956 ulps tabulated.
3957
3958 2016-09-23 Zack Weinberg <zackw@panix.com>
3959
3960 * scripts/check-installed-headers.sh: New script.
3961 * Rules: In each directory that defines header files to be installed,
3962 run check-installed-headers.sh on them as a special test.
3963 * Makefile: Likewise for the headers installed at top level.
3964
3965 * include/aliases.h, include/alloca.h, include/argz.h
3966 * include/arpa/nameser.h, include/arpa/nameser_compat.h
3967 * include/elf.h, include/envz.h, include/err.h
3968 * include/execinfo.h, include/fpu_control.h, include/getopt.h
3969 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3970 * include/link.h, include/malloc.h, include/mcheck.h
3971 * include/mntent.h, include/netinet/ether.h
3972 * include/nss.h, include/obstack.h, include/printf.h
3973 * include/pty.h, include/resolv.h, include/rpc/auth.h
3974 * include/rpc/auth_des.h, include/rpc/auth_unix.h
3975 * include/rpc/clnt.h, include/rpc/des_crypt.h
3976 * include/rpc/key_prot.h, include/rpc/netdb.h
3977 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3978 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3979 * include/rpc/rpc_msg.h, include/rpc/svc.h
3980 * include/rpc/svc_auth.h, include/rpc/xdr.h
3981 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3982 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3983 * include/rpcsvc/ypupd.h, include/shadow.h
3984 * include/stdio_ext.h, include/sys/epoll.h
3985 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3986 * include/sys/prctl.h, include/sys/profil.h
3987 * include/sys/statfs.h, include/sys/sysctl.h
3988 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3989 * sysdeps/arm/nacl/include/bits/setjmp.h
3990 * sysdeps/mips/include/sys/asm.h
3991 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3992 * sysdeps/unix/sysv/linux/include/sys/timex.h
3993 * sysdeps/x86/fpu/include/bits/fenv.h:
3994 Add #ifndef _ISOMAC guard around internal declarations.
3995 Add multiple-inclusion guard if not already present.
3996
3997 2016-09-23 Zack Weinberg <zackw@panix.com>
3998
3999 * sysdeps/generic/sys/ucontext.h
4000 * sysdeps/arm/sys/ucontext.h
4001 * sysdeps/i386/sys/ucontext.h
4002 * sysdeps/m68k/sys/ucontext.h
4003 * sysdeps/mips/sys/ucontext.h
4004 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
4005 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
4006 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
4007 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4008 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
4009 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4010 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4011 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4012 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4013 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4014 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4015 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4016 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4017 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4018 Include both bits/sigcontext.h and bits/sigstack.h.
4019 Fix grammar error in comment, if present.
4020
4021 * bits/sigstack.h
4022 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4023 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
4024 * sysdeps/unix/sysv/linux/bits/sigstack.h
4025 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
4026 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
4027 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4028 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
4029 * bits/sigcontext.h
4030 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4031 * sysdeps/unix/sysv/linux/bits/sigcontext.h
4032 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
4033 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
4034 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
4035 as well as signal.h, if this was not already allowed. Request
4036 definition of size_t if necessary. Minimize semantically-null
4037 differences across files.
4038
4039 2016-09-23 Zack Weinberg <zackw@panix.com>
4040
4041 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
4042 Remove all logic conditional on __need macros. Move all the
4043 conditionally defined types to their own headers...
4044 * time/bits/types/clock_t.h: Define clock_t here.
4045 * time/bits/types/clockid_t.h: Define clockid_t here.
4046 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
4047 * time/bits/types/struct_timespec.h: Define struct timespec here.
4048 * time/bits/types/struct_timeval.h: Define struct timeval here.
4049 * time/bits/types/struct_tm.h: Define struct tm here.
4050 * time/bits/types/time_t.h: Define time_t here.
4051 * time/bits/types/timer_t.h: Define timer_t here.
4052 * time/Makefile: Install the new headers.
4053
4054 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
4055 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
4056 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
4057 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
4058 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
4059 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
4060 * sysdeps/unix/sysv/linux/bits/resource.h
4061 * sysdeps/unix/sysv/linux/bits/timex.h
4062 * sysdeps/unix/sysv/linux/mips/bits/resource.h
4063 * sysdeps/unix/sysv/linux/net/ppp_defs.h
4064 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
4065 * sysdeps/unix/sysv/linux/sys/acct.h
4066 * sysdeps/unix/sysv/linux/sys/timerfd.h
4067 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
4068 * time/sys/time.h, time/sys/timeb.h
4069 Use the new bits/types headers.
4070
4071 * include/time.h: Remove __need logic.
4072 * include/bits/time.h
4073 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
4074 * include/bits/types/time_t.h, include/bits/types/timer_t.h
4075 * include/bits/types/struct_itimerspec.h
4076 * include/bits/types/struct_timespec.h
4077 * include/bits/types/struct_timeval.h
4078 * include/bits/types/struct_tm.h:
4079 New wrapper headers.
4080
4081 2016-09-23 Zack Weinberg <zackw@panix.com>
4082
4083 * sysdeps/mach/hurd/net/if_ppp.h
4084 * sysdeps/unix/sysv/linux/net/if_ppp.h:
4085 Only define struct ifpppstatsreq and struct ifpppcstatsreq
4086 if __USE_MISC is defined, to ensure struct ifreq is declared.
4087
4088 * inet/netinet/ether.h: Condition all function prototypes
4089 on __USE_MISC, to ensure struct ether_addr is declared.
4090
4091 * socket/bits/types/struct_osockaddr.h: New header.
4092 * include/bits/types/struct_osockaddr.h: New wrapper.
4093 * socket/Makefile: Install the new header.
4094 * socket/sys/socket.h, inet/protocols/talkd.h:
4095 Refer to bits/types/struct_osockaddr.h for the definition of
4096 struct osockaddr.
4097
4098 2016-09-23 Zack Weinberg <zackw@panix.com>
4099
4100 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
4101 * inet/protocols/routed.h, inet/protocols/talkd.h
4102 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
4103 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
4104 * sysdeps/generic/netinet/if_ether.h
4105 * sysdeps/generic/netinet/in_systm.h
4106 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
4107 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
4108 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
4109 * sysdeps/mach/hurd/net/if_arp.h
4110 * sysdeps/mach/hurd/net/if_ppp.h
4111 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
4112 * sysdeps/unix/sysv/linux/bits/in.h
4113 * sysdeps/unix/sysv/linux/net/ethernet.h
4114 * sysdeps/unix/sysv/linux/net/if_arp.h
4115 * sysdeps/unix/sysv/linux/net/if_ppp.h
4116 * sysdeps/unix/sysv/linux/net/if_shaper.h
4117 * sysdeps/unix/sysv/linux/net/route.h
4118 * sysdeps/unix/sysv/linux/netinet/if_ether.h
4119 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
4120 * sysdeps/unix/sysv/linux/netinet/if_tr.h
4121 * sysdeps/unix/sysv/linux/netipx/ipx.h
4122 * sysdeps/unix/sysv/linux/sys/acct.h
4123 * include/arpa/nameser.h, include/resolv.h:
4124 Change all uses of u_char to unsigned char,
4125 u_short and ushort to unsigned short, u_int and uint to unsigned int,
4126 u_long and ulong to unsigned long, u_int8_t to uint8_t,
4127 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
4128 and u_int64_t and u_quad_t to uint64_t.
4129
4130 * mach/sys/reboot.h: Remove two casts of integer literals
4131 to the types they already have.
4132
4133 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
4134 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
4135 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
4136 from referring to 'unsigned char' to 'uint8_t' for consistency with
4137 the macro definition below.
4138
4139 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
4140 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
4141 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
4142 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
4143 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
4144 * sysdeps/unix/sysv/linux/sys/acct.h
4145 * include/arpa/nameser.h, include/resolv.h:
4146 Fix indentation disrupted by mechanical edits.
4147
4148 * inet/protocols/talkd.h, resolv/arpa/nameser.h
4149 * sysdeps/generic/netinet/in_systm.h
4150 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
4151 * sysdeps/gnu/netinet/udp.h
4152 * sysdeps/unix/sysv/linux/net/ethernet.h
4153 * sysdeps/unix/sysv/linux/net/if_arp.h
4154 * sysdeps/unix/sysv/linux/net/if_ppp.h
4155 * sysdeps/unix/sysv/linux/net/if_shaper.h
4156 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
4157 * sysdeps/unix/sysv/linux/netinet/if_tr.h
4158 * sysdeps/unix/sysv/linux/netipx/ipx.h
4159 * sysdeps/unix/sysv/linux/sys/acct.h
4160 Include stdint.h for uintNN_t definitions.
4161 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
4162
4163 2016-09-23 Zack Weinberg <zackw@panix.com>
4164
4165 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
4166 * sysdeps/unix/sysv/linux/netrose/rose.h:
4167 Include sys/socket.h and netax25/ax25.h.
4168
4169 * inet/netinet/icmp6.h, inet/netinet/ip6.h
4170 * resolv/arpa/nameser_compat.h:
4171 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
4172
4173 * sysdeps/unix/sysv/linux/sys/quota.h:
4174 Use __caddr_t instead of caddr_t.
4175 * sysdeps/unix/sysv/linux/sys/timerfd.h:
4176 Use __clockid_t instead of clockid_t.
4177
4178 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
4179
4180 * argp/argp.h: Check whether _LIBC is defined before expanding it.
4181 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
4182 expanding it.
4183
4184 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
4185 Define __glibc_c99_flexarr_available to 1 when the compiler
4186 supports C99-compatible flexible array members, 0 otherwise.
4187 * sysdeps/unix/sysv/linux/bits/socket.h
4188 * sysdeps/mach/hurd/bits/socket.h
4189 * bits/socket.h: Use __glibc_c99_flexarr_available in
4190 definitions of struct cmsghdr and CMSG_DATA.
4191
4192 2016-09-23 Florian Weimer <fweimer@redhat.com>
4193
4194 * manual/nss.texi (NSS Modules Interface): Adjust function return
4195 type to enum nss_status. Document errnop argument. Clarify
4196 h_errnop semantics. Fix cross-reference formatting.
4197 (NSS Module Function Internals): Mention that *errnop needs to be
4198 set on failure, but not to zero.
4199
4200 2016-09-23 Florian Weimer <fweimer@redhat.com>
4201
4202 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
4203 (get_random_name): New functions.
4204 (check_wrapper_flags_mode): Use linkat to give the new file a name
4205 determined by get_random_name.
4206 (do_test): Add calls to test open64 and openat64.
4207
4208 2016-09-23 Florian Weimer <fweimer@redhat.com>
4209
4210 * test-skeleton.c: Remove #include <stdarg.h>.
4211
4212 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
4213
4214 [BZ #19826]
4215 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
4216 initialization of static TLS entries.
4217 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
4218 * nptl/allocatestack.c (init_one_static_tls): Likewise.
4219
4220 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4221
4222 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
4223 _hurd_malloc_fork_prepare.
4224 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
4225 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
4226 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
4227 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
4228 (_hurd_fork_child_hook): Drop malloc_fork_child.
4229 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
4230 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
4231 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
4232 after locking locks (notably hurd_dtable_lock). Call
4233 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
4234 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
4235 __malloc_fork_unlock_child.
4236 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
4237
4238 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
4239
4240 * soft-fp/extendhftf2.c: New.
4241 * soft-fp/fixhfti.c: Likewise.
4242 * soft-fp/fixunshfti.c: Likewise.
4243 * soft-fp/floattihf.c: Likewise.
4244 * soft-fp/floatuntihf.c: Likewise.
4245 * soft-fp/half.h: Likewise.
4246 * soft-fp/trunctfhf2.c: Likewise.
4247
4248 2016-09-21 Joseph Myers <joseph@codesourcery.com>
4249
4250 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
4251 macro.
4252 * math/libm-test.inc (issubnormal_test_data): New array.
4253 (issubnormal_test): New function.
4254 * manual/arith.texi (Floating Point Classes): Document
4255 issubnormal.
4256 * manual/libm-err-tab.pl: Update comment on interfaces without
4257 ulps tabulated.
4258
4259 * sysdeps/generic/stdint.h: Define
4260 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4261 <bits/libc-header-start.h> instead of including <features.h>.
4262 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
4263 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
4264 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
4265 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
4266 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
4267 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
4268 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
4269 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
4270 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
4271 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
4272 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
4273 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
4274 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
4275 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
4276 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
4277 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
4278 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
4279 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
4280 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
4281 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
4282 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
4283 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
4284 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
4285 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
4286 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
4287 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
4288 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
4289 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
4290 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
4291 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
4292 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
4293 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
4294 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
4295 * manual/arith.texi (Integers): Document these macros for types
4296 specified by width properties.
4297 * manual/lang.texi (Width of Type): Document these macros for
4298 other standard typedefs.
4299 * stdlib/tst-width-stdint.c: New file.
4300 * stdlib/Makefile (tests): Add tst-width-stdint.
4301
4302 2016-09-21 Florian Weimer <fweimer@redhat.com>
4303
4304 [BZ #20016]
4305 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
4306 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
4307 Move ...
4308 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
4309 ... here, as compatibility symbols in a new file.
4310 * resolv/Makefile (libresolv-routines): Add compat-hooks.
4311 * resolv/res_init.c (__res_vinit): Adjust member names.
4312 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
4313 * resolv/resolv.h (res_sendhookact, res_send_qhook)
4314 (res_send_rhook): Remove.
4315 (struct __res_state): Rename qhook, rhook members.
4316
4317 2016-09-21 Florian Weimer <fweimer@redhat.com>
4318
4319 malloc: Use __libc_lock wrappers.
4320 * malloc/arena.c (list_lock, free_list_lock): Define using
4321 __libc_lock_define_initialized.
4322 (arena_lock): Adjust formatting.
4323 * malloc/malloc.c (struct malloc_state): Define mutex using
4324 __libc_lock_define.
4325 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
4326 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
4327 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
4328 (mutex_unlock, mutex_trylock): Remove.
4329 (__pthread_initialize): Remove unused macro.
4330 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
4331 (mutex_unlock, mutex_trylock): Remove.
4332
4333 2016-09-21 Florian Weimer <fweimer@redhat.com>
4334
4335 [BZ #20592]
4336 Remove RR type classification macros.
4337 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
4338 (ns_t_udp_p, ns_t_xfr_p): Remove.
4339
4340 2016-09-21 Florian Weimer <fweimer@redhat.com>
4341
4342 Remove misleading version information.
4343 * resolv/arpa/nameser.h (__NAMESER): Remove.
4344 * resolv/arpa/nameser_compat.h (__BIND): Remove.
4345
4346 2016-09-21 Florian Weimer <fweimer@redhat.com>
4347
4348 Remove the always-defined BIND_4_COMPAT macro.
4349 * resolv/arpa/nameser.h: Unconditionally include
4350 <arpa/nameser_compat.h>.
4351 (BIND_4_COMPAT): Remove.
4352 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
4353
4354 2016-09-21 Florian Weimer <fweimer@redhat.com>
4355
4356 [BZ #20591]
4357 Remove obsolete DNSSEC support.
4358 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
4359 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
4360 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
4361 (ns_verify_tcp, ns_verify_tcp_init): Remove.
4362 (ns_cert_types): Add comment.
4363 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
4364 separately.
4365 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
4366 (dst_s_dns_key_id): Remove.
4367 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
4368 variables.
4369
4370 2016-09-21 Florian Weimer <fweimer@redhat.com>
4371
4372 [BZ #20524]
4373 * manual/string.texi (String/Array Comparison): Clarify the
4374 strverscmp behavior.
4375
4376 2016-09-21 Florian Weimer <fweimer@redhat.com>
4377
4378 * test-skeleton.c (xasprintf): Add function.
4379 * io/tst-open-tmpfile.c: New test.
4380 * io/Makefile (tests): Add it.
4381
4382 2016-09-21 Florian Weimer <fweimer@redhat.com>
4383
4384 Avoid running $(CXX) during build to obtain header file paths.
4385 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
4386 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
4387 * Makerules (cstdlib, cmath): Remove variables. Use
4388 $(c++-cstdlib-header), $(c++-cmath-header) instead.
4389 * configure: Regenerate.
4390
4391 2016-09-21 Florian Weimer <fweimer@redhat.com>
4392
4393 * Makeconfig (all-object-suffixes): Include .op only if
4394 $(build-profile).
4395
4396 2016-09-21 Florian Weimer <fweimer@redhat.com>
4397
4398 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
4399 conditionals. Do not define PATH_MAX.
4400
4401 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4402
4403 * posix/Makefile (tests): Add tst-spawn3.
4404 * posix/tst-spawn3.c: New file.
4405 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
4406 if it is already opened for open action.
4407
4408 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
4409 all signals when executing the clone vfork child.
4410 (SIGALL_SET): Remove macro.
4411
4412 * nptl/Makefile (tests): Add tst-exec5.
4413 * nptl/tst-exec5.c: New file.
4414 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
4415 asynchronous cancellation.
4416
4417 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
4418
4419 * hurd/exc2signal.c: #include <hurd/signal.h>
4420 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
4421 'sigcode', 'error' parameters with 'detail' parameter. Fix code
4422 accordingly.
4423 * mach/mach_error.c (mach_error): Fix old-style function definition.
4424 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
4425
4426 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4427
4428 * math/Makefile (libm-calls): Remove s_nanF.
4429 (gen-libm-calls): Add s_nanF.
4430
4431 * math/s_nan.c: Refactor into ...
4432 * math/s_nan_template.c: New file.
4433
4434 * math/s_nanf.c: Removed.
4435 * math/s_nanl.c: Removed.
4436 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
4437 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
4438
4439 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4440 (LDOUBLE_nanl_libm_version): New macro.
4441
4442 * sysdeps/generic/math-type-macros-double.h:
4443 (M_STRTO_NAN): New macro.
4444 * sysdeps/generic/math-type-macros-float.h: Likewise.
4445 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4446
4447 * sysdeps/generic/math-type-macros.h: Document
4448 M_STRTO_NAN.
4449
4450 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4451
4452 * math/s_nanf.c: Remove __nanf undef.
4453 * math/s_nan.c: Remove __nan undef.
4454 * math/s_nanl.c: Remove __nanl undef.
4455
4456 * sysdeps/generic/math_private.h (__nan): Remove macro
4457 override.
4458 (__nanf): Likewise.
4459 (__nanl): Likewise.
4460
4461 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4462
4463 * math/Makefile (gen-all-calls): New variable.
4464 (generated): Replace gen-libm-calls with gen-all-calls.
4465 (gen-libm-templates.stmp): Likewise. Also, ensure
4466 the output directory exists or is created and add
4467 dependency on the Makefile.
4468 (calls): Move s_ldexpF into gen-calls.
4469 (gen-calls): New variable.
4470
4471 * math/s_ldexpf.c: Removed.
4472 * math/s_ldexpl.c: Removed.
4473 * math/s_ldexp.c: Refactored into ...
4474 * math/s_ldexp_template.c: New file.
4475
4476 * sysdeps/generic/math-type-macros-double.h: Remove
4477 redundant fall-through definition of declare_mgen_alias.
4478 (declare_mgen_alias_2): New macro.
4479
4480 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
4481 New macro for function aliased to two exported symbols.
4482
4483 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
4484 new template file.
4485 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4486
4487 2016-09-20 Florian Weimer <fweimer@redhat.com>
4488
4489 * Makeconfig (all-object-suffixes): Remove .og.
4490 * Makerules (elide-routines.og): Remove.
4491 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
4492 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
4493 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
4494
4495 2016-09-20 Florian Weimer <fweimer@redhat.com>
4496
4497 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
4498 .os objects.
4499
4500 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4501
4502 [BZ #20615]
4503 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
4504 fpu directory by non-fpu.
4505 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
4506 on non-fpu directory from a fpu directory.
4507
4508 2016-09-19 Joseph Myers <joseph@codesourcery.com>
4509
4510 * include/limits.h: Define
4511 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4512 <bits/libc-header-start.h> instead of including <features.h>.
4513 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
4514 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
4515 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
4516 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
4517 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
4518 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
4519 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
4520 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
4521 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4522 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
4523 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
4524 * manual/lang.texi (Width of Type): Document these macros.
4525 * stdlib/tst-width.c: New file.
4526 * stdlib/Makefile (tests): Add tst-width.
4527
4528 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4529
4530 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
4531 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
4532
4533 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4534
4535 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
4536 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4537 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4538
4539 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4540
4541 [BZ #18243]
4542 * rt/Makefile (test): Add tst-shm-cancel.
4543 * rt/tst-shm-cancel.c: New file.
4544 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
4545
4546 [BZ #18243]
4547 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
4548 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
4549 definition.
4550 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
4551 uncontended case.
4552 * nptl/sem_wait.c (__new_sem_wait): Likewise.
4553 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
4554 (tf): Fix check for uncontended case.
4555 (do_test): Likewise.
4556 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
4557 (tf): Fix check for uncontended case.
4558 (do_test): Likewise.
4559 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
4560 (tf): Fix check for uncontended case.
4561 (do_test): Likewise.
4562 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
4563 (tf): Fix check for uncontended case.
4564 (do_test): Likewise.
4565
4566 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
4567 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
4568
4569 [BZ #15765]
4570 * nptl/Makefile (tests): Add tst-sem16.
4571 * nptl/tst-sem16.c: New file.
4572 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
4573
4574 * nptl/sem_open.c (sem_open): Init pad value to 0.
4575 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4576 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4577
4578 2016-09-15 Florian Weimer <fweimer@redhat.com>
4579
4580 [BZ #20611]
4581 * inet/Makefile (routines): Add inet6_scopeid_pton.
4582 (tests): Add tst-inet6_scopeid_pton.
4583 * inet/inet6_scopeid_pton.c: New file.
4584 * inet/net-internal.h: Likewise.
4585 * inet/tst-inet6_scopeid_pton.c: New test.
4586 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4587 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4589
4590 2016-09-14 Florian Weimer <fweimer@redhat.com>
4591
4592 Remove support for compiling wrappers with PTW.
4593 * sysdeps/nptl/Makeconfig: Drop ptw- support.
4594 * nptl/Makefile (pthread-compat-wrappers): Define.
4595 (libpthread-routines): Use pthread-compat-wrappers.
4596 * sysdeps/unix/sysv/linux/alpha/Makefile
4597 (libpthread-routines, libpthread-shared-only-routines): Remove
4598 ptw- prefix.
4599 * sysdeps/s390/nptl/Makefile
4600 (libpthread-routines, libpthread-shared-only-routines): Likewise.
4601 * sysdeps/ia64/nptl/Makefile
4602 (libpthread-routines, libpthread-shared-only-routines): Likewise.
4603 * sysdeps/nacl/Makefile (libpthread-routines): Use
4604 pthread-compat-wrappers to filter the routines list instead of the
4605 ptw- prefix.
4606
4607 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4608
4609 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4610 with L() and remove explicit suffix, convert real literals
4611 which can be equivalentally substituted with integers, and
4612 transform -L(x) to L(-x).
4613
4614 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4615 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4616 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4617 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4618 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4619 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4620 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4621 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4622 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4623 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4624 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4626 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4627 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4628 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4629 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4633 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4634 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4639 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4640 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4642 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4643 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4645 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4646 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4651 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4652 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4656 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4657 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4658 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4659 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4660 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4662 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4664
4665 2016-09-13 Florian Weimer <fweimer@redhat.com>
4666
4667 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4668
4669 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
4670
4671 * malloc/Makefile (tests): Remove individual static test names
4672 and just add all of tests-static.
4673
4674 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4675
4676 2016-09-07 Joseph Myers <joseph@codesourcery.com>
4677
4678 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4679 file.
4680
4681 * sysdeps/sparc/fpu/fegetmode.c: New file.
4682 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4683
4684 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4685 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4686
4687 * sysdeps/s390/fpu/fegetmode.c: New file.
4688 * sysdeps/s390/fpu/fesetmode.c: Likewise.
4689
4690 * sysdeps/powerpc/fpu/fegetmode.c: New file.
4691 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4692 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4693 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4694 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4695 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4696
4697 * sysdeps/mips/fpu/fegetmode.c: New file.
4698 * sysdeps/mips/fpu/fesetmode.c: Likewise.
4699
4700 * sysdeps/m68k/fpu/fegetmode.c: New file.
4701 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4702
4703 * sysdeps/ia64/fpu/fegetmode.c: New file.
4704 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4705
4706 * sysdeps/hppa/fpu/fegetmode.c: New file.
4707 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4708
4709 * sysdeps/arm/fegetmode.c: New file.
4710 * sysdeps/arm/fesetmode.c: Likewise.
4711
4712 * sysdeps/alpha/fpu/fegetmode.c: New file.
4713 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4714
4715 * sysdeps/aarch64/fpu/fegetmode.c: New file.
4716 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4717
4718 * math/fegetmode.c: New file.
4719 * math/fesetmode.c: Likewise.
4720 * sysdeps/i386/fpu/fegetmode.c: Likewise.
4721 * sysdeps/i386/fpu/fesetmode.c: Likewise.
4722 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4723 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4724 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4725 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4726 declaration.
4727 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4728 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4729 typedef.
4730 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4731 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4732 (femode_t): New typedef.
4733 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4734 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4735 (femode_t): New typedef.
4736 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4737 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4738 (femode_t): New typedef.
4739 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4740 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4741 (femode_t): New typedef.
4742 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4743 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4744 (femode_t): New typedef.
4745 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4746 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4747 (femode_t): New typedef.
4748 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4749 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4750 (femode_t): New typedef.
4751 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4752 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4753 (femode_t): New typedef.
4754 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4755 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4756 (femode_t): New typedef.
4757 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4758 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4759 (femode_t): New typedef.
4760 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4761 declaration.
4762 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4763 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4764 (femode_t): New typedef.
4765 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4766 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4767 (femode_t): New typedef.
4768 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4769 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4770 (femode_t): New typedef.
4771 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4772 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4773 (femode_t): New typedef.
4774 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4775 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4776 (femode_t): New typedef.
4777 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4778 * manual/arith.texi (FE_DFL_MODE): Document macro.
4779 (fegetmode): Document function.
4780 (fesetmode): Likewise.
4781 * math/Versions (fegetmode): New libm symbol at version
4782 GLIBC_2.25.
4783 (fesetmode): Likewise.
4784 * math/Makefile (libm-support): Add fegetmode and fesetmode.
4785 (tests): Add test-femode and test-femode-traps.
4786 * math/test-femode-traps.c: New file.
4787 * math/test-femode.c: Likewise.
4788 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4789 alias for __fe_dfl_env.
4790 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4791 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4792 (__fe_dfl_mode): Likewise.
4793 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4794 version GLIBC_2.25.
4795 * sysdeps/nacl/libm.abilist: Update.
4796 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4797 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4798 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4799 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4800 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4802 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4803 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4804 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4805 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4806 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4807 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4809 Likewise.
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4811 Likewise.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4813 Likewise.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4815 Likewise.
4816 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4817 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4818 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4819 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4820 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4822 Likewise.
4823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4824 Likewise.
4825 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4826 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4827 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4828
4829 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
4830
4831 [BZ #20495]
4832 [BZ #20508]
4833 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4834 processors, set Use_dl_runtime_resolve_slow and set
4835 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4836 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4837 New.
4838 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4839 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4840 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4841 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4842 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4843 if Use_dl_runtime_resolve_opt is set. Use
4844 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4845 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4846 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
4847 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4848 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4849 New.
4850 (_dl_runtime_resolve_opt): Likewise.
4851 (_dl_runtime_profile): Define only if _dl_runtime_profile is
4852 defined.
4853
4854 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
4855
4856 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4857 __libc_memalign with "+ RELA R_390_GLOB_DAT".
4858
4859 2016-09-06 Florian Weimer <fweimer@redhat.com>
4860
4861 Convert malloc to __libc_lock. Automated part, using this Perl
4862 s/// command:
4863 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4864 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4865 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4866 conversion.
4867
4868 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
4869
4870 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4871 (linknamespace-symlists-tests): Likewise.
4872 (linknamespace-header-tests): Likewise.
4873
4874 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
4875
4876 [BZ #19810]
4877 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4878 * elf/tst-noload.c: New test case.
4879 * elf/Makefile (tests): Add tst-noload.
4880
4881 2016-09-02 Roland McGrath <roland@hack.frob.com>
4882
4883 * sysdeps/nacl/dup.c: Add libc_hidden_def.
4884
4885 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4886 not any more.
4887
4888 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4889
4890 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
4891
4892 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4893 (do_cos_slow): Likewise.
4894 (do_sin): Likewise.
4895 (do_sin_slow): Likewise.
4896 (slow): Likewise.
4897 (slow1): Likewise.
4898 (slow2): Likewise.
4899 (sloww): Likewise.
4900 (sloww1): Likewise.
4901 (sloww2): Likewise.
4902 (bsloww): Likewise.
4903 (bsloww1): Likewise.
4904 (bsloww2): Likewise.
4905 (cslow2): Likewise.
4906
4907 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4908
4909 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4910 arguments. Consolidate input partitioning from callers here.
4911 (do_cos_slow): Likewise.
4912 (do_sin): Likewise.
4913 (do_sin_slow): Likewise.
4914 (do_sincos_1): Remove the no longer necessary input partitioning.
4915 (do_sincos_2): Likewise.
4916 (__sin): Likewise.
4917 (__cos): Likewise.
4918 (slow1): Likewise.
4919 (slow2): Likewise.
4920 (sloww1): Likewise.
4921 (sloww2): Likewise.
4922 (bsloww1): Likewise.
4923 (bsloww2): Likewise.
4924 (cslow2): Likewise.
4925
4926 2016-09-02 Florian Weimer <fweimer@redhat.com>
4927
4928 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4929 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
4930 outside of allocated array.
4931
4932 2016-09-02 Florian Weimer <fweimer@redhat.com>
4933
4934 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4935 instead of MB_CUR_MAX to avoid variable-length array.
4936
4937 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4938
4939 * math/Makefile (libm-calls): Remove k_rem_pio2F.
4940 (type-double-routines): Add k_rem_pio2.
4941 (type-float-routines): Add k_rem_pio2f.
4942
4943 * sysdeps/generic/math_private.h:
4944 (__kernel_rem_pio2l): Removed.
4945
4946 * math/k_rem_pio2l.c: Removed.
4947 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4948 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4949 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4950 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4951
4952 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4953
4954 * math/Makefile (gen-libm-calls): Add s_fmin
4955 (libm-calls): Remove above.
4956
4957 * math/s_fmin.c: Refactor into ...
4958 * math/s_fmin_template.c: New file.
4959
4960 * math/s_fminf.c: Removed.
4961 * math/s_fminl.c: Removed.
4962 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4963 (LDOUBLE_fmin_libm_version): New macro.
4964
4965 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4966 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4967
4968 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4969
4970 * math/Makefile: (gen-libm-calls): Add s_fmax.
4971 (libm-calls): Remove above.
4972
4973 * math/s_fmax.c: Refactor into ...
4974 * math/s_fmax_template.c: New file.
4975 * math/s_fmaxf.c: Removed.
4976 * math/s_fmaxl.c: Removed.
4977
4978 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4979 (LDOUBLE_fmaxl_libm_version): New macro.
4980
4981 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4982 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4983
4984 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4985 s_fmin.c to pick the aarch64 version of the file.
4986 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4987 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4988
4989 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4990
4991 * math/Makefile: (gen-libm-calls): Add s_nextdown.
4992 (libm-calls): Remove above.
4993
4994 * math/s_nextdown.c: Refactor into ...
4995 * math/s_nextdown_template.c: New file.
4996 * math/s_nextdownf.c: Removed.
4997 * math/s_nextdownl.c: Removed.
4998
4999 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
5000
5001 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5002
5003 * math/Makefile (gen-libm-calls): Add s_fdim.
5004 (libm-calls): Move to above.
5005
5006 * math/s_fdim.c: Renamed and refactored into to ...
5007 * math/s_fdim_template.c: New file.
5008 * math/s_fdiml.c: Removed.
5009 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
5010 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
5011
5012 * sysdeps/generic/math-type-macros-double.h:
5013 (declare_mgen_alias): Don't declare if already declared.
5014 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
5015 Likewise.
5016
5017 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5018 (declare_mgen_alias): Don't declare if already declared.
5019 (M_LIBM_NEED_COMPAT): Likewise.
5020 (declare_mgen_libm_compat): Likewise.
5021 (LDOUBLE_fdiml_libm_version): New macro.
5022
5023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
5024 Include math/s_fdim.c now that ldbl-opt version is not needed.
5025 (declare_mgen_alias): New macro to disable aliasing.
5026
5027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
5028 (declare_mgen_alias): Likewise.
5029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
5030 (declare_mgen_alias): Likewise.
5031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
5032 (declare_mgen_alias): Likewise.
5033 (M_LIBM_NEED_COMPAT): Likewise.
5034
5035 2016-09-01 Florian Weimer <fweimer@redhat.com>
5036
5037 [BZ #20525]
5038 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
5039 Include <linux/quota.h>.
5040 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
5041 and btodb.
5042 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
5043 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
5044 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
5045 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
5046 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
5047 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
5048 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
5049 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
5050 types.
5051 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
5052 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
5053
5054 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5055
5056 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
5057 (gammal_positive): Fix spacing.
5058 (__ieee754_gammal_r): Likewise.
5059
5060 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5061
5062 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
5063 (_Float128): Define as long double, always.
5064 (L): Apply long double type suffix, always.
5065
5066 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
5067 _Float128, excepting comments.
5068
5069 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5070 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5071 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5072 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5073 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5074 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5075 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5077 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5078 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
5079 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5081 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5084 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5085 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5086 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5087 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5092 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5095 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5096 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5097 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5107 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5109 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5110 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5111 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5114 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5115 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5116 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5117 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5118 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5119 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5120 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5123 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5124 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5125 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5126 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5128 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5129 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5131 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5132 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5133 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5134 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5135 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5136 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5137
5138 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
5139 _Float128, and include math_private.h.
5140 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5141
5142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
5143 long double semantics.
5144 (_Float128): Likewise.
5145 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
5146 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5147 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5148 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5149
5150 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5151
5152 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
5153 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
5154 * sysdeps/s390/configure: Regenerated.
5155 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
5156 instruction for raising over-/underflow if z196 zarch is supported
5157 by default.
5158 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
5159
5160 2016-08-30 Svante Signell <svante.signell@gmail.com>
5161
5162 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
5163 it point to a dumb buffer for RPC to fill it.
5164
5165 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
5166
5167 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
5168 instead of if/else.
5169 (do_sin_slow): Likewise.
5170 (do_sincos_1): Use fabs instead of if/else.
5171 (do_sincos_2): Likewise.
5172 (__sin): Likewise.
5173 (__cos): Likewise.
5174 (slow2): Likewise.
5175 (sloww): Likewise.
5176 (sloww1): Likewise. Drop argument M.
5177 (sloww2): Use fabs instead of if/else.
5178 (bsloww): Likewise.
5179 (bsloww1): Likewise.
5180 (bsloww2): Likewise.
5181
5182 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
5183 fall through comment.
5184 (do_sincos_1): Likewise.
5185
5186 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
5187 Consolidate switch cases 0 and 2.
5188
5189 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5190
5191 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
5192 (libm-calls): Remove the above.
5193
5194 * math/s_cexp_template.c: Update using type-generic macros.
5195 * math/s_clog10_template.c: Likewise.
5196 * math/s_cpow_template.c: Likewise.
5197 * math/s_clog_template.c: Likewise.
5198 * math/s_cproj_template.c: Likewise.
5199 * math/s_csqrt_template.c: Likewise.
5200
5201 * math/s_cexp.c: Removed.
5202 * math/s_cexpf.c: Removed.
5203 * math/s_cexpl.c: Removed.
5204 * math/s_clog10.c: Removed.
5205 * math/s_clog10f.c: Removed.
5206 * math/s_clog10l.c: Removed.
5207 * math/s_cpow.c: Removed.
5208 * math/s_cpowf.c: Removed.
5209 * math/s_cpowl.c: Removed.
5210 * math/s_clog.c: Removed.
5211 * math/s_clogf.c: Removed.
5212 * math/s_clogl.c: Removed.
5213 * math/s_cproj.c: Removed.
5214 * math/s_cprojf.c: Removed.
5215 * math/s_cprojl.c: Removed.
5216 * math/s_csqrt.c: Removed.
5217 * math/s_csqrtf.c: Removed.
5218 * math/s_csqrtl.c: Removed.
5219
5220 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
5221 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
5222 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
5223 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
5224 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
5225 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
5226
5227 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
5228 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
5229 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
5230 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
5231 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
5232 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
5233 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
5234 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
5235 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
5236 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
5237 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
5238
5239 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
5240 version.
5241
5242 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
5243 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
5244 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
5245 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
5246
5247 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5248
5249 * s_cexp_template.c: Copy of s_cexp.c.
5250 * s_clog_template.c: Copy of s_clog.c.
5251 * s_clog10_template.c: Copy of s_clog10.c.
5252 * s_cpow_template.c: Copy of s_cpow.c.
5253 * s_cproj_template.c: Copy of s_cproj.c.
5254 * s_csqrt_template.c: Copy of s_csqrt.c.
5255
5256 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5257
5258 [BZ #20517]
5259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
5260 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
5261 exported.
5262
5263 2016-08-29 Joseph Myers <joseph@codesourcery.com>
5264
5265 * math/fetestexceptflag.c: New file.
5266 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
5267 Stefan Liebler.
5268 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5269 (fetestexceptflag): New function declaration.
5270 * manual/arith.texi (fetestexceptflag): Document function.
5271 * math/Versions (fetestexceptflag): New libm symbol at version
5272 GLIBC_2.25.
5273 * math/Makefile (libm-support): Add fetestexceptflag.
5274 (tests): Add test-fetestexceptflag.
5275 * math/test-fetestexceptflag.c: New file.
5276 * sysdeps/nacl/libm.abilist: Update.
5277 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5278 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5279 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5280 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5281 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5282 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5283 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5284 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5285 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5286 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5287 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5288 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5290 Likewise.
5291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5292 Likewise.
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5294 Likewise.
5295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5296 Likewise.
5297 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5298 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5299 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5300 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5301 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5303 Likewise.
5304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5305 Likewise.
5306 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5307 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5308 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5309
5310 2016-08-26 Florian Weimer <fweimer@redhat.com>
5311
5312 [BZ #20432]
5313 Avoid strong references to malloc-internal symbols when linking
5314 statically, to support statically interposed mallocs.
5315 * include/libc-symbols.h (call_function_static_weak): New macro.
5316 * malloc/Makefile (tests): Add tst-interpose-nothread,
5317 tst-interpose-thread, tst-interpose-static-nothread,
5318 tst-interpose-static-thread.
5319 (tests-static): Add tst-interpose-static-nothread,
5320 tst-interpose-static-thread.
5321 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
5322 tst-interpose-aux-thread.o.
5323 (test-extras): Add tst-interpose-aux-nothread,
5324 tst-interpose-aux-thread.
5325 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
5326 tst-interpose-aux-nothread.o.
5327 (tst-interpose-thread, tst-interpose-static-thread): Link with
5328 tst-interpose-aux-thread.o and libthread.
5329 * malloc/tst-interpose-aux-nothread.c: New file.
5330 * malloc/tst-interpose-aux-thread.c: Likewise.
5331 * malloc/tst-interpose-aux.c: Likewise.
5332 * malloc/tst-interpose-aux.h: Likewise.
5333 * malloc/tst-interpose-nothread.c: Likewise.
5334 * malloc/tst-interpose-skeleton.c: Likewise.
5335 * malloc/tst-interpose-static-nothread.c: Likewise.
5336 * malloc/tst-interpose-static-thread.c: Likewise.
5337 * malloc/tst-interpose-thread.c: Likewise.
5338 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
5339 * sysdeps/mach/hurd/fork.c (__fork): Only call
5340 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5341 __malloc_fork_unlock_child if defined.
5342 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5343
5344 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5345
5346 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
5347 timespec C99 designated initialization.
5348
5349 2016-08-26 Florian Weimer <fweimer@redhat.com>
5350
5351 [BZ #19946]
5352 Avoid expected SIGALRM signals.
5353 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
5354 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
5355 (xpthread_create, xpthread_detach, xpthread_join)
5356 (delayed_exit_thread, delayed_exit): New functions.
5357 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
5358 (tf): Use xpthread_cond_wait.
5359 (do_test): Likewise. Replace alarm with delayed_exit.
5360 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5361 (do_test): Call delayed_exit. Report failure.
5362 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5363 (do_test): Call delayed_exit.
5364 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5365 (do_test): Call delayed_exit. Use xpthread_join. Report error.
5366 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5367 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
5368 error.
5369 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5370 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
5371 error.
5372 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
5373 (do_test): Call delayed_exit.
5374 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
5375 (do_test): Call delayed_exit.
5376 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
5377 (do_test): Call delayed_exit instead of alarm. Use
5378 xpthread_mutex_lock.
5379 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
5380 (do_test): Call delayed_exit instead of alarm. Use
5381 xpthread_mutex_lock.
5382 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
5383 (do_test): Call delayed_exit instead of alarm.
5384 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
5385 (do_test): Call delayed_exit instead of alarm. Use
5386 xpthread_spin_lock.
5387 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
5388 (do_test): Call delayed_exit instead of alarm. Use
5389 xpthread_join.
5390
5391 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
5392
5393 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
5394 adjust CFA when allocating register save area on re-aligned
5395 stack.
5396
5397 2016-08-26 Florian Weimer <fweimer@redhat.com>
5398
5399 * string/tst-cmp.c: New test.
5400 * string/Makefile (tests): Add it.
5401
5402 2016-08-25 Mark Wielaard <mark@klomp.org>
5403
5404 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
5405 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
5406 (check_tree_recurse): Use newly defined accessors.
5407 (check_tree): Likewise.
5408 (maybe_split_for_insert): Likewise.
5409 (__tfind): Likewise.
5410 (__tdelete): Likewise.
5411 (trecurse): Likewise.
5412 (tdestroy_recurse): Likewise.
5413 (__tsearch): Likewise. And add asserts for malloc alignment.
5414 (__twalk): Cast root to node in case CHECK_TREE is defined.
5415
5416 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
5417
5418 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
5419
5420 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5421
5422 * math/Makefile (libm-gen-calls): Add
5423 catan, catanh, ctan, ctanh.
5424 (libm-calls): Remove the above.
5425
5426 * math/s_catan_template.c: Update using type-generic macros.
5427 * math/s_catanh_template.c: Likewise.
5428 * math/s_ctan_template.c: Likewise.
5429 * math/s_ctanh_template.c: Likewise.
5430
5431 * math/s_catanf.c: Removed.
5432 * math/s_catan.c: Removed.
5433 * math/s_catanl.c: Removed.
5434 * math/s_catanhf.c: Removed.
5435 * math/s_catanh.c: Removed.
5436 * math/s_catanhl.c: Removed.
5437 * math/s_ctanf.c: Removed.
5438 * math/s_ctan.c: Removed.
5439 * math/s_ctanl.c: Removed.
5440 * math/s_ctanhf.c: Removed.
5441 * math/s_ctanh.c: Removed.
5442 * math/s_ctanhl.c: Removed.
5443
5444 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
5445 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
5446 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
5447 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
5448 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
5449 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
5450
5451 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
5452 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
5453 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
5454 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
5455
5456 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5457
5458 * s_catan_template.c: Copy of s_catan.c.
5459 * s_catanh_template.c: Copy of s_catanh.c.
5460 * s_ctan_template.c: Copy of s_ctan.c.
5461 * s_ctanh_template.c: Copy of s_ctanh.c.
5462
5463 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5464
5465 * math/Makefile (gen-libm-calls): Move
5466 casin, casinh, csin, csinh here.
5467 (libm-calls): Remove the above.
5468
5469 * math/s_casin_template.c: Update using type-generic macros.
5470 * math/s_casinh_template.c: Likewise.
5471 * math/s_csin_template.c: Likewise.
5472 * math/s_csinh_template.c: Likewise.
5473 * math/k_casinh_template.c: Likewise.
5474
5475 * math/s_casinf.c: Removed.
5476 * math/s_casin.c: Removed.
5477 * math/s_casinl.c: Removed.
5478 * math/s_casinh.c: Removed.
5479 * math/s_casinhf.c: Removed.
5480 * math/s_casinhl.c: Removed.
5481 * math/s_csin.c: Removed.
5482 * math/s_csinf.c: Removed.
5483 * math/s_csinl.c: Removed.
5484 * math/s_csinh.c: Removed.
5485 * math/s_csinhf.c: Removed.
5486 * math/s_csinhl.c: Removed.
5487 * math/k_casinh.c: Removed.
5488 * math/k_casinhf.c: Removed.
5489 * math/k_casinhl.c: Removed.
5490
5491 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
5492 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
5493 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
5494 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
5495
5496 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
5497 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
5498 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
5499 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
5500 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
5501 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
5502 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
5503 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
5504
5505 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
5506 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
5507 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
5508 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
5509
5510 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
5511 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
5512 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
5513 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
5514
5515 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5516
5517 * s_casin_template.c: Copy of s_casin.c.
5518 * s_casinh_template.c: Copy of s_casinh.c.
5519 * s_csin_template.c: Copy of s_csin.c.
5520 * s_csinh_template.c: Copy of s_csinh.c.
5521 * k_casinh_template.c: Copy of k_casinh.c.
5522
5523 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
5524
5525 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5526
5527 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5528
5529 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
5530 (mul_split) Remove, rename as mul_splitl, remove
5531 redundant float.h include, and include via mul_splitl.h
5532
5533 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5535 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5536 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5537 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5538
5539 * math/mul_splitl.h: New file.
5540
5541 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
5542 Move into mul_split.h, and remove redundant float.h include.
5543
5544 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
5548
5549 * math/mul_split.h: New file.
5550
5551 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5552
5553 * math/Makefile (libm-gen-calls): Move
5554 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
5555 (libm-calls): Remove above.
5556
5557 * math/s_cacos_template.c: Update using type-generic macros.
5558 * math/s_cacosh_template.c: Likewise.
5559 * math/s_ccos_template.c: Likewise.
5560 * math/s_ccosh_template.c: Likwise.
5561
5562 * math/s_cacosf.c: Removed.
5563 * math/s_cacos.c: Removed.
5564 * math/s_cacosl.c: Removed.
5565 * math/s_cacoshf.c: Removed.
5566 * math/s_cacosh.c: Removed.
5567 * math/s_cacoshl.c: Removed.
5568 * math/s_ccosf.c: Removed.
5569 * math/s_ccos.c: Removed.
5570 * math/s_ccosl.c: Removed.
5571 * math/s_ccoshf.c: Removed.
5572 * math/s_ccosh.c: Removed.
5573 * math/s_ccoshl.c: Removed.
5574
5575 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
5576 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
5577 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5578 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5579 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5580 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5581
5582 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5583 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5584 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5585 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5586
5587 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5588 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5589 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5590 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5591
5592 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5593
5594 * s_cacos_template.c: Copy of s_cacos.c.
5595 * s_cacosh_template.c: Copy of s_cacosh.c.
5596 * s_ccos_template.c: Copy of s_ccos.c.
5597 * s_ccosh_template.c: Copy of s_ccosh.c.
5598
5599 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5600
5601 * stdlib/tst-strtod-round-skeleton.c:
5602 Refactored from tst-strtod-round.c.
5603
5604 (L_): New macro to apply literal modifier.
5605 (FNPFX): New macro to select str or wcs prefix.
5606 (CHAR): New macro to choose wchar_t or char.
5607 (STRM): New macro to choose printf for tested character type.
5608
5609 (STRTO): New macro to choose appropriate string -> real function.
5610 (FNPFXS): Stringitized version of FNPFX.
5611 (STR): Support for above macro.
5612 (STRX): Likewise.
5613
5614 (TEST): Update with above macros.
5615 (test): Likewise.
5616 (GEN_ONE_TEST): Likewise.
5617 (test_in_one_mode): Likewise.
5618
5619 * stdlib/tst-strtod-round.c: New file.
5620 * wcsmbs/tst-wcstod-round.c: New file.
5621
5622 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5623 (tst-wcstod-round): Add libm depencency for fesetround.
5624
5625 2016-08-19 Zack Weinberg <zackw@panix.com>
5626
5627 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5628
5629 2016-08-18 Torvald Riegel <triegel@redhat.com>
5630
5631 [BZ #20477]
5632 * resolv/res_hconf.c (do_init): Use atomic access.
5633 * resolv/res_hconf.h: Add comments.
5634 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5635 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5637
5638 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
5639
5640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5641 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5642 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5643 Likewise.
5644
5645 2016-08-18 Florian Weimer <fweimer@redhat.com>
5646
5647 [BZ #16907]
5648 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5649 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5650 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5651 (__attribute__): Remove definition.
5652
5653 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5654
5655 * sysdeps/ieee754/ldbl-128/e_asinl.c:
5656 Remove unused sqrtl declaration.
5657
5658 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5659
5660 * math/Makefile: (gen-libm-templates.stmp): New rule.
5661 (libm-calls): Move carg conj cimag and cabs into ...
5662 (gen-libm-calls): New variable.
5663 (generated): Inform Make objects from gen-libm-calls
5664 may be generated.
5665
5666 * sysdeps/generic/math-type-macros.h: New file.
5667 * sysdeps/generic/math-type-macros-float.h: Likewise.
5668 * sysdeps/generic/math-type-macros-double.h: Likewise.
5669 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5670 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5671 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5672
5673 * math/cabs.c: Refactor into
5674 * math/cabs_template.c: new file.
5675 * math/cabsf.c: Removed.
5676 * math/cabsl.c: Removed.
5677 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5678 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5679
5680 * math/carg.c: Refactor into
5681 * math/carg_template.c: new file.
5682 * math/cargf.c: Removed.
5683 * math/cargl.c: Removed.
5684 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5685 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5686
5687 * math/conj.c: Refactor into
5688 * math/conj_template.c: new file.
5689 * math/conjf.c: Removed.
5690 * math/conjl.c: Removed.
5691 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5692 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5693
5694 * math/cimag.c: Refactor into
5695 * math/cimag_template.c: new file.
5696 * math/cimagf.c: Removed.
5697 * math/cimagl.c: Removed.
5698 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5699 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5700
5701 * math/cimag.c: Refactor into
5702 * math/cimag_template.c: new file.
5703 * math/cimagf.c: Removed.
5704 * math/cimagl.c: Removed.
5705 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5706 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5707
5708 2016-08-17 Florian Weimer <fweimer@redhat.com>
5709
5710 Reduce time to expected nptl/tst-once5 failure.
5711 * nptl/tst-once5.cc (TIMEOUT): Define.
5712
5713 2016-08-17 Florian Weimer <fweimer@redhat.com>
5714
5715 [BZ #20452]
5716 Avoid additional copies of objects in libc.a in static libraries.
5717 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5718 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5719 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5720 rt-sysdep.
5721 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5722 Add nptl-sysdep.
5723 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5724 Add ptw-sysdep.
5725 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5726 rt-sysdep.
5727 * sysdeps/unix/sysv/linux/alpha/Makefile
5728 (libpthread-shared-only-routines): Add ptw-sysdep,
5729 ptw-sigprocmask, ptw-rt_sigaction.
5730 * sysdeps/unix/sysv/linux/ia64/Makefile
5731 (librt-shared-only-routines): Add rt-sysdep.
5732 * sysdeps/unix/sysv/linux/i386/Makefile
5733 (libpthread-shared-only-routines): Add libc-do-syscall.
5734 * sysdeps/unix/sysv/linux/microblaze/Makefile
5735 (libpthread-shared-only-routines): Add sysdep.
5736 * sysdeps/unix/sysv/linux/powerpc/Makefile
5737 (librt-shared-only-routines): Add rt-sysdep.
5738 (libpthread-shared-only-routines): Add sysdep.
5739 * sysdeps/unix/sysv/linux/s390/Makefile
5740 (librt-shared-only-routines): Add rt-sysdep.
5741 * sysdeps/unix/sysv/linux/sparc/Makefile
5742 (librt-shared-only-routines): Add rt-sysdep.
5743 (libpthread-shared-only-routines): Add sysdep.
5744 * sysdeps/unix/sysv/linux/tile/Makefile
5745 (libpthread-shared-only-routines): Likewise.
5746
5747 2016-08-16 Joseph Myers <joseph@codesourcery.com>
5748
5749 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5750 Mask implicit bit out of unpacked value.
5751 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5752 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5753 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5754
5755 * sysdeps/sparc/fpu/fesetexcept.c: New file.
5756
5757 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5758
5759 * sysdeps/s390/fpu/fesetexcept.c: New file.
5760
5761 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5762 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5763 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5764
5765 * sysdeps/mips/fpu/fesetexcept.c: New file.
5766
5767 * sysdeps/m68k/fpu/fesetexcept.c: New file.
5768
5769 * sysdeps/ia64/fpu/fesetexcept.c: New file.
5770
5771 * sysdeps/hppa/fpu/fesetexcept.c: New file.
5772
5773 * sysdeps/arm/fesetexcept.c: New file.
5774
5775 * sysdeps/alpha/fpu/fesetexcept.c: New file.
5776
5777 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5778
5779 * math/fesetexcept.c: New file.
5780 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5781 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5782 * math/fenv.h: Define
5783 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5784 <bits/libc-header-start.h> instead of including <features.h>.
5785 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5786 declaration.
5787 * manual/arith.texi (fesetexcept): Document function.
5788 * math/Versions (fesetexcept): New libm symbol at version
5789 GLIBC_2.25.
5790 * math/Makefile (libm-support): Add fesetexcept.
5791 (tests): Add test-fesetexcept and test-fesetexcept-traps.
5792 * math/test-fesetexcept.c: New file.
5793 * math/test-fesetexcept-traps.c: Likewise.
5794 * sysdeps/nacl/libm.abilist: Update.
5795 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5796 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5797 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5798 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5799 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5800 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5801 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5802 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5803 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5804 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5805 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5806 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5808 Likewise.
5809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5810 Likewise.
5811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5812 Likewise.
5813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5814 Likewise.
5815 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5816 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5817 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5818 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5819 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5821 Likewise.
5822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5823 Likewise.
5824 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5825 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5826 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5827
5828 2016-08-16 Florian Weimer <fweimer@redhat.com>
5829
5830 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5831 New.
5832 (do_test): Apply default_stack_size_in_mb if not set.
5833 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5834
5835 2016-08-15 Andreas Schwab <schwab@suse.de>
5836
5837 [BZ #20435]
5838 CVE-2016-6323
5839 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5840 as .cantunwind.
5841
5842 2016-08-12 Joseph Myers <joseph@codesourcery.com>
5843
5844 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5845 comment from fraiseexcpt.c.
5846
5847 * math/test-fexcept.c (feraiseexcept_exact): New function.
5848 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5849 (test_except): Likewise.
5850
5851 2016-08-10 Joseph Myers <joseph@codesourcery.com>
5852
5853 [BZ #20455]
5854 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5855 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5856 to be restored.
5857
5858 * math/test-fexcept-traps.c: New file.
5859 * math/test-fexcept.c: Likewise.
5860 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5861 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5862 macro.
5863 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5864 (EXCEPTION_SET_FORCES_TRAP): Likewise.
5865
5866 2016-08-09 Torvald Riegel <triegel@redhat.com>
5867
5868 * include/atomic.h (atomic_fetch_and_relaxed,
5869 atomic_fetch_and_release, atomic_fetch_or_release,
5870 atomic_fetch_xor_release): New.
5871
5872 2016-08-06 Christian Seiler <christian@iwakd.de>
5873
5874 [BZ #20444]
5875 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5876 MACH_PORT_NULL.
5877
5878 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
5879
5880 * math/s_fdim.c: Avoid alias renamed.
5881 * math/s_fdimf.c: Likewise.
5882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5883 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5884 Add s_fdimf-vis3, s_fdim-vis3.
5885 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5886 (CFLAGS-s_fdim-vis3.c): Likewise.
5887 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5888 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5889
5890 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
5891
5892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5893 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5894 Remove s_fdimf-vis3, s_fdim-vis3.
5895 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5896 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5903 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5904 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5905
5906 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
5907
5908 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5909 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5910 -Wa,-Av9a -mvis.
5911
5912 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5913
5914 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5915 LIT() to individual constants in simple expressions
5916 after splitting on spaces.
5917 (_apply_lit): Rename replaced version, and use it to
5918 apply to what appears to be a token.
5919
5920 * math/libm-test.inc: Fix many, many issues with
5921 spacing.
5922
5923 2016-08-05 Joseph Myers <joseph@codesourcery.com>
5924
5925 * math/math.h: Move comment about <bits/mathdef.h> definitions
5926 above inclusion of <bits/mathdef.h>. Do not mention
5927 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5928
5929 2016-08-05 Torvald Riegel <triegel@redhat.com>
5930
5931 * include/atomic.h (atomic_exchange_relaxed): New.
5932
5933 2016-08-04 Joseph Myers <joseph@codesourcery.com>
5934
5935 * math/e_scalb.c: Do not include <fenv.h>.
5936 (invalid_fn): Do calculation resulting in NaN instead of raising
5937 FE_INVALID and returning a NaN explicitly.
5938 * math/e_scalbf.c: Do not include <fenv.h>.
5939 (invalid_fn): Do calculation resulting in NaN instead of raising
5940 FE_INVALID and returning a NaN explicitly.
5941 * math/e_scalbl.c: Do not include <fenv.h>.
5942 (invalid_fn): Do calculation resulting in NaN instead of raising
5943 FE_INVALID and returning a NaN explicitly.
5944
5945 2016-08-04 Carlos O'Donell <carlos@redhat.com>
5946
5947 * po/de.po: Updated from Translation Project.
5948 * po/fi.po: Likewise.
5949 * po/sv.po: Likewise.
5950
5951 2016-08-04 Florian Weimer <fweimer@redhat.com>
5952
5953 [BZ #20452]
5954 Use sysdep.o from libc.a in static libraries.
5955 * sysdeps/unix/sysv/linux/i386/Makefile
5956 (libpthread-shared-only-routines): Add sysdep.
5957 (librt-shared-only-routines): Likewise.
5958
5959 2016-08-03 Joseph Myers <joseph@codesourcery.com>
5960
5961 * math/tgmath.h (nextdown): Define if
5962 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5963 (nextup): Likewise.
5964
5965 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5966 macro.
5967 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5968 Document.
5969 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5970 Document macro.
5971 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5972 (exp10f): Likewise.
5973 (exp10l): Likewise.
5974 * math/bits/mathcalls.h (exp10): Declare if
5975 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5976
5977 * manual/arith.texi (nextup): Fix typo in last change.
5978
5979 2016-08-03 Zack Weinberg <zackw@panix.com>
5980
5981 [BZ #19239]
5982 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5983 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5984 define major, minor, and makedev to issue deprecation warnings on use.
5985 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5986 previously-activated deprecation warnings for these macros and prevent
5987 subsequent inclusions of this header from having any effect.
5988 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5989 including <sys/sysmacros.h>, and undefine it again afterward.
5990
5991 2016-08-03 Zack Weinberg <zackw@panix.com>
5992
5993 * sysdeps/generic/sys/sysmacros.h: Delete file.
5994 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5995 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5996 * bits/sysmacros.h: ... here; this encoding is now the generic
5997 encoding. Now defines only the following macros:
5998 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5999 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
6000 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
6001
6002 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
6003 bits/sysmacros.h and the above new macros to generate the
6004 public implementations of major, minor, and makedev.
6005 * misc/tst-makedev.c: New test.
6006 * include/sys/sysmacros.h: New wrapper.
6007
6008 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
6009 (routines): Add makedev.
6010 (tests): Add tst-makedev.
6011 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
6012 gnu_dev_makedev.
6013 * posix/Makefile (headers): Remove sys/sysmacros.h.
6014 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
6015
6016 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
6017 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
6018 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6019 * sysdeps/unix/sysv/linux/alpha/libc.abilist
6020 * sysdeps/unix/sysv/linux/arm/libc.abilist
6021 * sysdeps/unix/sysv/linux/hppa/libc.abilist
6022 * sysdeps/unix/sysv/linux/i386/libc.abilist
6023 * sysdeps/unix/sysv/linux/ia64/libc.abilist
6024 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6025 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6026 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6027 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6028 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6029 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6030 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6031 * sysdeps/unix/sysv/linux/nios2/libc.abilist
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6036 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6037 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6038 * sysdeps/unix/sysv/linux/sh/libc.abilist
6039 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6040 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6043 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6044 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6045 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6046 Add GLIBC_2.25.
6047
6048 * include/features.h (__glibc_clang_prereq): New macro.
6049 * misc/sys/cdefs.h (__glibc_clang_has_extension)
6050 (__attribute_deprecated_msg__): New macros.
6051
6052 2016-08-03 Joseph Myers <joseph@codesourcery.com>
6053
6054 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
6055 macro.
6056 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
6057 * manual/arith.texi (issignaling): Document as ISO from TS
6058 18661-1:2014.
6059 (nextup): Likewise.
6060 (nextupf): Likewise.
6061 (nextupl): Likewise.
6062 (nextdown): Likewise.
6063 (nextdownf): Likewise.
6064 (nextdownl): Likewise.
6065 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
6066 macro.
6067 * math/math.h: Define
6068 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6069 <bits/libc-header-start.h> instead of including <features.h>.
6070 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
6071 [__USE_GNU].
6072 * math/bits/mathcalls.h (nextdown): Declare if
6073 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
6074 (nextup): Likewise.
6075 (__issignaling): Likewise.
6076
6077 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6078
6079 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
6080 check, and remove __glibc_likely hint
6081 from FP_INFINITE check.
6082 * s_csinhf.c (__csinhf): Likewise.
6083
6084 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
6085 hint from FP_INFINITE check.
6086 * s_csinhl.c (__csinhl): Likewise.
6087
6088 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6089
6090 * math/Makefile (libm-calls): Insert F placeholder into
6091 object names. Move w_lgamma_compat* routines into
6092 (libm-compat-calls): New variable.
6093 (libm-compat-calls-ldouble-yes): New variable.
6094 (calls): Insert F placeholder.
6095 (generated): Redefine using new type-foreach macro call.
6096 (routines): Likewise.
6097
6098 (types): New variable to hold a list of symbolic names
6099 for each type supported by the target machine.
6100 (libm-routines): Redefine using new types variable.
6101 (type-foreach): macro to replace fooF with the
6102 appropriately suffixed foo for each types.
6103
6104 (type-ldouble-suffix): New variable.
6105 (type-ldouble-routines): Likewise.
6106 (type-ldouble-yes): Likewise.
6107 (type-double-suffix): Likewise.
6108 (type-double-routines): Likewise.
6109 (type-float-suffix): Likewise.
6110 (type-float-routines): Likewise.
6111
6112 (dbl-only-routines): Remove.
6113 (long-c-yes): Likewise.
6114 (long-m-routines): Likewise.
6115 (long-m-support): Likewise.
6116 (long-m-yes): Likewise.
6117 (test-longdouble-yes): Likewise.
6118
6119 (test-float.o): Simplify by increasing the scope of the
6120 recipe which adds libm-test.stmp to the vector types.
6121 (test-ifloat.o): Likewise.
6122 (test-float-finite.o): Likewise.
6123 (test-double.o): Likewise
6124 (test-idouble.o): Likewise.
6125 (test-double-finite.o): Likewise.
6126 (test-ldouble.o): Likewise
6127 (test-ildoubl.o): Likewise.
6128 (test-ldouble-finite.o): Likewise.
6129
6130 (libm-tests): Redefine type tests using foreach and the
6131 list of types in types.
6132
6133 (CPPFLAGS-test-ildoubl.c): Rename to
6134 (CPPFLAGS-test-ildouble.c): New variable
6135
6136 * math/test-ildoubl.c: Rename to
6137 * math/test-ildouble.c: New file.
6138
6139 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6140
6141 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
6142 Use fabsl instead of fabs.
6143 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
6144 Likewise.
6145 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
6146 Add long double suffix to constant to ensure proper
6147 promotion to long double.
6148
6149 2016-08-03 Tom Tromey <tom@tromey.com>
6150
6151 [BZ #20311]
6152 * nptl_db/Makefile (headers): Add proc_service.h.
6153 * nptl_db/proc_service.h: Add include guard. Use
6154 __BEGIN/__END_DECLS.
6155 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
6156 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
6157 arguments.
6158
6159
6160 2016-08-03 Florian Weimer <fweimer@redhat.com>
6161
6162 [BZ #17730]
6163 Avoid using memalign for TCB allocations.
6164 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
6165 (_dl_allocate_tls_storage): Use malloc and manual alignment.
6166 Avoid alignment gap in the TLS_DTV_AT_TP case.
6167 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
6168 determine the pointer to free.
6169 * nptl/tst-tls3-malloc.c: New test.
6170 * nptl/Makefile (tests): Add it.
6171 (tst-tls3-malloc): Link with libdl, libpthread.
6172 (LDFLAGS-tst-tls3-malloc): Set.
6173 (tst-tls3-malloc.out): Depend on DSO used in test.
6174
6175 2016-08-03 Florian Weimer <fweimer@redhat.com>
6176
6177 [BZ #17730]
6178 Avoid using memalign for TLS allocations.
6179 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
6180 is_static member with to_free member.
6181 (union dtv): Use struct dtv_pointer.
6182 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
6183 dtv_pointer instead of is_static.
6184 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
6185 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
6186 instead of val.
6187 (allocate_dtv_entry): New function.
6188 (allocate_and_init): Return struct dtv_pointer. Call
6189 allocate_dtv_entry instead of __libc_memalign.
6190 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
6191 instead of val.
6192 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
6193 instead of is_static. Adjust call to allocate_and_init.
6194 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
6195 struct dtv_pointer instead of val.
6196
6197 2016-08-03 Florian Weimer <fweimer@redhat.com>
6198
6199 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
6200 (MALLOC_ALIGN_MASK): Move ...
6201 * malloc/malloc-internal.h: ... to here.
6202 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
6203
6204 2016-08-03 Joseph Myers <joseph@codesourcery.com>
6205
6206 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
6207 (UDP_ENCAP_GTP1U): Likewise.
6208
6209 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
6210 (PF_MAX): Update value.
6211 (AF_QIPCRTR): New macro.
6212
6213 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
6214
6215 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
6216 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6217 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6219 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6220 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
6221 s_truncf-vis3, s_trunc-vis3.
6222 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
6223 (CFLAGS-s_ceil-vis3.c): Likewise.
6224 (CFLAGS-s_floorf-vis3.c): Likewise.
6225 (CFLAGS-s_floor-vis3.c): Likewise.
6226 (CFLAGS-s_truncf-vis3.c): Likewise.
6227 (CFLAGS-s_trunc-vis3.c): Likewise.
6228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
6229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
6231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
6233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
6235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6236 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
6237 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6238 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6240
6241 2016-08-02 David S. Miller <davem@davemloft.net>
6242
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6244 (__nearbyint_vis3): Don't check for sNaN before float register is
6245 loaded with the incoming argument.
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6247 (__nearbyintf_vis3): Likewise.
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
6249 Likewise.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
6251 Likewise.
6252
6253 * string/test-strncmp.c (do_test_limit): Make sure the test data
6254 stream is aligned as required for the type "CHAR".
6255 (do_test): Likewise.
6256
6257 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
6258
6259 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
6260 by beq instructions jumping to the end of the function.
6261 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
6262 clobber list. Use "i" constraint instead of "X".
6263 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
6264 of "X".
6265
6266 2016-08-02 Joseph Myers <joseph@codesourcery.com>
6267
6268 * bits/libc-header-start.h: New file.
6269 * Makefile (headers): Add bits/libc-header-start.h.
6270 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
6271 (__GLIBC_USE): New macro.
6272 * libio/stdio.h: Define
6273 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6274 <bits/libc-header-start.h> instead of including <features.h>.
6275 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
6276 (open_memstream): Likewise.
6277 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
6278 (__asprintf): Likewise.
6279 (asprintf): Likewise.
6280 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
6281 (getdelim): Likewise.
6282 (getline): Likewise.
6283 * string/string.h: Define
6284 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6285 <bits/libc-header-start.h> instead of including <features.h>.
6286 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
6287 (strndup): Likewise.
6288 * wcsmbs/wchar.h: Define
6289 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6290 <bits/libc-header-start.h> instead of including <features.h>.
6291 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
6292 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
6293
6294 2016-08-02 Florian Weimer <fweimer@redhat.com>
6295
6296 Support linking against compatibility symbols, for use in tests.
6297 * include/libc-symbols.h (symbol_version_reference): New macro.
6298 (symbol_version): Use it.
6299 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
6300 (compat_symbol): Use compat_symbol_reference.
6301 (compat_symbol_1, compat_symbol_2): Remove.
6302 (compat_symbol_reference, compat_symbol_reference_1)
6303 (compat_symbol_reference_2): New macro. Use
6304 symbol_version_reference.
6305
6306 2016-08-02 Florian Weimer <fweimer@redhat.com>
6307
6308 [BZ #19469]
6309 * malloc/Makefile (CPPFLAGS): Compile tests with
6310 -DTEST_NO_MALLOPT.
6311 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
6312
6313 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
6314
6315 [BZ #20033]
6316 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
6317 finite version.
6318 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
6319 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
6320 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
6321 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
6322 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
6323 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
6324 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
6325 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
6326 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
6327 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
6328 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
6329 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
6330 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
6331 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
6332 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
6333 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
6334 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
6335 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
6336 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
6337 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
6338 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
6339 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
6340 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
6341 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
6342 in zero power.
6343
6344 2016-08-02 Florian Weimer <fweimer@redhat.com>
6345
6346 [BZ #20370]
6347 * malloc/arena.c (get_free_list): Update comment. Assert that
6348 arenas on the free list have no attached threads.
6349 (remove_from_free_list): New function.
6350 (reused_arena): Call it.
6351
6352 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
6353
6354 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
6355 when it is a NaN.
6356 [_IEEE_FP_INEXACT] Remove.
6357 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
6358 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
6359 when it is a NaN.
6360 [_IEEE_FP_INEXACT] Remove.
6361 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
6362 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
6363 when it is a NaN.
6364 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
6365 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
6366 when its absolute value is greater than 0x1.0p52.
6367 [_IEEE_FP_INEXACT] Remove.
6368 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
6369 when its absolute value is greater than 0x1.0p23.
6370 [_IEEE_FP_INEXACT] Remove.
6371
6372 2016-08-01 Carlos O'Donell <carlos@redhat.com>
6373
6374 * version.h (RELEASE): Set to "development"
6375 (VERSION): Set to 2.24.90.
6376 * NEWS: Add 2.25 section.
6377
6378 * version.h (RELEASE): Set to "stable"
6379 (VERSION): Set to 2.24.
6380 * include/features.h (__GLIBC_MINOR__): Set to 24.
6381
6382 * NEWS: Add 2.24 fixed bugs.
6383 * po/libc.pot: Regenerate.
6384
6385 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
6386
6387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6388 [$(subdir) = math] (libm-sysdep_routines): Remove.
6389 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6390 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
6391 s_truncf-vis3, s_trunc-vis3.
6392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
6394 file.
6395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
6396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
6397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
6401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
6402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
6404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
6405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
6406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
6407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
6408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
6409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
6410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
6414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
6415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
6416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
6417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
6423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
6426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6428 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
6429 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
6430 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
6431 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
6432 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6433 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6434 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
6435 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
6436 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
6437 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
6438
6439 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
6440
6441 [BZ #20384]
6442 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
6443 test-double-libmvec-sincos-avx-main.o,
6444 test-double-libmvec-sincos-avx2-main.o,
6445 test-double-libmvec-sincos-main.o,
6446 test-float-libmvec-sincosf-avx-main.o,
6447 test-float-libmvec-sincosf-avx2-main.o and
6448 test-float-libmvec-sincosf-main.o.
6449 test-float-libmvec-sincosf-avx512-main.o.
6450 ($(objpfx)test-double-libmvec-sincos): Also link with
6451 $(objpfx)test-double-libmvec-sincos-main.o.
6452 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
6453 $(objpfx)test-double-libmvec-sincos-avx-main.o.
6454 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
6455 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
6456 ($(objpfx)test-float-libmvec-sincosf): Also link with
6457 $(objpfx)test-float-libmvec-sincosf-main.o.
6458 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
6459 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
6460 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
6461 test-double-libmvec-sincos-avx512-main.o and
6462 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
6463 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
6464 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
6465 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
6466 (CFLAGS-test-double-libmvec-sincos.c): Removed.
6467 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
6468 (CFLAGS-test-double-libmvec-sincos-main.c): New.
6469 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
6470 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
6471 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
6472 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
6473 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
6474 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
6475 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
6476 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
6477 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
6478 -DREQUIRE_AVX2.
6479 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
6480 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
6481 -DREQUIRE_AVX512F.
6482 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
6483 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
6484 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6485 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
6486 file.
6487 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
6488 Likewise.
6489 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
6490 Likewise.
6491 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
6492 Likewise.
6493 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
6494 Likewise.
6495 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
6496 Likewise.
6497 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
6498 Likewise.
6499 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
6500 Likewise.
6501
6502 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
6503
6504 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
6505
6506 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
6507
6508 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
6509 and typo in a comment about AT_HWCAP entry.
6510
6511 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6512
6513 * sysdeps/aarch64/libm-test-ulps: Updated.
6514
6515 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6516
6517 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
6518 of r13 as it is not restored in mvcle case.
6519
6520 2016-07-19 Mike Frysinger <vapier@gentoo.org>
6521
6522 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
6523 Rename "ret" to "__ret".
6524 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
6525 inline_syscall5, inline_syscall6): Likewise.
6526
6527 2016-07-19 Will Newton <will.newton@gmail.com>
6528
6529 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
6530 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
6531 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
6532 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
6533 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
6534
6535 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
6536
6537 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
6538 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
6539 -mfpmath=387 with $(rtld-CFLAGS).
6540 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
6541 $(rtld-CFLAGS).
6542
6543 2016-07-18 Ross Burton <ross.burton@intel.com>
6544 Khem Raj <raj.khem@gmail.com>
6545
6546 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
6547 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
6548 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
6549 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
6550 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
6551 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
6552 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
6553 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
6554 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
6555 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
6556 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
6557 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
6558 R_METAG_TLS_DTPOFF): New.
6559
6560 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
6561 Matt Clay <mclay@lycos.com>
6562
6563 [BZ #20357]
6564 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
6565 to call __mpsin/__mpcos and to negate values.
6566 * math/auto-libm-test-in: Add test.
6567 * math/auto-libm-test-out: Regenerate.
6568
6569 2016-07-18 Zack Weinberg <zackw@panix.com>
6570
6571 * grp/Makefile: Don't install the internal header grp-merge.h.
6572
6573 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
6574
6575 * sysdeps/aarch64/libm-test-ulps: Regenerated.
6576
6577 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
6578
6579 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6580
6581 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6582
6583 [BZ #15368]
6584 * sysdeps/unix/sysv/linux/nptl-signals.h
6585 (__nptl_clear_internal_signals): New function.
6586 (__libc_signal_block_all): Likewise.
6587 (__libc_signal_block_app): Likewise.
6588 (__libc_signal_restore_set): Likewise.
6589 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6590 implementation.
6591 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6592 the cached pid/tid value in pthread structure.
6593
6594 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
6595
6596 [BZ #20347]
6597 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6598
6599 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
6600
6601 [BZ #20348]
6602 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6603 preadv64, pwrite64 and pwritev64.
6604
6605 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
6606
6607 [BZ #20350]
6608 * posix/tst-preadwrite.c: Renamed to ...
6609 * posix/tst-preadwrite-common.c: This.
6610 (PREAD): Removed.
6611 (PWRITE): Likewise.
6612 (STRINGIFY): Likewise.
6613 (STRINGIFY2): Likewise.
6614 (do_prepare): Make it static and remove function arguments.
6615 (do_test): Likewise.
6616 (PREPARE): Updated.
6617 (TEST_FUNCTION): New.
6618 (name): Make it static.
6619 (fd): Likewise.
6620 (do_prepare): Use create_temp_file.
6621 (do_test): Renamed to ...
6622 (do_test_with_offset): This. Make it static and accept offset.
6623 Properly check return value of PWRITE and PREAD. Return bytes
6624 read. Don't close fd nor unlink name.
6625 * posix/tst-preadwrite.c: Rewrite.
6626 * posix/tst-preadwrite64.c: Likewise.
6627
6628 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
6629
6630 [BZ #20309]
6631 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6632 -mtls-dialect=gnu2 works.
6633 * configure: Regenerated.
6634 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6635 (tests): Add tst-gnu2-tls1.
6636 (modules-names): Add tst-gnu2-tls1mod.
6637 ($(objpfx)tst-gnu2-tls1): New.
6638 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6639 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6640 * elf/tst-gnu2-tls1.c: New file.
6641 * elf/tst-gnu2-tls1mod.c: Likewise.
6642 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6643 bytes for push in the PLT entry to align the stack.
6644
6645 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
6646
6647 [BZ #20349]
6648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6649
6650 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6651
6652 [BZ #18707]
6653 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6654 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6655
6656 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6657
6658 * sysdeps/unix/sysv/linux/sysdep.h
6659 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6660 guards.
6661 * misc/tst-preadvwritev-common.c: New file.
6662 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6663 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6664 a check for files larger than 2GB.
6665
6666 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6667 (__ASSUME_OFF_DIFF_OFF64): Remove define.
6668 * sysdeps/unix/sysv/linux/pread.c
6669 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6670 __OFF_T_MATCHES_OFF64_T.
6671 * sysdeps/unix/sysv/linux/pread64.c
6672 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6673 * sysdeps/unix/sysv/linux/preadv.c
6674 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6675 * sysdeps/unix/sysv/linux/preadv64.c
6676 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6677 * sysdeps/unix/sysv/linux/pwrite.c
6678 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6679 * sysdeps/unix/sysv/linux/pwrite64.c
6680 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6681 * sysdeps/unix/sysv/linux/pwritev.c
6682 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6683 * sysdeps/unix/sysv/linux/pwritev64.c
6684 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6685
6686 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
6687
6688 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6689 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6690
6691 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
6692
6693 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6694
6695 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
6696
6697 [BZ #20240]
6698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6699 (CFLAGS-s_modf-ppc32.c): New variable.
6700 (CFLAGS-s_modff-ppc32.c): Likewise.
6701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6702 (CFLAGS-s_modf-ppc64.c): Likewise.
6703 (CFLAGS-s_modff-ppc64.c): Likewise.
6704
6705 2016-07-07 Andreas Schwab <schwab@suse.de>
6706
6707 [BZ #20263]
6708 * nptl/tst-robust10.c: New test.
6709 * nptl/Makefile (tests): Add tst-robust10.
6710
6711 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
6712
6713 [BZ #20263]
6714 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6715
6716 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6717
6718 * sysdeps/s390/linkmap.h (struct link_map_machine):
6719 Remove member gotplt and add member jmprel.
6720 * sysdeps/s390/s390-32/dl-machine.h
6721 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6722 instead of gotplt with &got[3].
6723 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6724 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6725
6726 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
6727
6728 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6729
6730 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6731
6732 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6733 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6734 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6735 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6736 * libio/vtables.c (_IO_vtable_check)
6737 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6738 * libio/libioP.h (IO_set_accept_foreign_vtables)
6739 [!PTR_MANGLE]: Do not call PTR_MANGLE.
6740
6741 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
6742
6743 [BZ #20314]
6744 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6745 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6746 $(common-objpfx)cmath.
6747 ($(common-objpfx)cstdlib): New target.
6748 ($(common-objpfx)cmath): Likewise.
6749
6750 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
6751
6752 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6753
6754 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6755
6756 [BZ #20327]
6757 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6758 are not part of the string.
6759
6760 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6761
6762 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6763 * nptl/tst-cancel4-common.h (fifoname): New variable.
6764 (fifofd): Likewise.
6765 (cl_fifo): New function.
6766 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6767 SIGINT.
6768 (tf_open): Add early cancel test.
6769
6770 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
6771
6772 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6773
6774 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
6775
6776 * sysdeps/generic/ldsodefs.h
6777 (dl_symbol_visibility_binds_local_p): New inline function.
6778 * elf/dl-addr.c (determine_info): Treat hidden and internal
6779 symbols as local.
6780 * elf/dl-lookup.c (do_lookup_x): Likewise.
6781 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6782
6783 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
6784
6785 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6786 invalid exception for a sNaN input.
6787 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6788 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6789 (__nearbyint_vis3): Likewise
6790 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6791 (__nearbyintf_vis3): Likewise
6792 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6793 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6794 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6795 Likewise.
6796 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6797 Likewise.
6798
6799 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
6800
6801 [BZ #20139]
6802 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6803 (HAVE_AVX512DQ_ASM_SUPPORT): This.
6804 * sysdeps/x86_64/configure.ac: Require assembler from binutils
6805 2.24 or above.
6806 (HAVE_AVX512_ASM_SUPPORT): Removed.
6807 (HAVE_AVX512DQ_ASM_SUPPORT): New.
6808 * sysdeps/x86_64/configure: Regenerated.
6809 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6810 check unconditional.
6811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6812 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6813 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6814 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6815 Likewise.
6816 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6817 Likewise.
6818 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6819 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6820 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6821 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6822 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6823 Likewise.
6824 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6825 Likewise.
6826 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6827 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6828 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6829 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6830 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6831 Likewise.
6832 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6833 Likewise.
6834 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6835 Likewise.
6836 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6837 Likewise.
6838 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6839 Likewise.
6840 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6841 Likewise.
6842 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6843 Likewise.
6844 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6845 Likewise.
6846 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6847 Likewise.
6848 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6849 Likewise.
6850 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6851 Likewise.
6852
6853 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
6854
6855 [BZ #20024]
6856 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6857 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6858 of this implementation of vector function.
6859 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6860 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6861 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6862 Likewise.
6863 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6864 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6865 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6866 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6867 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6868 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6869 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6870 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6871 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6872 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6873 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6874 for testing vector sincos with fixed ABI.
6875 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6876 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6877 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6878 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6879 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6880 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6881 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6882 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6883 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6884 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6885 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6886 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6887 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6888 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6889 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6890 * sysdeps/x86_64/fpu/Makefile: Added new tests.
6891
6892 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
6893
6894 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6895
6896 2016-06-30 Anton Blanchard <anton@samba.org>
6897
6898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6899 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6900 s_sinf-ppc64.
6901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6904 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6905
6906 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6907
6908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6910 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6911 e_expf-ppc64.
6912 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6913 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6914 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6915 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6916
6917 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
6918
6919 [BZ #20277]
6920 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6921 when SHARED is defined.
6922
6923 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
6924
6925 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6926 (index_arch_Prefer_ERMS): Likewise.
6927 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6928 __memcpy_erms for Prefer_ERMS.
6929 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6930 (__memmove_erms): Enabled for libc.a.
6931 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6932 __memmove_erms or Prefer_ERMS.
6933 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6934 __mempcpy_erms for Prefer_ERMS.
6935 * sysdeps/x86_64/multiarch/memset.S (memset): Return
6936 __memset_erms for Prefer_ERMS.
6937
6938 2016-06-30 Andreas Schwab <schwab@suse.de>
6939
6940 [BZ #20262]
6941 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6942 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
6943 of memory.
6944
6945 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
6946
6947 [BZ #18645]
6948 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6949 (test-extras): Add tst-cleanupx4aux.
6950 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
6951 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6952 tst-cleanupx4aux.o.
6953 * nptl/tst-cleanupx4aux.c: New file.
6954
6955 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
6956
6957 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6958
6959 2016-06-29 Andreas Schwab <schwab@suse.de>
6960
6961 [BZ #20260]
6962 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6963 address before the beginning of the string as an integer to avoid
6964 array-bounds warning.
6965
6966 2016-06-28 Richard Henderson <rth@redhat.com>
6967
6968 * elf/elf.h (EM_BPF): New.
6969 (EM_NUM): Update.
6970 (R_BPF_NONE, R_BPF_MAP_FD): New.
6971
6972 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6973 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6974 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6975 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6976 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6977 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6978 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6979 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6980 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6981 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6982 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6983 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6984 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6985 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6986 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6987 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6988 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6989 (EM_NUM): Update.
6990
6991 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
6992
6993 [BZ #18960]
6994 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6995 Set _nl_current_LC_CATEGORY_used to two instead of one.
6996
6997 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
6998
6999 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
7000 (do_test): ... this.
7001 (TEST_FUNCTION): New macro.
7002 Include test-skeleton.c.
7003 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
7004 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
7005
7006 2016-06-27 Joseph Myers <joseph@codesourcery.com>
7007
7008 [BZ #15479]
7009 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
7010 floating-point environment rather than just control word.
7011 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7012 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
7013 floating-point environment, with "invalid" exceptions merged in,
7014 rather than just control word.
7015 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
7016 * math/libm-test.inc (trunc_test_data): Do not allow spurious
7017 "inexact" exceptions.
7018
7019 [BZ #15479]
7020 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
7021 floating-point environment rather than just control word.
7022 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7023 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
7024 floating-point environment, with "invalid" exceptions merged in,
7025 rather than just control word.
7026 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
7027 * math/libm-test.inc (floor_test_data): Do not allow spurious
7028 "inexact" exceptions.
7029
7030 [BZ #15479]
7031 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
7032 floating-point environment rather than just control word.
7033 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7034 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
7035 floating-point environment, with "invalid" exceptions merged in,
7036 rather than just control word.
7037 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
7038 * math/libm-test.inc (ceil_test_data): Do not allow spurious
7039 "inexact" exceptions.
7040
7041 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
7042
7043 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
7044 __libc_vfork.
7045 (__vfork) [IS_IN (libc)]: Remove alias.
7046 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
7047 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7048 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7049
7050 2016-06-24 Torvald Riegel <triegel@redhat.com>
7051
7052 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
7053 of atomic_compare_and_exchange_bool_rel.
7054 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7055 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
7056 catomic_compare_and_exchange_bool_rel): Remove.
7057 * sysdeps/aarch64/atomic-machine.h
7058 (atomic_compare_and_exchange_bool_rel): Likewise.
7059 * sysdeps/alpha/atomic-machine.h
7060 (atomic_compare_and_exchange_bool_rel): Likewise.
7061 * sysdeps/arm/atomic-machine.h
7062 (atomic_compare_and_exchange_bool_rel): Likewise.
7063 * sysdeps/mips/atomic-machine.h
7064 (atomic_compare_and_exchange_bool_rel): Likewise.
7065 * sysdeps/microblaze/atomic-machine.h
7066 ( __arch_compare_and_exchange_bool_8_rel,
7067 __arch_compare_and_exchange_bool_16_rel): Likewise.
7068 * sysdeps/powerpc/atomic-machine.h
7069 ( __arch_compare_and_exchange_bool_8_rel,
7070 __arch_compare_and_exchange_bool_16_rel): Likewise.
7071 * sysdeps/powerpc/powerpc32/atomic-machine.h
7072 ( __arch_compare_and_exchange_bool_32_rel,
7073 __arch_compare_and_exchange_bool_64_rel): Likewise.
7074 * sysdeps/powerpc/powerpc64/atomic-machine.h
7075 ( __arch_compare_and_exchange_bool_32_rel,
7076 __arch_compare_and_exchange_bool_64_rel): Likewise.
7077 * sysdeps/tile/atomic-machine.h
7078 (atomic_compare_and_exchange_bool_rel): Likewise.
7079
7080 2016-06-23 Joseph Myers <joseph@codesourcery.com>
7081
7082 [BZ #20296]
7083 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
7084 when either argument is a NaN.
7085 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7086 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
7087
7088 * math/libm-test.inc (snan_value_ld): New macro.
7089 (isgreater_test_data): Add sNaN tests.
7090 (isgreaterequal_test_data): Likewise.
7091 (isless_test_data): Likewise.
7092 (islessequal_test_data): Likewise.
7093 (islessgreater_test_data): Likewise.
7094 (isunordered_test_data): Likewise.
7095 (nextafter_test_data): Likewise.
7096 (nexttoward_test_data): Likewise.
7097 (remainder_test_data): Likewise.
7098 (remquo_test_data): Likewise.
7099 (significand_test_data): Likewise.
7100 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
7101
7102 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
7103
7104 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
7105 environment macros are defined.
7106 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
7107
7108 2016-06-23 Florian Weimer <fweimer@redhat.com>
7109
7110 [BZ #20191]
7111 Implement vtable verification in libio.
7112 * Makerules (shlib.lds): Place __libc_IO_vtables section.
7113 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
7114 * debug/vdprintf_chk.c (__vdprintf_chk): Call
7115 _IO_new_file_init_internal instead of _IO_file_init.
7116 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
7117 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
7118 * libio/Makefile (routines): Add vtables.
7119 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
7120 (_IO_init): Remove, not for internal use.
7121 (_IO_init_internal): Declare, internal replacement for _IO_init.
7122 (_IO_file_init): Remove, not for internal use.
7123 (_IO_new_file_init): Remove, not for internal use.
7124 (_IO_new_file_init_internal): Declare, internal replacement for
7125 _IO_new_file_init.
7126 (_IO_old_file_init): Remove, not for internal use.
7127 (_IO_old_file_init_internal): Declare, internal replacement for
7128 _IO_old_file_init.
7129 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
7130 internal use.
7131 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
7132 Declare.
7133 (libio_vtable): New macro.
7134 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
7135 functions.
7136 * libio/fileops.c (_IO_new_file_init_internal): Rename from
7137 _IO_new_file_init.
7138 (_IO_new_file_init): New externally visible wrapper which disables
7139 vtable verification.
7140 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
7141 Define as vtables.
7142 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
7143 (_IO_init): New externally visible wrapper which disables
7144 vtable verification.
7145 * libio/iofdopen.c (_IO_new_fdopen): Call
7146 _IO_new_file_init_internal instead of _IO_file_init. Adjust
7147 comment.
7148 * libio/iofopen.c (__fopen_internal): Call
7149 _IO_new_file_init_internal instead of _IO_file_init.
7150 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
7151 Define as vtables.
7152 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
7153 _IO_new_file_init_internal instead of _IO_file_init.
7154 * libio/iopopen.c (_IO_new_popen): Likewise.
7155 (_IO_proc_jumps): Define as vtable.
7156 * libio/iovdprintf.c (_IO_vdprintf): Call
7157 _IO_new_file_init_internal instead of _IO_file_init.
7158 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
7159 (__open_memstream): Call _IO_init_internal instead of _IO_init.
7160 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
7161 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
7162 _IO_old_file_init.
7163 (_IO_old_file_init): New externally visible wrapper which disables
7164 vtable verification.
7165 (_IO_old_file_jumps): Define as vtable.
7166 * libio/oldiofdopen.c (_IO_old_fdopen): Call
7167 _IO_old_file_init_internal instead of _IO_old_file_init.
7168 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7169 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7170 (_IO_old_proc_jumps): Define as vtable.
7171 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
7172 Define as vtables.
7173 * libio/vtables.c: New file.
7174 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
7175 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
7176 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
7177 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
7178 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
7179 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
7180 instead of _IO_init.
7181
7182 2016-06-23 Florian Weimer <fweimer@redhat.com>
7183
7184 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
7185
7186 2016-06-23 Florian Weimer <fweimer@redhat.com>
7187
7188 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
7189 potentially unused.
7190
7191 2016-06-22 Florian Weimer <fweimer@redhat.com>
7192
7193 * test-skeleton.c (write_message): New function.
7194 * malloc/tst-mallocfork2.c (write_message): Remove.
7195 * debug/tst-longjmp_chk2.c (write_indented): New function.
7196 (write_message): Remove.
7197 (stackoverflow_handler): Call write_indented.
7198
7199 2016-06-22 Joseph Myers <joseph@codesourcery.com>
7200
7201 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
7202 "inexact" exceptions after fnstenv.
7203 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7204 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7205 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7206
7207 2015-06-22 Zack Weinberg <zackw@panix.com>
7208
7209 * sysdeps/generic/bits/hwcap.h: Moved to ...
7210 * bits/hwcap.h: Here.
7211
7212 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
7213
7214 * sysdeps/aarch64/memcpy.S (memcpy):
7215 Further tuning for performance.
7216
7217 2016-06-21 Florian Weimer <fweimer@redhat.com>
7218
7219 [BZ #20284]
7220 * malloc/arena.c (reused_arena): Do not return NULL if we start
7221 out with a non-corrupted arena.
7222
7223 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7224
7225 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
7226 * misc/tst-preadvwritev.c: New file.
7227 * misc/tst-preadvwritev64.c: Likewise.
7228 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
7229 usage.
7230 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
7231 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
7232 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
7233 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
7234
7235 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
7236
7237 [BZ #19654]
7238 * sysdeps/x86_64/fpu/Makefile: Added new tests.
7239 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
7240 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
7241 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
7242 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
7243 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
7244 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
7245 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
7246 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
7247 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
7248 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
7249 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
7250 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
7251 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
7252 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
7253 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
7254 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
7255 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
7256 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
7257 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
7258 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
7259 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
7260 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
7261 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
7262 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
7263 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
7264
7265 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
7266
7267 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
7268 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
7269
7270 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
7271
7272 * sysdeps/aarch64/memcpy.S (memcpy):
7273 Rewrite of optimized memcpy and memmove.
7274 * sysdeps/aarch64/memmove.S (memmove): Remove
7275 memmove code (merged into memcpy.S).
7276
7277 2016-06-20 Florian Weimer <fweimer@redhat.com>
7278
7279 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
7280 * sysdeps/generic/dl-dtv.h: New file.
7281 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7282 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
7283 (dtv_t): Remove.
7284 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7285 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
7286 (dtv_t): Remove.
7287 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7288 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
7289 (dtv_t): Remove.
7290 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7291 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
7292 (dtv_t): Remove.
7293 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7294 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
7295 (dtv_t): Remove.
7296 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7297 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
7298 (dtv_t): Remove.
7299 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7300 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
7301 (dtv_t): Remove.
7302 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
7303 (dtv_t): Remove.
7304 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7305 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
7306 (dtv_t): Remove.
7307 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7308 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
7309 (dtv_t): Remove.
7310 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7311 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
7312 (dtv_t): Remove.
7313 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7314 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
7315 (dtv_t): Remove.
7316 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7317 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
7318 (dtv_t): Remove.
7319 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7320 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
7321 (dtv_t): Remove.
7322 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7323 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
7324 (dtv_t): Remove.
7325 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7326 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
7327 (dtv_t): Remove.
7328
7329 2016-06-20 Florian Weimer <fweimer@redhat.com>
7330
7331 Revert symbol poisoning of __malloc_initialize_hook.
7332 * include/stdc-predef.h (__malloc_initialize_hook): Remove
7333 poisoning.
7334 * malloc/Makefile: Remove un-poisoning.
7335 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
7336 instead of old__malloc_initialize_hook.
7337 * malloc/malloc-hooks.h: Likewise.
7338 * malloc/malloc.c: Likewise.
7339 * malloc/mcheck-init.c: Likewise.
7340
7341 2016-06-19 Carlos O'Donell <carlos@redhat.com>
7342
7343 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
7344
7345 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
7346
7347 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
7348 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
7349 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7350 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7351
7352 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7353
7354 * NEWS: Mention addition of nextup and nextdown.
7355 * manual/arith.texi: Document nextup and nextdown.
7356 * manual/libm-err-tab.pl: Add nextup and nextdown.
7357 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
7358 * math/Versions (libm): Add GLIBC_2.24.
7359 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
7360 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7361 Add new test.
7362 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
7363 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
7364 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
7365 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
7366 (nextup_test_data): Likewise.
7367 (nextdown_test_data): Likewise.
7368 * math/s_nextdown.c: New file.
7369 * math/s_nextdownf.c: Likewise.
7370 * math/s_nextdownl.c: Likewise.
7371 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
7372 F(nextup): New function.
7373 F(nextdown): Likewise.
7374 * math/tgmath.h: Add nextup and nextdown.
7375 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
7376 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
7381 Add nextup and nextdown.
7382 (CFLAGS-nldbl-nextup.c): New variable.
7383 (CFLAGS-nldbl-nextdown.c): Likewise.
7384 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
7385 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
7386 * sysdeps/nacl/libm.abilist: Update.
7387 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7388 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7389 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7390 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7391 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7392 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7393 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7394 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7395 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7396 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7397 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7398 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7401 Likewise.
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7404 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7405 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7406 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7407 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7408 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
7410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
7411 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7412 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7413 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
7414 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7415
7416 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
7417
7418 * manual/pattern.texi: Fix typos & grammar errors.
7419
7420 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
7421
7422 * manual/search.texi: Fix typos & grammar errors.
7423
7424 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
7425
7426 * manual/message.texi: Fix typos & grammar errors.
7427
7428 2016-06-16 Mike Frysinger <vapier@gentoo.org>
7429
7430 * manual/contrib.texi: Fix spelling typos.
7431 * manual/crypt.texi: Likewise.
7432 * manual/filesys.texi: Likewise.
7433 * manual/locale.texi: Likewise.
7434 * manual/message.texi: Likewise.
7435 * manual/nss.texi: Likewise.
7436 * manual/string.texi: Likewise.
7437
7438 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
7439
7440 * manual/locale.texi: Fix typos & grammar errors.
7441
7442 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
7443
7444 * manual/charset.texi: Fix typos & grammar errors.
7445
7446 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
7447
7448 * manual/string.texi: Fix typos.
7449
7450 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
7451
7452 * manual/ctype.texi: Fix typos.
7453
7454 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
7455
7456 * manual/memory.texi: Fix various typos & grammar errors.
7457
7458 2016-06-14 Joseph Myers <joseph@codesourcery.com>
7459
7460 [BZ #20255]
7461 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
7462 * math/libm-test.inc (fdim_test_data): Add another test.
7463
7464 [BZ #6796]
7465 [BZ #20255]
7466 [BZ #20256]
7467 * math/s_fdim.c: Include <math_private.h>.
7468 (__fdim): Use math_narrow_eval on result.
7469 * math/s_fdimf.c: Include <math_private.h>.
7470 (__fdimf): Use math_narrow_eval on result.
7471 * sysdeps/i386/fpu/s_fdim.S: Remove file.
7472 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
7473 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
7474 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
7475 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
7476 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
7477 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
7478 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
7479 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
7480 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
7481 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
7482 * math/libm-test.inc (fdim_test_data): Expect errno setting on
7483 overflow. Add sNaN tests.
7484
7485 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
7486 fpclassify.
7487 * math/s_fdimf.c (__fdimf): Likewise.
7488 * math/s_fdiml.c (__fdiml): Likewise.
7489
7490 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7491
7492 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7493 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
7494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7495 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7496 ifunc'ed strcasecmp/strncasecmp.
7497 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
7498 [EALIGN]: Removed.
7499 [END]: Likewise.
7500 [__strcasecmp]: Define instead of the above to control symbol name.
7501 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
7502 for __strcasecmp_power8.
7503 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
7504 for __strncasecmp_power8.
7505 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
7506 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
7507 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7508 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
7509 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
7510 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
7511
7512 2016-06-13 Joseph Myers <joseph@codesourcery.com>
7513
7514 [BZ #20252]
7515 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
7516 arguments when second argument is a NaN.
7517 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7518 qNaN tests.
7519
7520 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
7521 (conj_test_data): Likewise.
7522 (copysign_test_data): Likewise.
7523 (creal_test_data): Likewise.
7524 (fma_test_data): Likewise.
7525 (fmod_test_data): Likewise.
7526
7527 [BZ #20250]
7528 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
7529 itself.
7530 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
7531 zero input to itself.
7532 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
7533 Likewise.
7534 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
7535 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7536 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7537 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7538 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
7539
7540 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7541
7542 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
7543 * nptl/tst-cancel4-common.c: New file.
7544 * nptl/tst-cancel4-common.h: Likewise.
7545 * nptl/tst-cancel4.c: Move common definitions to
7546 tst-cancel4-common.{c,h} file.
7547 * nptl/tst-cancel4_1.c: New test.
7548 * nptl/tst-cancel4_2.c: New test.
7549
7550 2016-06-13 Florian Weimer <fweimer@redhat.com>
7551
7552 [BZ #20248]
7553 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
7554 (write_message): New function.
7555 (stackoverflow_handler): Call it instead of printf, to avoid
7556 excessive stack usage by printf.
7557 (do_test): Restore SIGSEGV, SIGBUS default handlers.
7558
7559 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7560
7561 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
7562 (prio_inherit_missing): Remove define.
7563 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7564 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7565 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
7566 Likewise.
7567 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7568 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7569 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7570 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7571 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7572 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7573
7574 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7575
7576 [BZ #19670]
7577 [BZ #19672]
7578
7579 * io/test-lfs.c (do_prepare): Use xmalloc.
7580 * io/tst-fcntl.c (do_prepare): Likewise.
7581 * libio/tst-fopenloc.c (do_bz17916): Likewise.
7582 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7583 * login/tst-utmp.c (do_prepare): Likewise.
7584 * posix/tst-exec.c (do_prepare): Likewise.
7585 * posix/tst-pathconf.c (prepare): Likewise.
7586 * posix/tst-spawn.c (do_prepare): Likewise.
7587 * posix/tst-truncate.c (do_prepare): Likewise.
7588 * rt/tst-aio.c (do_prepare): Likewise.
7589 * rt/tst-aio64.c (do_prepare): Likewise.
7590
7591 2016-06-11 Florian Weimer <fweimer@redhat.com>
7592
7593 [BZ #20237]
7594 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7595 (get*ent): Set entidx to NULL during initialization. If entidx is
7596 NULL, start iteration from the beginning.
7597
7598 2016-06-11 Florian Weimer <fweimer@redhat.com>
7599
7600 * malloc/malloc.c (musable): Return correct size for dumped fake
7601 mmapped chunk.
7602
7603 2016-06-11 Florian Weimer <fweimer@redhat.com>
7604
7605 [BZ #20222]
7606 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7607 (_IO_cookie_write): Likewise.
7608 (_IO_cookie_seek): Likewise.
7609 (_IO_cookie_close): Likewise.
7610 (_IO_old_cookie_seek): Likewise.
7611 (set_callbacks): New function.
7612 (_IO_cookie_init): Call set_callbacks to copy callbacks.
7613
7614 2016-06-11 Marko Myllynen <myllynen@redhat.com>
7615
7616 * locale/programs/localedef.c (oldstyle_tables): Remove.
7617 * locale/programs/localedef.h (oldstyle_tables): Likewise.
7618
7619 2016-06-10 Joseph Myers <joseph@codesourcery.com>
7620
7621 [BZ #20240]
7622 * math/Makefile (CFLAGS-s_modf.c): New variable.
7623 (CFLAGS-s_modff.c): Likewise.
7624 (CFLAGS-s_modfl.c): Likewise.
7625 * math/libm-test.inc (modf_test_data): Add sNaN tests.
7626
7627 2016-06-09 Carlos O'Donell <carlos@redhat.com>
7628
7629 [BZ #20215]
7630 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7631 [!__GNUC_PREREQ (3,2)]: Likewise.
7632
7633 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
7634
7635 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7636 (msghdr.msg_controllen): Likewise.
7637 (cmsghdr.cmsg_len): Likewise.
7638 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7639 ptw-oldsendmsg.
7640 (CFLAGS-oldrecvmsg.c): Remove rule.
7641 (CFLAGS-oldsendmsg.c): Likewise.
7642 (CFLAGS-recvmsg.c): Add rule.
7643 (CFLAGS-sendmsg.c): Likewise.
7644 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7645 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7646 (CFLAGS-recvmsg.c): Remove rule.
7647 (CFLAGS-sendmsg.c): Likewise.
7648 (CFLAGS-oldrecvmsg.c): Likewise.
7649 (CFLAGS-oldsendmsg.c): Likewise.
7650 (CFLAGS-recvmmsg.c): Likewise.
7651 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7652 to kernel defined interfaces.
7653 (msghdr.msg_controllen): Likewise.
7654 (cmsghdr.cmsg_len): Likewise.
7655 (msghdr.__glibc_reserved1): Remove member.
7656 (msghdr.__glibc_reserved2): Likewise.
7657 (cmsghdr.__glibc_reserved1): Likewise.
7658 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7659 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7660 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7661 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7662 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7663 version.
7664 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7665 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7666 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7667 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7668 Remove recvmsg and sendmsg.
7669 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7670 Likewise.
7671 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7672 Likewise.
7673 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7674 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7675 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7676 Likewise.
7677 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7678 Likewise.
7679 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7680 [libc] (GLIBC_2.24): Likewise.
7681 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7682 Likewise.
7683 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7684 Likewise.
7685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7686 [libc] (GLIBC_2.24): Likewise.
7687 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7688 Likewise.
7689 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7690 Likewise.
7691 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7692 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7693 Likewise.
7694 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7695 Likewise.
7696 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7697 Likewise.
7698 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7699 Likewise.
7700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7701 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7702 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7703 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7704 version for {recv,send,recm,sendm}msg.
7705 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7706 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7707 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7708 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7709 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7710 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7711 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7712 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7713 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7714 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7715 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7716 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7718 Likewise.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7720 Likewise.
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7723 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7724 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7725 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7726 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7727 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7728 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7731 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7732 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7733 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7734
7735 2016-06-10 Florian Weimer <fweimer@redhat.com>
7736
7737 [BZ #19564]
7738 Remove __malloc_initialize_hook from the API.
7739 * malloc/malloc.h (__malloc_initialize_hook): Remove.
7740 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7741 #pragma GCC poison.
7742 * malloc/malloc-hooks.h: New file.
7743 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7744 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7745 (old__malloc_initialize_hook): Rename from
7746 __malloc_initialize_hook to evade poisoning. Turn into compat
7747 symbol.
7748 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7749 __malloc_initialize_hook.
7750 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7751 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7752 * manual/memory.texi (Hooks for Malloc): Remove
7753 __malloc_initialize_hook. Adjust hook example.
7754
7755 2016-06-09 Joseph Myers <joseph@codesourcery.com>
7756
7757 [BZ #20235]
7758 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7759 itself.
7760 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7761 * math/libm-test.inc (log2_test_data): Add sNaN tests.
7762
7763 [BZ #20234]
7764 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7765 infinity or NaN input to itself.
7766
7767 [BZ #20233]
7768 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7769 to itself.
7770
7771 [BZ #20232]
7772 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7773 itself.
7774
7775 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
7776
7777 * sysdeps/x86_64/start.S (_start): Always indirect branch to
7778 __libc_start_main via GOT.
7779
7780 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
7781
7782 * sysdeps/x86_64/memcopy.h: New file.
7783 * sysdeps/x86_64/wordcopy.c: Likewise.
7784
7785 2016-06-09 Florian Weimer <fweimer@redhat.com>
7786
7787 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7788 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7789 <cstdlib>.
7790 (optimization_barrier): New.
7791 (do_test): Use it. Call quick_exit in the global namespace.
7792 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7793 instead of <cstdlib>, <thread>.
7794 (optimization_barrier): New.
7795 (non_main_thread): Adjust declaration. Call optimization_barrier.
7796 Call quick_exit in the global namespace.
7797 (do_test): Call optimization_barrier. Use pthread_create,
7798 pthread_join instead of std::thread.
7799
7800 2016-06-09 Andreas Schwab <schwab@suse.de>
7801
7802 [BZ #19755]
7803 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7804 new entries in auto-propagate mode.
7805 * nscd/grpcache.c (cache_addgr): Likewise.
7806
7807 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7808
7809 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7810 New functions.
7811 (add_temp_file): Use them.
7812
7813 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
7814
7815 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7816
7817 2016-06-08 Joseph Myers <joseph@codesourcery.com>
7818
7819 [BZ #20229]
7820 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7821 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7822 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7823
7824 [BZ #20228]
7825 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7826 itself.
7827 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7828 * math/libm-test.inc (log10_test_data): Add sNaN tests.
7829
7830 [BZ #20227]
7831 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7832 itself.
7833 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7834 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7835 * math/libm-test.inc (log_test_data): Add sNaN tests.
7836
7837 [BZ #20226]
7838 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7839 itself.
7840 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7841 * math/libm-test.inc (exp_test_data): Add sNaN tests.
7842 (exp10_test_data): Likewise.
7843 (expm1_test_data): Likewise.
7844
7845 [BZ #20225]
7846 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7847 itself.
7848 * math/s_ldexpf.c (__ldexpf): Likewise.
7849 * math/s_ldexpl.c (__ldexpl): Likewise.
7850 * math/w_scalbln.c (__w_scalbln): Likewise.
7851 * math/w_scalblnf.c (__w_scalblnf): Likewise.
7852 * math/w_scalblnl.c (__w_scalblnl): Likewise.
7853 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7854 (scalbln_test_data): Likewise.
7855
7856 [BZ #20224]
7857 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7858 argument to itself.
7859 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7860
7861 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
7862
7863 [BZ #19776]
7864 * sysdeps/x86_64/memcpy.S: Make it dummy.
7865 * sysdeps/x86_64/mempcpy.S: Likewise.
7866 * sysdeps/x86_64/memmove.S: New file.
7867 * sysdeps/x86_64/memmove_chk.S: Likewise.
7868 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7869 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7870 * sysdeps/x86_64/memmove.c: Removed.
7871 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7872 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7873 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7874 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7875 Likewise.
7876 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7877 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7879 memcpy-sse2-unaligned, memmove-avx-unaligned,
7880 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7881 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7882 (__libc_ifunc_impl_list): Replace
7883 __memmove_chk_avx512_unaligned_2 with
7884 __memmove_chk_avx512_unaligned. Remove
7885 __memmove_chk_avx_unaligned_2. Replace
7886 __memmove_chk_sse2_unaligned_2 with
7887 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
7888 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
7889 with __memmove_avx512_unaligned. Replace
7890 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7891 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
7892 with __memcpy_chk_avx512_unaligned. Remove
7893 __memcpy_chk_avx_unaligned_2. Replace
7894 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7895 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
7896 Replace __memcpy_avx512_unaligned_2 with
7897 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
7898 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
7899 with __mempcpy_chk_avx512_unaligned. Remove
7900 __mempcpy_chk_avx_unaligned_2. Replace
7901 __mempcpy_chk_sse2_unaligned_2 with
7902 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
7903 Replace __mempcpy_avx512_unaligned_2 with
7904 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
7905 Replace __mempcpy_sse2_unaligned_2 with
7906 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
7907 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7908 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7909 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7910 if processor has ERMS. Default to __memcpy_sse2_unaligned.
7911 (ENTRY): Removed.
7912 (END): Likewise.
7913 (ENTRY_CHK): Likewise.
7914 (libc_hidden_builtin_def): Likewise.
7915 Don't include ../memcpy.S.
7916 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7917 __memcpy_chk_avx512_unaligned_erms and
7918 __memcpy_chk_avx512_unaligned. Use
7919 __memcpy_chk_avx_unaligned_erms and
7920 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7921 Default to __memcpy_chk_sse2_unaligned.
7922 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7923 Change function suffix from unaligned_2 to unaligned.
7924 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7925 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7926 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7927 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
7928 (ENTRY): Removed.
7929 (END): Likewise.
7930 (ENTRY_CHK): Likewise.
7931 (libc_hidden_builtin_def): Likewise.
7932 Don't include ../mempcpy.S.
7933 (mempcpy): New. Add a weak alias.
7934 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7935 __mempcpy_chk_avx512_unaligned_erms and
7936 __mempcpy_chk_avx512_unaligned. Use
7937 __mempcpy_chk_avx_unaligned_erms and
7938 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7939 Default to __mempcpy_chk_sse2_unaligned.
7940
7941 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
7942
7943 [BZ #19881]
7944 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7945 into ...
7946 * sysdeps/x86_64/memset.S: This.
7947 (__bzero): Removed.
7948 (__memset_tail): Likewise.
7949 (__memset_chk): Likewise.
7950 (memset): Likewise.
7951 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7952 defined.
7953 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7954 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7955 (__memset_zero_constant_len_parameter): Check SHARED instead of
7956 PIC.
7957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7958 memset-avx2 and memset-sse2-unaligned-erms.
7959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7960 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7961 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7962 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7963 (__bzero): Enabled.
7964 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7965 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7966 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
7967 or __memset_avx2_unaligned_erms if processor has ERMS. Support
7968 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7969 (memset): Removed.
7970 (__memset_chk): Likewise.
7971 (MEMSET_SYMBOL): New.
7972 (libc_hidden_builtin_def): Replace __memset_sse2 with
7973 __memset_sse2_unaligned.
7974 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7975 __memset_chk_sse2 and __memset_chk_avx2 with
7976 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7977 Use __memset_chk_sse2_unaligned_erms or
7978 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
7979 __memset_chk_avx512_unaligned_erms and
7980 __memset_chk_avx512_unaligned.
7981
7982 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7983
7984 * math/gen-auto-libm-test.c (fp_format_desc): remove
7985 suffix member.
7986 (output_generic_value): Remove usage of suffix member,
7987 and the resulting unuse of the fp_format argument.
7988 (output_for_one_input_case): Remove unused fp_format
7989 parameter.
7990
7991 * math/auto-libm-test-out: Regenerate.
7992
7993 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7994 usage with TEST_COND_ibm128.
7995 (TEST_COND_flt_32): Remove.
7996 (TEST_COND_dbl_64): Remove.
7997 (TEST_COND_ldbl_96_intel): Remove.
7998 (TEST_COND_ldbl_96_m68k): Remove.
7999 (TEST_COND_ldbl_128): Remove.
8000
8001 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8002
8003 * auto-libm-test-in:
8004 Replace flt-32 usage with binary32.
8005 Replace dbl-64 usage with binary64.
8006 Replace ldbl-intel-96 usage with intel96.
8007 Replace ldbl-m68k-96 usage with m68k96.
8008 Replace ldbl-128ibm usage with ibm128.
8009 Replace ldbl-128 usage with binary128.
8010
8011 * auto-libm-test-out: Regenerate.
8012
8013 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8014
8015 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
8016 (parse_ulps): Dynamically generate type name matching
8017 string from all_floats.
8018 (get_ulps): Generate the ulps as an array instead.
8019 (output_ulps): Dynamically compose the type based
8020 on the number of supported formats, and print
8021 the indices as type specific helper macros.
8022
8023 * math/libm-test.inc: Remove comment about CHOOSE.
8024 (ulp_data): Generate the type in libm-test-ulps.h.
8025 (ULP_IDX): New macro.
8026 (find_ulps): Update usage of max_ulp.
8027
8028 * math/test-double-vlen2.h (CHOOSE): Remove.
8029 * math/test-double-vlen4.h (CHOOSE): Likewise.
8030 * math/test-double-vlen8.h (CHOOSE): Likewise.
8031 * math/test-float.c (CHOOSE): Likewise.
8032 * math/test-float-finite.c (CHOOSE): Likewise.
8033 * math/test-double.c (CHOOSE): Likewise.
8034 * math/test-double-finite.c (CHOOSE): Likewise.
8035 * math/test-idouble.c (CHOOSE): Likewise.
8036 * math/test-ifloat.c (CHOOSE): Likewise.
8037 * math/test-ildoubl.c (CHOOSE): Likewise.
8038 * math/test-ldouble-finite.c (CHOOSE): Likewise.
8039 * math/test-ldouble.c (CHOOSE): Likewise.
8040
8041 * math/test-float.h (TEST_FLOAT): Remove.
8042 * math/test-double.h (TEST_DOUBLE): Likewise.
8043 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
8044
8045 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8046
8047 * math/gen-libm-test.pl: (apply_lit): New subroutine.
8048 (parse_args): Strip C suffix from floating point literals
8049 typed with 'f' and wrap them with LIT().
8050
8051 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
8052 (test_ff_f_data_nexttoward): Rename to
8053 (test_fj_f_data): New struct.
8054 (nexttoward_test_data): Relabel tests as
8055 TEST_fj_f instead of TEST_ff_f.
8056
8057 2016-06-08 Florian Weimer <fweimer@redhat.com>
8058
8059 Emacs bug 23726.
8060 * malloc/malloc.c (dumped_main_arena_start): Update comment.
8061 (__libc_realloc): Correct size computation for dumped fake mmapped
8062 chunks.
8063
8064 2016-06-07 Joseph Myers <joseph@codesourcery.com>
8065
8066 [BZ #20219]
8067 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
8068 to itself.
8069 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
8070
8071 [BZ #20218]
8072 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
8073 to itself.
8074 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
8075
8076 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
8077
8078 [BZ #20195]
8079 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
8080 check to ...
8081 (init_cpu_features): Here.
8082
8083 2016-06-07 Carlos O'Donell <carlos@redhat.com>
8084
8085 [BZ #20214]
8086 * sysdeps/unix/sysv/linux/bits/in.h
8087 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
8088 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
8089 Define to 1.
8090 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
8091 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
8092 Define to 0.
8093 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
8094 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
8095
8096 2016-06-06 Carlos O'Donell <carlos@redhat.com>
8097
8098 [BZ #20198]
8099 * stdlib/Makefile (tests): Add tst-quick_exit, and
8100 tst-thread-quick_exit.
8101 [ifeq ($(have-cxx-thread_local),yes)]
8102 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
8103 (CFLAGS-tst-thread-quick_exit.o): Likewise.
8104 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
8105 (LDLIBS-tst-thread-quick_exit): Likewise.
8106 [ifneq ($(have-cxx-thread_local),yes)]
8107 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
8108 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
8109 If run_dtors is true call __call_tls_dtors.
8110 (exit): Call __run_exit_handlers with run_dtors set to true.
8111 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
8112 definition.
8113 * stdlib/quick_exit.c (quick_exit): Remove function.
8114 (__new_quick_exit): New function.
8115 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
8116 function.
8117 * stdlib/tst-quick_exit.cc: New file.
8118 * stdlib/tst-thread-quick_exit.cc: New file.
8119 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
8120 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
8121 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
8122 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
8123 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
8124 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
8125 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
8126 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
8127 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
8128 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
8129 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
8130 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
8131 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
8132 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
8133 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
8134 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
8136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
8139 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
8140 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
8141 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
8142 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
8143 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
8144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
8145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
8146 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
8147 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
8148 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
8149
8150 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
8151
8152 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
8153 a typo in comments.
8154
8155 2016-06-06 Joseph Myers <joseph@codesourcery.com>
8156
8157 [BZ #20213]
8158 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
8159 argument to itself.
8160 * math/libm-test.inc (asin_test_data): Add sNaN tests.
8161
8162 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8163
8164 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
8165 required flags.
8166 (CFLAGS-pwritev64.c): Likewise.
8167 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
8168 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8169 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
8170 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8171 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
8172 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
8173 syscall from auto-generation.
8174 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
8175 [WORDSIZE == 64] (pwritev64): Remove macro.
8176 [!PWRITEV] (PWRITEV): Likewise.
8177 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
8178 [!PWRITEV] (PWRITE): Likewise.
8179 [!PWRITEV] (OFF_T): Likewise.
8180 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
8181 (LO_HI_LONG): Remove macro.
8182 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
8183 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
8184 (PWRITEV): Remove macro.
8185 (PWRITEV_REPLACEMENTE): Likewise.
8186 (PWRITE): Likewise.
8187 (OFF_T): Likewise.
8188 (pwritev64): New function.
8189 * nptl/tst-cancel4.c (tf_writev): Add test.
8190
8191 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
8192 required flags.
8193 (CFLAGS-preadv64.c): Likewise.
8194 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
8195 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8196 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
8197 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
8198 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
8199 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
8200 syscall from auto-generation.
8201 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
8202 [WORDSIZE == 64] (preadv64): Remove macro.
8203 [!PREADV] (PREADV): Likewise.
8204 [!PREADV] (PREADV_REPLACEMENT): Likewise.
8205 [!PREADV] (PREAD): Likewise.
8206 [!PREADV] (OFF_T): Likewise.
8207 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
8208 (LO_HI_LONG): Remove macro.
8209 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
8210 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
8211 (PREADV): Remove macro.
8212 (PREADV_REPLACEMENTE): Likewise.
8213 (PREAD): Likewise.
8214 (OFF_T): Likewise.
8215 (preadv64): New function.
8216 * nptl/tst-cancel4.c (tf_preadv): Add test.
8217
8218 2016-06-06 Joseph Myers <joseph@codesourcery.com>
8219
8220 [BZ #20212]
8221 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
8222 argument to itself.
8223 * math/libm-test.inc (acos_test_data): Add sNaN tests.
8224
8225 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8226
8227 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
8228 New symbol defined as libc_hidden_def.
8229 (strcasestr): Became a weak alias to __strcasestr.
8230 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
8231 according to multi-arch support. Move __stpncpy hidden
8232 definition from here to...
8233 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
8234 symbol stpncpy.
8235 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
8236 libc_hidden_builtin_def.
8237 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
8238 memset symbol to use when multi-arch support is available.
8239
8240 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8241
8242 * dlfcn/tst-rec-dlopen.c: Include string.h.
8243
8244 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8245
8246 * manual/install.texi: Remove mention of --without-tls
8247 * INSTALL: Regenerate.
8248
8249 2016-06-05 Florian Weimer <fweimer@redhat.com>
8250
8251 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
8252 Remove.
8253 (call_function, interposed_malloc_called): New variables.
8254 (malloc): New function.
8255 (do_test): Do not change malloc hooks. Initialize malloc. Set
8256 and clear call_function as needed.
8257
8258 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
8259
8260 * include/wchar.h (__wmemset): Use __typeof.
8261
8262 2016-06-03 Carlos O'Donell <carlos@redhat.com>
8263
8264 * include/wchar.h (__wmemset): Declare function without typeof.
8265
8266 2016-06-03 Joseph Myers <joseph@codesourcery.com>
8267
8268 [BZ #20205]
8269 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
8270 exponent when incrementing negative subnormal with low mantissa
8271 word zero.
8272 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8273 Add another test.
8274
8275 2016-06-03 Florian Weimer <fweimer@redhat.com>
8276
8277 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
8278 __wmemset instead of wmemset.
8279
8280 2016-06-02 Carlos O'Donell <carlos@redhat.com>
8281
8282 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
8283 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
8284 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
8285 __USE_KERNEL_IPV6_DEFS to 0.
8286 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
8287 Update comment.
8288
8289 2016-06-01 Florian Weimer <fweimer@redhat.com>
8290
8291 [BZ #19861]
8292 Do not use IFUNC resolver with potentially unrelocated symbol.
8293 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
8294 (DEFINE_FORK): Remove macro and inline definition.
8295 (fork_alias): Renamed from fork_ifunc.
8296 (__fork_alias): Renamed from __fork_ifunc.
8297
8298 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8299
8300 [BZ 19653]
8301 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
8302 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
8303
8304 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8305
8306 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
8307 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
8308 i386-linux-gnu).
8309 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
8310 Set to no.
8311 * sysdeps/mach/hurd/configure: Refresh.
8312
8313 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8314
8315 [BZ #20178]
8316 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
8317 on failure instead of exit.
8318
8319 2016-05-30 Roland McGrath <roland@hack.frob.com>
8320
8321 [BZ #3629]
8322 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
8323 of POSIX.1-2008.
8324
8325 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8326
8327 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
8328 Use PLT entry for calling _hurd_self_sigstate.
8329
8330 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
8331
8332 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
8333 available logical processors with SMT level type sharing L2
8334 cache for Intel processors.
8335
8336 2016-05-27 Joseph Myers <joseph@codesourcery.com>
8337
8338 [BZ #20160]
8339 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
8340 argument to itself before returning the result.
8341 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8342 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8343 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8344 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8345 Likewise.
8346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8347 Likewise.
8348 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
8349 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
8350 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8351 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8352 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8353 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8354
8355 [BZ #20160]
8356 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
8357 argument to itself before returning the result.
8358 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8359 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8360 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8361 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
8362 Likewise.
8363 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8364 Likewise.
8365 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
8366 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
8367 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
8368 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8369 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8370 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8371
8372 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8373
8374 * libm-test.inc: Replace usage of M_El with
8375 (lit_e): New macro.
8376
8377 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8378
8379 * libm-test.inc: Replace usage of M_PI_4l with
8380 (lit_pi_4_d): New macro.
8381
8382 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8383
8384 * libm-test.inc: Replace usage of M_PIl with
8385 (lit_pi): New macro.
8386
8387 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8388
8389 * libm-test.inc: Replace usage of M_PI2l with
8390 (lit_pi_2_d): New macro.
8391
8392 * math/test-double.h (LITM): New macro.
8393 * math/test-float.h (LITM): Likewise.
8394 * math/test-ldouble.h (LITM): Likewise.
8395
8396 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8397
8398 * libm-test.inc (M_PI_34l): Rename to
8399 (lit_pi_3_m_4_d): New Macro.
8400 (M_PI_34_LOG10El): Rename to
8401 (lit_pi_3_m_4_ln10_m_d): New Macro.
8402 (M_PI2_LOG10El): Rename to
8403 (lit_pi_2_ln10_m_d): New Macro.
8404 (M_PI4_LOG10El): Rename to
8405 (lit_pi_4_ln10_m_d): New Macro.
8406 (M_PI_LOG10El): Rename to
8407 (lit_pi_ln10_d): New Macro.
8408
8409 2016-05-27 Joseph Myers <joseph@codesourcery.com>
8410
8411 [BZ #20157]
8412 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
8413 determine whether to negate low half if [_ARCH_PPCGR], and integer
8414 comparison otherwise.
8415 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
8416 determine whether to negate low half.
8417
8418 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
8419 (NO_TEST_INLINE_DOUBLE): Likewise.
8420 (TEST_COND_x86_64): Likewise.
8421 (TEST_COND_x86): Likewise.
8422 (M_PI_6l): Likewise.
8423
8424 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8425
8426 * math/libm-test.inc:
8427 (TEST_FLOAT): Change usage to TEST_COND_binary32.
8428 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
8429 (TEST_LDOUBLE): Update usage to evaluate as true if
8430 the guarded tests match the property being tested.
8431 (LDBL_MAX_EXP): Change to MAX_EXP.
8432 (LDBL_MIN_EXP): Change to MIN_EXP.
8433 (LDBL_MANT_DIG): Change to MANT_DIG, except for
8434 nexttoward tests.
8435
8436 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8437
8438 * math/libm-test.inc:
8439 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
8440 (TYPE_MIN): Likewise.
8441 (TYPE_TRUE_MIN): Likewise.
8442 (TYPE_MAX): Likewise.
8443 (MIN_EXP): Likewise.
8444 (MAX_EXP): Likewise.
8445 (MANT_DIG): Likewise.
8446
8447 (FSTR_MAX): New macro.
8448 (__CONCATX): Likewise.
8449 (QTYPE_STR): Likewise.
8450 (TEST_COND_binary32): Likewise.
8451 (TEST_COND_binary64): Likewise.
8452 (TEST_COND_binary128): Likewise.
8453 (TEST_COND_ibm128): Likewise.
8454 (TEST_COND_intel96): Likewise.
8455 (TEST_COND_m68k96): Likewise.
8456
8457 (TEST_COND_flt_32): Redefine as equivalent format test macro.
8458 (TEST_COND_dbl_64): Likewise.
8459 (TEST_COND_ldbl_96_intel): Likewise.
8460 (TEST_COND_ldbl_96_m68k): Likewise.
8461 (TEST_COND_ldbl_128): Likewise.
8462 (TEST_COND_ldbl_128ibm): Likewise.
8463
8464 (plus_zero): Redefine using LIT macro.
8465 (minus_zero): Likewise.
8466 (plus_infty): Redefine as (INF).
8467 (minux_infty): Redefine as (-INF).
8468 (max_value): Redefine as TYPE_MAX.
8469 (min_value): Redefine as TYPE_MIN.
8470 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
8471
8472 (print_float): Refactor to use snprintf to convert FLOAT values
8473 to string. This brings it closer to dropin replacement of strtof
8474 for the TS 18661 defined types.
8475 (update_stats): Likewise.
8476 (print_complex_function_ulps): Likewise.
8477 (print_max_error): Likewise.
8478 (print_complex_max_error): Likewise.
8479 (check_float_internal): Likewise.
8480
8481 * math/test-float.h (PREFIX): New macro.
8482 (LIT): Likewise.
8483 (TYPE_STR): Likewise.
8484 (FTOSTR): Likewise.
8485
8486 * math/test-double.h (PREFIX): New macro.
8487 (LIT): Likewise.
8488 (TYPE_STR): Likewise.
8489 (FTOSTR): Likewise.
8490
8491 * math/test-ldouble.h (PREFIX): New macro.
8492 (LIT): Likewise.
8493 (TYPE_STR): Likewise.
8494 (FTOSTR): Likewise.
8495
8496 2016-05-27 Joseph Myers <joseph@codesourcery.com>
8497
8498 [BZ #20156]
8499 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
8500 to itself when zero or not finite.
8501 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
8502 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
8504 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8505
8506 2016-05-26 Joseph Myers <joseph@codesourcery.com>
8507
8508 [BZ #20153]
8509 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
8510 x * x + x for infinities and NaNs.
8511
8512 [BZ #20151]
8513 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
8514 argument to itself before returning result.
8515 (__ieee754_y0l): Likewise.
8516 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8517 (__ieee754_y1l).
8518
8519 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
8520 (atan_test_data): Likewise.
8521 (ceil_test_data): Likewise.
8522 (cos_test_data): Likewise.
8523 (cosh_test_data): Likewise.
8524 (erf_test_data): Likewise.
8525 (exp2_test_data): Likewise.
8526 (fabs_test_data): Likewise.
8527 (floor_test_data): Likewise.
8528 (ilogb_test_data): Likewise.
8529 (j0_test_data): Likewise.
8530 (j1_test_data): Likewise.
8531 (jn_test_data): Likewise.
8532 (lgamma_test_data): Likewise.
8533 (lrint_test_data): Likewise.
8534 (llrint_test_data): Likewise.
8535 (logb_test_data): Likewise.
8536 (lround_test_data): Likewise.
8537 (llround_test_data): Likewise.
8538 (nearbyint_test_data): Likewise.
8539 (rint_test_data): Likewise.
8540 (round_test_data): Likewise.
8541 (sin_test_data): Likewise.
8542 (sincos_test_data): Likewise.
8543 (sinh_test_data): Likewise.
8544 (sqrt_test_data): Likewise.
8545 (tan_test_data): Likewise.
8546 (tanh_test_data): Likewise.
8547 (tgamma_test_data): Likewise.
8548 (trunc_test_data): Likewise.
8549 (y0_test_data): Likewise.
8550 (y1_test_data): Likewise.
8551 (yn_test_data): Likewise.
8552
8553 * math/libm-test.inc: Update comment about NaN testing.
8554 (TEST_SNAN): New macro.
8555 (snan_value): Likewise.
8556 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
8557 (fpclassify_test_data): Add sNaN tests.
8558 (isfinite_test_data): Likewise.
8559 (isinf_test_data): Likewise.
8560 (isnan_test_data): Likewise.
8561 (isnormal_test_data): Likewise.
8562 (issignaling_test_data): Likewise.
8563 (signbit_test_data): Likewise.
8564 * math/gen-libm-test.pl (%beautify): Add snan_value.
8565 (show_exceptions): Add argument $test_snan.
8566 (parse_args): Handle snan_value as non-finite. Update call to
8567 show_exceptions.
8568 * math/Makefile (libm-test-no-inline-cflags): Add
8569 -fsignaling-nans.
8570
8571 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8572
8573 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
8574 (CFLAGS-oldsendmsg.c): Add rule.
8575 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8576 Correct recvmsg symbol name.
8577 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8578 Likewise.
8579
8580 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8581
8582 * sysdeps/unix/sysv/linux/Makefile
8583 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8584 oldsendmmsg.
8585 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8586 sendmmsg.
8587 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8588 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8589 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8590 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8592 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8593 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8595 Likewise.
8596 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8597 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8598 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8599 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8600 iovlen and controllen fields to adjust to POSIX specification.
8601 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8602
8603 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8604 and change to correct expected type.
8605 (msghdr.msg_controllen): Likewise.
8606 (cmsghdr.cmsg_len): Likewise.
8607 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8608 expected POSIX assumption about the size.
8609 (msghdr.msg_controllen): Likewise.
8610 (msghdr.__glibc_reserved1): Likewise.
8611 (msghdr.__glibc_reserved2): Likewise.
8612 (cmsghdr.cmsg_len): Likewise.
8613 (cmsghdr.__glibc_reserved1): Likewise.
8614 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8615 Add ptw-oldrecvmsg and ptw-oldsendmsg.
8616 (CFLAGS-sendmsg.c): Remove rule.
8617 (CFLAGS-recvmsg.c): Likewise.
8618 (CFLAGS-oldsendmsg.c): Add rule.
8619 (CFLAGS-oldrecvmsg.c): Likewise.
8620 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8621 recvmsg and sendmsg.
8622 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8623 Likewise.
8624 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8625 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8626 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8627 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8628 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8629 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8630 Likewise.
8631 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8632 Likewise.
8633 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8634 Likewise.
8635 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8636 Likewise.
8637 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8638 Likewise.
8639 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8640 Likewise.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8642 (GLIBC_2.24): Likewise.
8643 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8644 Likewise.
8645 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8646 Likewise.
8647 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8648 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8649 Likewise.
8650 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8651 Likewise.
8652 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8653 Likewise.
8654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8655 (GLIBC_2.24): Likewise.
8656 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8657 Likewise.
8658 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8659 Likewise.
8660 * sysdeps/unix/sysv/linux/Makefile
8661 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8662 (CFLAGS-sendmsg.c): Add rule.
8663 (CFLAGS-recvmsg.c): Likewise.
8664 (CFLAGS-oldsendmsg.c): Likewise.
8665 (CFLAGS-oldrecvmsg.c): Likewise.
8666 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8667 initialization.
8668 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8669 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8670 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8671 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8672 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8673 iovlen and controllen fields to adjust to POSIX specification.
8674 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8675 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8676 added recvmsg and sendmsg.
8677 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8678 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8679 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8680 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8681 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8682 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8683 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8684 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8685 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8686 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8687 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8688 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8690 Likewise.
8691 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8693 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8694 Likewise.
8695 Likewise.
8696 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8697 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8698 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8699 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8700 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8701 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8703 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8705 Likewise.
8706 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8707 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8708
8709 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8710 from auto-generation.
8711 (sendmsg): Likewise.
8712 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8713 (sendmsg): Likewise.
8714 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8715 (sendmsg): Likewise.
8716 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8717 (sendmsg): Likewise.
8718 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8719 (sendmsg): Likewise.
8720 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8721 (sendmsg): Likewise.
8722 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8723 Likewise.
8724 (sendmsg): Likewise.
8725 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8726 (sendmsg): Likewise.
8727 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8728 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8729 Remove.
8730 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8731 Likewise.
8732 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8733 Undefine.
8734 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8735 Likewise.
8736 * sysdeps/unix/sysv/linux/kernel-features.h
8737 (__ASSUME_SENDMSG_SYSCALL): Define.
8738 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8739 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8740 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8741 Remove.
8742 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8743 Likewise.
8744 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8745 Undefine.
8746 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8747 Likewise.
8748 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8749 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8750 Remove.
8751 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8752 Likewise.
8753 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8754 Undefine.
8755 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8756 Likewise.
8757 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8758 (__ASSUME_SENDMSG_SYSCALL): Undefine.
8759 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8760 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8761 (__ASSUME_SENDMSG_SYSCALL): Likewise.
8762 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8763 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8764 (__ASSUME_SENDMSG_SYSCALL): Likewise.
8765 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8766
8767 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8768
8769 * stdlib/gen-tst-strtod-round.c: Add backslash to
8770 compile command in comment.
8771 (printfp): Remove the literal suffix, and define an infinite
8772 value as INF to avoid expansion clash with INFINITY.
8773 (round_str): Remove the literal suffix.
8774 (round_for_all): Likewise, remove the now duplicate ldbl-64
8775 entry, and remove some magic constants.
8776
8777 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8778 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
8779 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8780 (_CONCAT): New macro.
8781 (CONCAT): Likewise.
8782 (CHOOSE_ld): Likewise.
8783 (CHOOSE_f): Likewise.
8784 (CHOOSE_d): Likewise.
8785 (FTYPE_MEMBER): Likewise.
8786 (BOOL_MEMBER): Likewise.
8787 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8788 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8789 (_XNTRY): Likewise.
8790 (XNTRY): Likewise.
8791 (_ENTRY): Likewise.
8792 (ENTRY): Likewise.
8793 (test_exactness): Generate members via macro.
8794 (test_results): Likewise.
8795 (test): Update members.
8796 (TEST): Redefine using new macros.
8797 (INF): New macro.
8798 (fetestmodes): New structure.
8799 (do_test): Refactor to be type generic.
8800 (test_in_one_mode): Refactor duplicate code into
8801 (GEN_ONE_TEST): New macro.
8802
8803 * stdlib/tst-strtod-round-data.h: Regenerate.
8804
8805 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8806 Extend to pass additional arbitrary parameters to
8807 generators.
8808
8809 2016-05-25 Joseph Myers <joseph@codesourcery.com>
8810
8811 [BZ #15479]
8812 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8813 floating-point state after first floating-point operation on
8814 input. Restore full floating-point state instead of just rounding
8815 mode.
8816 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8817 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8818 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8819 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8820 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8821
8822 [BZ #15479]
8823 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8824 floating-point state after first floating-point operation on
8825 input. Restore full floating-point state instead of just rounding
8826 mode.
8827 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8828 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8829 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8830 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8831 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8832
8833 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8834
8835 [BZ #19727]
8836 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8837 valid high surrogate.
8838 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8839 of an utf16 surrogate.
8840 * iconv/gconv_simple.c (BODY): Likewise.
8841 * iconvdata/bug-iconv12.c: New file.
8842 * iconvdata/Makefile (tests): Add bug-iconv12.
8843
8844 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8845
8846 [BZ #19726]
8847 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8848 outptrp in case of an illegal input.
8849 * iconv/tst-iconv6.c: New file.
8850 * iconv/Makefile (tests): Add tst-iconv6.
8851
8852 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8853
8854 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8855 an error in case of a value in range of an utf16 low surrogate.
8856
8857 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8858
8859 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8860 an error in case of a value in range of an utf16 low surrogate.
8861
8862 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8863
8864 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8865 Move to ...
8866 * sysdeps/s390/Makefile: ... here.
8867 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8868 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8869 (BRANCH_ON_COUNT): New define.
8870 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8871 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8872 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8873 run on s390-32, too.
8874 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8875 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8876 run on s390-32, too.
8877 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8878 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8879 run on s390-32, too.
8880
8881 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8882
8883 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8884 etf3eh or new vector loop-variant.
8885
8886 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8887
8888 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8889 etf3eh or new vector loop-variant.
8890
8891 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8892
8893 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8894 or new vector loop-variant.
8895
8896 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8897
8898 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8899 Rename to TR_LOOP and usage of tr instead of troo instruction.
8900
8901 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8902
8903 * sysdeps/s390/multiarch/gconv_simple.c: New File.
8904 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8905
8906 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8907
8908 * sysdeps/s390/multiarch/8bit-generic.c: New File.
8909 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8910 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8911 New override define.
8912 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8913
8914 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8915
8916 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8917 * sysdeps/s390/configure.ac: Add test for S390 vector register
8918 support in gcc.
8919 * sysdeps/s390/configure: Regenerated.
8920
8921 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8922
8923 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8924 Install file from $(objpfx)gconv-modules.
8925 ($(objpfx)gconv-modules): Concatenate architecture specific file
8926 in variable sysdeps-gconv-modules and gconv-modules in src dir.
8927 * sysdeps/s390/gconv-modules: New file.
8928 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8929 Deleted.
8930 ($(objpfx)gconv-modules-s390): Deleted.
8931 (sysdeps-gconv-modules): New variable.
8932
8933 2016-05-24 Joseph Myers <joseph@codesourcery.com>
8934
8935 [BZ #15479]
8936 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8937 of immediate operand to rounding instruction.
8938 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8939 Likewise.
8940 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8941 Likewise.
8942 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8943 Likewise.
8944
8945 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8946
8947 * math/libm-test.inc (MIN_EXP): Directly define as
8948 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8949
8950 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8951
8952 * math/libm-test.inc (MANT_DIG): Directly define as
8953 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8954
8955 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8956
8957 * stdlib/gen-tst-strtod-round.c (main):
8958 Change usage to more closely match the generated
8959 output. Add usage and compilation instructions.
8960 (string_to_fp): Add and use FILE* parameter as
8961 output target.
8962 (print_fp): Likewise.
8963 (round_str): Likewise.
8964 (round_for_all): Likewise.
8965 * stdlib/tst-strtod-round.c (tests): Move into
8966 * stdlib/tst-strtod-round-data.h: New file.
8967
8968 2016-05-24 Joseph Myers <joseph@codesourcery.com>
8969
8970 [BZ #15479]
8971 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8972 (__round): Do not force "inexact" exception.
8973 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8974 variable.
8975 (__round): Do not force "inexact" exception.
8976 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8977 (__roundf): Do not force "inexact" exception.
8978 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8979 (__roundl): Do not force "inexact" exception.
8980 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8981 (__roundl): Do not force "inexact" exception.
8982 * math/libm-test.inc (round_test_data): Do not allow spurious
8983 "inexact" exceptions.
8984
8985 [BZ #15479]
8986 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8987 exception in comment.
8988 (huge): Remove variable.
8989 (__floor): Do not force "inexact" exception.
8990 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8991 "inexact" exception in comment.
8992 (huge): Remove variable.
8993 (__floor): Do not force "inexact" exception.
8994 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8995 exception in comment.
8996 (huge): Remove variable.
8997 (__floorf): Do not force "inexact" exception.
8998 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8999 exception in comment.
9000 (huge): Remove variable.
9001 (__floorl): Do not force "inexact" exception.
9002
9003 [BZ #15479]
9004 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
9005 exception in comment.
9006 (huge): Remove variable.
9007 (__ceil): Do not force "inexact" exception.
9008 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
9009 "inexact" exception in comment.
9010 (huge): Remove variable.
9011 (__ceil): Do not force "inexact" exception.
9012 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
9013 (__ceilf): Do not force "inexact" exception.
9014 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
9015 exception in comment.
9016 (huge): Remove variable.
9017 (__ceill): Do not force "inexact" exception.
9018
9019 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
9020
9021 * config.h.in (BIND_NOW): New.
9022 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
9023 * configure: Regenerated.
9024 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
9025 indirect branch via the GOT slot.
9026
9027 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9028
9029 [BZ #19765]
9030 * sysdeps/s390/mempcpy.S: New File.
9031 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9032 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
9033 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9034 Add mempcpy variants.
9035 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
9036 (memcpy): Adjust to be usable from mempcpy entry point.
9037 (__memcpy_mvcle): Likewise.
9038 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9039 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
9040 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
9041 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
9042 (__memcpy_z10): Likewise.
9043 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
9044
9045 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9046
9047 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
9048 Remove __GI_ symbol.
9049 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
9050 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
9051 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
9052 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
9053 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
9054 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
9055
9056 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9057
9058 * sysdeps/s390/s390-64/memcpy.S (memcpy):
9059 Use cghi instead of chi to compare 64bit value.
9060
9061 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9062
9063 * sysdeps/s390/s390-32/memcpy.S (memcpy):
9064 Jump to 1MB check before executing mvc-loop.
9065
9066 2016-05-24 Florian Weimer <fweimer@redhat.com>
9067
9068 [BZ #6527]
9069 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
9070 unconditionally.
9071 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
9072
9073 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9074
9075 * stdlib/tst-strtod6.c (do_test): Use new type generic
9076 invocation of the test function.
9077 (test): Refactor into ...
9078 (TEST_STRTOD): New macro base function.
9079
9080 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9081
9082 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
9083 (TEST_STRTOD): New macro.
9084 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
9085
9086 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9087
9088 * stdlib/tst-strtod6.c (do_test): Use new type generic
9089 invocation of the test function.
9090 (test): Refactor into ...
9091 (TEST_STRTOD): New macro base function.
9092
9093 2016-05-23 Florian Weimer <fweimer@redhat.com>
9094
9095 CVE-2016-4429
9096 [BZ #20112]
9097 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
9098 payload.
9099
9100 2016-05-23 Florian Weimer <fweimer@redhat.com>
9101
9102 [BZ #20111]
9103 * bits/sockaddr.h (_SS_SIZE): Define.
9104 * bits/socket.h (_SS_SIZE): Remove.
9105 (_SS_PADSIZE): Adjust to account for all padding.
9106 (struct sockaddr_storage): Update comment. Avoid implicit
9107 padding.
9108 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
9109 (_SS_PADSIZE): Adjust to account for all padding.
9110 (struct sockaddr_storage): Update comment. Avoid implicit
9111 padding.
9112 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
9113 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
9114 (_SS_PADSIZE): Adjust to account for all padding.
9115 (struct sockaddr_storage): Update comment. Avoid implicit
9116 padding.
9117 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
9118 __SS_SIZE is 126 in this version.
9119 * inet/tst-sockaddr.c: New file.
9120 * inet/Makefile (tests): Add tst-sockaddr.c
9121 (tst-sockaddr.c): Compile with non-strict aliasing.
9122
9123 2016-05-23 Joseph Myers <joseph@codesourcery.com>
9124
9125 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
9126 [XPG3 || XPG4].
9127 (NL_ARGMAX): Also expect for [XPG3].
9128 (NL_LANGMAX): Likewise.
9129 (NL_MSGMAX): Likewise.
9130 (NL_NMAX): Likewise.
9131 (NL_SETMAX): Likewise.
9132 (NL_TEXTMAX): Likewise.
9133 (NZERO): Likewise.
9134 (TMP_MAX): Likewise.
9135 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
9136 variable.
9137
9138 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
9139 (PF_MAX): Update value.
9140 (AF_KCM): New macro.
9141 (SOL_NETBEUI): Likewise.
9142 (SOL_LLC): Likewise.
9143 (SOL_DCCP): Likewise.
9144 (SOL_NETLINK): Likewise.
9145 (SOL_TIPC): Likewise.
9146 (SOL_RXRPC): Likewise.
9147 (SOL_PPPOL2TP): Likewise.
9148 (SOL_BLUETOOTH): Likewise.
9149 (SOL_PNPIPE): Likewise.
9150 (SOL_RDS): Likewise.
9151 (SOL_IUCV): Likewise.
9152 (SOL_CAIF): Likewise.
9153 (SOL_ALG): Likewise.
9154 (SOL_NFC): Likewise.
9155 (SOL_KCM): Likewise.
9156 (MSG_BATCH): New enum value and macro.
9157
9158 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
9159
9160 [BZ #18185]
9161 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
9162 sharing L2 cache to 2 for Knights Landing.
9163
9164 2016-05-20 Joseph Myers <joseph@codesourcery.com>
9165
9166 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
9167 (FTW_DP): Do not expect for [XPG3 || XPG4].
9168 (FTW_SL): Do not expect for [XPG3].
9169 (FTW_SLN): Likewise.
9170 (FTW_PHYS): Likewise.
9171 (FTW_MOUNT): Likewise.
9172 (FTW_DEPTH): Likewise.
9173 (FTW_CHDIR): Likewise.
9174 (nftw): Likewise.
9175 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
9176 variable.
9177
9178 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
9179
9180 * manual/errno.texi: Fix various typos & grammar errors.
9181
9182 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
9183
9184 * manual/intro.texi: Fix duplicated typo.
9185
9186 2016-05-19 Joseph Myers <joseph@codesourcery.com>
9187
9188 [BZ #13304]
9189 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
9190 <float.h>, <math_private.h> and <stdlib.h>.
9191 (add_split): New function.
9192 (mul_split): Likewise.
9193 (ext_val): New typedef.
9194 (store_ext_val): New function.
9195 (mul_ext_val): New function.
9196 (compare): New function.
9197 (add_split_ext): New function.
9198 (__fmal): After checking for Inf, NaN and zero, compute result as
9199 an exact sum of scaled double values in round-to-nearest before
9200 adding those up and adjusting for other rounding modes.
9201 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
9202 tests of fma.
9203 * math/auto-libm-test-out: Regenerated.
9204
9205 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
9206
9207 [BZ #20119]
9208 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
9209 processor level type mask for CPUID with EAX == 11.
9210
9211 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
9212
9213 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
9214 logical threads if the HTT bit is 0.
9215 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
9216 (index_cpu_HTT): Likewise.
9217 (reg_HTT): Likewise.
9218
9219 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
9220
9221 [BZ #20115]
9222 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
9223 Remove alignments on jump targets.
9224
9225 2016-05-19 Joseph Myers <joseph@codesourcery.com>
9226
9227 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
9228 (getpwent): Likewise.
9229 (setpwent): Likewise.
9230 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
9231 variable.
9232
9233 * conform/data/search.h-data (insque): Do not expect for [XPG3].
9234 (remque): Likewise.
9235 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
9236 variable.
9237
9238 2016-05-18 Joseph Myers <joseph@codesourcery.com>
9239
9240 * math/libm-test.inc: Update comment not to refer to signs of NaNs
9241 not being tested.
9242
9243 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
9244
9245 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9246 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
9247 call.
9248 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9249 (__condvar_cleanup1): Likewise.
9250
9251 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
9252
9253 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
9254 New
9255 (__pthread_unwind): Renamed to ...
9256 (PTHREAD_UNWIND): This.
9257 (__pthread_enable_asynccancel): Replace
9258 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
9259
9260 2016-05-18 Joseph Myers <joseph@codesourcery.com>
9261
9262 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
9263 (CLONE_NEWCGROUP): New macro.
9264
9265 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
9266 (Q_GETNEXTQUOTA): New macro.
9267
9268 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
9269
9270 [BZ #19907]
9271 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
9272 buffer updated by the previous run.
9273 * string/test-memcpy.c (do_one_test): Likewise.
9274 * benchtests/bench-memmove.c (do_one_test): Add a comment.
9275 * string/test-memmove.c (do_one_test): Likewise.
9276
9277 2016-05-17 Joseph Myers <joseph@codesourcery.com>
9278
9279 [BZ #20094]
9280 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
9281 not [__USE_XOPEN].
9282 (unlockpt): Likewise.
9283 (ptsname): Likewise.
9284 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
9285 variable.
9286
9287 [BZ #20076]
9288 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
9289 instead of [__USE_UNIX98].
9290 (S_ISSOCK): Likewise.
9291 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
9292 variable.
9293
9294 [BZ #20074]
9295 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
9296 [__USE_POSIX].
9297 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
9298 variable.
9299
9300 [BZ #20051]
9301 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
9302 (ttyslot): Do not declare.
9303 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
9304 (ttyslot): New prototype.
9305 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
9306 variable.
9307 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9308
9309 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9310
9311 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
9312
9313 2016-05-13 Florian Weimer <fweimer@redhat.com>
9314
9315 Fix race condition in tst-mallocfork2, use fewer resources.
9316 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
9317 to current process group.
9318 (signal_sender): Yield in the non-sleeping case.
9319
9320 2016-05-13 Joseph Myers <joseph@codesourcery.com>
9321
9322 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
9323 (ecvt): Likewise.
9324 (fcvt): Likewise.
9325 (gcvt): Likewise.
9326 (getsubopt): Likewise.
9327 (grantpt): Likewise.
9328 (initstate): Likewise.
9329 (l64a): Likewise.
9330 (mktemp): Likewise.
9331 (mkstemp): Likewise.
9332 (ptsname): Likewise.
9333 (random): Likewise.
9334 (realpath): Likewise.
9335 (setstate): Likewise.
9336 (srandom): Likewise.
9337 (ttyslot): Likewise.
9338 (unlockpt): Likewise.
9339 (valloc): Likewise.
9340
9341 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
9342 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
9343 variable.
9344
9345 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
9346
9347 [BZ #20072]
9348 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
9349 init_cpu_features only if SHARED is defined.
9350 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
9351
9352 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
9353
9354 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
9355 non-inclusive caches on Intel processors.
9356
9357 2016-05-13 Florian Weimer <fweimer@redhat.com>
9358
9359 * malloc/malloc.c (dumped_main_arena_start)
9360 (dumped_main_arena_end): New variables.
9361 (DUMPED_MAIN_ARENA_CHUNK): New macro.
9362 (do_check_chunk): Skip dumped fake mmapped chunks.
9363 (munmap_chunk): Likewise.
9364 (__libc_free): Do not adjust statistics for fake mmapped chunks.
9365 (__libc_realloc): Adjust hardening check. Always copy dumped fake
9366 mmapped chunks.
9367 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
9368 Mark dumped chunks as using mmap. Update dumped_main_arena_start
9369 and dumped_main_arena_end to cover the dumped heap.
9370
9371 2016-05-12 Joseph Myers <joseph@codesourcery.com>
9372
9373 * conform/data/time.h-data (getdate_err): Do not expect for
9374 [XPG3].
9375 (getdate): Likewise.
9376 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
9377 variable.
9378
9379 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
9380 (F_ULOCK): Likewise.
9381 (F_TEST): Likewise.
9382 (F_TLOCK): Likewise.
9383 (useconds_t): Likewise.
9384 (intptr_t): Do not expect for [XPG3] or [XPG4].
9385 (brk): Do not expect for [XPG3]
9386 (fchown): Likewise.
9387 (fchdir): Likewise.
9388 (ftruncate): Likewise.
9389 (getdtablesize): Likewise.
9390 (gethostid): Likewise.
9391 (getpagesize): Likewise.
9392 (getpgid): Likewise.
9393 (getsid): Likewise.
9394 (getwd): Likewise.
9395 (lchown): Likewise.
9396 (lockf): Likewise.
9397 (readlink): Likewise.
9398 (sbrk): Likewise.
9399 (setpgrp): Likewise.
9400 (setregid): Likewise.
9401 (setreuid): Likewise.
9402 (symlink): Likewise.
9403 (sync): Likewise.
9404 (truncate): Likewise.
9405 (ualarm): Likewise.
9406 (usleep): Likewise.
9407 (vfork): Likewise.
9408 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
9409 variable.
9410
9411 [BZ #20054]
9412 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
9413 not [__USE_UNIX98].
9414 * conform/data/unistd.h-data (gethostname): Do not expect for
9415 [XPG3].
9416
9417 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
9418 [!POSIX] (S_IFBLK): Likewise.
9419 [!POSIX] (S_IFCHR): Likewise.
9420 [!POSIX] (S_IFIFO): Likewise.
9421 [!POSIX] (S_IFREG): Likewise.
9422 [!POSIX] (S_IFDIR): Likewise.
9423 [!POSIX] (S_IFLNK): Likewise.
9424 [!POSIX] (S_IFSOCK): Likewise.
9425 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
9426 variable.
9427 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9428
9429 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
9430
9431 * sysdeps/aarch64/memset.S (__memset):
9432 Rewrite of optimized memset.
9433
9434 2016-05-12 Florian Weimer <fweimer@redhat.com>
9435
9436 [BZ #19703]
9437 Partially async-signal-safe fork for single-threaded processes.
9438 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
9439 variable. Do not acquire and reset/release malloc and libio locks
9440 in single-threaded processes.
9441 * malloc/tst-mallocfork2.c: New file.
9442 * malloc/Makefile (tests): Add it.
9443
9444 2016-05-12 Florian Weimer <fweimer@redhat.com>
9445
9446 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
9447 argument. Use scratch buffer instead of extend_alloca.
9448 (gethosts): Use scratch buffer instead of extend_alloca.
9449 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
9450 extend_alloca.
9451 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
9452
9453 2016-05-11 Joseph Myers <joseph@codesourcery.com>
9454
9455 [BZ #20055]
9456 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
9457 instead of [__USE_UNIX98].
9458 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
9459 [__USE_UNIX98].
9460 * conform/data/termios.h-data (tcgetsid): Do not expect for
9461 [XPG3].
9462 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
9463 variable.
9464 (test-xfail-XPG4/termios.h/conform): Likewise.
9465
9466 2016-05-11 Florian Weimer <fweimer@redhat.com>
9467
9468 Do not use mcheck in localedef.
9469 * locale/programs/localedef.c (turn_on_mcheck)
9470 (__malloc_initialize_hook): Remove.
9471
9472 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9473
9474 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
9475 * sysdeps/s390/s390-64/Makefile: Likewise.
9476
9477 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
9478
9479 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
9480 Remove ifunc-defines.sym.
9481 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
9482 Likewise.
9483 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
9484 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9485 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
9486 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
9487 rtld-global-offsets.sym.
9488 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
9489 * sysdeps/x86/cpu-features-offsets.sym: This.
9490 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
9491 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
9492
9493 2016-05-10 Joseph Myers <joseph@codesourcery.com>
9494
9495 [BZ #20073]
9496 * io/sys/stat.h (fchmod): Declare for
9497 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
9498 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
9499 variable.
9500
9501 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
9502 [XPG3] (S_IFSOCK): Likewise.
9503 [XPG3] (S_ISVTX): Likewise.
9504 [XPG3] (S_ISLNK): Likewise.
9505 [XPG3] (S_ISSOCK): Likewise.
9506 [XPG3] (fchmod): Likewise.
9507 [XPG3] (lstat): Likewise.
9508 [XPG3] (mknod): Likewise.
9509
9510 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
9511 [XPG3]. Expect type long and XFAIL for [XPG4].
9512 (st_blocks): Likewise.
9513
9514 [BZ #20044]
9515 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
9516 (pthread_atfork): New prototype.
9517 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
9518 variable.
9519
9520 [BZ #20043]
9521 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
9522 prototype.
9523
9524 2016-05-10 Florian Weimer <fweimer@redhat.com>
9525
9526 [BZ #20017]
9527 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
9528 gmtime.
9529
9530 2016-05-10 Florian Weimer <fweimer@redhat.com>
9531
9532 [BZ #19994]
9533 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
9534 flag in _res.options.
9535
9536 2016-05-09 Joseph Myers <joseph@codesourcery.com>
9537
9538 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
9539 [XPG3 || XPG4].
9540 (blksize_t): Likewise.
9541 (clockid_t): Likewise.
9542 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
9543 variable.
9544 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9545
9546 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
9547
9548 * sysdeps/unix/sysv/linux/s390/init-first.c:
9549 Add VDSO_SYMBOL(getcpu).
9550 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
9551 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
9552 Add VDSO_SYMBOL(getcpu).
9553 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
9554 New define HAVE_GETCPU_VSYSCALL.
9555 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9556
9557 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
9558
9559 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
9560 instead of <sysdeps/x86_64/cacheinfo.c>.
9561 * sysdeps/x86_64/cacheinfo.c: Moved to ...
9562 * sysdeps/x86/cacheinfo.c: Here.
9563
9564 2016-05-04 Florian Weimer <fweimer@redhat.com>
9565
9566 * malloc/malloc-internal.h: Adjust header file guard.
9567
9568 2016-05-04 Florian Weimer <fweimer@redhat.com>
9569
9570 [BZ #19787]
9571 * inet/getnameinfo.c (check_sprintf_result): New function.
9572 (CHECKED_SNPRINTF): New macro.
9573 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
9574 to the host buffer.
9575 (gni_host_local): Use checked_copy to copy the host name.
9576 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
9577 (gni_serv_local): Use checked_copy to copy the service name.
9578 (getnameinfo): Remove unnecessary truncation of result buffers.
9579
9580 2016-05-04 Florian Weimer <fweimer@redhat.com>
9581
9582 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9583 in case of inet_ntop failure.
9584
9585 2016-05-04 Florian Weimer <fweimer@redhat.com>
9586
9587 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9588 avoid long lines.
9589 (gni_host_inet_numeric): Likewise. Reduce scope of local
9590 variables.
9591 (gni_host_inet, gni_host_local): Add comment.
9592 (gni_host): Add comment. Use temporary to avoid long lines.
9593
9594 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9595
9596 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9597 registers specifiers where general purpose registers specifiers should
9598 have been used.
9599
9600 2016-05-04 Florian Weimer <fweimer@redhat.com>
9601
9602 [BZ #19779]
9603 CVE-2016-1234
9604 Avoid copying names of directory entries.
9605 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9606 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9607 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9608 (struct readdir_result): New type.
9609 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9610 (GL_READDIR): New macros.
9611 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9612 (convert_dirent, convert_dirent64): New functions.
9613 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
9614 convert_dirent64. Adjust references to the readdir result.
9615 * sysdeps/unix/sysv/linux/i386/glob64.c:
9616 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9617 * posix/bug-glob2.c (LONG_NAME): Define.
9618 (filesystem): Add LONG_NAME.
9619 (my_DIR): Increase the size of room_for_dirent.
9620
9621 2016-05-03 Joseph Myers <joseph@codesourcery.com>
9622
9623 [BZ #20041]
9624 * misc/sys/select.h (__need_timespec): Only define if
9625 [__USE_XOPEN2K].
9626 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9627 variable.
9628 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9629 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9630 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9631
9632 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9633 Segher Boessenkool <segher@gcc.gnu.org>
9634
9635 [BZ #20004]
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9637 (__novec_swapcontext): Add missing load.
9638
9639 2016-05-02 Joseph Myers <joseph@codesourcery.com>
9640
9641 [BZ #20023]
9642 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9643 <time.h>.
9644 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9645 variable.
9646 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9647
9648 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9649
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9651 flags CLONE_VM compare.
9652
9653 2016-05-02 Florian Weimer <fweimer@redhat.com>
9654
9655 [BZ #20031]
9656 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9657 completely empty.
9658
9659 2016-05-02 Florian Weimer <fweimer@redhat.com>
9660
9661 [BZ #19573]
9662 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9663 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9664 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9665 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9666 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9667 (hesiod_free_list): Mark as hidden.
9668 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9669 res_set, res_get.
9670 * hesiod/hesiod.c: Remove unnecessary forward declarations.
9671 (init, __hesiod_res_get, __hesiod_res_set): Remove.
9672 (hesiod_init): Remove obsolete res_ninit call.
9673 (hesiod_end): Do not free resolver state. Do not invoke callback.
9674 (hesiod_bind): Do not call init.
9675 (get_txt_records): Use res_mkquery, res_send instead of
9676 res_nmkquery, res_nsend.
9677 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9678 instead of _nss_hesiod_init.
9679 (_nss_hesiod_initgroups_dyn): Likewise.
9680 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9681 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9682 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9683
9684 2016-05-02 Florian Weimer <fweimer@redhat.com>
9685
9686 * hesiod/hesiod_p.h (DEF_RHS): Remove.
9687 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9688
9689 2016-05-02 Florian Weimer <fweimer@redhat.com>
9690
9691 * hesiod/hesiod.h: Remove RCS keyword.
9692 * hesiod/hesiod_p.h: Likewise.
9693
9694 * hesiod/hesiod.c: Likewise.
9695
9696 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
9697
9698 [BZ #12450]
9699 * locale/iso-639.def: Add Samogitian/sgs.
9700
9701 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
9702
9703 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9704
9705 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9706
9707 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
9708 Carlos O'Donell <carlos@redhat.com>
9709
9710 [BZ #19072]
9711 * grp/Makefile (headers): Add grp-merge.h
9712 (routines): Add grp-merge.
9713 * grp/getgrgid_r.c: Include grp-merge.h.
9714 (DEEPCOPY_FN): Define.
9715 (MERGE_FN): Define.
9716 * grp/getgrname_r.c: Include grp-merge.h.
9717 (DEEPCOPY_FN): Define.
9718 (MERGE_FN): Define.
9719 * grp/grp-merge.c: New file.
9720 * grp/grp-merge.h: New file.
9721 * include/grp-merge.h: New file.
9722 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9723 __copy_grp@GLIBC_PRIVATE.
9724 * manual/nss.texi (Actions in the NSS configuration): Describe
9725 return, continue, and merge.
9726 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9727 (DEEPCOPY_FN): Define.
9728 (MERGE_FN): Define.
9729 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9730 (DEEPCOPY_FN): Define.
9731 (MERGE_FN): Define.
9732 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9733 [!MERGE_FN]: Define __merge_einval.
9734 (CHECK_MERGE): Define.
9735 (REENTRANT_NAME): Process merge if do_merge is true.
9736 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9737 (__nss_getent_r): Likewise.
9738 * nss/nsswitch.c (nss_parse_service_list): Likewise.
9739 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9740
9741 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9742
9743 [BZ #20012]
9744 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9745 length to calculate the buffer to read.
9746 (fmemopen_write): Set the buffer position based on bytes written.
9747 (fmemopen_seek): Return EINVAL for invalid whence modes.
9748
9749 [BZ #19957]
9750 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9751 tst-getpid2.
9752 (test): Add tst-clone2.
9753 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9754 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9755 pid/tid fields for CLONE_VM.
9756 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9757 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9758 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9759 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9760 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9761 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9762 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9763 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9765 Likewise.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9767 Likewise.
9768 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9769 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9770 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9771 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9772 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9773 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9774 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9775 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9776
9777 2016-04-29 Florian Weimer <fweimer@redhat.com>
9778
9779 [BZ #19642]
9780 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9781 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9782 (gni_serv_local, gni_serv): New functions extracted from
9783 getnameinfo.
9784 (getnameinfo): Call gni_host and gni_serv to perform the
9785 processing. Always free scratch buffer.
9786
9787 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9788
9789 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9790 remaining bytes in the dest string, with zeros.
9791
9792 2016-04-29 Florian Weimer <fweimer@redhat.com>
9793
9794 [BZ #20010]
9795 CVE-2016-3706
9796 * sysdeps/posix/getaddrinfo.c
9797 (convert_hostent_to_gaih_addrtuple): New function.
9798 (gethosts): Call convert_hostent_to_gaih_addrtuple.
9799 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9800 AF_INET data.
9801
9802 2016-04-29 Florian Weimer <fweimer@redhat.com>
9803
9804 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9805 callback function gl_readdir.
9806 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9807 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9808 (glob_in_dir): Remove len. Use strdup instead of malloc and
9809 memcpy to copy the name.
9810 * manual/pattern.texi (Calling Glob): Document requirements for
9811 implementations of the gl_readdir callback function.
9812 * manual/examples/mkdirent.c: New example.
9813 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9814 per the manual guidance.
9815 * posix/tst-gnuglob.c (my_readdir): Likewise.
9816
9817 2016-04-28 Joseph Myers <joseph@codesourcery.com>
9818
9819 [BZ #20014]
9820 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9821 not [__USE_POSIX].
9822 (getchar_unlocked): Likewise.
9823 (putc_unlocked): Likewise.
9824 (putchar_unlocked): Likewise.
9825 (flockfile): Likewise.
9826 (ftrylockfile): Likewise.
9827 (funlockfile): Likewise.
9828 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9829 variable.
9830 (test-xfail-XPG4/stdio.h/conform): Likewise.
9831
9832 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9833 Expect constant.
9834 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9835 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9836 variable.
9837 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9838 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9839
9840 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9841 [__USE_LARGEFILE64] (off64_t): Likewise.
9842 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9843 variable.
9844
9845 2016-04-28 Florian Weimer <fweimer@redhat.com>
9846
9847 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9848
9849 2016-04-28 Florian Weimer <fweimer@redhat.com>
9850
9851 * resolv/inet_addr.c: Reindent preprocessor conditionals.
9852 * resolv/res_init.c: Likewise.
9853 * resolv/res_mkquery.c: Likewise.
9854
9855 2016-04-28 Florian Weimer <fweimer@redhat.com>
9856
9857 * resolv/res_init.c (isascii): Do not define. Use definition in
9858 <ctype.h>.
9859 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9860 (LOG_AUTH): Remove.
9861 (SPRINTF): Remove, adjust caller.
9862 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9863
9864 2016-04-28 Florian Weimer <fweimer@redhat.com>
9865
9866 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9867 SUNSECURITY conditional.
9868 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9869
9870 2016-04-28 Florian Weimer <fweimer@redhat.com>
9871
9872 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9873 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9874 Remove BSD-related preprocessor conditionals.
9875 * conf/portability.h: Remove.
9876
9877 2016-04-28 Florian Weimer <fweimer@redhat.com>
9878
9879 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9880 * resolv/res_data.c: Likewise.
9881
9882 2016-04-28 Florian Weimer <fweimer@redhat.com>
9883
9884 * resolv/res_comp.c: Remove code conditional on __ultrix__.
9885 * resolv/res_data.c: Remove code conditional on ultrix.
9886
9887 2016-04-28 Florian Weimer <fweimer@redhat.com>
9888
9889 * resolv/res_init.c (RFC1535): Do not define. Remove
9890 RFC1535 preprocessor conditionals.
9891 * resolv/README: Update. Do not claim strict RFC 1535 compliance
9892 because there configuration options which make the resolver
9893 behavior different.
9894
9895 2016-04-28 Florian Weimer <fweimer@redhat.com>
9896
9897 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
9898 RESOLVSORT preprocessor conditionals.
9899 * resolv/nss_dns/dns-host.c: Likewise.
9900 * resolv/res_init.c: Likewise.
9901
9902 2016-04-28 Florian Weimer <fweimer@redhat.com>
9903
9904 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
9905 is never defined.
9906
9907 2016-04-28 Florian Weimer <fweimer@redhat.com>
9908
9909 * inet/inet_lnaof.c: Remove SCSS keyword.
9910 * inet/inet_mkadr.c: Likewise.
9911 * inet/inet_net.c: Likewise.
9912 * inet/inet_netof.c: Likewise.
9913 * inet/rcmd.c: Likewise.
9914 * inet/rexec.c: Likewise.
9915 * inet/ruserpass.c: Likewise.
9916
9917 2016-04-28 Florian Weimer <fweimer@redhat.com>
9918
9919 * resolv/inet_addr.c: Remove _LIBC conditionals.
9920 * resolv/res_data.c: Likewise.
9921 * resolv/res_init.c: Likewise.
9922 * resolv/res_mkquery.c: Likewise.
9923 * resolv/res_libc.c: Update comment.
9924 * resolv/README: Update.
9925
9926 2016-04-28 Florian Weimer <fweimer@redhat.com>
9927
9928 * resolv/gethnamaddr.c: Remove SCSS keyword.
9929 * resolv/herror.c: Likewise.
9930 * resolv/inet_addr.c: Likewise.
9931 * resolv/inet_net_ntop.c: Likewise.
9932 * resolv/inet_net_pton.c: Likewise.
9933 * resolv/inet_neta.c: Likewise.
9934 * resolv/inet_ntop.c: Likewise.
9935 * resolv/inet_pton.c: Likewise.
9936 * resolv/ns_date.c: Remove RCS keyword.
9937 * resolv/ns_name.c: Likewise.
9938 * resolv/ns_netint.c: Likewise.
9939 * resolv/ns_parse.c: Likewise.
9940 * resolv/ns_print.c: Likewise.
9941 * resolv/ns_samedomain.c: Likewise.
9942 * resolv/ns_ttl.c: Likewise.
9943 * resolv/nsap_addr.c: Likewise.
9944 * resolv/res_comp.c: Remove SCSS and RCS keyword.
9945 * resolv/res_data.c: Remove RCS keyword.
9946 * resolv/res_debug.c: Remove SCSS and RCS keyword.
9947 * resolv/res_init.c: Likewise.
9948 * resolv/res_mkquery.c: Likewise.
9949 * resolv/res_query.c: Likewise.
9950 * resolv/res_send.c: Likewise.
9951
9952 2016-04-27 Joseph Myers <joseph@codesourcery.com>
9953
9954 * conform/data/stdio.h-data (fdopen): Expect also for
9955 [XPG3 || XPG4].
9956
9957 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9958 (fseeko): Likewise.
9959 (ftello): Likewise.
9960 (ftrylockfile): Likewise.
9961 (funlockfile): Likewise.
9962 (getc_unlocked): Likewise.
9963 (getchar_unlocked): Likewise.
9964 (putc_unlocked): Likewise.
9965 (putchar_unlocked): Likewise.
9966
9967 2016-04-27 Florian Weimer <fweimer@redhat.com>
9968
9969 [BZ #19868]
9970 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9971 DNS packet syntax checks (which were not needed before). Skip
9972 over non-PTR records.
9973
9974 2016-04-27 Florian Weimer <fweimer@redhat.com>
9975
9976 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9977 definition. Include <stddef.h> instead.
9978
9979 2016-04-27 Florian Weimer <fweimer@redhat.com>
9980
9981 [BZ #19831]
9982 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9983 function.
9984 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9985 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9986
9987 2016-04-27 Florian Weimer <fweimer@redhat.com>
9988
9989 [BZ #19862]
9990 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9991 (getanswer_r): Do not call syslog.
9992 (gaih_getanswer_slice): Likewise.
9993 * resolv/gethnamaddr.c (AskedForGot): Remove.
9994 (getanswer): Do not call syslog.
9995 (gethostbyaddr): Likewise.
9996
9997 2016-04-27 Joseph Myers <joseph@codesourcery.com>
9998
9999 * conform/data/signal.h-data (union sigval): Expect also if
10000 [XOPEN2K].
10001 (struct sigevent): Likewise.
10002 (SIGEV_NONE): Likewise.
10003 (SIGEV_SIGNAL): Likewise.
10004 (SIGEV_THREAD): Likewise.
10005 (SIGRTMIN): Likewise.
10006 (SIGRTMAX): Likewise.
10007 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
10008 variable.
10009 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10010
10011 2016-04-27 Florian Weimer <fweimer@redhat.com>
10012
10013 [BZ #19830]
10014 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
10015 (gaih_getanswer_slice): Likewise.
10016 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
10017 Also check for availability of RR metadata.
10018
10019 2016-04-27 Florian Weimer <fweimer@redhat.com>
10020
10021 [BZ #19825]
10022 * resolv/res_send.c (send_vc): Remove early *resplen2
10023 initialization. Set *resplen2 on socket error. Call
10024 close_and_return_error for other errors.
10025
10026 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
10027
10028 * sysdeps/unix/sysv/linux/netiucv/iucv.h
10029 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
10030 (SCM_IUCV_TRGCLS): New define.
10031
10032 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10033
10034 [BZ #20005]
10035 * libio/fmemopen.c (fmemopen_write): Update internal position after
10036 write.
10037 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
10038 * stdio-common/tst-fmemopen4.c: New file..
10039
10040 2016-04-26 Joseph Myers <joseph@codesourcery.com>
10041
10042 [BZ #19996]
10043 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
10044 not [__USE_XOPEN2K].
10045 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
10046 variable.
10047
10048 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
10049 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
10050 variable.
10051
10052 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
10053 [__USE_XOPEN2K8].
10054 [__USE_LARGEFILE64] (off64_t): Likewise.
10055 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
10056 variable.
10057
10058 2016-04-25 Joseph Myers <joseph@codesourcery.com>
10059
10060 [BZ #19989]
10061 * libio/stdio.h (cuserid): Do not declare if
10062 [__USE_XOPEN2K && !__USE_GNU].
10063 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
10064 variable.
10065
10066 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10067
10068 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10069 (sysdep_routines): Add P8 and PPC64 strcspn targets.
10070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10071 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
10072 ifunc'ed strcspn.
10073 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10074 [EALIGN]: Removed.
10075 [END]: Likewise
10076 [STRSPN]: Define instead of the above to control symbol name.
10077 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
10078 New file.
10079 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
10080 Likewise.
10081 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
10082 Likewise.
10083 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
10084 Likewise.
10085 * sysdeps/powerpc/powerpc64/power8/strspn.S:
10086 [INITIAL_MASK]: New macro.
10087 [STRCSPN]: Likewise.
10088 [UPDATE_MASK]: Likewise.
10089 [USE_AS_STRCSPN]: Lisewise.
10090
10091 2016-04-25 Florian Weimer <fweimer@redhat.com>
10092
10093 [BZ #19931]
10094 * stdio-common/tst-vfprintf-width-prec.c: New file.
10095 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
10096 (tests-special): Add tst-vfprintf-width-prec-mem.out.
10097 (generated): Add mtrace-related files.
10098 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
10099 (tst-%-mem.out): New pattern rule, replaces
10100 tst-printf-bz18872-mem.out.
10101 * stdio-common/vfprintf.c (vfprintf): When handling a precision
10102 specifier, deallocate any previously allocated work buffer.
10103
10104 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10105
10106 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
10107 Add nop before __startcontext, add explaining comments.
10108
10109 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
10110
10111 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
10112 any more. Notably since IPV6_PKTINFO has been reintroduced with a
10113 completely different API.
10114
10115 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
10116 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
10117 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
10118 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
10119 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
10120 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
10121 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
10122 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
10123 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
10124 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
10125
10126 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
10127
10128 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
10129
10130 2016-04-23 Mike Frysinger <vapier@gentoo.org>
10131
10132 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
10133 when it is the default of 0.
10134
10135 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10136
10137 * sysdeps/powerpc/locale-defines.sym: Add new macros.
10138 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10139 (sysdep_routines): Add new strcasestr targets.
10140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10141 (__libc_ifunc_impl_list): Likewise.
10142 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
10143 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
10144 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
10145 * sysdeps/powerpc/powerpc64/power8/Makefile:
10146 New file to add strcasestr-ppc64 to sysdep_routines.
10147 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
10148 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
10149
10150 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
10151
10152 * benchtests/Makefile (wcsmbs-benchset): Include only for
10153 native builds and runs.
10154 (LOCALES): Likewise.
10155 (bench-build): Build timing-type here instead of the bench
10156 target. Generate locale only for native builds.
10157 * benchtests/README: Add note for cross-building.
10158
10159 * benchtests/Makefile (bench-clean): Clean up extra-objs.
10160
10161 * benchtests/README: Update README to include instructions on
10162 using bench-build.
10163
10164 * Makefile.in (bench-build): New target.
10165 * Rules (PHONY): Add bench-build target.
10166 * benchtests/Makefile (bench): Depend on bench-build.
10167 (bench-build): New target.
10168
10169 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10170
10171 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
10172 profil_reply_port.
10173 (profile_waiter): Do not initialize profil_reply_port.
10174 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
10175 frequency instead of tick length in us.
10176
10177 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
10178
10179 [BZ #18712]
10180 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
10181 (__old_mempcpy_small): Likewise.
10182 (__old_strcpy_small): Likewise.
10183 (__old_stpcpy_small): Likewise.
10184 (__old_strpbrk_c2): Fix compat symbol name.
10185 (__old_strpbrk_c3): Likewise.
10186 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
10187 (__mempcpy_small): Remove.
10188 (__strcpy_small): Remove.
10189 (__stpcpy_small): Remove.
10190
10191 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
10192
10193 [BZ #19400]
10194 * locale/iso-639.def: Add the Talossan/tzl language.
10195
10196 2016-04-16 Mike Frysinger <vapier@gentoo.org>
10197
10198 [BZ #16983]
10199 * locale/programs/ld-address.c (address_finish): Update postal_fmt
10200 comment. Add "ln" to strchr check on postal_fmt.
10201
10202 2016-04-16 Mike Frysinger <vapier@gentoo.org>
10203
10204 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
10205 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
10206 tel_dom_fmt.
10207
10208 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10209
10210 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10211 (sysdep_routines): Added __strlen_power8.
10212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
10213 __strlen_power8 entry.
10214 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
10215 Implementation for POWER8.
10216 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
10217 for __strlen_power8.
10218 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
10219 Implementation for POWER8.
10220
10221 2016-04-15 Mike Frysinger <vapier@gentoo.org>
10222
10223 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
10224
10225 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
10226
10227 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
10228 Goldmont and Airmont processors.
10229
10230 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
10231
10232 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
10233 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
10234 (__STRING2_SMALL_GET32): Remove.
10235 (memset): Remove.
10236 (__memset_1): Remove.
10237 (__memset_gc): Remove.
10238 (__mempcpy): Remove.
10239 (mempcpy): Remove.
10240 (__mempcpy_args): Remove.
10241 (strchr): Remove.
10242 (strcpy): Remove.
10243 (strcpy_args): Remove.
10244 (__stpcpy_args): Remove.
10245 (__strcmp_cc): Remove.
10246 (__strcmp_gc): Remove.
10247 (strstr): Remove.
10248
10249 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
10250
10251 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
10252 * nis/nis_call.c (nis_server_cache_add): Likewise.
10253
10254 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10255
10256 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
10257
10258 2016-04-14 Florian Weimer <fweimer@redhat.com>
10259
10260 * malloc/arena.c (__malloc_fork_lock_parent)
10261 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
10262 internal_function attribute.
10263
10264 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
10265
10266 * stdio-common/printf_fp.c (__printf_fp_l):
10267 Rename ___printf_fp_l to __printf_fp_l and
10268 remove strong alias. Use libc_hidden_def instead
10269 of ldbl_hidden_def macro.
10270
10271 2016-04-14 Florian Weimer <fweimer@redhat.com>
10272
10273 Remove malloc hooks from fork handler. They are no longer needed
10274 because malloc runs right before fork, and no malloc calls from
10275 other fork handlers are not possible anymore.
10276 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
10277 declarations.
10278 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
10279 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
10280 (atfork_recursive_cntr): Remove.
10281 (__malloc_fork_lock_parent): Do not override malloc hooks and
10282 thread_arena.
10283 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
10284 thread_arena.
10285 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
10286 thread_arena instead of save_arena.
10287
10288 2016-04-14 Florian Weimer <fweimer@redhat.com>
10289
10290 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
10291 (thread_atfork, thread_atfork_static): Remove.
10292 * sysdeps/mach/hurd/malloc-machine.h:
10293 (thread_atfork, thread_atfork_static): Remove.
10294
10295 2016-04-14 Florian Weimer <fweimer@redhat.com>
10296
10297 [BZ #19431]
10298 Run the malloc fork handler as late as possible to avoid deadlocks.
10299 * malloc/malloc-internal.h: New file.
10300 * malloc/malloc.c: Include it.
10301 * malloc/arena.c (ATFORK_MEM): Remove.
10302 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
10303 Update comment.
10304 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
10305 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
10306 Remove outdated comment.
10307 (ptmalloc_init): Do not call thread_atfork. Remove
10308 thread_atfork_static.
10309 * malloc/tst-malloc-fork-deadlock.c: New file.
10310 * Makefile (tests): Add tst-malloc-fork-deadlock.
10311 (tst-malloc-fork-deadlock): Link against libpthread.
10312 * manual/memory.texi (Aligned Memory Blocks): Update safety
10313 annotation comments.
10314 * sysdeps/nptl/fork.c (__libc_fork): Call
10315 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10316 __malloc_fork_unlock_child.
10317 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
10318
10319 2016-04-14 Florian Weimer <fweimer@redhat.com>
10320
10321 [BZ #19613]
10322 Remove union wait.
10323 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
10324 (w_stopsig, w_stopval): Remove.
10325 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
10326 stat_loc argument.
10327 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
10328 (__WAIT_STATUS_DEFN): Remove.
10329 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
10330 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
10331 (wait, wait3, wait4): Use int * for the stat_loc argument.
10332 * posix/wait.c (__wait): Likewise.
10333 * posix/wait3.c (__wait3): Likewise.
10334 * posix/wait4.c (__wait4): Likewise.
10335 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
10336 (__WAIT_STATUS_DEFN): Remove.
10337 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
10338 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
10339 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
10340 argument.
10341 * sysdeps/posix/wait.c (__libc_wait): Likewise.
10342 * sysdeps/posix/wait3.c (__wait3): Likewise.
10343 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
10344 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10345 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
10346 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
10347 stat_loc argument.
10348 * manual/process.texi (BSD Wait Functions): Remove union wait.
10349
10350 2016-04-13 Andreas Schwab <schwab@suse.de>
10351
10352 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
10353 (test-extras): Add tst-tlsalign-vars.
10354 * math/Makefile: Wrap long lines.
10355 (libm-vec-test-wrappers): Define.
10356 (test-extras): Add $(libm-vec-test-wrappers).
10357 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
10358 * nss/Makefile (extra-test-objs): Add nss_test1.os.
10359 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
10360 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
10361 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
10362 (extra-test-objs): Add corresponding objects.
10363
10364 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
10365
10366 [BZ #19928]
10367 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
10368 New.
10369 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
10370 times of shared cache size.
10371 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
10372 (VMOVNT): New.
10373 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
10374 (VMOVNT): Likewise.
10375 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10376 (VMOVNT): Likewise.
10377 (VMOVU): Changed to movups for smaller code sizes.
10378 (VMOVA): Changed to movaps for smaller code sizes.
10379 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
10380 comments.
10381 (PREFETCH): New.
10382 (PREFETCH_SIZE): Likewise.
10383 (PREFETCHED_LOAD_SIZE): Likewise.
10384 (PREFETCH_ONE_SET): Likewise.
10385 Rewrite to use forward and backward loops, which move 4 vector
10386 registers at a time, to support overlapping addresses and use
10387 non temporal store if size is above the threshold and there is
10388 no overlap between destination and source.
10389
10390 2016-04-12 Alex Smith <alex.smith@imgtec.com>
10391
10392 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
10393 Include dl-vdso.
10394 * sysdeps/unix/sysv/linux/mips/Versions: Add
10395 __vdso_clock_gettime.
10396 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
10397 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
10398 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
10399 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
10400 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
10401 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10402 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10403 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10404 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10405
10406 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10407
10408 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
10409 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
10410 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10411 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10412 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10413 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10416 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
10417 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
10418 syscalls generation.
10419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10420 [__NR_pwrite64] (__NR_write): Remove define.
10421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10422 [__NR_pwrite64] (__NR_write): Remove define.
10423 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
10424 Remove define.
10425 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
10426 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
10427 Remove define.
10428 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
10429 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
10430 Linux implementation as base.
10431 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10432
10433 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
10434 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
10435 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10436 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10439 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
10440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
10441 syscall generation.
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10443 [__NR_pread64] (__NR_pread): Remove define.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10445 [__NR_pread64] (__NR_pread): Likewise.
10446 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
10447 define.
10448 (__libc_pread): Use SYSCALL_LL macro on offset argument.
10449 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
10450 Remove define.
10451 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
10452 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
10453 Linux implementation as base.
10454 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10455 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10456 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10457
10458 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
10459 definition.
10460 (__ALIGNMENT_COUNT): Likewise.
10461 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
10462 (__ALIGNMENT_COUNT): Likewise.
10463 (SYSCALL_LL): New define.
10464 (SYSCALL_LL64): Likewise.
10465 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
10466 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
10467 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
10468 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
10469
10470 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10471 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
10472 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10473 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10474 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10475 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10476
10477 2016-04-11 Florian Weimer <fweimer@redhat.com>
10478
10479 [BZ #19865]
10480 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
10481 original buffer before retry.
10482
10483 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10484
10485 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
10486 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
10487 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
10488 GLRO(dl_auxv) list.
10489 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
10490 including <ldsodefs.h>.
10491 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
10492
10493 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
10494
10495 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
10496 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
10497 $(CPPFLAGS).
10498
10499 2016-04-09 Khem Raj <raj.khem@gmail.com>
10500
10501 [BZ #17950]
10502 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
10503 Add -mfpmath=387.
10504
10505 2016-04-09 Mike Frysinger <vapier@gentoo.org>
10506
10507 * sysdeps/i386/configure.ac: Change == to = when calling test.
10508 * sysdeps/x86_64/configure.ac: Likewise.
10509 * sysdeps/i386/configure: Regenerated.
10510 * sysdeps/x86_64/configure: Likewise.
10511
10512 2016-04-08 Mike Frysinger <vapier@gentoo.org>
10513
10514 [BZ #16137]
10515 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
10516 * benchtests/bench-strcoll.c (input_files): Likewise.
10517 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10518 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
10519 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
10520
10521 2016-04-08 Joseph Myers <joseph@codesourcery.com>
10522
10523 [BZ #19929]
10524 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
10525 [__USE_XOPEN2K8 && !__USE_GNU].
10526 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
10527 variable.
10528
10529 [BZ #19925]
10530 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
10531 define if [!__USE_MISC && __USE_XOPEN2K].
10532 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
10533 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
10534 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
10535 Likewise.
10536 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
10537 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
10538 variable.
10539 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10540
10541 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10542
10543 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10544 (sysdep_routines): Add new strspn targets.
10545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10546 (__libc_ifunc_impl_list): Add strspn.
10547 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10548 New file.
10549 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
10550 Likewise.
10551 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
10552 Likewise.
10553 * sysdeps/powerpc/powerpc64/power8/strspn.S:
10554 Likewise.
10555
10556 2016-04-07 Florian Weimer <fweimer@redhat.com>
10557
10558 * misc/hsearch_r.c: Include <limits.h>.
10559
10560 2016-04-07 Florian Weimer <fweimer@redhat.com>
10561
10562 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
10563
10564 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
10565
10566 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10567 (MEMCPY_SYMBOL): New.
10568 (MEMPCPY_SYMBOL): Likewise.
10569 (MEMMOVE_CHK_SYMBOL): Likewise.
10570 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
10571 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
10572 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
10573 Provide alias for memcpy in libc.a and ld.so.
10574
10575 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
10576
10577 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10578 (MEMSET_CHK_SYMBOL): New. Define if not defined.
10579 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10580 Disabled fro now.
10581 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10582 symbols. Properly check USE_MULTIARCH on __memset symbols.
10583
10584 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
10585
10586 * benchtests/Makefile (string-benchset): Add memcpy-large,
10587 memmove-large and memset-large.
10588 * benchtests/bench-memcpy-large.c: New file.
10589 * benchtests/bench-memmove-large.c: Likewise.
10590 * benchtests/bench-memmove-large.c: Likewise.
10591 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10592
10593 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
10594
10595 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10596 32-bit displacement to avoid long nop between instructions.
10597
10598 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
10599
10600 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10601 a comment on VMOVU and VMOVA.
10602
10603 2016-04-04 Florian Weimer <fweimer@redhat.com>
10604
10605 [BZ #19633]
10606 Use specified locale for number formatting in strfmon_l.
10607 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10608 (__nl_lookup_word): New inline functions.
10609 * include/printf.h (__print_fp_l): Declare.
10610 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10611 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
10612 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10613 (___printf_fp): New function.
10614 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10615 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10616 * stdlib/tst-strfmon_l.c (do_test): New test.
10617 * stdlib/Makefile (tests): Add kt.
10618 (LOCALES): Build additional locales.
10619 (tst-strfmon_l.out): Require locales.
10620
10621 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
10622
10623 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10624 if not in libc.
10625 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10626 Likewise.
10627 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10628 Likewise.
10629 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10630 Likewise.
10631
10632 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
10633
10634 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10635 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10636 with unaligned_erms.
10637 (__memmove_erms): Skip if source == destination.
10638 (__memmove_unaligned_erms): Don't check source == destination
10639 first.
10640
10641 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
10642
10643 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10644 bit_arch_Fast_Copy_Backward for Intel Core proessors.
10645
10646 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10647
10648 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10649 * string/strspn.c (strspn): Likewise.
10650
10651 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
10652
10653 * benchtests/bench-memset.c (do_test): Support 64-byte
10654 alignment.
10655 (test_main): Test 64-byte alignment.
10656
10657 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
10658
10659 * benchtests/bench-memmove.c (test_main): Test 64-byte
10660 alignment.
10661
10662 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
10663
10664 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10665
10666 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10667
10668 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10669 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10670 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10671
10672 * string/strpbrk.c (strpbrk): Rewrite function.
10673 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10674 (__strpbrk_c2): Likewise.
10675 (__strpbrk_c3): Likewise.
10676 * string/string-inlines.c
10677 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10678 Likewise.
10679 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10680 Likewise.
10681
10682 * string/strspn.c (strcspn): Rewrite function.
10683 * string/bits/string2.h (strspn): Use __builtin_strcspn.
10684 (__strspn_c1): Remove inline function.
10685 (__strspn_c2): Likewise.
10686 (__strspn_c3): Likewise.
10687 * string/string-inlines.c
10688 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10689 compatibility symbol.
10690 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10691 Likewise.
10692 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10693 Likewise.
10694 * string/string-inlines.c: Include generic version.
10695
10696 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
10697 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10698
10699 * string/Version (libc): Add GLIBC_2.24.
10700 * string/strcspn.c (strcspn): Rewrite function.
10701 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10702 (__strcspn_c1): Remove inline function.
10703 (__strcspn_c2): Likewise.
10704 (__strcspn_c3): Likewise.
10705 * string/string-inline.c
10706 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10707 compatibility symbol.
10708 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10709 Likewise.
10710 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10711 Likewise.
10712 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10713
10714 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10715
10716 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10717 Use ahi instead of aghi to adjust stack pointer.
10718
10719 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10720
10721 [BZ #19853]
10722 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10723 TEST to take significant digits as second parameter.
10724 [TEST]: Redefine in terms of TEST_N taking 30
10725 significant digits.
10726 (do_test): Add test case to demonstrate precision
10727 failure in the ldbl-128ibm printf.
10728 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10729 (__mpn_extract_long_double): Carry 7 extra intermediate
10730 bits of precision to aide computing difference when
10731 signs differ.
10732
10733 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
10734
10735 [BZ #19881]
10736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10737 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10738 memset-avx512-unaligned-erms.
10739 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10740 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10741 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10742 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10743 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10744 __memset_sse2_unaligned_erms, __memset_erms,
10745 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10746 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10747 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10748 file.
10749 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10750 Likewise.
10751 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10752 Likewise.
10753 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10754 Likewise.
10755
10756 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
10757
10758 [BZ #19776]
10759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10760 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10761 memmove-avx512-unaligned-erms.
10762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10763 (__libc_ifunc_impl_list): Test
10764 __memmove_chk_avx512_unaligned_2,
10765 __memmove_chk_avx512_unaligned_erms,
10766 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10767 __memmove_chk_sse2_unaligned_2,
10768 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10769 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10770 __memmove_avx512_unaligned_erms, __memmove_erms,
10771 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10772 __memcpy_chk_avx512_unaligned_2,
10773 __memcpy_chk_avx512_unaligned_erms,
10774 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10775 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10776 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10777 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10778 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10779 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10780 __mempcpy_chk_avx512_unaligned_erms,
10781 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10782 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10783 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10784 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10785 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10786 __mempcpy_erms.
10787 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10788 file.
10789 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10790 Likwise.
10791 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10792 Likwise.
10793 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10794 Likwise.
10795
10796 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10797
10798 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10799 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10800 (La_s390_64_regs): Likewise.
10801 (La_s390_32_retval): Append vector register lrv_v24.
10802 (La_s390_64_retval): Likeweise.
10803 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10804 Handle extended structs La_s390_32_regs and La_s390_32_retval.
10805 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10806 Handle extended structs La_s390_64_regs and La_s390_64_retval.
10807
10808 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10809
10810 [BZ #19916]
10811 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10812 to create a non-vector/vector version for _dl_runtime_resolve and
10813 _dl_runtime_profile. Move implementation to ...
10814 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10815 (_dl_runtime_resolve) Save and restore fpr/vrs.
10816 (_dl_runtime_profile) Save and restore vrs and fix some issues
10817 if _dl_call_pltexit is called.
10818 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10819 Choose the correct resolver function if running on a machine with vx.
10820 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10821 to create a non-vector/vector version for _dl_runtime_resolve and
10822 _dl_runtime_profile. Move implementation to ...
10823 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10824 (_dl_runtime_resolve) Save and restore fpr/vrs.
10825 (_dl_runtime_profile) Save and restore vrs and fix some issues
10826 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10827 Choose the correct resolver function if running on a machine with vx.
10828
10829 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10830
10831 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10832
10833 2016-03-31 Florian Weimer <fweimer@redhat.com>
10834
10835 [BZ #19509]
10836 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10837 skip_map != NULL.
10838 * elf/tst-dlsym-error.c: New file.
10839 * elf/Makefile (tests): Add tst-dlsym-error.
10840 (tst-dlsym-error): Link against libdl.
10841
10842 2016-03-29 Joseph Myers <joseph@codesourcery.com>
10843
10844 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10845 (__ASSUME_FUTIMESAT): Remove macro.
10846 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10847
10848 2016-03-29 Florian Weimer <fweimer@redhat.com>
10849
10850 [BZ #19879]
10851 CVE-2016-3075
10852 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10853 copy name.
10854
10855 2016-03-29 Florian Weimer <fweimer@redhat.com>
10856
10857 [BZ #19837]
10858 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10859 error if parse_line fails.
10860
10861 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
10862
10863 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10864 (index_cpu_ERMS): Likewise.
10865 (reg_ERMS): Likewise.
10866
10867 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
10868
10869 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10870 PER_LINUX_FDPIC): Add.
10871
10872 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
10873
10874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10875 memcpy-avx512-no-vzeroupper.
10876 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10877 to ...
10878 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10879 (MEMCPY): Don't define.
10880 (MEMCPY_CHK): Likewise.
10881 (MEMPCPY): Likewise.
10882 (MEMPCPY_CHK): Likewise.
10883 (MEMPCPY_CHK): Renamed to ...
10884 (__mempcpy_chk_avx512_no_vzeroupper): This.
10885 (MEMPCPY_CHK): Renamed to ...
10886 (__mempcpy_chk_avx512_no_vzeroupper): This.
10887 (MEMCPY_CHK): Renamed to ...
10888 (__memmove_chk_avx512_no_vzeroupper): This.
10889 (MEMCPY): Renamed to ...
10890 (__memmove_avx512_no_vzeroupper): This.
10891 (__memcpy_avx512_no_vzeroupper): New alias.
10892 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10893
10894 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
10895
10896 [BZ #18858]
10897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10898 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10899 and mempcpy-avx512-no-vzeroupper.
10900 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10901 New.
10902 (MEMPCPY): Likewise.
10903 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10904 (MEMPCPY_CHK): New.
10905 (MEMPCPY): Likewise.
10906 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10907 (MEMPCPY): Likewise.
10908 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10909 (MEMPCPY): Likewise.
10910 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10911 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10912 Likewise.
10913 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10914 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10915
10916 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
10917 Amit Pawar <Amit.Pawar@amd.com>
10918
10919 [BZ #19583]
10920 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10921 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10922 processors. Set Fast_Copy_Backward for AMD Excavator
10923 processors.
10924 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10925 New.
10926 (index_arch_Fast_Unaligned_Copy): Likewise.
10927 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10928 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10929
10930 2016-03-25 Florian Weimer <fweimer@redhat.com>
10931
10932 [BZ #19791]
10933 * resolv/res_send.c (close_and_return_error): New function.
10934 (send_dg): Initialize *resplen2 after reopen failure. Call
10935 close_and_return_error for error returns. On error paths without
10936 __res_iclose, initialze *resplen2 explicitly. Update comment for
10937 successful return.
10938
10939 2016-03-25 Florian Weimer <fweimer@redhat.com>
10940
10941 [BZ# 19860]
10942 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10943 zero if the compiler does not provide the AVX512F bit.
10944
10945 2016-03-24 Joseph Myers <joseph@codesourcery.com>
10946
10947 [BZ #19848]
10948 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10949 from 8 to 4.
10950 (__ieee754_powl): Compare integer exponent against 4 not 8.
10951 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10952 from 8 to 4.
10953 (__ieee754_powl): Compare integer exponent against 4 not 8.
10954 * math/auto-libm-test-in: Add more tests of pow.
10955 * math/auto-libm-test-out: Regenerated.
10956 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10958
10959 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
10960
10961 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10962 Make code unconditional.
10963 [!__NR_utimensat]: Remove conditional code.
10964 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10965 Make code unconditional.
10966 [!__NR_utimensat]: Remove conditional code.
10967 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10968 Make code unconditional.
10969 [!__NR_utimensat]: Remove conditional code.
10970
10971 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
10972
10973 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10974 Make code unconditional.
10975
10976 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
10977
10978 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10979 call-clobbered %eax on retry path.
10980 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10981
10982 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
10983
10984 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10985 Don't set %rcx twice before "rep movsb".
10986
10987 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
10988
10989 [BZ #19583]
10990 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10991 inline. Check family before setting family, model and
10992 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
10993 bits here.
10994 (init_cpu_features): Replace HAS_CPU_FEATURE and
10995 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10996 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
10997 for Intel processors with usable AVX2. Call get_common_indeces
10998 for other processors with family == NULL.
10999 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
11000 (CPU_FEATURES_ARCH_P): Likewise.
11001 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
11002 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
11003
11004 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11005
11006 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
11007 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
11008 $(shared-thread-library) instead of hardcoding the path to libpthread.
11009
11010 2016-03-22 Joseph Myers <joseph@codesourcery.com>
11011
11012 * sysdeps/unix/sysv/linux/kernel-features.h
11013 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
11014 * sysdeps/unix/sysv/linux/getdents.c
11015 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
11016 [!have_no_getdents64_defined]: Likewise.
11017 (__GETDENTS): Remove __have_no_getdents64 conditional.
11018
11019 2016-03-21 Joseph Myers <joseph@codesourcery.com>
11020
11021 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
11022 Remove macro.
11023 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
11024 <kernel-features.h>.
11025 (signalfd) [__NR_signalfd4]: Make code unconditional.
11026 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
11027
11028 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11029
11030 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
11031 style.
11032
11033 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
11034
11035 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
11036 (__pthread_enable_asynccancel): Use JUMPTARGET to call
11037 __pthread_unwind.
11038 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11039 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
11040 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11041 (__condvar_cleanup1): Likewise.
11042
11043 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
11044
11045 [BZ #19822]
11046 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
11047 move it to the final $@ location.
11048
11049 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11050
11051 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
11052 access where posix_spawn success and pid argument is null.
11053 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
11054 success case.
11055
11056 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
11057
11058 * sysdeps/mach/hurd/i386/c++-types.data: New file.
11059
11060 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
11061
11062 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
11063 and __fcntl.
11064 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
11065 __fcntl only.
11066 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
11067 adding attribute_hidden to __open and __fcntl.
11068
11069 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
11070 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
11071 depend on libc-modules.h,
11072 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
11073
11074 2016-03-17 Joseph Myers <joseph@codesourcery.com>
11075
11076 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
11077 Remove macro.
11078 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
11079 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
11080 entry.
11081
11082 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
11083 Remove macro.
11084 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
11085 include <kernel-features.h>.
11086 [!__ASSUME_FALLOCATE]: Remove conditional code.
11087 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
11088
11089 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
11090
11091 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
11092 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
11093 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
11094 (_ZGVdN4v_cos_avx2): Likewise.
11095 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
11096 (_ZGVdN4v_cos): Likewise.
11097 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
11098 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
11099 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
11100 (_ZGVdN4v_exp_avx2): Likewise.
11101 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
11102 (_ZGVdN4v_exp): Likewise.
11103 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
11104 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
11105 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
11106 (_ZGVdN4v_log_avx2): Likewise.
11107 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
11108 (_ZGVdN4v_log): Likewise.
11109 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
11110 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
11111 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
11112 (_ZGVdN4vv_pow_avx2): Likewise.
11113 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
11114 (_ZGVdN4vv_pow): Likewise.
11115 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
11116 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
11117 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
11118 (_ZGVdN4v_sin_avx2): Likewise.
11119 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
11120 (_ZGVdN4v_sin): Likewise.
11121 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
11122 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
11123 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
11124 (_ZGVdN4vvv_sincos_avx2): Likewise.
11125 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
11126 (_ZGVdN4vvv_sincos): Likewise.
11127 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
11128 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
11129 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
11130 (_ZGVbN4v_cosf_sse4): Likewise.
11131 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
11132 (_ZGVdN8v_cosf_avx2): Likewise.
11133 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
11134 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
11135 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
11136 (_ZGVbN4v_expf_sse4): Likewise.
11137 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
11138 (_ZGVdN8v_expf_avx2): Likewise.
11139 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
11140 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
11141 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
11142 (_ZGVbN4v_logf_sse4): Likewise.
11143 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
11144 (_ZGVdN8v_logf_avx2): Likewise.
11145 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
11146 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
11147 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
11148 (_ZGVbN4vv_powf_sse4): Likewise.
11149 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
11150 (_ZGVdN8vv_powf_avx2): Likewise.
11151 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11152 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
11153 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11154 (_ZGVbN4vvv_sincosf_sse4): Likewise.
11155 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11156 (_ZGVdN8vvv_sincosf_avx2): Likewise.
11157 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
11158 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
11159 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
11160 (_ZGVbN4v_sinf_sse4): Likewise.
11161 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
11162 (_ZGVdN8v_sinf_avx2): Likewise.
11163 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
11164 Use JUMPTARGET to call callee.
11165 (WRAPPER_IMPL_SSE2_ff): Likewise.
11166 (WRAPPER_IMPL_SSE2_fFF): Likewise.
11167 (WRAPPER_IMPL_AVX): Likewise.
11168 (WRAPPER_IMPL_AVX_ff): Likewise.
11169 (WRAPPER_IMPL_AVX_fFF): Likewise.
11170 (WRAPPER_IMPL_AVX512): Likewise.
11171 (WRAPPER_IMPL_AVX512_ff): Likewise.
11172 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
11173 Likewise.
11174 (WRAPPER_IMPL_SSE2_ff): Likewise.
11175 (WRAPPER_IMPL_SSE2_fFF): Likewise.
11176 (WRAPPER_IMPL_AVX): Likewise.
11177 (WRAPPER_IMPL_AVX_ff): Likewise.
11178 (WRAPPER_IMPL_AVX_fFF): Likewise.
11179 (WRAPPER_IMPL_AVX512): Likewise.
11180 (WRAPPER_IMPL_AVX512_ff): Likewise.
11181 (WRAPPER_IMPL_AVX512_fFF): Likewise.
11182
11183 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11184
11185 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
11186 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
11187 qualifier.
11188 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
11189 internal_function qualifiers.
11190
11191 2016-03-15 Carlos O'Donell <carlos@redhat.com>
11192
11193 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
11194 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
11195 * math/atest-exp.c (exp_mpn): Mark chk unused.
11196 * math/atest-exp2.c (exp_mpn): Likwise.
11197 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
11198 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
11199
11200 2016-03-15 Joseph Myers <joseph@codesourcery.com>
11201
11202 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
11203 Remove macro.
11204 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
11205 <kernel-features.h>.
11206 [__NR_ppoll]: Make code unconditional.
11207 [!__ASSUME_PPOLL]: Remove conditional code.
11208
11209 * sysdeps/unix/sysv/linux/kernel-features.h
11210 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
11211 (__ASSUME_ACCEPT4): Likewise.
11212 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11213 Define.
11214 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
11215 Likewise.
11216 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11217 Likewise.
11218 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
11219 Likewise.
11220 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
11221 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
11222 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11223 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11224 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11225 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11226 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11227 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11228 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11229 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11230 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11231 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11232 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11233 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11234 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11235 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11236 Likewise.
11237 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11238 Likewise.
11239 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11240 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11241 0x040300].
11242 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11243 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11244 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11245 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11246 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
11247 0x030300].
11248 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
11249 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11250 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11251 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11252 0x040300].
11253 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11254 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11255 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11256 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11257 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11258 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11259 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
11260 0x030300].
11261 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11262 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11263 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11264 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11265 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11266 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11267 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11268 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11269 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11270 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11271 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11272 0x040300].
11273 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11274 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11275 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11276 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11277 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11278 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11279 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11280 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11281 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11282 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11283 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11284 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11285 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11286 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11287 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
11288 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11289 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11290 Likewise.
11291 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11292 Likewise.
11293
11294 2016-03-15 Andreas Schwab <schwab@suse.de>
11295
11296 [BZ #19257]
11297 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
11298 statp->_u._ext.nscount as loop count.
11299
11300 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
11301
11302 * math/test-signgam-finite-c99.c: Also #undef
11303 __LIBC_INTERNAL_MATH_INLINES.
11304 * math/test-signgam-main.c: Likewise.
11305
11306 2016-03-14 Joseph Myers <joseph@codesourcery.com>
11307
11308 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
11309 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11310 (MADV_FREE): Likewise.
11311 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
11312 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
11313 EPOLLEXCLUSIVE.
11314
11315 2016-03-14 Carlos O'Donell <carlos@redhat.com>
11316
11317 * timezone/README: Remove mention of checktab.awk. Mention wiki
11318 SharedSourceFiles.
11319
11320 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
11321
11322 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
11323 WUNTRACED.
11324
11325 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11326
11327 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
11328 order to match the type of p when calling atomic_exchange_acq().
11329
11330 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11331
11332 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
11333 cfi_offset calls.
11334 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
11335 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
11336 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
11337 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
11338 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
11339
11340 2016-03-10 Carlos O'Donell <carlos@redhat.com>
11341
11342 * timezone/checktab.awk: Removed.
11343
11344 2016-03-10 Joseph Myers <joseph@codesourcery.com>
11345
11346 * manual/math.texi (Errors in Math Functions): Document relaxed
11347 accuracy goals for IBM long double.
11348 * math/libm-test.inc (test_exceptions): Always allow spurious
11349 "underflow" and "inexact" exceptions for IBM long double.
11350
11351 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
11352
11353 [BZ #19762]
11354 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11355 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
11356 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
11357 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
11358 (bit_arch_*): This for feature array.
11359 (bit_*): Renamed to ...
11360 (bit_cpu_*): This for cpu array.
11361 (index_*): Renamed to ...
11362 (index_arch_*): This for feature array.
11363 (index_*): Renamed to ...
11364 (index_cpu_*): This for cpu array.
11365 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
11366 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
11367 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
11368 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
11369 bit_##name with index_cpu_##name and bit_cpu_##name.
11370 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
11371 bit_##name with index_arch_##name and bit_arch_##name.
11372
11373 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
11374
11375 [BZ #19792]
11376 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
11377 Terminate FDE before return label.
11378
11379 2016-03-09 Joseph Myers <joseph@codesourcery.com>
11380
11381 [BZ #19790]
11382 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
11383 (rintl): Define as macro.
11384 [USE_AS_NEARBYINTL] (__rintl): Likewise.
11385 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
11386 of fesetround. Ensure results are evaluated before end of scope.
11387 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
11388 USE_AS_NEARBYINTL and include s_rintl.c.
11389 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
11390 Disable exception traps in new environment.
11391 (libc_feholdsetround_ppc_ctx): Likewise.
11392
11393 2016-03-08 Roland McGrath <roland@hack.frob.com>
11394
11395 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
11396 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
11397 (tst_audit10_aux) [__AVX512F__]: ... here.
11398
11399 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
11400
11401 * include/sys/auxv.h: New file.
11402
11403 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
11404
11405 [BZ #19759]
11406 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
11407
11408 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11409
11410 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
11411 operand modifier.
11412 (feclearexcept): Likewise.
11413
11414 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11415
11416 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
11417 to reflect the entire 32-bit HWCAP.
11418 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
11419 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
11420
11421 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
11422
11423 [BZ #19783]
11424 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
11425 $(test-via-rtld-prefix).
11426 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
11427
11428 2016-03-08 Florian Weimer <fweimer@redhat.com>
11429
11430 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
11431 union wait. Report any non-zero exit status as error.
11432
11433 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11434
11435 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
11436 configured with --enable-hardcoded-path-in-tests.
11437
11438 2016-03-08 Joseph Myers <joseph@codesourcery.com>
11439
11440 [BZ #19677]
11441 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11442 (__ieee754_remainderl): Put zero low parts in canonical form.
11443 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
11444 file. Based on
11445 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
11446 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
11447 with wrapper round test-fmodrem-ldbl-128ibm.c.
11448 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
11449 file.
11450 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
11451 Likewise.
11452 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
11453 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
11454
11455 2016-03-07 Florian Weimer <fweimer@redhat.com>
11456
11457 [BZ #19610]
11458 * elf/ldconfig.c (opt_link): Update comment.
11459 (options): Update help string for option -X.
11460 (search_dir): Unlink stale symbolic link only if updating symbolic
11461 links.
11462 * elf/tst-ldconfig-X.sh: New file.
11463 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
11464 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
11465
11466 2016-03-07 Andreas Schwab <schwab@suse.de>
11467
11468 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
11469 needed arguments.
11470
11471 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
11472
11473 [BZ #15333]
11474 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
11475 to lstat64.
11476
11477 2016-03-07 Florian Weimer <fweimer@redhat.com>
11478
11479 * libio/filedoalloc.c (isatty): Remove.
11480 (local_isatty): Add comment. Call __isatty directly.
11481 (_IO_file_doallocate): Update comment. Assume _LIBC.
11482 * libio/wfiledoalloc.c (isatty): Remove.
11483 (_IO_wfile_doallocate): Update comment.
11484
11485 2016-03-07 Florian Weimer <fweimer@redhat.com>
11486
11487 [BZ #19269]
11488 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
11489 tst-audit4-aux.o.
11490 (tst-audit10): Depend on tst-audit10-aux.o.
11491 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
11492 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
11493 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
11494 instead of inline AVX code.
11495 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
11496 instead of inline AVX512 code.
11497 * sysdeps/x86_64/tst-audit4-aux.c: New file
11498 * sysdeps/x86_64/tst-audit10-aux.c: New file
11499
11500 [BZ #19648]
11501 * test-skeleton.c (main): Do not set RLIMIT_DATA.
11502
11503 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11504
11505 [BZ #14750]
11506 [BZ #10354]
11507 [BZ #18433]
11508 * include/sched.h (__clone): Add hidden prototype.
11509 (__clone2): Likewise.
11510 * include/unistd.h (__dup): Likewise.
11511 * posix/Makefile (tests): Add tst-spawn2.
11512 * posix/tst-spawn2.c: New file.
11513 * sysdeps/posix/dup.c (__dup): Add hidden definition.
11514 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
11515 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11516 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11517 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11518 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11519 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
11520 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11521 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
11522 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11523 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11525 Likewise.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11527 Likewise.
11528 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11529 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11530 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11531 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11532 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11533 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11534 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11535 * sysdeps/unix/sysv/linux/nptl-signals.h
11536 (____nptl_is_internal_signal): New function.
11537 * sysdeps/unix/sysv/linux/spawni.c: New file.
11538
11539 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
11540 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
11541 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
11542 * posix/tst-execvp2.c (do_test): Likewise.
11543 * posix/tst-execvp3.c (do_test): Likewise.
11544 * posix/tst-execvp4.c (do_test): Likewise.
11545 * posix/tst-execvpe1.c: New file.
11546 * posix/tst-execvpe2.c: Likewise.
11547 * posix/tst-execvpe3.c: Likewise.
11548 * posix/tst-execvpe4.c: Likewise.
11549 * posix/tst-execvpe5.c: Likewise.
11550 * posix/tst-execvpe6.c: Likewise.
11551
11552 [BZ #19534]
11553 * posix/execl.c (execl): Remove dynamic memory allocation.
11554 * posix/execle.c (execle): Likewise.
11555 * posix/execlp.c (execlp): Likewise.
11556
11557 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
11558
11559 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11560 Replace .text with .text.avx512.
11561 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11562 Likewise.
11563
11564 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
11565
11566 * sysdeps/generic/libnsl.abilist: New file.
11567 * sysdeps/generic/libutil.abilist: New file.
11568
11569 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
11570
11571 [BZ #19762]
11572 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
11573 HAS_ARCH_FEATURE with Fast_Rep_String.
11574 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
11575 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
11576 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
11577 Likewise.
11578 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11579 Likewise.
11580 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11581 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11582 Likewise.
11583 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11584 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11585 Likewise.
11586
11587 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
11588
11589 [BZ #19745]
11590 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11591 with *%rax in call.
11592
11593 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
11594
11595 [BZ #19745]
11596 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11597 with *__libc_start_main@GOTPCREL(%rip) in call.
11598
11599 2016-03-04 Roland McGrath <roland@hack.frob.com>
11600
11601 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11602 inside conditional for nonempty $(CXX).
11603
11604 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11605 nonempty.
11606
11607 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11608 to test for empty $(CXX) rather than $(CXX) of "no".
11609
11610 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
11611
11612 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11613
11614 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
11615 H.J. Lu <hongjiu.lu@intel.com>
11616
11617 [BZ #18880]
11618 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11619 instead of Slow_BSF, and also check for Fast_Copy_Backward to
11620 enable __memcpy_ssse3_back.
11621
11622 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
11623
11624 [BZ #19758]
11625 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11626 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11627
11628 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11629
11630 [BZ #19490]
11631 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11632 (__fentry__): Likewise.
11633
11634 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
11635
11636 * gmon/Makefile (noprof): Add $(sysdep_noprof).
11637 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11638
11639 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
11640
11641 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11642 __mcount_internal directly.
11643 (C_LABEL(__fentry__)): Likewise.
11644 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11645 directly.
11646
11647 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
11648
11649 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11650 (__start_context): Call __setcontext directly.
11651
11652 2016-02-26 Joseph Myers <joseph@codesourcery.com>
11653
11654 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11655 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11656 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11657 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11658 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11659 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11660 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11661 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11662 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11663 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11664 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11665 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11666 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11667 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11668 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11669 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11670 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11672 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11673 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11674 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11675 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11676 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11677 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11678 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11679 Remove conditional code.
11680 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11681 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11682 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11683 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11684 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11685 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11686 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11687 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11688 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11689 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11690 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11691 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11692
11693 2016-02-24 Marko Myllynen <myllynen@redhat.com>
11694
11695 * NEWS (2.23): Fix typo in bug 19048 text.
11696
11697 2016-02-24 Carlos O'Donell <carlos@redhat.com>
11698
11699 [BZ #14259]
11700 * Makeconfig: Rename msgcatdir to localedir.
11701 Rename inst_msgcatdir to inst_localedir.
11702 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11703 * config.make.in: Add localedir.
11704 * elf/Makefile ($(objpfx)sotruss): Use localedir.
11705 (ldd-rewrite): Likewise.
11706 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11707 (install-others): Use inst_localedir.
11708 (CPPFLAGS): Use localedir.
11709 * locale/Makefile (locale-CPPFLAGS): Likewise.
11710 * po/Makefile (mo-installed): Use inst_localedir.
11711
11712 [BZ #19575]
11713 * localedata/charmaps/GB18030: Update comments regarding PAU to
11714 non-PUA mappings.
11715
11716 2016-02-24 Joseph Myers <joseph@codesourcery.com>
11717
11718 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11719 test for header.
11720 * sysdeps/unix/sysv/linux/configure: Regenerated.
11721 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11722 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11723 Remove conditional code.
11724 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11725
11726 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11727 Define to 3.2.0.
11728 (arch_minimum_kernel): Likewise.
11729 * sysdeps/unix/sysv/linux/configure: Regenerated.
11730 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11731 Define to 2.6.32.
11732 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11733 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11734 (arch_minimum_kernel): Define to 2.6.32.
11735 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11736 * README: Document Linux 3.2 requirement.
11737 * manual/install.texi (Linux): Document Linux 3.2 headers
11738 requirement.
11739 * INSTALL: Regenerated.
11740
11741 2016-02-24 Andreas Schwab <schwab@suse.de>
11742
11743 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11744 if !NO_LONG_DOUBLE.
11745
11746 2016-02-22 Roland McGrath <roland@hack.frob.com>
11747
11748 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11749 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11750
11751 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
11752
11753 [BZ #19512]
11754 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11755
11756 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
11757
11758 * posix/tst-dir.c: Include libc-internal.h.
11759
11760 2016-02-20 Florian Weimer <fweimer@redhat.com>
11761
11762 [BZ #19056]
11763 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11764 * manual/filesys.texi (Reading/Closing Directory): Mention
11765 deprecaion.
11766 * posix/tst-dir.c (main): Disable deprecation warning in test.
11767
11768 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
11769
11770 [BZ #19679]
11771 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11772 Renamed to ...
11773 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
11774 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11775 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
11776 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11777 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11778 * sysdeps/x86_64/dl-trampoline.h
11779 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11780 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11781
11782 2016-02-19 Mark Wielaard <mjw@redhat.com>
11783
11784 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11785
11786 2016-02-19 Mark Wielaard <mjw@redhat.com>
11787
11788 * elf/elf.h (R_386_GOT32X): New.
11789 (R_386_NUM): Update.
11790 (R_X86_64_GOTPCRELX: New.
11791 (R_X86_64_REX_GOTPCRELX): New.
11792 (R_X86_64_NUM): Update.
11793
11794 2016-02-19 Mike Frysinger <vapier@gentoo.org>
11795
11796 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11797
11798 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
11799
11800 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11801 assign attr->stackaddr to it, and adjust it down when
11802 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
11803 [_STACK_GROWS_UP]: Delete assert.
11804 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11805 Implement stack grows up logic.
11806 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11807 stack grows up logic.
11808
11809 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11810
11811 * NEWS: Update with 2.24 template.
11812
11813 2016-02-19 Joseph Myers <joseph@codesourcery.com>
11814
11815 [BZ #19678]
11816 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11817 Ensure +0.0 is returned when taking the next value below the least
11818 positive value.
11819
11820 2016-02-19 Florian Weimer <fweimer@redhat.com>
11821
11822 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11823 available. Do not define NO_THREADS.
11824 * malloc/malloc.c: Do not check NO_THREADS.
11825 * malloc/arena.c: Likewise.
11826
11827 2016-02-19 Florian Weimer <fweimer@redhat.com>
11828
11829 * malloc/malloc.c (__libc_mallinfo): Update comment.
11830 (struct malloc_par): Remove max_total_mem member, it was always 0.
11831 (int_mallinfo): Store 0 into usmblks (no functional change).
11832 * malloc/hooks.c (struct malloc_state): Document that
11833 max_total_mem is always 0.
11834 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11835 always 0.
11836 * manual/memory.texi (Statistics of Malloc): Likewise.
11837
11838 2016-02-19 Florian Weimer <fweimer@redhat.com>
11839
11840 * malloc/malloc.c (sysmalloc): Do not update arena_max.
11841 * malloc/arena.c (arena_max): Remove.
11842 (heap_trim, _int_new_arena): Do not update arena_max.
11843
11844 2016-02-19 Florian Weimer <fweimer@redhat.com>
11845
11846 * resolv/res_init.c (res_ninit): Update comment.
11847
11848 2016-02-19 Florian Weimer <fweimer@redhat.com>
11849
11850 [BZ #19505]
11851 * posix/spawn_int.h: Add headers and include guard.
11852 (__spawn_valid_fd): New function.
11853 * posix/spawn_faction_addopen.c
11854 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11855 * posix/spawn_faction_addclose.c
11856 (posix_spawn_file_actions_addclose): Likewise.
11857 * posix/spawn_faction_adddup2.c
11858 (posix_spawn_file_actions_adddup2): Likewise. Add check for
11859 second file descriptor.
11860 * posix/spawn_valid_fd.c: New file.
11861 * posix/tst-posix_spawn-fd.c: New file.
11862 * posix/Makefile (routines): Add spawn_valid_fd.
11863 (tests): Add tst-posix_spawn-fd.
11864
11865 2016-02-19 Florian Weimer <fweimer@redhat.com>
11866
11867 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11868 (do_test): Limit the number of arenas, so that we can use fewer
11869 outer threads. Limit timeout to 3 seconds, in preparation for a
11870 larger TIMEOUT value.
11871
11872 2016-02-19 Joseph Myers <joseph@codesourcery.com>
11873
11874 [BZ #19674]
11875 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11876 sign in overflowing and underflowing results when overflow or
11877 underflow is detected early. Include sign in result before rather
11878 than after scaling.
11879
11880 [BZ #19603]
11881 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11882 (__ieee754_remainderl): Adjust sign of integer version of low part
11883 when taking absolute value of high part.
11884 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11885 * math/libm-test.inc (remainder_test_data): Add another test.
11886 (remquo_test_data): Likewise.
11887
11888 2016-02-18 Joseph Myers <joseph@codesourcery.com>
11889
11890 [BZ #19602]
11891 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11892 equal high parts and both low parts zero specially.
11893 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11894 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11895 Add test-fmodl-ldbl-128ibm.
11896
11897 [BZ #19595]
11898 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11899 common logic for all cases of shifting subnormal results. Do not
11900 insert sign bit in shifted mantissa. Always pass -1023 as biased
11901 exponent to ldbl_insert_mantissa in subnormal case.
11902
11903 [BZ #19594]
11904 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11905 on high and low parts then adjust result and use
11906 ldbl_canonicalize_int if needed.
11907
11908 [BZ #19593]
11909 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11910 on high part and __floor or __ceil on low part then use
11911 ldbl_canonicalize_int if needed.
11912
11913 [BZ #19592]
11914 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11915 high and low parts then use ldbl_canonicalize_int if needed.
11916
11917 [BZ #17899]
11918 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11919 New function.
11920 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11921 on high and low parts then use ldbl_canonicalize_int if needed.
11922
11923 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11924
11925 * configure: Regenerated.
11926
11927 * po/libc.pot: Regenerated.
11928
11929 * po/be.po: Updated translation.
11930 * po/bg.po: Likewise.
11931 * po/ca.po: Likewise.
11932 * po/cs.po: Likewise.
11933 * po/da.po: Likewise.
11934 * po/el.po: Likewise.
11935 * po/eo.po: Likewise.
11936 * po/es.po: Likewise.
11937 * po/fi.po: Likewise.
11938 * po/fr.po: Likewise.
11939 * po/gl.po: Likewise.
11940 * po/hr.po: Likewise.
11941 * po/hu.po: Likewise.
11942 * po/ia.po: Likewise.
11943 * po/id.po: Likewise.
11944 * po/it.po: Likewise.
11945 * po/ja.po: Likewise.
11946 * po/lt.po: Likewise.
11947 * po/nb.po: Likewise.
11948 * po/nl.po: Likewise.
11949 * po/pt_BR.po: Likewise.
11950 * po/rw.po: Likewise.
11951 * po/sk.po: Likewise.
11952 * po/sl.po: Likewise.
11953 * po/sv.po: Likewise.
11954 * po/tr.po: Likewise.
11955 * po/zh_CN.po: Likewise.
11956 * po/zh_TW.po: Likewise.
11957
11958 * version.h (RELEAES): Set to "development".
11959 (VERSION): Set to 2.23.90.
11960
11961 * version.h (RELEASE): Set to "stable".
11962 (VERSION): Set to 2.23.
11963 * include/feature.h (__GLIBC_MINOR__): Set to 23.
11964
11965 * NEWS: Updated fixed bugs.
11966
11967 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
11968 Wilco Dijkstra <wdijkstr@arm.com>
11969
11970 [BZ #19462]
11971 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11972 (_STRING_INLINE_unaligned): This.
11973 * include/string.h: Include <string_private.h>.
11974 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11975 _STRING_INLINE_unaligned.
11976 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11977 (_STRING_INLINE_unaligned): New.
11978 * sysdeps/aarch64/string_private.h: New file.
11979 * sysdeps/generic/string_private.h: Likewise.
11980 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11981 * sysdeps/s390/string_private.h: Likewise.
11982 * sysdeps/x86/string_private.h: Likewise.
11983 * sysdeps/m68k/m680x0/m68020/bits/string.h
11984 (_STRING_ARCH_unaligned): Renamed to ...
11985 (_STRING_INLINE_unaligned): This.
11986 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11987 to ...
11988 (_STRING_INLINE_unaligned): This.
11989 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11990 to ...
11991 (_STRING_INLINE_unaligned): This.
11992 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11993 to ...
11994 (_STRING_INLINE_unaligned): This.
11995
11996 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
11997 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 [BZ #19590]
12000 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
12001 relocation.
12002
12003 2016-02-15 Carlos O'Donell <carlos@redhat.com>
12004
12005 [BZ #18665]
12006 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
12007 *herrno_p.
12008 (gaih_getanswer): Document functional behviour. Return tryagain
12009 if any result is tryagain.
12010 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
12011 when freed.
12012 * resolv/res_send.c: Add copyright text.
12013 (__libc_res_nsend): Document that MAXPACKET is expected.
12014 (send_vc): Document. Remove buffer reuse.
12015 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
12016 size of the buffer. Add Dprint for truncated UDP buffer.
12017
12018 2016-02-14 Carlos O'Donell <carlos@redhat.com>
12019
12020 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
12021 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
12022 * INSTALL: Regenerate.
12023
12024 2016-02-14 Jakub Jelinek <jakub@redhat.com>
12025 Jonathan Wakely <jwakely@redhat.com>
12026 Carlos O'Donell <carlos@redhat.com>
12027
12028 [BZ 19439]
12029 * math/Makefile (tests): Add test-math-isinff.
12030 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
12031 * math/bits/mathcalls.h [__USE_MISC]: Use
12032 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
12033 functions not in C++11 and which don't conflict e.g. isinff,
12034 isinfl etc.
12035 * math/test-math-isinff.cc: New file.
12036
12037 2016-02-12 Florian Weimer <fweimer@redhat.com>
12038
12039 * misc/bug18240.c (do_test): Set RLIMIT_AS.
12040
12041 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
12042
12043 [BZ #19529]
12044 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
12045
12046 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12047
12048 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12049
12050 2016-02-01 Joseph Myers <joseph@codesourcery.com>
12051
12052 [BZ #19550]
12053 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
12054 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
12055 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
12056 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
12057 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
12058 New syscall entry.
12059 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
12060 New syscall entry.
12061 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
12062 syscall entry.
12063
12064 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
12065
12066 [BZ #18240]
12067 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
12068 unsigned int wraparound.
12069
12070 2016-01-27 Florian Weimer <fweimer@redhat.com>
12071
12072 [BZ #18240]
12073 * misc/bug18240.c: New test.
12074 * misc/Makefile (tests): Add it.
12075
12076 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
12077 Joseph Myers <joseph@codesourcery.com>
12078
12079 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
12080 load in branch delay slot when less than a word of input left.
12081
12082 2016-01-27 Andreas Schwab <schwab@suse.de>
12083
12084 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
12085 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
12086 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
12087 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
12088
12089 2016-01-26 David S. Miller <davem@davemloft.net>
12090
12091 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
12092
12093 2016-01-25 David S. Miller <davem@davemloft.net>
12094
12095 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
12096 __sqrtl_finite.
12097 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
12098 instead using versioned_symbol.
12099 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
12100 of entries.
12101
12102 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
12103 __sqrtl_finite to GLIBC_2.23
12104
12105 2016-01-25 Ricchard Henderson <rth@redhat.com>
12106
12107 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12108
12109 2016-01-25 Andreas Schwab <schwab@suse.de>
12110
12111 [BZ #17514]
12112 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
12113 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
12114 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
12115 * nptl/tst-mutex-errorcheck.c: New file.
12116
12117 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12118
12119 [BZ #18560]
12120 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
12121 (IPCOP_semop): Likewise.
12122 (IPCOP_semget): Likewise.
12123 (IPCOP_semctl): Likewise.
12124 (IPCOP_msgsnd): Likewise.
12125 (IPCOP_msgrcv): Likewise.
12126 (IPCOP_msgget): Likewise.
12127 (IPCOP_msgctl): Likewise.
12128 (IPCOP_shmat): Likewise.
12129 (IPCOP_shmdt): Likewise.
12130 (IPCOP_shmget): Likewise.
12131 (IPCOP_shmctl): Likewise.
12132
12133 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
12134
12135 * string/tst-endian.c: Include <libc-internal.h>.
12136 (do_test): Ignore tautological-compare warnings around
12137 "htobeXX (beXXtoh (i)) != i" and
12138 "htoleXX (leXXtoh (i)) != i" if-statements.
12139
12140 2016-01-24 David S. Miller <davem@davemloft.net>
12141
12142 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
12143 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
12144 alias.
12145 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
12146 __sqrtl_finite.
12147
12148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12149
12150 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
12151
12152 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
12153 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
12154 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12155
12156 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12157
12158 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
12159 (thread_func): Use new function to simplify barrier check.
12160 (do_test): Use new function to simplify checking barrier exit
12161 code, and actually join the child thread.
12162
12163 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12164
12165 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
12166 semicolon.
12167 (__libc_tend): Likewise.
12168 (__libc_tabort): Likewise.
12169
12170 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
12171
12172 * sysdeps/nios2/libm-test-ulps: Update.
12173 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
12174 (__gtsf2): Likewise.
12175 (__unorddf2): Likewise.
12176 (__unordsf2): Likewise.
12177 (__ledf2): Likewise.
12178
12179 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
12180
12181 * nis/nis_table.c (__follow_path): Disable diagnostic for
12182 uninitialized variable that is a false positive for gcc 4.7.
12183 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
12184
12185 2016-01-20 Roland McGrath <roland@hack.frob.com>
12186
12187 * sysdeps/nacl/lowlevellock-futex.h
12188 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
12189 Always evaluate PRIVATE argument.
12190
12191 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
12192
12193 [BZ #19490]
12194 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
12195 (pthread_cond_broadcast): Use ENTRY/END
12196 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
12197 (pthread_cond_signal): Likewise.
12198 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
12199 Likewise.
12200 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
12201 Likewise.
12202 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
12203 Likewise.
12204
12205 2016-01-20 Joseph Myers <joseph@codesourcery.com>
12206
12207 * sysdeps/ieee754/dbl-64/s_finite.c
12208 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
12209 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
12210 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
12211 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
12212 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
12213
12214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12215 (__gtsf2): Add as optional for libc.so.
12216 (__unordsf2): Likewise.
12217 (__signbit): Remove for libc.so.
12218 (__signbitl): Likewise.
12219
12220 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12221
12222 * iconvdata/bug-iconv11.c (test_ibm93x):
12223 Use %zu printf format specifier for size_t argument.
12224
12225 2016-01-19 Joseph Myers <joseph@codesourcery.com>
12226
12227 * math/gen-libm-test.pl (parse_ulps): Do not reduce
12228 already-recorded ulps.
12229 * sysdeps/arm/libm-test-ulps: Regenerated.
12230 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12231 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12232 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12233
12234 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
12235 Paul Pluzhnikov <ppluzhnikov@google.com>
12236
12237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
12238 assembler not supporting AVX-512.
12239
12240 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
12241
12242 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12243
12244 2016-01-18 Joseph Myers <joseph@codesourcery.com>
12245
12246 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12247 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12248
12249 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12250
12251 * sysdeps/arm/libm-test-ulps: Regenerated.
12252
12253 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12254
12255 [BZ #19451]
12256 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
12257
12258 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
12259
12260 [BZ #19486]
12261 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
12262 * sysdeps/generic/fix-fp-int-convert-overflow.h
12263 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
12264 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
12265 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
12266 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
12267 Likewise.
12268 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
12269 Avoid conversions to long int where inexact exceptions
12270 could be raised.
12271 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
12272 Likewise.
12273 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
12274 Avoid conversions to long long int where inexact exceptions
12275 could be raised.
12276 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
12277 Likewise.
12278
12279 2016-01-17 Mike Frysinger <vapier@gentoo.org>
12280
12281 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
12282 * configure: Regenerated.
12283
12284 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
12285
12286 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
12287
12288 2016-01-16 Mike Frysinger <vapier@gentoo.org>
12289
12290 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
12291 outside of comment.
12292
12293 2016-01-15 Torvald Riegel <triegel@redhat.com>
12294
12295 * nptl/tst-barrier1.c: Add description on first line.
12296 * nptl/tst-barrier2.c: Likewise.
12297 * nptl/tst-barrier3.c: Likewise.
12298 * nptl/tst-barrier4.c: Likewise.
12299 * nptl/tst-barrier5.c: Likewise.
12300
12301 2016-01-15 Torvald Riegel <triegel@redhat.com>
12302
12303 [BZ #18868]
12304 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
12305
12306 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
12307
12308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
12309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12310 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
12311 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
12312 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
12313 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
12314 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12315 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12316 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12317 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12318 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12319
12320 2016-01-15 Torvald Riegel <triegel@redhat.com>
12321
12322 [BZ #13065]
12323 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
12324 new implementation.
12325 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
12326 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
12327 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
12328 (BARRIER_IN_THRESHOLD): New macro.
12329 * nptl/pthread_barrierattr_setpshared.c
12330 (pthread_barrierattr_setpshared): Clean up.
12331 * nptl/tst-barrier4.c: Correct comment.
12332 * nptl/tst-barrier5.c: New file.
12333 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
12334 (gen-as-const-headers): Remove lowlevelbarrier.sym.
12335 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
12336 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
12337 * nptl/lowlevelbarrier.sym: Remove.
12338 * nptl/DESIGN-barrier.txt: Remove.
12339 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
12340 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
12341 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
12342 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
12343 error.
12344 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
12345 implementation.
12346
12347 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12348
12349 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
12350 (do_child): Mask SIGRTMIN while thr is running.
12351
12352 2016-01-15 Martin Sebor <msebor@redhat.com>
12353
12354 [BZ #19432]
12355 * iconvdata/Makefile: Add bug-iconv11.
12356 * iconvdata/bug-iconv11.c: New test.
12357 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
12358 * iconvdata/ibm933.c: Same.
12359 * iconvdata/ibm935.c: Same.
12360 * iconvdata/ibm937.c: Same.
12361 * iconvdata/ibm939.c: Same.
12362
12363 2016-01-15 Martin Sebor <msebor@redhat.com>
12364
12365 [BZ #19443]
12366 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
12367 [DEBUG] (_ufc_set_bits): Declare used.
12368 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
12369 [DEBUG] (print_all): Declare used.
12370 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
12371 operands of the ternary ?: expression to target type.
12372 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
12373 calling the undeclared abort.
12374 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
12375
12376 2016-01-15 Martin Sebor <msebor@redhat.com>
12377
12378 [BZ #18755]
12379 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
12380 warnings.
12381 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
12382 (__gai_create_helper_thread): Same.
12383 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
12384 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
12385 to suppress -Wmaybe-uninitialized warnings.
12386
12387 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
12388
12389 [BZ #19465]
12390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
12391 inside if.
12392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12393 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12395
12396 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
12397
12398 [BZ #19466]
12399 * time/tst-mktime2.c (time_t_max): Removed.
12400 (time_t_min): Likewise.
12401 (TYPE_SIGNED): New.
12402 (TYPE_MINIMUM): Likewise.
12403 (TYPE_MAXIMUM): Likewise.
12404 (TIME_T_MIN): Likewise.
12405 (TIME_T_MAX): Likewise.
12406 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
12407 and TIME_T_MIN.
12408 (do_test): Likewise.
12409
12410 2016-01-14 Amit Pawar <amit.pawar@amd.com>
12411
12412 [BZ #19467]
12413 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12414 index_Fast_Unaligned_Load flag for Excavator family CPUs.
12415
12416 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
12417
12418 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
12419
12420 2016-01-13 Carlos O'Donell <carlos@redhat.com>
12421
12422 * benchtests/Makefile (PYTHON): Define.
12423 (bench-func): Use $(PYTHON) to run python scripts.
12424 ($(objpfx)bench-%.c): Likewise.
12425
12426 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
12427
12428 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
12429 leading slash when `file_name' is "/".
12430
12431 2016-01-12 Joseph Myers <joseph@codesourcery.com>
12432
12433 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
12434 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
12435 Likewise.
12436 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
12437 Likewise.
12438 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
12439 Likewise.
12440 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
12441 enum constant and macro.
12442 (PTRACE_SETSIGMASK): Likewise.
12443 (PTRACE_SECCOMP_GET_FILTER): Likewise.
12444 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12445 (PTRACE_GETSIGMASK): Likewise.
12446 (PTRACE_SETSIGMASK): Likewise.
12447 (PTRACE_SECCOMP_GET_FILTER): Likewise.
12448 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
12449 Likewise.
12450 (PTRACE_SETSIGMASK): Likewise.
12451 (PTRACE_SECCOMP_GET_FILTER): Likewise.
12452 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12453 (PTRACE_GETSIGMASK): Likewise.
12454 (PTRACE_SETSIGMASK): Likewise.
12455 (PTRACE_SECCOMP_GET_FILTER): Likewise.
12456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
12457 Likewise.
12458 (PTRACE_SETSIGMASK): Likewise.
12459 (PTRACE_SECCOMP_GET_FILTER): Likewise.
12460 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
12461 Likewise.
12462 (PTRACE_SETSIGMASK): Likewise.
12463 (PTRACE_SECCOMP_GET_FILTER): Likewise.
12464 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
12465 Likewise.
12466 (PTRACE_SETSIGMASK): Likewise.
12467 (PTRACE_SECCOMP_GET_FILTER): Likewise.
12468
12469 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
12470 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12471
12472 [BZ #19439]
12473 * math/bits/mathcalls.h
12474 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
12475 prototype.
12476 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
12477
12478 2016-01-11 Andreas Schwab <schwab@suse.de>
12479
12480 [BZ #19253]
12481 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
12482 cache when TZDEFRULES was used.
12483 * time/tst-tzname.c: New file.
12484 * time/Makefile (test): Add tst-tzname.
12485 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
12486 * timezone/Makefile (test-zones): Add $(posixrules-file).
12487 ($(testdata)/$(posixrules-file)): New rule.
12488
12489 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
12490
12491 Fix doc quoting problems with Texinfo 5
12492 Without this change, in the info file output, Texinfo 5 quotes code
12493 in text with undirected single quotes 'like this' and generates
12494 code examples that with many PDF readers cannot be cut out of PDFs
12495 and pasted into code.
12496 * manual/libc.texinfo: Configure the libc manual like the GNU
12497 Emacs manual, by using @documentencoding and setting
12498 txicodequoteundirected and txicodequotebacktick. This way,
12499 Texinfo 5 quotes code in text with directed single quotes ‘like
12500 this’ and produces examples that can be cut out of PDFs. This
12501 change causes Texinfo 5 to generate info files that contain UTF-8
12502 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
12503 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
12504
12505 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12506
12507 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
12508 __libc_tabort, __libc_tend): New wrappers that enforce compiler
12509 barriers to their respective compiler built-ins.
12510 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
12511 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
12512 * sysdeps/powerpc/sysdep.h: Likewise.
12513 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
12514 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
12515 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
12516
12517 2016-01-08 Marko Myllynen <myllynen@redhat.com>
12518
12519 * scripts/config.guess: Revert previous shebang change.
12520 * scripts/config.sub: Likewise.
12521 * scripts/mkinstalldirs: Likewise.
12522
12523 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12524
12525 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
12526 PPC_FEATURE2_HAS_IEEE128.
12527 * sysdeps/powerpc/dl-procinfo.c:
12528 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
12529
12530 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
12531
12532 [BZ #19415]
12533 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12534 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
12535 (_dl_lookup_address): Rewrite using function resolver trampoline.
12536 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
12537 two bits in address.
12538
12539 2016-01-07 Mike Frysinger <vapier@gentoo.org>
12540
12541 * longlong.h: Change !__SHMEDIA__ to
12542 (!defined (__SHMEDIA__) || !__SHMEDIA__).
12543 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
12544
12545 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
12546 Joseph Myers <joseph@codesourcery.com>
12547 Mark Shinwell <shinwell@codesourcery.com>
12548 Andrew Stubbs <ams@codesourcery.com>
12549 Rich Felker <dalias@libc.org>
12550
12551 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
12552
12553 2016-01-07 Richard Henderson <rth@redhat.com>
12554
12555 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
12556
12557 2016-01-07 Mike Frysinger <vapier@gentoo.org>
12558
12559 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
12560 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
12561 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12562 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12563 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
12564
12565 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
12566 Joseph Myers <joseph@codesourcery.com>
12567
12568 * timezone/private.h: Update from tzcode 2015g.
12569 * timezone/tzfile.h: Likewise.
12570 * timezone/tzselect.ksh: Likewise.
12571 * timezone/zdump.c: Likewise.
12572 * timezone/zic.c: Likewise.
12573 * timezone/ialloc.c: Remove file.
12574 * timezone/scheck.c: Likewise.
12575 * timezone/Makefile (extra-objs): Remove variable.
12576 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
12577 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12578 -Wno-maybe-uninitialized.
12579 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12580 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12581 (CFLAGS-ialloc.c): Remove variable.
12582 (CFLAGS-scheck.c): Likewise.
12583 * timezone/README: Update list of files from tzcode.
12584
12585 2016-01-07 Khem Raj <raj.khem@gmail.com>
12586
12587 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12588 instead of __fxprintf when _LIBC is undefined.
12589
12590 2016-01-07 Marko Myllynen <myllynen@redhat.com>
12591
12592 * catgets/test-gencat.sh: Remove space after shebang.
12593 * conform/GlibcConform.pm: Likewise.
12594 * conform/check-header-lists.sh: Likewise.
12595 * conform/conformtest.pl: Likewise.
12596 * conform/linknamespace.pl: Likewise.
12597 * conform/list-header-symbols.pl: Likewise.
12598 * debug/catchsegv.sh: Likewise.
12599 * elf/genrtldtbl.awk: Likewise.
12600 * elf/tst-pathopt.sh: Likewise.
12601 * elf/tst-rtld-load-self.sh: Likewise.
12602 * grp/tst_fgetgrent.sh: Likewise.
12603 * iconvdata/gen-8bit-gap-1.sh: Likewise.
12604 * iconvdata/gen-8bit-gap.sh: Likewise.
12605 * iconvdata/gen-8bit.sh: Likewise.
12606 * iconvdata/run-iconv-test.sh: Likewise.
12607 * intl/tst-gettext.sh: Likewise.
12608 * intl/tst-gettext2.sh: Likewise.
12609 * intl/tst-gettext4.sh: Likewise.
12610 * intl/tst-gettext6.sh: Likewise.
12611 * intl/tst-translit.sh: Likewise.
12612 * io/ftwtest-sh: Likewise.
12613 * libio/test-freopen.sh: Likewise.
12614 * locale/gen-translit.pl: Likewise.
12615 * malloc/tst-mtrace.sh: Likewise.
12616 * manual/check-safety.sh: Likewise.
12617 * manual/libc-texinfo.sh: Likewise.
12618 * manual/tsort.awk: Likewise.
12619 * manual/xtract-typefun.awk: Likewise.
12620 * nptl/tst-cancel-wrappers.sh: Likewise.
12621 * nptl/tst-tls6.sh: Likewise.
12622 * posix/globtest.sh: Likewise.
12623 * posix/tst-getconf.sh: Likewise.
12624 * posix/wordexp-tst.sh: Likewise.
12625 * scripts/check-c++-types.sh: Likewise.
12626 * scripts/check-local-headers.sh: Likewise.
12627 * scripts/config.guess: Likewise.
12628 * scripts/config.sub: Likewise.
12629 * scripts/cpp: Likewise.
12630 * scripts/cross-test-ssh.sh: Likewise.
12631 * scripts/documented.sh: Likewise.
12632 * scripts/evaluate-test.sh: Likewise.
12633 * scripts/gen-libc-abis: Likewise.
12634 * scripts/gen-sorted.awk: Likewise.
12635 * scripts/list-fixed-bugs.py: Likewise.
12636 * scripts/merge-test-results.sh: Likewise.
12637 * scripts/mkinstalldirs: Likewise.
12638 * scripts/rellns-sh: Likewise.
12639 * scripts/test-installation.pl: Likewise.
12640 * scripts/update-copyrights: Likewise.
12641 * stdio-common/tst-printf.sh: Likewise.
12642 * stdio-common/tst-unbputc.sh: Likewise.
12643 * stdlib/tst-fmtmsg.sh: Likewise.
12644 * stdlib/tst-setcontext3.sh: Likewise.
12645 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12646 * sysdeps/unix/make-syscalls.sh: Likewise.
12647
12648 2016-01-06 John David Anglin <dave.anglin@bell.net>
12649
12650 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12651 asm stw with atomic_exchange_rel. Add explanatory comment.
12652 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12653 Likewise.
12654
12655 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
12656
12657 [BZ #19122]
12658 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12659 * sysdeps/generic/dl-unistd.h: New file.
12660 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12661
12662 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
12663
12664 [BZ #19122]
12665 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12666 * sysdeps/generic/dl-mman.h: New file.
12667 * sysdeps/mach/hurd/dl-mman.h: Likewise.
12668
12669 2016-01-05 Joseph Myers <joseph@codesourcery.com>
12670
12671 * manual/texinfo.tex: Update to version 2016-01-04.21 with
12672 trailing whitespace removed.
12673 * scripts/config.guess: Update to version 2016-01-01.
12674 * scripts/config.sub: Update to version 2016-01-01.
12675 * scripts/move-if-change: Update from gnulib.
12676
12677 2016-01-04 Anton Blanchard <anton@samba.org>
12678
12679 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12680 for array indices.
12681 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12682
12683 2016-01-04 Joseph Myers <joseph@codesourcery.com>
12684
12685 * NEWS: Update copyright dates.
12686 * catgets/gencat.c (print_version): Likewise.
12687 * csu/version.c (banner): Likewise.
12688 * debug/catchsegv.sh: Likewise.
12689 * debug/pcprofiledump.c (print_version): Likewise.
12690 * debug/xtrace.sh (do_version): Likewise.
12691 * elf/ldconfig.c (print_version): Likewise.
12692 * elf/ldd.bash.in: Likewise.
12693 * elf/pldd.c (print_version): Likewise.
12694 * elf/sotruss.sh: Likewise.
12695 * elf/sprof.c (print_version): Likewise.
12696 * iconv/iconv_prog.c (print_version): Likewise.
12697 * iconv/iconvconfig.c (print_version): Likewise.
12698 * locale/programs/locale.c (print_version): Likewise.
12699 * locale/programs/localedef.c (print_version): Likewise.
12700 * login/programs/pt_chown.c (print_version): Likewise.
12701 * malloc/memusage.sh (do_version): Likewise.
12702 * malloc/memusagestat.c (print_version): Likewise.
12703 * malloc/mtrace.pl: Likewise.
12704 * manual/libc.texinfo: Likewise.
12705 * nptl/version.c (banner): Likewise.
12706 * nscd/nscd.c (print_version): Likewise.
12707 * nss/getent.c (print_version): Likewise.
12708 * nss/makedb.c (print_version): Likewise.
12709 * posix/getconf.c (main): Likewise.
12710 * scripts/test-installation.pl: Likewise.
12711 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12712
12713 * All files with FSF copyright notices: Update copyright dates
12714 using scripts/update-copyrights.
12715 * intl/plural.c: Regenerated.
12716 * locale/programs/charmap-kw.h: Likewise.
12717 * locale/programs/locfile-kw.h: Likewise.
12718
12719 2016-01-02 Helge Deller <deller@gmx.de>
12720
12721 [BZ #19285]
12722 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12723 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12724 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12725 (MADV_xxK_PAGES): Remove.
12726
12727 2016-01-01 Mike Frysinger <vapier@gentoo.org>
12728
12729 [BZ #15421]
12730 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12731 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
12732 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12733 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12734
12735 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
12736
12737 [BZ #19408]
12738 * sysdeps/unix/sysv/linux/personality.c: New file.
12739 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12740 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12741 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12742 (sysdep_routines): Add personality.
12743 (tests): Add tst-personality.
12744 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12746 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12747 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12748 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12749 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12750 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12751 Likewise.
12752 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12753 Likewise.
12754 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12755 Likewise.
12756 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12757 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12758 Likewise.
12759
12760 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
12761
12762 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12763 (PATH_ARM_SYSTYPE): Remove.
12764 (PATH_CPUINFO): Likewise.
12765 (IO_BASE_FOOTBRIDGE): Likewise.
12766 (IO_SHIFT_FOOTBRIDGE): Likewise.
12767 (struct platform): Likewise.
12768 (init_iosys): Remove compatibility code for 2.4 kernels.
12769 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12770
12771 2015-12-29 Florian Weimer <fweimer@redhat.com>
12772
12773 * malloc/tst-malloc-thread-fail.c: New file.
12774 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12775 (tst-malloc-thread-fail): Link against libpthread.
12776
12777 2015-12-29 Mike Frysinger <vapier@gentoo.org>
12778
12779 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
12780 (get_parser): New function.
12781 (main): New function.
12782
12783 2015-12-29 Rob Wu <rob@robwu.nl>
12784
12785 [BZ #19369]
12786 * resolv/res_init.c (__res_vinit): Reset defdname before use.
12787
12788 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
12789
12790 [BZ #19270]
12791 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12792
12793 2015-12-28 Mike Frysinger <vapier@gentoo.org>
12794
12795 [BZ #15421]
12796 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12797
12798 2015-12-23 Torvald Riegel <triegel@redhat.com>
12799
12800 [BZ #13690]
12801 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12802 after releasing it.
12803 (__lll_robust_unlock): Likewise.
12804 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12805 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12806 (lll_robust_unlock): Likewise.
12807 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12808 Prevent warnings in callers.
12809
12810 2015-12-23 Florian Weimer <fweimer@redhat.com>
12811
12812 * malloc/arena.c (list_lock): Update comment.
12813
12814 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12815
12816 * sysdeps/powerpc/hwcapinfo.c: Export symbol
12817 __parse_hwcap_and_convert_at_platform to libc.a.
12818
12819 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12820
12821 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12822 platform and feature support for POWER9.
12823 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12824 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12825 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12826 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12827 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12828 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12829 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12830 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12831
12832 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12833
12834 Harmonize generic stdio-lock support with nptl
12835
12836 This fixes build when _IO_funlockfile is a macro, fixes build where
12837 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12838 stack unwind.
12839
12840 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12841 _IO_release_lock ): Use cleanup attribute on new
12842 _IO_acquire_lock_file variable instead of assuming that
12843 _IO_release_lock will be called.
12844 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12845 _IO_acquire_lock_needs_exceptions_enabled.
12846 (_IO_acquire_lock_clear_flags2): New macro.
12847
12848 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12849
12850 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12851
12852 2015-12-21 Florian Weimer <fweimer@redhat.com>
12853
12854 [BZ #19182]
12855 * malloc/arena.c (list_lock): Document lock ordering requirements.
12856 (free_list_lock): New lock.
12857 (ptmalloc_lock_all): Comment on free_list_lock.
12858 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12859 (detach_arena): Update comment. free_list_lock is now needed.
12860 (_int_new_arena): Use free_list_lock around detach_arena call.
12861 Acquire arena lock after list_lock. Add comment, including FIXME
12862 about incorrect synchronization.
12863 (get_free_list): Switch to free_list_lock.
12864 (reused_arena): Acquire free_list_lock around detach_arena call
12865 and attached threads counter update. Add two FIXMEs about
12866 incorrect synchronization.
12867 (arena_thread_freeres): Switch to free_list_lock.
12868 * malloc/malloc.c (struct malloc_state): Update comments to
12869 mention free_list_lock.
12870
12871 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
12872
12873 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12874 Remove functions.
12875 (sloww, sloww1): Accept argument to offset quadrant.
12876 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12877 quadrant.
12878 (__sin, __cos): Consolidate common code into new functions.
12879 (reduce_sincos_1, do_sincos_1): New functions.
12880 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12881
12882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12883 code to new functions.
12884 (reduce_sincos_2, do_sincos_2): New functions.
12885 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12886
12887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12888 common code for sincos.
12889 (__cos) [!IN_SINCOS]: Likewise.
12890 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12891 New function.
12892 (__sincos): Use it.
12893
12894 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
12895
12896 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12897 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12898 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12899
12900 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12901
12902 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12904 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12905 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12906 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12907 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12908 index_Prefer_No_VZEROUPPER): New feature.
12909 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12910 Prefer_No_VZEROUPPER for Knights Landing.
12911
12912 015-12-18 Torvald Riegel <triegel@redhat.com>
12913
12914 * math/atest-exp2.c (mp_exp_m1): Remove.
12915
12916 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12917
12918 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12919 syscalls.
12920 (__SYSCALL0): New macro.
12921 (__SYSCALL1): Likewise.
12922 (__SYSCALL2): Likewise.
12923 (__SYSCALL3): Likewise.
12924 (__SYSCALL4): Likewise.
12925 (__SYSCALL5): Likewise.
12926 (__SYSCALL6): Likewise.
12927 (__SYSCALL_CONCAT_X): Likewise.
12928 (__SYSCALL_CONCAT): Likewise.
12929 (__SYSCALL_DIST): Likewise.
12930 (__SYSCALL_CALL): Likewise.
12931
12932 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
12933
12934 [BZ #19363]
12935 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12936
12937 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12938
12939 [BZ #19375]
12940 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12941 negative subnormals.
12942
12943 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
12944
12945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12946 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12947 (INTERNAL_SYSCALL_NCS): Use it.
12948 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12949
12950 2015-12-16 Florian Weimer <fweimer@redhat.com>
12951
12952 [BZ #19243]
12953 * malloc/arena.c (get_free_list): Remove assert and adjust
12954 reference count handling. Add comment about reused_arena
12955 interaction.
12956 (reused_arena): Add comments abount get_free_list interaction.
12957 * malloc/tst-malloc-thread-exit.c: New file.
12958 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12959 (tst-malloc-thread-exit): Link against libpthread.
12960
12961 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
12962
12963 [BZ #19367]
12964 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12965 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12966 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12967 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12968 (index_Prefer_MAP_32BIT_EXEC): Likewise.
12969
12970 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
12971
12972 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12973 Silvermont optimizations for Knights Landing.
12974
12975 2015-12-15 Andreas Schwab <schwab@suse.de>
12976
12977 [BZ #17197]
12978 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12979 immediately after emitting SI.
12980 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12981 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12982 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12983 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12984 * iconvdata/bug-iconv10.c: New file.
12985 * iconvdata/Makefile (tests): Add bug-iconv10.
12986 ($(objpfx)bug-iconv10.out): New rule.
12987
12988 2015-12-15 Florian Weimer <fweimer@redhat.com>
12989
12990 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12991 aliasing violation.
12992
12993 2015-12-14 Joseph Myers <joseph@codesourcery.com>
12994
12995 [BZ #18472]
12996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12997 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12998 conditionals for them.
12999 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
13000 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
13001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
13002 sys/kdaemon.h.
13003 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
13004 compat-only syscall, obsoleted in glibc 2.23.
13005 (create_module): Likewise.
13006 (get_kernel_syms): Likewise.
13007 (query_module): Likewise.
13008 (uselib): Likewise.
13009 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
13010
13011 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
13012
13013 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
13014 <linux/version.h>.
13015 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
13016 conditional code.
13017 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
13018 and ioshift_name initialization.
13019
13020 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
13021
13022 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13023 Fix indentation.
13024
13025 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
13026
13027 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
13028
13029 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
13030
13031 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
13032
13033 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
13034 Jakub Wilk <jwilk@debian.org>
13035
13036 [BZ #19347]
13037 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
13038 to change the group of the device to the tty group.
13039
13040 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
13041
13042 Split large string section; add truncation advice
13043 * manual/examples/strncat.c: Remove.
13044 This example was misleading, as the code would have undefined
13045 behavior if "hello" was longer than SIZE. Anyway, the manual
13046 shouldn't encourage strncpy+strncat for this sort of thing.
13047 * manual/string.texi (Copying Strings and Arrays): Split into
13048 three sections Copying Strings and Arrays, Concatenating Strings,
13049 and Truncating Strings, as this section was way too long. All
13050 cross-referenced changed. Add advice about string-truncation
13051 functions. Remove misleading strncat example.
13052
13053 2015-12-10 Carlos O'Donell <carlos@redhat.com>
13054
13055 * manual/nss.texi (NSS Modules Interface): Document
13056 NSS_STATUS_NOTFOUND and SUCCESS.
13057
13058 2015-12-09 Mike FABIAN <mfabian@redhat.com>
13059
13060 [BZ 18568]
13061 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13062 201505L, for Unicode 8.
13063
13064 2015-12-09 Carlos O'Donell <carlos@redhat.com>
13065
13066 * locale/C-translit.h: Regenerate.
13067
13068 2015-12-09 Mike FABIAN <mfabian@redhat.com>
13069
13070 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
13071 and U+0153.
13072
13073 2015-12-09 Joseph Myers <joseph@codesourcery.com>
13074
13075 [BZ #19351]
13076 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
13077 expanding log(1+z), compare z rather than its square with epsilon
13078 to determine when to avoid evaluating the expansion.
13079
13080 [BZ #19350]
13081 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13082 Increase overflow threshold.
13083
13084 [BZ #19349]
13085 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
13086 when small.
13087
13088 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13089 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
13090 New macro.
13091 [__LINUX_KERNEL_VERSION >= 0x040300]
13092 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13093 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
13094 Likewise.
13095 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
13096 Likewise.
13097 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
13098 Likewise.
13099 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
13100 Likewise.
13101 [__LINUX_KERNEL_VERSION >= 0x040300]
13102 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
13103 [__LINUX_KERNEL_VERSION >= 0x040300]
13104 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13105 [__LINUX_KERNEL_VERSION >= 0x040300]
13106 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13107 [__LINUX_KERNEL_VERSION >= 0x040300]
13108 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13109 [__LINUX_KERNEL_VERSION >= 0x040300]
13110 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13111 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
13112 Likewise.
13113 [__LINUX_KERNEL_VERSION >= 0x040300]
13114 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
13115 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13116 Likewise.
13117 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
13118 Likewise.
13119 [__LINUX_KERNEL_VERSION >= 0x040300]
13120 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
13121 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13122 Likewise.
13123 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
13124 Likewise.
13125 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13126 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
13127 Likewise.
13128 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
13129 Likewise.
13130 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
13131 Likewise.
13132 [__LINUX_KERNEL_VERSION >= 0x040300]
13133 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13134 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
13135 Likewise.
13136 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
13137 Likewise.
13138 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
13139 Likewise.
13140 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
13141 Likewise.
13142 [__LINUX_KERNEL_VERSION >= 0x040300]
13143 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
13144 [__LINUX_KERNEL_VERSION >= 0x040300]
13145 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13146 [__LINUX_KERNEL_VERSION >= 0x040300]
13147 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13148 [__LINUX_KERNEL_VERSION >= 0x040300]
13149 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13150 [__LINUX_KERNEL_VERSION >= 0x040300]
13151 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13152 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
13153 Likewise.
13154 [__LINUX_KERNEL_VERSION >= 0x040300]
13155 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
13156 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13157 Likewise.
13158 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
13159 Likewise.
13160 [__LINUX_KERNEL_VERSION >= 0x040300]
13161 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
13162 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13163 Likewise.
13164 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
13165 Likewise.
13166 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13167 (__ASSUME_SOCKET_SYSCALL): Likewise.
13168 (__ASSUME_BIND_SYSCALL): Likewise.
13169 (__ASSUME_CONNECT_SYSCALL): Likewise.
13170 (__ASSUME_LISTEN_SYSCALL): Likewise.
13171 (__ASSUME_ACCEPT_SYSCALL): Likewise.
13172 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13173 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13174 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13175 (__ASSUME_SEND_SYSCALL): Likewise.
13176 (__ASSUME_SENDTO_SYSCALL): Likewise.
13177 (__ASSUME_RECV_SYSCALL): Likewise.
13178 (__ASSUME_RECVFROM_SYSCALL): Likewise.
13179 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
13180 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13181 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13182 (__ASSUME_SENDMSG_SYSCALL): Likewise.
13183 (__ASSUME_RECVMSG_SYSCALL): Likewise.
13184 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13185 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
13186 Likewise.
13187 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
13188 Likewise.
13189 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
13190 Likewise.
13191 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
13192 Likewise.
13193 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
13194 Likewise.
13195 [__LINUX_KERNEL_VERSION >= 0x020625]
13196 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13197 [__LINUX_KERNEL_VERSION >= 0x020625]
13198 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13199 [__LINUX_KERNEL_VERSION >= 0x020625]
13200 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13201 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
13202 Likewise.
13203 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
13204 Likewise.
13205 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
13206 Likewise.
13207 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
13208 Likewise.
13209 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
13210 Likewise.
13211 [__LINUX_KERNEL_VERSION >= 0x020625]
13212 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13213 [__LINUX_KERNEL_VERSION >= 0x020625]
13214 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13215 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
13216 Likewise.
13217 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
13218 Likewise.
13219
13220 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
13221
13222 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
13223 record the current if the current ABI and CPU support the FP64
13224 extension.
13225 (has-modd-spreg): Define to record the current if the current ABI and
13226 CPU support 32-bit floating point values in odd FPU registers.
13227 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13228 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
13229 $(has-modd-spreg) equals yes.
13230 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
13231 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
13232 $(has-modd-spreg) equal yes.
13233
13234 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
13235
13236 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
13237 basename.
13238
13239 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
13240
13241 * benchtests/Makefile (bench-math): Move ffs and ffsll...
13242 (bench-string): ... here.
13243 (bench): Add bench-string.
13244 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
13245 to *-benchset to reflect what they are.
13246 (benchset): Adjust.
13247
13248 * benchtests/sincos-inputs: Add inputs from sin-inputs and
13249 cos-inputs.
13250
13251 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
13252
13253 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
13254 __attribute__ ((__simd__)) for vector math function declarations.
13255
13256 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
13257
13258 Fix typo in strncat, wcsncat manual entries
13259 * manual/string.texi (Copying and Concatenation): Fix typos in
13260 sample implementations of strncat and wcsncat, by having them use
13261 the old value of the destination length, not the new one.
13262
13263 2015-12-04 Joseph Myers <joseph@codesourcery.com>
13264
13265 [BZ #16961]
13266 [BZ #16962]
13267 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
13268 string on the stack for strtod.
13269 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
13270 a string on the stack for strtof.
13271 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
13272 constructing a string on the stack for strtold.
13273 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
13274 __strtold_nan to GLIBC_PRIVATE.
13275 * math/test-nan-overflow.c: New file.
13276 * math/test-nan-payload.c: Likewise.
13277 * math/Makefile (tests): Add test-nan-overflow and
13278 test-nan-payload.
13279
13280 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
13281
13282 Consistency about byte vs character in string.texi
13283 * manual/string.texi (String and Array Utilities):
13284 Distinguish more carefully among bytes, multibyte characters,
13285 and wide characters. Use "byte" when talking about C 'char',
13286 to distinguish it more clearly from multibyte characters.
13287 Say "wide character" or "multibyte character" instead of
13288 "character", when a wide or multibyte character is intended.
13289 Similarly for "multibyte string" versus "string".
13290 Define these terms more carefully.
13291
13292 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
13293
13294 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
13295 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
13296 Likewise.
13297 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13298 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13299 * sysdeps/sh/math_private.h: New file.
13300 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
13301 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
13302 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
13303 long double function name.
13304 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
13310 Remove __finitel, __isinfl, and __isnanl.
13311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13312 Likewise.
13313 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13315 Remove __finitel.
13316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13317 Likewise.
13318 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13319
13320 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
13321
13322 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
13323 installed libmvec_nonshared.a.
13324
13325 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13326
13327 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
13328 (sysdep_routines): Likewise.
13329 (sysdep-rtld-routines): Likewise.
13330 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
13331 [$(subdir) = nptl](tests-static): test-get_hwcap-static
13332 * sysdeps/powerpc/Versions: Added new
13333 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
13334 * sysdeps/powerpc/hwcapinfo.c: New file.
13335 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
13336 and parse hwcap, hwcap2 and platform number information.
13337 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
13338 to store HWCAP+HWCAP2 and platform number.
13339 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
13340 for HWCAP+HWCAP2 and platform number in the TCB.
13341 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
13342 the HWCAP, HWCAP2 and platform number in the TCB.
13343 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
13344 (TLS_INIT_TP): Included calls to add the hwcap and
13345 at_platform values in the TCB in TP initialization.
13346 (TLS_DEFINE_INIT_TP): Likewise.
13347 (THREAD_GET_HWCAP): New macro.
13348 (THREAD_SET_HWCAP): Likewise.
13349 (THREAD_GET_AT_PLATFORM): Likewise.
13350 (THREAD_SET_AT_PLATFORM): Likewise.
13351 * sysdeps/powerpc/powerpc32/dl-machine.h:
13352 (dl_platform_init): New function that calls
13353 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
13354 powerpc32.
13355 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
13356 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
13357 this functionality, static linking case.
13358 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
13359 linking case.
13360 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
13361 __parse_hwcap_and_convert_at_platform for the static linking case.
13362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
13363 Included the new __parse_hwcap_and_convert_at_platform symbol in the
13364 ABI list for GLIBC 2.23.
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
13366 Likewise.
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
13368 Likewise.
13369
13370 2015-12-02 Ludovic Courtès <ludo@gnu.org>
13371
13372 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
13373 * configure: Regenerate.
13374 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
13375 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
13376
13377 2015-12-02 Carlos O'Donell <carlos@redhat.com>
13378
13379 * iconvdata/ibm930.c: Add comment explaining encoding uses.
13380 * iconvdata/ibm933.c: Likewise.
13381 * iconvdata/ibm935.c: Likewise.
13382 * iconvdata/ibm937.c: Likewise.
13383 * iconvdata/ibm939.c: Likewise.
13384
13385 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13386
13387 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
13388 pthread_join.
13389 * nptl/tst-cancel21.c (tf): Likewise.
13390
13391 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
13392
13393 [BZ #19313]
13394 * bits/typesizes.h (__CPU_MASK_TYPE): New.
13395 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
13396 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
13397 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
13398 Likewise.
13399 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
13400 Likewise.
13401 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
13402 Likewise.
13403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
13404 Likewise.
13405 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
13406 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
13407 unsigned long int with __CPU_MASK_TYPE.
13408
13409 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
13410
13411 * sysdeps/aarch64/libm-test-ulps: Regenerated.
13412
13413 2015-12-01 Joseph Myers <joseph@codesourcery.com>
13414
13415 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
13416 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
13417 t512.x.
13418 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
13419
13420 2015-11-30 Amit Pawar <amit.pawar@amd.com>
13421
13422 [BZ #19214]
13423 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
13424 argument to return extended model. Update family and model
13425 with extended family and model when family == 0x0f.
13426 (init_cpu_features): Updated.
13427
13428 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13429
13430 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
13431 signed off_t, so 32bit bigger than 2GiB values are fine actually.
13432
13433 * sysdeps/mach/hurd/mmap64.c: New file.
13434
13435 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
13436
13437 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
13438 rights for its main user thread in NEWTASK.
13439
13440 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
13441
13442 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
13443 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
13444
13445 2015-11-27 Carlos O'Donell <carlos@redhat.com>
13446
13447 [BZ #14259]
13448 * Makeconfig: Rename localedir to complocaledir.
13449 Rename inst_localedir to inst_complocaledir.
13450 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
13451 * config.make.in: Use complocaledir and libc_cv_complocaledir.
13452 * configure.ac: Use libc_cv_complocaledir.
13453 * configure: Regenerate.
13454 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
13455 -DCOMPLOCALEDIR.
13456 * locale/findlocale.c: Use COMPLOCALEDIR.
13457 * locale/loadarchive.c: Likewise.
13458 * locale/programs/locale.c: Likewise.
13459 * locale/programs/localedef.c: Likewise.
13460 * locale/programs/locarchive.c: Likewise.
13461 * localedata/Makefile: Use inst_complocaledir.
13462 * sysdeps/gnu/configure: Regenerate.
13463 * sysdeps/hppa/configure: Regenerate.
13464 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
13465 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13467 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
13468 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
13469 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
13470 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
13471
13472 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
13473
13474 [BZ #19058]
13475 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
13476 AS_NEEDED.
13477 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
13478 workaround.
13479 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
13480 libmvec-static-only-routines): Added new file.
13481 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
13482
13483 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13484
13485 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
13486 of interrupted RPC instead of restoring it.
13487
13488 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
13489 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
13490 libc_hidden_def.
13491 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
13492 into initialized data instead of common. Define rtld_hidden_data_def.
13493 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
13494 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13495 libc_hidden_def.
13496 (if_freenameindex): Add libc_hidden_weak.
13497 (if_nameindex): Add libc_hidden_weak.
13498 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
13499 __open64.
13500 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
13501 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
13502 * sysdeps/mach/nanosleep.c: Include <time.h>
13503 (__nanosleep): Rename to __libc_nanosleep.
13504 (__nanosleep): Add weak_alias.
13505 (nanosleep): Update alias.
13506
13507 2015-11-24 Joseph Myers <joseph@codesourcery.com>
13508
13509 * stdlib/strtod_nan.c: New file.
13510 * stdlib/strtod_nan_double.h: Likewise.
13511 * stdlib/strtod_nan_float.h: Likewise.
13512 * stdlib/strtod_nan_main.c: Likewise.
13513 * stdlib/strtod_nan_narrow.h: Likewise.
13514 * stdlib/strtod_nan_wide.h: Likewise.
13515 * stdlib/strtof_nan.c: Likewise.
13516 * stdlib/strtold_nan.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13519 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
13520 * wcsmbs/wcstod_nan.c: Likewise.
13521 * wcsmbs/wcstof_nan.c: Likewise.
13522 * wcsmbs/wcstold_nan.c: Likewise.
13523 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
13524 strtold_nan.
13525 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
13526 wcstof_nan.
13527 * include/stdlib.h (__strtof_nan): Declare and use
13528 libc_hidden_proto.
13529 (__strtod_nan): Likewise.
13530 (__strtold_nan): Likewise.
13531 (__wcstof_nan): Likewise.
13532 (__wcstod_nan): Likewise.
13533 (__wcstold_nan): Likewise.
13534 * include/wchar.h (____wcstoull_l_internal): Declare.
13535 * stdlib/strtod_l.c: Do not include <ieee754.h>.
13536 (____strtoull_l_internal): Remove declaration.
13537 (STRTOF_NAN): Define macro.
13538 (SET_MANTISSA): Remove macro.
13539 (STRTOULL): Likewise.
13540 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
13541 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
13542 (STRTOF_NAN): Define macro.
13543 (SET_MANTISSA): Remove macro.
13544 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
13545 (SET_MANTISSA): Remove macro.
13546 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
13547 macro.
13548 (SET_MANTISSA): Remove macro.
13549 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
13550 macro.
13551 (SET_MANTISSA): Remove macro.
13552 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
13553 (SET_MANTISSA): Remove macro.
13554 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
13555 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
13556 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
13557
13558 [BZ #19266]
13559 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
13560 upper case and lower case letters inside NAN(), not using TOLOWER.
13561 * stdlib/tst-strtod-nan-locale-main.c: New file.
13562 * stdlib/tst-strtod-nan-locale.c: Likewise.
13563 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
13564 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
13565 Depend on $(gen-locales).
13566 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
13567 * wcsmbs/tst-wcstod-nan-locale.c: New file.
13568 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
13569 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
13570 Depend on $(gen-locales).
13571 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
13572
13573 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
13574
13575 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
13576
13577 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13579 __finitel, __isinfl, and __isnanl.
13580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13581 Likewise.
13582 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13584 __finitel.
13585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13586 Likewise.
13587 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13588
13589 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
13590
13591 * malloc/memusage.c (me): Remove redundant getenv call.
13592
13593 2015-10-24 Florian Weimer <fweimer@redhat.com>
13594
13595 [BZ #19143]
13596 [BZ #19164]
13597 * nptl/check-cpuset.h: Remove.
13598 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13599 Remove CPU set size check.
13600 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13601 Likewise.
13602 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13603 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13604 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13605 (__pthread_setaffinity_new): Remove CPU set size check.
13606 * sysdeps/unix/sysv/linux/sched_setaffinity.c
13607 (__kernel_cpumask_size): Remove.
13608 (__sched_setaffinity_new): Remove CPU set size check.
13609 * manual/threads.texi (Default Thread Attributes): Remove stale
13610 reference to check_cpuset_attr, determine_cpumask_size in comment.
13611 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13612 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
13613 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13614 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13615 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13616 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13617 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13618 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13619 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13620 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13621 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13622 skeleton test file.
13623 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
13624 tst-affinity-pid.
13625
13626 2015-11-24 Florian Weimer <fweimer@redhat.com>
13627
13628 * scripts/update-abilist.sh: New file.
13629 * Makefile (+subdir_targets): Add subdir_update-all-abi.
13630 * Makerules (update-all-abi-%, update-all-abi)
13631 (subdir_update-all-abi): New targets.
13632 * elf/Makefile (update-all-abi): New target.
13633
13634 2015-11-24 Florian Weimer <fweimer@redhat.com>
13635
13636 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13637 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13638 (__libc_lock_define_initialized): Use it.
13639 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13640 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13641 * malloc/malloc.c (main_arena): Likewise.
13642 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13643 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13644
13645 2015-11-23 Joseph Myers <joseph@codesourcery.com>
13646
13647 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13648 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13649 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13650 (PTRACE_O_MASK): Update value.
13651 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13652 New value in enum __ptrace_setoptions.
13653 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13654 (PTRACE_O_MASK): Update value.
13655 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13656 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13657 (PTRACE_O_MASK): Update value.
13658 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13659 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13660 (PTRACE_O_MASK): Update value.
13661 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13662 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13663 (PTRACE_O_MASK): Update value.
13664 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13665 New value in enum __ptrace_setoptions.
13666 (PTRACE_O_MASK): Update value.
13667 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13668 New value in enum __ptrace_setoptions.
13669 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13670 (PTRACE_O_MASK): Update value.
13671
13672 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13673 New macro.
13674 (PACKET_AUXDATA): Likewise.
13675 (PACKET_ORIGDEV): Likewise.
13676 (PACKET_VERSION): Likewise.
13677 (PACKET_HDRLEN): Likewise.
13678 (PACKET_RESERVE): Likewise.
13679 (PACKET_TX_RING): Likewise.
13680 (PACKET_LOSS): Likewise.
13681 (PACKET_VNET_HDR): Likewise.
13682 (PACKET_TX_TIMESTAMP): Likewise.
13683 (PACKET_TIMESTAMP): Likewise.
13684 (PACKET_FANOUT): Likewise.
13685 (PACKET_TX_HAS_OFF): Likewise.
13686 (PACKET_QDISC_BYPASS): Likewise.
13687 (PACKET_ROLLOVER_STATS): Likewise.
13688 (PACKET_FANOUT_DATA): Likewise.
13689 (PACKET_MR_UNICAST): Likewise.
13690
13691 [BZ #19242]
13692 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13693 (TOUPPER): Likewise.
13694 * stdlib/tst-strtol-locale-main.c: New file.
13695 * stdlib/tst-strtol-locale.c: Likewise.
13696 * stdlib/Makefile (tests): Add tst-strtol-locale.
13697 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13698 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13699 Depend on $(gen-locales).
13700 * wcsmbs/tst-wcstol-locale.c: New file.
13701 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13702 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13703 tr_TR.ISO-8859-9.
13704 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13705 Depend on $(gen-locales).
13706
13707 2015-11-20 Roland McGrath <roland@hack.frob.com>
13708
13709 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13710 __glibc_likely instead of __builtin_expect. After falling back to
13711 dyncode_create in a non-ET_DYN case, use the allocate_code_data
13712 system interface to register the code pages as occupied.
13713
13714 2015-11-20 Joseph Myers <joseph@codesourcery.com>
13715
13716 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13717 [!ARM_MATH_PRIVATE_H].
13718 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13719 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13720 [!HPPA_MATH_PRIVATE_H].
13721 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13722 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13723 to [!I386_MATH_PRIVATE_H].
13724 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13725 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13726 Change guard to [!M68K_MATH_PRIVATE_H].
13727 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13728 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13729 guard to [!MICROBLAZE_MATH_PRIVATE_H].
13730 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13731 macro.
13732 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13733 [!MIPS_MATH_PRIVATE_H].
13734 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13735 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13736 [!NIO2_MATH_PRIVATE_H].
13737 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13738 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13739 [!TILE_MATH_PRIVATE_H].
13740 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13741
13742 [BZ #15421]
13743 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13744 initialize with 0 and define as weak alias of __signgam.
13745 * include/math.h [!_ISOMAC] (__signgam): Declare.
13746 * math/Makefile (libm-calls): Add w_lgamma_compat.
13747 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13748 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13749 test-signgam-ullong-init.
13750 (tests-static): Add test-signgam-uchar-static,
13751 test-signgam-uchar-init-static, test-signgam-uint-static,
13752 test-signgam-uint-init-static, test-signgam-ullong-static and
13753 test-signgam-ullong-init-static.
13754 (CFLAGS-test-signgam-uchar.c): New variable.
13755 (CFLAGS-test-signgam-uchar-init.c): Likewise.
13756 (CFLAGS-test-signgam-uchar-static.c): Likewise.
13757 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13758 (CFLAGS-test-signgam-uint.c): Likewise.
13759 (CFLAGS-test-signgam-uint-init.c): Likewise.
13760 (CFLAGS-test-signgam-uint-static.c): Likewise.
13761 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13762 (CFLAGS-test-signgam-ullong.c): Likewise.
13763 (CFLAGS-test-signgam-ullong-init.c): Likewise.
13764 (CFLAGS-test-signgam-ullong-static.c): Likewise.
13765 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13766 * math/Versions (libm): Add GLIBC_2.23.
13767 * math/lgamma-compat.h: New file.
13768 * math/test-signgam-main.c: Likewise.
13769 * math/test-signgam-uchar-init-static.c: Likewise.
13770 * math/test-signgam-uchar-init.c: Likewise.
13771 * math/test-signgam-uchar-static.c: Likewise.
13772 * math/test-signgam-uchar.c: Likewise.
13773 * math/test-signgam-uint-init-static.c: Likewise.
13774 * math/test-signgam-uint-init.c: Likewise.
13775 * math/test-signgam-uint-static.c: Likewise.
13776 * math/test-signgam-uint.c: Likewise.
13777 * math/test-signgam-ullong-init-static.c: Likewise.
13778 * math/test-signgam-ullong-init.c: Likewise.
13779 * math/test-signgam-ullong-static.c: Likewise.
13780 * math/test-signgam-ullong.c: Likewise.
13781 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13782 wrapper of w_lgamma_main.c.
13783 * math/w_lgamma_compat.c: New file.
13784 * math/w_lgamma_compatf.c: Likewise.
13785 * math/w_lgamma_compatl.c: Likewise.
13786 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
13787 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
13788 defining compatibility symbols.
13789 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
13790 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13791 wrapper of w_lgammaf_main.c.
13792 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
13793 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
13794 defining compatibility symbols.
13795 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
13796 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13797 wrapper of w_lgammal_main.c.
13798 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
13799 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
13800 defining compatibility symbols.
13801 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
13802 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13803 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13804 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
13805 <lgamma-compat.h>.
13806 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
13807 (__ieee754_gamma): Define as alias.
13808 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13809 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
13810 <lgamma-compat.h>.
13811 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
13812 (__ieee754_gammaf): Define as alias.
13813 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13814 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
13815 <lgamma-compat.h>.
13816 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
13817 (__ieee754_gammal): Define as alias.
13818 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13819 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
13820 <math/w_lgamma_compat.c>.
13821 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13822 Define as alias of __lgamma_compat and use in defining lgammal.
13823 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13824 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
13825 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13826 (USE_AS_COMPAT): New macro.
13827 (LGAMMA_OLD_VER): Undefine and redefine.
13828 (lgammal): Do not define here.
13829 (gammal): Only define here if [GAMMA_ALIAS].
13830 * conform/linknamespace.pl (@whitelist): Remove signgam.
13831 * sysdeps/nacl/libm.abilist: Update.
13832 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13833 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13834 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13835 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13836 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13837 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13838 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13839 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13840 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13841 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13842 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13843 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13845 Likewise.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13847 Likewise.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13849 Likewise.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13851 Likewise.
13852 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13853 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13854 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13855 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13856 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13858 Likewise.
13859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13860 Likewise.
13861 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13862 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13864
13865 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13866
13867 [BZ #16364]
13868 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13869 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13870
13871 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13872
13873 * sysdeps/s390/fpu/bits/mathinline.h:
13874 Use __asm__ [__volatile__] instead of asm [volatile].
13875 * sysdeps/s390/abort-instr.h: Likewise.
13876 * sysdeps/s390/atomic-machine.h: Likewise.
13877 * sysdeps/s390/bits/string.h: Likewise.
13878 * sysdeps/s390/dl-tls.h: Likewise.
13879 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13880 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13881 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13882 * sysdeps/s390/fpu/fesetround.c: Likewise.
13883 * sysdeps/s390/fpu/fpu_control.h: Likewise.
13884 * sysdeps/s390/fpu/s_fma.c: Likewise.
13885 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13886 * sysdeps/s390/memusage.h: Likewise.
13887 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13888 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13889 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13890 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13891 * sysdeps/s390/nptl/tls.h: Likewise.
13892 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13893 * sysdeps/s390/s390-32/backtrace.c: Likewise.
13894 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13895 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13896 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13897 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13898 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13899 * sysdeps/s390/s390-64/backtrace.c: Likewise.
13900 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13901 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13902 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13903 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13904 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13905 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13906 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13907 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13908 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13909 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13910 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13911 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13913 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13914 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13915
13916 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13917 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13918
13919 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13920 Add lwarx hint, and use macro for acquire instruction.
13921 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13922 Likewise.
13923 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13924 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13925 update to use new atomic macros.
13926
13927 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13928
13929 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13930 (__lll_trylock_elision): Fix setting of adapt_count.
13931 * sysdeps/unix/sysv/linux/powerpc/htm.h
13932 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13933 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13934 (_ABORT_SYSCALL): Renumber, and clarify definition.
13935 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13936
13937 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13938
13939 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13940 after system headers to prevent MIN/MAX redefinition. Define
13941 HAVE_ALLOCA to preserve builtin alloca usage.
13942
13943 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
13944
13945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13946 static and don't set or restore rounding.
13947 (__cos)[IN_SINCOS]: Likewise.
13948 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13949 (__sincos): Set and restore rounding mode. Remove check for infinite
13950 or NaN input.
13951
13952 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13953
13954 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13955 as used.
13956
13957 2015-11-16 Florian Weimer <fweimer@redhat.com>
13958
13959 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13960
13961 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
13962
13963 * config.make.in (have-glob-dat-reloc): New.
13964 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
13965 target supports GLOB_DAT relocaton. AC_SUBST.
13966 * configure: Regenerated.
13967 * elf/Makefile (tests): Add tst-prelink.
13968 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13969 (tst-prelink-ENV): New.
13970 ($(objpfx)tst-prelink-conflict.out): Likewise.
13971 ($(objpfx)tst-prelink-cmp.out): Likewise.
13972 * sysdeps/x86/tst-prelink.c: Moved to ...
13973 * elf/tst-prelink.c: Here.
13974 * sysdeps/x86/tst-prelink.exp: Moved to ...
13975 * elf/tst-prelink.exp: Here.
13976 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13977 (tst-prelink-ENV): Removed.
13978 ($(objpfx)tst-prelink-conflict.out): Likewise.
13979 ($(objpfx)tst-prelink-cmp.out): Likewise.
13980 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13981
13982 2015-11-13 Joseph Myers <joseph@codesourcery.com>
13983
13984 [BZ #14551]
13985 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13986 (__mpn_construct_long_double): If high part overflows to infinity,
13987 set errno and recompute overflowed result of the correct sign.
13988 * sysdeps/ieee754/ldbl-128ibm/Makefile
13989 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13990 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13991 $(libm).
13992 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13993
13994 2015-11-12 Joseph Myers <joseph@codesourcery.com>
13995
13996 [BZ #15479]
13997 [BZ #19238]
13998 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13999 floating-point state after first operation on input. Restore full
14000 state rather than just rounding mode.
14001 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14002 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14003 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14004
14005 [BZ #19235]
14006 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
14007 add 0.5 to integer arguments.
14008 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
14009 Likewise.
14010 (.LC2): New object.
14011
14012 2015-11-11 Mike Frysinger <vapier@gentoo.org>
14013
14014 * scripts/pylintrc (reports): Set to no.
14015
14016 2015-11-10 Roland McGrath <roland@hack.frob.com>
14017
14018 * elf/dl-load.c (open_verify): Take new argument FD.
14019 Skip __open call if passed FD is not -1.
14020 (_dl_map_object, open_path): Update callers.
14021 * elf/dl-sysdep-open.h: New file.
14022 * elf/dl-load.c: Include it.
14023 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
14024 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
14025 * sysdeps/nacl/dl-sysdep-open.h: New file.
14026 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
14027 from libc to rtld.
14028
14029 2015-11-10 Joseph Myers <joseph@codesourcery.com>
14030
14031 [BZ #19228]
14032 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
14033 and restore full floating-point state.
14034 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14035 Likewise.
14036 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14037 Likewise.
14038 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14039 Likewise.
14040 * math/test-nearbyint-except-2.c: New file.
14041 * math/Makefile (tests): Add test-nearbyint-except-2.
14042
14043 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
14044
14045 [BZ #19178]
14046 * sysdeps/x86/Makefile (tests): Add tst-prelink.
14047 (tst-prelink-ENV): New.
14048 ($(objpfx)tst-prelink-conflict.out): Likewise.
14049 ($(objpfx)tst-prelink-cmp.out): Likewise.
14050 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
14051 * sysdeps/x86/tst-prelink.c: New file.
14052 * sysdeps/x86/tst-prelink.exp: Likewise.
14053
14054 2015-11-10 Joseph Myers <joseph@codesourcery.com>
14055
14056 * math/auto-libm-test-in: Add another test of pow.
14057 * math/auto-libm-test-out: Regenerated.
14058 * math/libm-test.inc (pow_test_data): Add another test.
14059
14060 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14061
14062 [BZ #19219]
14063 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
14064 weak_alias to nearbyintl.
14065
14066 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
14067
14068 * sysdeps/aarch64/bits/string.h: New file.
14069 (_STRING_ARCH_unaligned): Define.
14070
14071 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
14072
14073 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
14074 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14075 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14076 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
14077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
14078
14079 2015-11-09 Ulrich Drepper <drepper@gmail.com>
14080
14081 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
14082 for original name of the DSO. Add it to the name list of the DSO
14083 if it is actually given.
14084 (_dl_map_object): Keep track of whether an audit module rewrote
14085 the file name. If yes, pass the original name to
14086 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
14087 debugging is enabled, log the change of the file name.
14088 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
14089 _dl_map_object_from_fd.
14090 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
14091 * elf/tst-audit11.c: New file
14092 * elf/tst-auditmod11.c: New file.
14093 * elf/tst-audit11mod1.c: New file.
14094 * elf/tst-audit11mod2.c: New file.
14095 * elf/tst-audit11mod2.map: New file.
14096 * elf/tst-audit12.c: New file
14097 * elf/tst-auditmod12.c: New file.
14098 * elf/tst-audit12mod1.c: New file.
14099 * elf/tst-audit12mod2.c: New file.
14100 * elf/tst-audit12mod2.map: New file.
14101 * elf/tst-audit12mod3.c: New file.
14102
14103 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
14104
14105 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
14106 Don't create weak aliases,
14107 because versioned symbols are created later.
14108 * sysdeps/s390/s390-32/setjmp.S
14109 (setjmp, _setjmp): Remove weak and rename to an unique name
14110 in SHARED case due to existing versioned symbols.
14111 * sysdeps/s390/s390-64/setjmp.S: Likewise.
14112 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
14113 (getcontext): Create weak alias only in non SHARED case.
14114 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14115
14116 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
14117
14118 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
14119 (__ASSUME_*_SYSCALL) Define new macros.
14120 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
14121 Remove socketcall syscalls.
14122 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
14123 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
14124 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
14125 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
14126 * sysdeps/unix/sysv/linux/send.c (__libc_send):
14127 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
14128
14129 2015-11-09 Florian Weimer <fweimer@redhat.com>
14130
14131 [BZ #12926]
14132 Terminate process on invalid netlink response.
14133 * sysdeps/unix/sysv/linux/netlinkaccess.h
14134 (__netlink_assert_response): Declare.
14135 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
14136 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
14137 (sysdep_routines): Add netlink_assert_response.
14138 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
14139 __netlink_assert_response.
14140 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14141 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14142 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
14143 __netlink_assert_response.
14144
14145 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
14146
14147 [BZ #19178]
14148 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
14149 (RTYPE_CLASS_PLT): Likewise.
14150 (RTYPE_CLASS_COPY): Likewise.
14151 (RTYPE_CLASS_TLS): Likewise.
14152 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
14153 to set relocation type class for DL_DEBUG_PRELINK. Keep only
14154 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
14155 DL_DEBUG_PRELINK.
14156
14157 2015-11-06 Joseph Myers <joseph@codesourcery.com>
14158
14159 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
14160 calls with argument -0.5.
14161 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
14162
14163 * configure.ac (libc_cv_z_nodelete): Remove configure test.
14164 (libc_cv_z_nodlopen): Likewise.
14165 (libc_cv_z_initfirst): Likewise.
14166 * configure: Regenerated.
14167
14168 2015-11-06 Florian Weimer <fweimer@redhat.com>
14169
14170 Simplify abilist format to be line-based.
14171 * scripts/abilist.awk: Collect descriptors in the descs variable.
14172 (emit): Write descs variable and sort it
14173 externally, with sort.
14174 * sysdeps/**/*.abilist: Convert to new format.
14175
14176 2015-11-06 Mark Wielaard <mjw@redhat.com>
14177
14178 [BZ #11460]
14179 * io/Makefile (routines): Add fts64.
14180 (tests): Add tst-fts and tst-fts-lfs.
14181 (CFLAGS-fts64.c): New.
14182 * io/Versions (GLIBC_2.23): New.
14183 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
14184 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
14185 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
14186 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
14187 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
14188 (FTSENT64): Likewise.
14189 (fts64_children): Likewise.
14190 (fts64_close): Likewise.
14191 (fts64_open): Likewise.
14192 (fts64_read): Likewise.
14193 (fts64_set): Likewise.
14194 * io/fts64.c: New file.
14195 * io/tst-fts.c: New test.
14196 * io/tst-fts-lfs.c: Likewise.
14197 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
14198 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
14199 fts64_set.
14200 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14214 Likewise.
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14216 Likewise.
14217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14229 * sysdeps/wordsize-64/fts.c: New file.
14230 * sysdeps/wordsize-64/fts64.c: Likewise.
14231 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
14232 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
14233 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
14234 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
14235
14236 2015-11-05 Joseph Myers <joseph@codesourcery.com>
14237
14238 * math/libm-test.inc (NON_FINITE): New macro.
14239 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
14240 * math/gen-libm-test.pl (show_exceptions): Add argument
14241 $non_finite.
14242 (parse_args): Update call to show_exceptions.
14243 * math/test-math-finite.h: New file.
14244 * math/test-math-no-finite.h: Likewise.
14245 * math/test-double-finite.c: Likewise.
14246 * math/test-float-finite.c: Likewise.
14247 * math/test-ldouble-finite.c: Likewise.
14248 * math/test-double.c: Include "test-math-no-finite.h".
14249 * math/test-float.c: Include "test-math-no-finite.h".
14250 * math/test-ldouble.c: Include "test-math-no-finite.h".
14251 * math/test-math-inline.h (TEST_FINITE): New macro.
14252 * math/test-math-vector.h (TEST_FINITE): Likewise.
14253 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
14254 (libm-tests): Add test-float-finite and test-double-finite.
14255 ($(objpfx)test-float-finite.o): New dependency on
14256 $(objpfx)libm-test.stmp.
14257 ($(objpfx)test-double-finite.o): Likewise.
14258 ($(objpfx)test-ldouble-finite.o): Likewise.
14259 (libm-test-no-inline-cflags): New variable.
14260 (libm-test-finite-cflags): Likewise.
14261 (CFLAGS-test-float-finite.c): Likewise.
14262 (CFLAGS-test-double-finite.c): Likewise.
14263 (CFLAGS-test-ldouble-finite.c): Likewise.
14264 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
14265 (CFLAGS-test-double.c): Likewise.
14266 (CFLAGS-test-ldouble.c): Likewise.
14267
14268 2015-11-05 Roland McGrath <roland@hack.frob.com>
14269
14270 * io/fcntl.c (__fcntl): Add ... to prototype.
14271 * misc/ioctl.c (__ioctl): Likewise.
14272 * misc/syscall.c (syscall): Likewise.
14273
14274 2015-11-05 Joseph Myers <joseph@codesourcery.com>
14275
14276 * scripts/list-fixed-bugs.py: New file.
14277
14278 [BZ #19213]
14279 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
14280 returned for argument 1.
14281 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
14282 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
14283 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
14284 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
14285 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
14286 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
14287
14288 [BZ #19211]
14289 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
14290 __USE_XOPEN], not if [!__USE_ISOC99].
14291 (lgammaf): Likewise.
14292 (lgammal): Likewise.
14293 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
14294 (gammaf): Likewise.
14295 (gammal): Likewise.
14296 * math/test-signgam-finite-c11.c: New file.
14297 * math/test-signgam-finite-c99.c: Likewise.
14298 * math/test-signgam-finite.c: Likewise.
14299 * math/Makefile (tests): Add test-signgam-finite,
14300 test-signgam-finite-c99 and test-signgam-finite-c11.
14301 (CFLAGS-test-signgam-finite.c): New variable.
14302 (CFLAGS-test-signgam-finite-c99.c): Likewise.
14303 (CFLAGS-test-signgam-finite-c11.c): Likewise.
14304
14305 [BZ #19212]
14306 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
14307 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
14308 500].
14309 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
14310 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
14311 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
14312 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
14313 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
14314 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
14315 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
14316 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
14317 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
14318 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
14319
14320 [BZ #19209]
14321 * math/bits/math-finite.h (ldexp): Remove declaration.
14322 (ldexpf): Likewise.
14323 (ldexpl): Likewise.
14324
14325 [BZ #19205]
14326 * math/bits/math-finite.h (acosf): Condition declaration on
14327 [__USE_ISOC99].
14328 (acosl): Likewise.
14329 (acoshf): Likewise.
14330 (acoshl): Likewise.
14331 (asinf): Likewise.
14332 (asinl): Likewise.
14333 (atan2f): Likewise.
14334 (atan2l): Likewise.
14335 (atanhf): Likewise.
14336 (atanhl): Likewise.
14337 (coshf): Likewise.
14338 (coshl): Likewise.
14339 (expf): Likewise.
14340 (expl): Likewise.
14341 (fmodf): Likewise.
14342 (fmodl): Likewise.
14343 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
14344 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
14345 (j0l): Likewise.
14346 (y0f): Likewise.
14347 (y0l): Likewise.
14348 (j1f): Likewise.
14349 (j1l): Likewise.
14350 (y1f): Likewise.
14351 (y1l): Likewise.
14352 (jnf): Likewise.
14353 (jnl): Likewise.
14354 (ynf): Likewise.
14355 (ynl): Likewise.
14356 (lgammaf_r): Condition declaration on [__USE_ISOC99].
14357 (lgammal_r): Likewise.
14358 (__lgamma_r_finite): New declaration.
14359 (__lgammaf_r_finite): Likewise.
14360 (__lgammal_r_finite): Likewise.
14361 (lgamma): Use __lgamma_r_finite.
14362 (lgammaf): Condition definition on [__USE_ISOC99]. Use
14363 __lgammaf_r_finite.
14364 (lgammal): Condition definition on [__USE_ISOC99]. Use
14365 __lgammal_r_finite.
14366 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
14367 __lgamma_r_finite.
14368 (gammaf): Condition definition on [__USE_ISOC99]. Use
14369 __lgammaf_r_finite.
14370 (gammal): Condition definition on [__USE_ISOC99]. Use
14371 __lgammal_r_finite.
14372 (logf): Condition declaration on [__USE_ISOC99].
14373 (logl): Likewise.
14374 (log10f): Likewise.
14375 (log10l): Likewise.
14376 (ldexpf): Likewise.
14377 (ldexpl): Likewise.
14378 (powf): Likewise.
14379 (powl): Likewise.
14380 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
14381 __USE_ISOC99].
14382 (remainderf): Condition declaration on [__USE_ISOC99].
14383 (remainderl): Likewise.
14384 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
14385 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
14386 (scalbl): Likewise.
14387 (sinhf): Condition declaration on [__USE_ISOC99].
14388 (sinhl): Likewise.
14389 (sqrtf): Likewise.
14390 (sqrtl): Likewise.
14391
14392 2015-11-04 Joseph Myers <joseph@codesourcery.com>
14393
14394 * sysdeps/arm/atomic-machine.h
14395 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
14396 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
14397 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
14398 Remove conditional code.
14399 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
14400 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
14401 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
14402 Change conditional to [__ASSEMBLER__].
14403 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14404 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
14405 [!__ASSEMBLER__].
14406 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
14407 code.
14408 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
14409 conditional macro definitions.
14410 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
14411 (__arch_compare_and_exchange_val_16_acq): Likewise.
14412 (__arch_compare_and_exchange_val_32_acq): Likewise.
14413 (atomic_exchange_and_add): Likewise.
14414 (atomic_add): Likewise.
14415 (atomic_add_negative): Likewise.
14416 (atomic_add_zero): Likewise.
14417 (atomic_bit_set): Likewise.
14418 (atomic_bit_test_set): Likewise.
14419 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
14420 code unconditional.
14421 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14422
14423 * math/test-math-errno.h: New file.
14424 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
14425 empty.
14426 (TEST_ERRNO): New macro.
14427 (TEST_EXCEPTIONS): Likewise.
14428 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
14429 (TEST_EXCEPTIONS): Likewise.
14430 * math/test-math-vector.h (TEST_ERRNO): Likewise.
14431 * math/test-double.c: Include "test-math-errno.h".
14432 * math/test-float.c: Likewise.
14433 * math/test-ldouble.c: Likewise.
14434 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
14435 code unconditional.
14436 (test_exceptions): Only run code if TEST_EXCEPTIONS.
14437 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
14438 unconditional.
14439 (test_errno): Only run code if TEST_ERRNO.
14440 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
14441
14442 2015-11-04 Florian Weimer <fweimer@redhat.com>
14443
14444 * nptl/tst-once5.cc: Remove attribution.
14445
14446 2015-11-04 Joseph Myers <joseph@codesourcery.com>
14447
14448 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
14449 sqrt, tan, tanh, y0, y1 and yn.
14450 * math/auto-libm-test-out: Regenerated.
14451 * math/libm-test.inc (scalb_test_data): Add more tests.
14452 (scalbn_test_data): Likewise.
14453 (scalbln_test_data): Likewise.
14454 (signbit_test_data): Likewise.
14455 (sin_test_data): Likewise.
14456 (sincos_test_data): Likewise.
14457 (sinh_test_data): Likewise.
14458 (sqrt_test_data): Likewise.
14459 (tan_test_data): Likewise.
14460 (tanh_test_data): Likewise.
14461 (tgamma_test_data): Likewise.
14462 (y0_test_data): Likewise.
14463 (y1_test_data): Likewise.
14464 (yn_test_data): Likewise.
14465 (significand_test_data): Likewise.
14466 * sysdeps/i386/fpu/libm-test-ulps: Update.
14467
14468 2015-11-03 David Kastrup <dak@gnu.org>
14469
14470 [BZ #18604]
14471 * assert/assert.h (assert): Don't macro-expand failed assertion
14472 expression in error message.
14473 * malloc/malloc.c (assert): Likewise.
14474
14475 2015-11-03 Joseph Myers <joseph@codesourcery.com>
14476
14477 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
14478 test.
14479 * configure: Regenerated.
14480
14481 2015-11-02 Joseph Myers <joseph@codesourcery.com>
14482
14483 * math/libm-test.inc (modf_test_data): Add more tests.
14484 (nearbyint_test_data): Likewise.
14485 (nextafter_test_data): Likewise.
14486 (nexttoward_test_data): Likewise.
14487 (pow_test_data): Likewise.
14488 (remainder_test_data): Likewise.
14489 (remquo_test_data): Likewise.
14490 (rint_test_data): Likewise.
14491
14492 [BZ #19201]
14493 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14494 Check for zero remainder in case of large exponents and ensure
14495 correct sign of result in that case.
14496 * math/libm-test.inc (remainder_test_data): Add more tests.
14497
14498 [BZ #6799]
14499 * math/s_nextafter.c: Include <errno.h>.
14500 (__nextafter): Set errno on overflow and underflow.
14501 * math/s_nexttowardf.c: Include <errno.h>.
14502 (__nexttowardf): Set errno on overflow and underflow.
14503 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
14504 (__nextafterl): Set errno on overflow and underflow.
14505 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
14506 (__nexttoward): Set errno on overflow and underflow.
14507 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
14508 (__nexttowardf): Set errno on overflow and underflow.
14509 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
14510 (__nextafterf): Set errno on overflow and underflow.
14511 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
14512 (__nextafterl): Set errno on overflow and underflow.
14513 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
14514 (__nexttoward): Set errno on overflow and underflow.
14515 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
14516 (__nexttowardf): Set errno on overflow and underflow.
14517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
14518 (__nextafterl): Set errno on overflow and underflow.
14519 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
14520 (__nexttoward): Set errno on overflow and underflow.
14521 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
14522 (__nexttowardf): Set errno on overflow and underflow.
14523 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
14524 (__nexttoward): Set errno on overflow and underflow.
14525 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
14526 (__nexttowardf): Set errno on overflow and underflow.
14527 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
14528 (__nldbl_nexttowardf): Set errno on overflow and underflow.
14529 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
14530 (__nextafterl): Set errno on overflow and underflow.
14531 * math/libm-test.inc (nextafter_test_data): Do not allow errno
14532 setting to be missing on overflow. Add more tests.
14533 (nexttoward_test_data): Likewise.
14534
14535 * configure.ac (libc_cv_initfini_array): Remove configure test.
14536 * configure: Regenerated.
14537
14538 2015-10-29 Joseph Myers <joseph@codesourcery.com>
14539
14540 [BZ #19189]
14541 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
14542 non-finite argument handle arguments with negative sign.
14543
14544 * math/libm-test.inc (j0_test_data): Do not test sign of zero
14545 result from infinite argument.
14546 (j1_test_data): Likewise.
14547 (jn_test_data): Likewise.
14548 (y0_test_data): Likewise.
14549 (y1_test_data): Likewise.
14550 (yn_test_data): Likewise.
14551
14552 [BZ #16171]
14553 * math/w_remainder.c (drem): Define as weak alias of __remainder.
14554 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
14555 * math/w_remainderf.c (dremf): Define as weak alias of
14556 __remainderf.
14557 * math/w_remainderl.c (dreml): Define as weak alias of
14558 __remainderl.
14559 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
14560 __remainder.
14561 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
14562 __remainderf.
14563 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
14564 __remainderl.
14565 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
14566 weak alias of remainderl.
14567 * sysdeps/ieee754/ldbl-opt/w_remainder.c
14568 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
14569 alias of __remainder.
14570 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
14571 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
14572 strong alias of __remainderl.
14573 (dreml): Use long_double_symbol.
14574 * math/Makefile (libm-calls): Remove w_drem.
14575 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
14576 (CFLAGS-nldbl-drem.c): Remove variable.
14577 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14578 * math/w_drem.c: Remove file.
14579 * math/w_dremf.c: Likewise.
14580 * math/w_dreml.c: Likewise.
14581 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14582 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14583 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14584
14585 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14586 * sysdeps/i386/configure: Regenerated.
14587 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14588 * sysdeps/x86_64/configure: Regenerated.
14589
14590 * configure.ac (libc_cv_asm_protected_directive): Remove configure
14591 test.
14592 (libc_cv_visibility_attribute): Likewise.
14593 (libc_cv_protected_data): Test unconditionally.
14594 (libc_cv_broken_visibility_attribute): Remove configure test.
14595 (libc_cv_have_sdata_section): Test unconditionally.
14596 * configure: Regenerated.
14597
14598 * include/libc-internal.h (libc_max_align_t): Remove typedef.
14599 * include/scratch_buffer.h: Include <stddef.h> instead of
14600 <libc-internal.h>.
14601 (struct scratch_buffer): Use max_align_t instead of
14602 libc_max_align_t.
14603
14604 2015-10-29 Florian Weimer <fweimer@redhat.com>
14605
14606 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14607 instead of extend_alloca. Change control flow to avoid a goto.
14608 Remove assert which is trivially always true.
14609
14610 2015-10-28 Joseph Myers <joseph@codesourcery.com>
14611
14612 [BZ #16068]
14613 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14614 (FE_ALL_EXCEPT_X86): New macro.
14615 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14616 FE_ALL_EXCEPT. Ensure precision control is included in
14617 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14618 handle "denormal operand exception" and clear FZ and DAZ bits.
14619 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14620 (FE_ALL_EXCEPT_X86): New macro.
14621 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14622 FE_ALL_EXCEPT. Ensure precision control is included in
14623 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14624 handle "denormal operand exception" and clear FZ and DAZ bits.
14625 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14626 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14627 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14628 test-fenv-x87 and test-fenv-sse-2.
14629 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14630
14631 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14632 * math/test-double.h (BUILD_COMPLEX): New macro.
14633 * math/test-float.h (BUILD_COMPLEX): Likewise.
14634 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14635
14636 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14637 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14638 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14640 instead of DBL_DENORM_MIN in comment.
14641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14642 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14644 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14645 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14646 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14647
14648 2015-10-28 Florian Weimer <fweimer@redhat.com>
14649
14650 [BZ# 19048]
14651 * malloc/malloc.c (struct malloc_state): Update comment. Add
14652 attached_threads member.
14653 (main_arena): Initialize attached_threads.
14654 * malloc/arena.c (list_lock): Update comment.
14655 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14656 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14657 (deattach_arena): New function.
14658 (_int_new_arena): Initialize arena reference count and deattach
14659 replaced arena.
14660 (get_free_list, reused_arena): Update reference count and deattach
14661 replaced arena.
14662 (arena_thread_freeres): Update arena reference count and only put
14663 unreferenced arenas on the free list.
14664
14665 2015-10-28 Joseph Myers <joseph@codesourcery.com>
14666
14667 [BZ #19181]
14668 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14669 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14670 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14671 * math/test-fenv-clear-main.c: New file.
14672 * math/test-fenv-clear.c: Likewise.
14673 * math/Makefile (tests): Add test-fenv-clear.
14674 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14675 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14676 test-fenv-clear-sse.
14677 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14678
14679 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14680 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14681 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14682
14683 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14684
14685 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14686 static libc.
14687
14688 2015-10-28 Joseph Myers <joseph@codesourcery.com>
14689
14690 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14691 test.
14692 * sysdeps/i386/configure: Regenerated.
14693 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14694 test.
14695 * sysdeps/x86_64/configure: Regenerated.
14696 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14698 memset-avx2 unconditionally instead of conditionally on
14699 [$(config-cflags-avx2) = yes].
14700 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14701 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14702 unconditional.
14703 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14704 * sysdeps/x86_64/multiarch/memset_chk.S
14705 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14706 to [IS_IN (libc) && SHARED].
14707
14708 2015-10-27 Joseph Myers <joseph@codesourcery.com>
14709
14710 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14711 configure test.
14712 * sysdeps/arm/configure: Regenerated.
14713 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14714 Define variable if not already defined.
14715
14716 [BZ #17404]
14717 * sysdeps/mips/atomic-machine.h
14718 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14719 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14720 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14721
14722 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14723 unconditional.
14724 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14725 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14726 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14727 unconditional.
14728 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14729 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14730 unconditional.
14731 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14732 * stdlib/setenv.c
14733 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14734 code unconditional.
14735 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14736 Remove conditional code.
14737 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14738 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14739 unconditional.
14740 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14741 code.
14742 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14743 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14744 unconditional.
14745 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14746 code.
14747 * sysdeps/ieee754/ldbl-128/k_tanl.c
14748 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14749 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14750 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14751 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14752 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14753 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14754 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14755 unconditional.
14756 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14757 code.
14758 * sysdeps/ieee754/ldbl-96/k_tanl.c
14759 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14760 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14761
14762 * nptl/tst-initializers1-c11.c: New file.
14763 * nptl/tst-initializers1-gnu11.c: Likewise.
14764 * nptl/Makefile (tests): Add these new tests.
14765 (CFLAGS-tst-initializers1-c11.c): New variable.
14766 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14767
14768 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14769 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14770 instead of -std=gnu99.
14771 * configure.ac (systemtap): Test with -std=gnu11 instead of
14772 -std=gnu99.
14773 * configure: Regenerated.
14774 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14775 in compilation command in comment.
14776
14777 * sysdeps/nptl/configure.ac: Remove file.
14778 * sysdeps/nptl/configure: Remove generated file.
14779 * configure.ac (libc_cv_forced_unwind): Do not substitute.
14780 * configure: Regenerated.
14781 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14782 * config.make.in (have-forced-unwind): Remove variable.
14783 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14784 unconditional.
14785 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14786 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14787 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14788 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14789 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14790 unconditional.
14791
14792 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14793
14794 [BZ #19174]
14795 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14796 .skip_lock_out_of_tbegin_retries.
14797 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14798 (__lll_lock_elision): Likewise, and respect a value of
14799 try_tbegin <= 0.
14800
14801 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14802
14803 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14804 statement.
14805
14806 2015-10-27 Joseph Myers <joseph@codesourcery.com>
14807
14808 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14809 variable.
14810 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14811 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14812
14813 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14814 of -std=c1x -D_ISOC11_SOURCE.
14815
14816 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14817 * configure: Regenerated.
14818 * manual/install.texi (Tools for Compilation): Document
14819 requirement for GCC 4.7 or later.
14820 * INSTALL: Regenerated.
14821
14822 2015-10-27 Ludovic Courtès <ludo@gnu.org>
14823
14824 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14825 on CNT to a conditional jump to 'puntdata'.
14826
14827 2015-10-27 Joseph Myers <joseph@codesourcery.com>
14828
14829 * configure.ac (libc_cv_gcc___thread): Remove configure test.
14830 (libc_cv_gcc_tls_model_attr): Likewise.
14831 * configure: Regenerated.
14832
14833 * configure.ac (libc_cv_need_minus_P): Remove configure test.
14834 * configure: Regenerated.
14835 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14836
14837 2015-10-26 Joseph Myers <joseph@codesourcery.com>
14838
14839 * configure.ac (old_glibc_headers): Remove configure test.
14840 * configure: Regenerated.
14841 * config.make.in (old-glibc-headers): Remove variable.
14842 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14843 (install): Remove dependency on remove-old-headers.
14844 (headers2_0): Remove variable.
14845 (remove-old-headers): Remove rule.
14846
14847 * configure.ac (libc_cv_dot_text): Remove configure test.
14848 (libc_cv_asm_set_directive): Use .text instead of
14849 ${libc_cv_dot_text} in configure test.
14850 * configure: Regenerated.
14851
14852 2015-10-26 Florian Weimer <fweimer@redhat.com>
14853
14854 [BZ #19168]
14855 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14856
14857 2015-10-26 Florian Weimer <fweimer@redhat.com>
14858
14859 * configure.ac (CXX): Clear the variable if the C++ toolchain does
14860 not support static linking.
14861 * configure: Regenerate.
14862
14863 2015-10-23 Joseph Myers <joseph@codesourcery.com>
14864
14865 * math/libm-test.inc (check_float_internal): Do not special-case
14866 errors up to 0.5 ulp.
14867
14868 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14869 log2.
14870 * math/auto-libm-test-out: Regenerated.
14871 * math/libm-test.inc (MAX_EXP): New macro.
14872 (ilogb_test_data): Add more tests.
14873 (isfinite_test_data): Likewise.
14874 (isgreater_test_data): Likewise.
14875 (isgreaterequal_test_data): Likewise.
14876 (isinf_test_data): Likewise.
14877 (isless_test_data): Likewise.
14878 (islessequal_test_data): Likewise.
14879 (islessgreater_test_data): Likewise.
14880 (isnan_test_data): Likewise.
14881 (isnormal_test_data): Likewise.
14882 (issignaling_test_data): Likewise.
14883 (isunordered_test_data): Likewise.
14884 (j0_test_data): Likewise.
14885 (j1_test_data): Likewise.
14886 (jn_test_data): Likewise.
14887 (lgamma_test_data): Likewise.
14888 (log_test_data): Likewise.
14889 (log10_test_data): Likewise.
14890 (log1p_test_data): Likewise.
14891 (log2_test_data): Likewise.
14892 (logb_test_data): Likewise.
14893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14894
14895 [BZ #18611]
14896 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14897 avoid excess range and precision on underflow.
14898 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14899 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14900 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14901 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14902 underflow.
14903 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14904 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14905 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14906 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14907 * math/auto-libm-test-in: Do not allow missing errno setting for
14908 tests of j1 and jn.
14909 * math/auto-libm-test-out: Regenerated.
14910
14911 2015-10-22 Joseph Myers <joseph@codesourcery.com>
14912
14913 [BZ #15491]
14914 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14915 floating-point environment instead of clearing all exceptions.
14916 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14917 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14918 merging in "invalid" exceptions from frndint.
14919 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14920 * math/test-nearbyint-except.c: New file.
14921 * math/Makefile (tests): Add test-nearbyint-except.
14922
14923 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
14924
14925 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14926
14927 * sysdeps/tile/libm-test-ulps: Regenerated.
14928
14929 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14930
14931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14932 (__NR_sync_file_range2): Assume it is always defined.
14933 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14934 (__NR_sync_file_range): Assume it is always defined.
14935
14936 2015-10-22 Andreas Schwab <schwab@suse.de>
14937
14938 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14939 INTERNAL_SYSCALL_ERRNO.
14940 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14941 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14942 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14943 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14944 Likewise.
14945 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14946
14947 2015-10-21 Joseph Myers <joseph@codesourcery.com>
14948
14949 * io/tst-fcntl.c (fd): New static variable.
14950 (do_prepare): Open temporary file here....
14951 (do_test): ...not here.
14952
14953 * io/ftwtest-sh: Also trap on exit to remove temporary files.
14954
14955 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
14956
14957 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14958 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14959 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14960 Moved before "#ifdef __ASSEMBLER__".
14961
14962 2015-10-21 Joseph Myers <joseph@codesourcery.com>
14963
14964 [BZ #19156]
14965 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14966 arguments very close to 0.
14967
14968 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
14969
14970 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14971 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14972
14973 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
14974
14975 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14976 New. Defined for GCC 5 and above when not compiling for
14977 profiling.
14978 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14979
14980 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14981 Renamed to ...
14982 (CFLAGS-epoll_pwait.o): This.
14983 (CFLAGS-mmap.c): Renamed to ...
14984 (CFLAGS-mmap.o): This.
14985 (CFLAGS-mmap64.c): Renamed to ...
14986 (CFLAGS-mmap64.o): This.
14987 (CFLAGS-epoll_pwait.os): New.
14988 (CFLAGS-mmap.os): Likewise.
14989 (CFLAGS-mmap64.os): Likewise.
14990 (CFLAGS-semtimedop.os): Likewise.
14991 (CFLAGS-semtimedop.c): Renamed to ...
14992 (CFLAGS-semtimedop.o): This.
14993
14994 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14995
14996 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14997 warning message.
14998
14999 2015-10-21 Joseph Myers <joseph@codesourcery.com>
15000
15001 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
15002 * Makefile ($(objpfx)c++-types-check.out): Filter out
15003 $(+gccwarn-c) instead of -Wstrict-prototypes.
15004
15005 * io/fts.c (fts_open): Convert to prototype-style function
15006 definition.
15007 * malloc/mcheck.c (mcheck): Likewise.
15008 (mcheck_pedantic): Likewise.
15009 * posix/regexec.c (re_search_2_stub): Likewise. Use
15010 internal_function.
15011 (re_search_internal): Likewise.
15012 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
15013 prototype-style function definition.
15014 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15015 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
15016 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
15017 (xdr_utmpptr): Likewise.
15018 (xdr_utmparr): Likewise.
15019 (xdr_utmpidle): Likewise.
15020 (xdr_utmpidleptr): Likewise.
15021 (xdr_utmpidlearr): Likewise.
15022
15023 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
15024 log, log10 and log2.
15025 * math/auto-libm-test-out: Regenerated.
15026 * math/libm-test.inc (fmod_test_data): Add more tests.
15027 (fpclassify_test_data): Likewise.
15028 (frexp_test_data): Likewise.
15029 (hypot_test_data): Likewise.
15030 (ilogb_test_data): Likewise.
15031
15032 2015-10-20 Joseph Myers <joseph@codesourcery.com>
15033
15034 * debug/fortify_fail.c (__fortify_fail): Convert to
15035 prototype-style function definition. Use internal_function.
15036 * libio/genops.c (save_for_backup): Convert to prototype-style
15037 function definition.
15038 * libio/wgenops.c (save_for_wbackup): Likewise.
15039 * login/grantpt.c (grantpt): Likewise.
15040 * login/ptsname.c (ptsname): Likewise.
15041 (__ptsname_r): Likewise.
15042 * login/unlockpt.c (unlockpt): Likewise.
15043 * mach/msgserver.c (__mach_msg_server): Likewise.
15044 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
15045 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
15046 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
15047 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
15048 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
15049 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
15050 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
15051 Likewise.
15052 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
15053 internal_function.
15054 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
15055 prototype-style function definition.
15056 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
15057 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
15058 (__pthread_create_2_0): Likewise.
15059 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
15060 * nptl/register-atfork.c (__register_atfork): Likewise.
15061 * posix/glob.c (glob): Likewise.
15062 * posix/regcomp.c (re_comp): Likewise.
15063 * posix/regexec.c (re_exec): Likewise.
15064 * stdlib/add_n.c [__STDC__]: Make code unconditional.
15065 [!__STDC__]: Remove conditional code.
15066 * stdlib/cmp.c [__STDC__]: Make code unconditional.
15067 [!__STDC__]: Remove conditional code.
15068 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
15069 [!__STDC__]: Remove conditional code.
15070 * stdlib/divrem.c [__STDC__]: Make code unconditional.
15071 [!__STDC__]: Remove conditional code.
15072 * stdlib/lshift.c [__STDC__]: Make code unconditional.
15073 [!__STDC__]: Remove conditional code.
15074 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
15075 [!__STDC__]: Remove conditional code.
15076 * stdlib/mul.c [__STDC__]: Make code unconditional.
15077 [!__STDC__]: Remove conditional code.
15078 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
15079 [!__STDC__]: Remove conditional code.
15080 * stdlib/rshift.c [__STDC__]: Make code unconditional.
15081 [!__STDC__]: Remove conditional code.
15082 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
15083 function definition.
15084 (STRTOF): Likewise.
15085 * stdlib/strtod_l.c (__STRTOF): Likewise.
15086 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
15087 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
15088 (__strtol_l): Likewise.
15089 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
15090 [!__STDC__]: Remove conditional code.
15091 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
15092 definition.
15093 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
15094 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15095 type.
15096 (__strcasecmp): Convert to prototype-style function definition.
15097 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
15098 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15099 type.
15100 (__strncasecmp): Convert to prototype-style function definition.
15101 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
15102 * sunrpc/xdr.c (xdr_union): Likewise.
15103 * sunrpc/xdr_array.c (xdr_array): Likewise.
15104 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
15105 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
15106 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
15107 Likewise.
15108 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
15109 Likewise.
15110 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
15111 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15112 Likewise.
15113 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
15114 (LOCALE_PARAM_PROTO): Likewise.
15115 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
15116 argument type.
15117 (ut_argument_spec): Remove macro.
15118 (ut_argument_spec_iso): Rename to ut_argument_spec.
15119 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
15120 prototype-style function definition.
15121 (memcpy_uppcase): Likewise.
15122 (__strftime_internal): Likewise.
15123 (my_strftime): Likewise.
15124 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
15125 (LOCALE_PARAM_DECL): Likewise.
15126 [_LIBC] (LOCALE_PARAM): Include argument type.
15127 (__strptime_internal): Convert to prototype-style function
15128 definition.
15129 (strptime): Likewise.
15130 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
15131 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15132 type.
15133 (__wcscasecmp): Convert to prototype-style function definition.
15134 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
15135 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15136 type.
15137 (__wcsncasecmp): Convert to prototype-style function definition.
15138
15139 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
15140 function definition.
15141 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15142 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15143 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
15144 * elf/dl-minimal.c (_itoa): Likewise.
15145 * hurd/hurdmalloc.c (malloc): Likewise.
15146 (free): Likewise.
15147 (realloc): Likewise.
15148 * inet/inet6_option.c (inet6_option_space): Likewise.
15149 (inet6_option_init): Likewise.
15150 (inet6_option_append): Likewise.
15151 (inet6_option_alloc): Likewise.
15152 (inet6_option_next): Likewise.
15153 (inet6_option_find): Likewise.
15154 * io/ftw.c (FTW_NAME): Likewise.
15155 (NFTW_NAME): Likewise.
15156 (NFTW_NEW_NAME): Likewise.
15157 (NFTW_OLD_NAME): Likewise.
15158 * libio/iofwide.c (_IO_fwide): Likewise.
15159 * libio/strops.c (_IO_str_init_static_internal): Likewise.
15160 (_IO_str_init_static): Likewise.
15161 (_IO_str_init_readonly): Likewise.
15162 (_IO_str_overflow): Likewise.
15163 (_IO_str_underflow): Likewise.
15164 (_IO_str_count): Likewise.
15165 (_IO_str_seekoff): Likewise.
15166 (_IO_str_pbackfail): Likewise.
15167 (_IO_str_finish): Likewise.
15168 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
15169 (_IO_wstr_overflow): Likewise.
15170 (_IO_wstr_underflow): Likewise.
15171 (_IO_wstr_count): Likewise.
15172 (_IO_wstr_seekoff): Likewise.
15173 (_IO_wstr_pbackfail): Likewise.
15174 (_IO_wstr_finish): Likewise.
15175 * locale/programs/localedef.c (normalize_codeset): Likewise.
15176 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15177 (add_locales_to_archive): Likewise.
15178 (delete_locales_from_archive): Likewise.
15179 * malloc/malloc.c (__libc_mallinfo): Likewise.
15180 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
15181 * misc/tsearch.c (__tfind): Likewise.
15182 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
15183 * nptl/pthread_attr_getdetachstate.c
15184 (__pthread_attr_getdetachstate): Likewise.
15185 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
15186 Likewise.
15187 * nptl/pthread_attr_getinheritsched.c
15188 (__pthread_attr_getinheritsched): Likewise.
15189 * nptl/pthread_attr_getschedparam.c
15190 (__pthread_attr_getschedparam): Likewise.
15191 * nptl/pthread_attr_getschedpolicy.c
15192 (__pthread_attr_getschedpolicy): Likewise.
15193 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
15194 Likewise.
15195 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
15196 Likewise.
15197 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
15198 Likewise.
15199 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
15200 Likewise.
15201 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
15202 (__pthread_attr_init_2_0): Likewise.
15203 * nptl/pthread_attr_setdetachstate.c
15204 (__pthread_attr_setdetachstate): Likewise.
15205 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
15206 Likewise.
15207 * nptl/pthread_attr_setinheritsched.c
15208 (__pthread_attr_setinheritsched): Likewise.
15209 * nptl/pthread_attr_setschedparam.c
15210 (__pthread_attr_setschedparam): Likewise.
15211 * nptl/pthread_attr_setschedpolicy.c
15212 (__pthread_attr_setschedpolicy): Likewise.
15213 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
15214 Likewise.
15215 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
15216 Likewise.
15217 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
15218 Likewise.
15219 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
15220 Likewise.
15221 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
15222 Likewise.
15223 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
15224 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
15225 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
15226 use internal_function.
15227 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
15228 prototype-style function definition.
15229 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
15230 (__pthread_mutex_cond_lock_adjust): Likewise. Use
15231 internal_function.
15232 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
15233 Convert to prototype-style function definition.
15234 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15235 Likewise.
15236 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
15237 Likewise.
15238 (__pthread_mutex_unlock): Likewise.
15239 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
15240 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
15241 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
15242 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
15243 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
15244 * nss/makedb.c (process_input): Likewise.
15245 * posix/fnmatch.c (__strchrnul): Likewise.
15246 (__wcschrnul): Likewise.
15247 (fnmatch): Likewise.
15248 * posix/fnmatch_loop.c (FCT): Likewise.
15249 * posix/glob.c (globfree): Likewise.
15250 (__glob_pattern_type): Likewise.
15251 (__glob_pattern_p): Likewise.
15252 * posix/regcomp.c (re_compile_pattern): Likewise.
15253 (re_set_syntax): Likewise.
15254 (re_compile_fastmap): Likewise.
15255 (regcomp): Likewise.
15256 (regerror): Likewise.
15257 (regfree): Likewise.
15258 * posix/regexec.c (regexec): Likewise.
15259 (re_match): Likewise.
15260 (re_search): Likewise.
15261 (re_match_2): Likewise.
15262 (re_search_2): Likewise.
15263 (re_search_stub): Likewise. Use internal_function
15264 (re_copy_regs): Likewise.
15265 (re_set_registers): Convert to prototype-style function
15266 definition.
15267 (prune_impossible_nodes): Likewise. Use internal_function.
15268 * resolv/inet_net_pton.c (inet_net_pton): Convert to
15269 prototype-style function definition.
15270 (inet_net_pton_ipv4): Likewise.
15271 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15272 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
15273 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
15274 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
15275 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15276 Make variadic.
15277 * time/strptime_l.c (localtime_r): Convert to prototype-style
15278 function definition.
15279 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15280 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15281 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15282 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15283
15284 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
15285 definition.
15286 (_ufc_doit_r): Likewise.
15287 * crypt/crypt_util.c (_ufc_copymem): Likewise.
15288 (_ufc_output_conversion_r): Likewise.
15289 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
15290 * inet/rcmd.c (rcmd_af): Likewise.
15291 (rcmd): Likewise.
15292 (ruserok_af): Likewise.
15293 (ruserok): Likewise.
15294 (ruserok2_sa): Likewise.
15295 (ruserok_sa): Likewise.
15296 (iruserok_af): Likewise.
15297 (iruserok): Likewise.
15298 (__ivaliduser): Likewise.
15299 (__validuser2_sa): Likewise.
15300 * inet/rexec.c (rexec_af): Likewise.
15301 (rexec): Likewise.
15302 * inet/ruserpass.c (ruserpass): Likewise.
15303 * locale/programs/xmalloc.c (xcalloc): Likewise.
15304 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
15305 * math/w_drem.c (__drem): Likewise.
15306 * math/w_dremf.c (__dremf): Likewise.
15307 * math/w_dreml.c (__dreml): Likewise.
15308 * misc/daemon.c (daemon): Likewise.
15309 * resolv/res_debug.c (p_fqnname): Likewise.
15310 * stdlib/div.c (div): Likewise.
15311 * string/memcmp.c (memcmp_bytes): Likewise.
15312 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
15313 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
15314
15315 * crypt/cert.c (main): Convert to prototype-style function
15316 definition.
15317 * io/pipe.c (__pipe): Likewise.
15318 * io/pipe2.c (__pipe2): Likewise.
15319 * misc/futimesat.c (futimesat): Likewise.
15320 * misc/utimes.c (__utimes): Likewise.
15321 * posix/execve.c (__execve): Likewise.
15322 * posix/execvp.c (execvp): Likewise.
15323 * posix/execvpe.c (__execvpe): Likewise.
15324 * posix/fexecve.c (fexecve): Likewise.
15325 * socket/socketpair.c (socketpair): Likewise.
15326 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15327 * stdlib/erand48.c (erand48): Likewise.
15328 * stdlib/erand48_r.c (__erand48_r): Likewise.
15329 * stdlib/jrand48.c (jrand48): Likewise.
15330 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
15331 * stdlib/lcong48.c (lcong48): Likewise.
15332 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
15333 * stdlib/nrand48.c (nrand48): Likewise.
15334 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
15335 * stdlib/seed48.c (seed48): Likewise.
15336 * stdlib/seed48_r.c (__seed48_r): Likewise.
15337 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
15338 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
15339 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
15340
15341 2015-10-19 Joseph Myers <joseph@codesourcery.com>
15342
15343 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
15344 * configure: Regenerated.
15345 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
15346 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
15347 unconditional.
15348 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15349 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15350 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15351 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
15352 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
15353 unconditional.
15354 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15355
15356 * posix/Makefile (CFLAGS-regex.c): Remove variable.
15357 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
15358
15359 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
15360 function definition.
15361 * crypt/crypt_util.c (__encrypt_r): Likewise.
15362 * libio/genops.c (_IO_no_init): Likewise.
15363 * libio/iofopncook.c (_IO_fopencookie): Likewise.
15364 (_IO_old_fopencookie): Likewise.
15365 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15366 * libio/iogetline.c (_IO_getline): Likewise.
15367 (_IO_getline_info): Likewise.
15368 * libio/iogetwline.c (_IO_getwline): Likewise.
15369 (_IO_getwline_info): Likewise.
15370 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
15371 * libio/vswprintf.c (_IO_vswprintf): Likewise.
15372 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
15373 (find_entry): Likewise.
15374 (iterate_table): Likewise.
15375 (lookup): Likewise.
15376 * login/forkpty.c (forkpty): Likewise.
15377 * misc/hsearch_r.c (__hsearch_r): Likewise.
15378 * misc/select.c (__select): Likewise.
15379 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
15380 Likewise.
15381 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
15382 Likewise.
15383 * nptl/old_pthread_cond_timedwait.c
15384 (__pthread_cond_timedwait_2_0): Likewise.
15385 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
15386 * nptl/pthread_barrierattr_getpshared.c
15387 (pthread_barrierattr_getpshared): Likewise.
15388 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
15389 Likewise.
15390 * nptl/pthread_mutex_setprioceiling.c
15391 (pthread_mutex_setprioceiling): Likewise.
15392 * nptl/pthread_mutexattr_getprioceiling.c
15393 (pthread_mutexattr_getprioceiling): Likewise.
15394 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
15395 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15396 Likewise.
15397 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15398 Likewise.
15399 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
15400 Likewise.
15401 * socket/recvfrom.c (__recvfrom): Likewise.
15402 * socket/sendto.c (__sendto): Likewise.
15403 * socket/setsockopt.c (__setsockopt): Likewise.
15404 * stdio-common/_itoa.c (_itoa): Likewise.
15405 * stdio-common/_itowa.c (_itowa): Likewise.
15406 * stdio-common/reg-printf.c (__register_printf_specifier):
15407 Likewise.
15408 (__register_printf_function): Likewise.
15409 * stdio-common/tempname.c (__path_search): Likewise.
15410 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
15411 * stdlib/mul_1.c (mpn_mul_1): Likewise.
15412 * stdlib/random_r.c (__initstate_r): Likewise.
15413 * stdlib/setenv.c (__add_to_environ): Likewise.
15414 * stdlib/submul_1.c (mpn_submul_1): Likewise.
15415 * streams/getpmsg.c (getpmsg): Likewise.
15416 * streams/putmsg.c (putmsg): Likewise.
15417 * streams/putpmsg.c (putpmsg): Likewise.
15418 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
15419 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
15420 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
15421 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
15422 * sunrpc/pm_getport.c (pmap_getport): Likewise.
15423 * sunrpc/svc_udp.c (cache_get): Likewise.
15424 * sunrpc/xdr_array.c (xdr_vector): Likewise.
15425 * sysdeps/mach/hurd/getcwd.c
15426 (__canonicalize_directory_name_internal): Likewise.
15427 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
15428 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
15429 * sysdeps/mach/hurd/select.c (__select): Likewise.
15430 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
15431 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15432 * sysdeps/sparc/nptl/pthread_barrier_init.c
15433 (__pthread_barrier_init): Likewise.
15434 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
15435 (__pthread_cond_timedwait): Likewise.
15436 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
15437 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
15438 Likewise.
15439 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
15440 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
15441 Likewise.
15442 * sysvipc/semtimedop.c (semtimedop): Likewise.
15443 * time/setitimer.c (__setitimer): Likewise.
15444 * time/strftime_l.c (emacs_strftime): Likewise.
15445
15446 2015-10-19 Mike Frysinger <vapier@gentoo.org>
15447
15448 * config.make.in (have-ssp): Delete.
15449 (stack-protector): New variable.
15450 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
15451 cache test for -fstack-protector-strong. Export stack_protector to
15452 the best ssp flag.
15453 * configure: Regenerated.
15454 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
15455 * nscd/Makefile (CFLAGS-nscd): Likewise.
15456 * resolv/Makefile (CFLAGS-libresolv): Likewise.
15457
15458 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
15459
15460 [BZ #19122]
15461 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
15462 attribute_hidden.
15463
15464 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15465
15466 [BZ #18743]
15467 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
15468 code to...
15469 (ELIDE_LOCK): ...here.
15470 (__get_new_count): New function with part of the code from
15471 __elide_lock that updates the value of adapt_count after a
15472 transaction abort.
15473 (__elided_trylock): Moved this code to...
15474 (ELIDE_TRYLOCK): ...here.
15475
15476 2015-10-19 Mike Frysinger <vapier@gentoo.org>
15477
15478 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
15479 * configure: Regenerate.
15480 * INSTALL: Regenerate.
15481 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
15482 and tweak grammar.
15483
15484 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
15485
15486 * login/programs/pt_chown.c: Include signal.h
15487 (main): Clear any signal mask from the parent process.
15488
15489 2015-10-19 Joseph Myers <joseph@codesourcery.com>
15490
15491 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
15492 * configure: Regenerated.
15493 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
15494 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
15495 $(gnu89-inline-CFLAGS).
15496
15497 * configure.ac (libc_cv_asm_weak_directive): Remove configure
15498 test.
15499 (libc_cv_asm_weakext_directive): Likewise.
15500 * configure: Regenerated.
15501 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
15502 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
15503 * include/libc-symbols.h
15504 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
15505 #error.
15506 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
15507 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
15508
15509 * sysdeps/arm/backtrace.c (__backtrace): Convert to
15510 prototype-style function definition.
15511 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15512 * sysdeps/i386/ffs.c (__ffs): Likewise.
15513 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15514 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
15515 Likewise.
15516 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15517 Likewise.
15518 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15519 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15520 Likewise.
15521 * sysdeps/m68k/ffs.c (__ffs): Likewise.
15522 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
15523 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
15524 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
15525 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
15526 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
15527 * sysdeps/mach/hurd/access.c (__access): Likewise.
15528 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
15529 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
15530 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15531 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
15532 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
15533 (cthread_getspecific): Likewise.
15534 (cthread_setspecific): Likewise.
15535 (__libc_getspecific): Likewise.
15536 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
15537 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
15538 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
15539 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
15540 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
15541 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
15542 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
15543 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
15544 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
15545 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
15546 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
15547 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
15548 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
15549 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
15550 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
15551 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
15552 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
15553 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
15554 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
15555 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
15556 * sysdeps/mach/hurd/link.c (__link): Likewise.
15557 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
15558 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
15559 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15560 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
15561 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15562 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
15563 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
15564 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
15565 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15566 * sysdeps/mach/hurd/rename.c (rename): Likewise.
15567 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
15568 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
15569 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
15570 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
15571 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
15572 * sysdeps/mach/hurd/send.c (__send): Likewise.
15573 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
15574 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
15575 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
15576 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
15577 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15578 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15579 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15580 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15581 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15582 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15583 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15584 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15585 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15586 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15587 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15588 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15589 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15590 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15591 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15592 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15593 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15594 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15595 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15596 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15597 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15598 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15599 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15600 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15601 * sysdeps/posix/alarm.c (alarm): Likewise.
15602 * sysdeps/posix/cuserid.c (cuserid): Likewise.
15603 * sysdeps/posix/dirfd.c (dirfd): Likewise.
15604 * sysdeps/posix/dup.c (__dup): Likewise.
15605 * sysdeps/posix/dup2.c (__dup2): Likewise.
15606 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15607 (main): Likewise.
15608 * sysdeps/posix/flock.c (__flock): Likewise.
15609 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15610 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15611 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15612 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15613 * sysdeps/posix/isatty.c (__isatty): Likewise.
15614 * sysdeps/posix/killpg.c (killpg): Likewise.
15615 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15616 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15617 * sysdeps/posix/raise.c (raise): Likewise.
15618 * sysdeps/posix/remove.c (remove): Likewise.
15619 * sysdeps/posix/rename.c (rename): Likewise.
15620 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15621 * sysdeps/posix/seekdir.c (seekdir): Likewise.
15622 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15623 * sysdeps/posix/sigignore.c (sigignore): Likewise.
15624 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15625 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15626 * sysdeps/posix/sigset.c (sigset): Likewise.
15627 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15628 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15629 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15630 * sysdeps/posix/time.c (time): Likewise.
15631 * sysdeps/posix/ttyname.c (getttyname): Likewise.
15632 (ttyname): Likewise.
15633 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15634 * sysdeps/posix/utime.c (utime): Likewise.
15635 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15636 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15637 Likewise.
15638 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15639 (pthread_spin_trylock): Likewise.
15640 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15641 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15642 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15643 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15644 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15645 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15646 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15647 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15648 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15649 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15650 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15651 * sysdeps/s390/ffs.c (__ffs): Likewise.
15652 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15653 Likewise.
15654 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15655 Likewise.
15656 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15657 Likewise.
15658 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15659 (pthread_barrier_destroy): Likewise.
15660 * sysdeps/sparc/nptl/pthread_barrier_wait.c
15661 (__pthread_barrier_wait): Likewise.
15662 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15663 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15664 (__pthread_barrier_wait): Likewise.
15665 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15666 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15667 (memcmp_not_common_alignment): Likewise.
15668 (MEMCMP): Likewise.
15669 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15670 (_wordcopy_fwd_dest_aligned): Likewise.
15671 (_wordcopy_bwd_aligned): Likewise.
15672 (_wordcopy_bwd_dest_aligned): Likewise.
15673 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15674 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15675 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15676 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15677 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15678 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15679 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15680 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15681 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15682 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15683 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15684 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15685 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15686 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15687 * sysdeps/unix/stime.c (stime): Likewise.
15688 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15689 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15690 Likewise. Use internal_function.
15691 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15692 Convert to prototype-style function definition.
15693 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15694 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15695 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15696 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15697 Likewise. Use internal_function.
15698 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15699 prototype-style function definition
15700 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15701 Likewise.
15702 (__getlogin_r): Likewise.
15703 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15704 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15705 (__pthread_cond_broadcast): Likewise.
15706 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15707 (__pthread_cond_destroy): Likewise.
15708 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15709 (__pthread_cond_init): Likewise.
15710 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15711 (__pthread_cond_signal): Likewise.
15712 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15713 (__pthread_cond_wait): Likewise.
15714 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15715 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15716 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15717 Likewise.
15718 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15719 Likewise.
15720 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15721 Likewise.
15722 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15723 Likewise.
15724 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15726 (__ftruncate64): Likewise.
15727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15728 (truncate64): Likewise.
15729 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15730 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15731 (pthread_getcpuclockid): Likewise.
15732 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15733 Likewise.
15734 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15735 Likewise.
15736 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15737 Likewise.
15738 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15739 Likewise.
15740 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15741 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15742 (__libc_sigaction): Likewise.
15743 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15744 Likewise.
15745 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15746 (__sigprocmask): Likewise.
15747 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15748 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15749 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15750 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15751 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15752 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15753 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15754 Likewise.
15755 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15756 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15757 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15758 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15759 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15760 Likewise.
15761 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15762 (__sigprocmask): Likewise.
15763 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15764 (cfgetispeed): Likewise.
15765 (cfsetospeed): Likewise.
15766 (cfsetispeed): Likewise.
15767 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15768 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15769 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15770 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15771 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15772 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15773 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15774 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15775 Likewise.
15776 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15777 Likewise.
15778 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15779 Likewise.
15780 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15781 Likewise.
15782 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15783
15784 2015-10-17 Florian Weimer <fweimer@redhat.com>
15785
15786 sunrpc: Rewrite with explicit TLS access using __thread.
15787 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15788 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15789 directly.
15790 (__rpc_thread_variables): Access thread_rpc_vars directly.
15791 Eliminate redundant assignment of the tvp variable.
15792
15793 2015-10-17 Florian Weimer <fweimer@redhat.com>
15794
15795 malloc: Rewrite with explicit TLS access using __thread.
15796 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15797 (tsd_setspecific, tsd_getspecific): Remove.
15798 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15799 (tsd_setspecific, tsd_getspecific): Likewise.
15800 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15801 (tsd_setspecific, tsd_getspecific): Likewise.
15802 * malloc/arena.c (thread_arena): New TLS variable.
15803 (arena_key): Remove variable.
15804 (arena_get): Use thread_arena.
15805 (arena_lookup): Remove macro.
15806 (malloc_atfork, free_atfork, ptmalloc_lock_all)
15807 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15808 (_int_new_arena, get_free_list, reused_arena)
15809 (arena_thread_freeres): Use thread_arena.
15810 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15811 tsd_getspecific, tsd_setspecific from safety annotations.
15812 (Allocating Cleared Space): Remove arena_lookup from safety
15813 annotations.
15814
15815 2015-10-17 Florian Weimer <fweimer@redhat.com>
15816
15817 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15818 struct scratch_buffer instead of extend_alloca.
15819
15820 2015-10-17 Florian Weimer <fweimer@redhat.com>
15821
15822 * sysdeps/unix/sysv/linux/kernel-features.h
15823 (__ASSUME_SOCK_CLOEXEC): Remove.
15824 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15825 (__have_paccept): Remove unused macro.
15826 * include/unistd.h (__have_sock_cloexec): Remove declaration.
15827 * misc/syslog.c (openlog_internal): Remove fallback code for
15828 !__ASSUME_SOCK_CLOEXEC.
15829 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15830 missing SOCK_CLOEXEC.
15831 * nscd/connections.c (have_sock_cloexec): Remove definition.
15832 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15833 * nscd/nscd_helper.c (open_socket): Remove fallback code for
15834 !__ASSUME_SOCK_CLOEXEC.
15835 * resolv/res_send.c (__have_o_nonblock): Remove definition.
15836 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15837 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15838 definition.
15839 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15840 code for !__ASSUME_SOCK_CLOEXEC.
15841
15842 2015-10-17 Florian Weimer <fweimer@redhat.com>
15843
15844 [BZ #18982]
15845 * manual/stdio.texi (Variable Arguments Output): Add portability
15846 note, explaining that vfprintf clobbers the va_list pointer.
15847
15848 2015-10-16 Joseph Myers <joseph@codesourcery.com>
15849
15850 * math/libm-test.inc (fabs_test_data): Add more tests.
15851 (fdim_test_data): Likewise.
15852 (fma_test_data): Likewise.
15853 (fmax_test_data): Likewise.
15854 (fmin_test_data): Likewise.
15855 (fmod_test_data): Likewise.
15856
15857 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
15858
15859 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
15860 data.
15861
15862 2015-10-16 Joseph Myers <joseph@codesourcery.com>
15863
15864 * math/libm-test.inc (ceil_test_data): Add more tests and more
15865 expectations for "inexact".
15866 (floor_test_data): Add more tests.
15867 (round_test_data): Likewise.
15868 (trunc_test_data): Likewise.
15869
15870 * crypt/cert.c (good_bye): Convert to prototype-style function
15871 definition.
15872 (get8): Likewise.
15873 (put8): Likewise.
15874 * crypt/crypt-entry.c (crypt): Likewise.
15875 (__fcrypt): Likewise.
15876 * crypt/crypt_util.c (_ufc_prbits): Likewise.
15877 (_ufc_set_bits): Likewise.
15878 (_ufc_clearmem): Likewise.
15879 (__init_des_r): Likewise.
15880 (shuffle_sb): Likewise.
15881 (shuffle_sb): Likewise.
15882 (_ufc_setup_salt_r): Likewise.
15883 (_ufc_mk_keytab_r): Likewise.
15884 (_ufc_dofinalperm_r): Likewise.
15885 (encrypt): Likewise.
15886 (__setkey_r): Likewise.
15887 (setkey): Likewise.
15888 * crypt/md5.c (md5_init_ctx): Likewise.
15889 (md5_read_ctx): Likewise.
15890 (md5_finish_ctx): Likewise.
15891 (md5_stream): Likewise.
15892 (md5_buffer): Likewise.
15893 (md5_process_bytes): Likewise.
15894 * crypt/sha256.c (__sha256_init_ctx): Likewise.
15895 (__sha256_finish_ctx): Likewise.
15896 (__sha256_process_bytes): Likewise.
15897 * crypt/sha512.c (__sha512_init_ctx): Likewise.
15898 (__sha512_finish_ctx): Likewise.
15899 (__sha512_process_bytes): Likewise.
15900 * ctype/isctype.c (__isctype): Likewise.
15901 * debug/backtrace.c (__backtrace): Likewise.
15902 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15903 * debug/fgets_chk.c (__fgets_chk): Likewise.
15904 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15905 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15906 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15907 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15908 * debug/memset_chk.c (__memset_chk): Likewise.
15909 * debug/strcat_chk.c (__strcat_chk): Likewise.
15910 * debug/strncat_chk.c (__strncat_chk): Likewise.
15911 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15912 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15913 * dirent/dirfd.c (dirfd): Likewise.
15914 * dirent/getdents.c (__getdirentries): Likewise.
15915 * dirent/getdents64.c (getdirentries64): Likewise.
15916 * dirent/rewinddir.c (__rewinddir): Likewise.
15917 * dirent/seekdir.c (seekdir): Likewise.
15918 * dirent/telldir.c (telldir): Likewise.
15919 * elf/sln.c (makesymlinks): Likewise.
15920 (makesymlink): Likewise.
15921 * gmon/gmon.c (__moncontrol): Likewise.
15922 (__monstartup): Likewise.
15923 (write_hist): Likewise.
15924 (write_call_graph): Likewise.
15925 (write_bb_counts): Likewise.
15926 * grp/setgroups.c (setgroups): Likewise.
15927 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15928 * inet/inet_net.c (inet_network): Likewise.
15929 * inet/inet_netof.c (inet_netof): Likewise.
15930 * inet/rcmd.c (rresvport_af): Likewise.
15931 (rresvport): Likewise.
15932 * io/access.c (__access): Likewise.
15933 * io/chdir.c (__chdir): Likewise.
15934 * io/chmod.c (__chmod): Likewise.
15935 * io/chown.c (__chown): Likewise.
15936 * io/close.c (__close): Likewise.
15937 * io/creat.c (creat): Likewise.
15938 * io/creat64.c (creat64): Likewise.
15939 * io/dup.c (__dup): Likewise.
15940 * io/dup2.c (__dup2): Likewise.
15941 * io/dup3.c (__dup3): Likewise.
15942 * io/euidaccess.c (__euidaccess): Likewise.
15943 * io/faccessat.c (faccessat): Likewise.
15944 * io/fchmod.c (__fchmod): Likewise.
15945 * io/fchmodat.c (fchmodat): Likewise.
15946 * io/fchown.c (__fchown): Likewise.
15947 * io/fchownat.c (fchownat): Likewise.
15948 * io/fcntl.c (__fcntl): Likewise.
15949 * io/flock.c (__flock): Likewise.
15950 * io/fts.c (fts_load): Likewise.
15951 (fts_close): Likewise.
15952 (fts_read): Likewise.
15953 (fts_set): Likewise.
15954 (fts_children): Likewise.
15955 (fts_build): Likewise.
15956 (fts_stat): Likewise.
15957 (fts_sort): Likewise.
15958 (fts_alloc): Likewise.
15959 (fts_lfree): Likewise.
15960 (fts_palloc): Likewise.
15961 (fts_padjust): Likewise.
15962 (fts_maxarglen): Likewise.
15963 (fts_safe_changedir): Likewise.
15964 * io/getwd.c (getwd): Likewise.
15965 * io/isatty.c (__isatty): Likewise.
15966 * io/lchown.c (__lchown): Likewise.
15967 * io/link.c (__link): Likewise.
15968 * io/linkat.c (linkat): Likewise.
15969 * io/lseek.c (__libc_lseek): Likewise.
15970 * io/mkdir.c (__mkdir): Likewise.
15971 * io/mkdirat.c (mkdirat): Likewise.
15972 * io/mkfifo.c (mkfifo): Likewise.
15973 * io/mkfifoat.c (mkfifoat): Likewise.
15974 * io/open.c (__libc_open): Likewise.
15975 * io/open64.c (__libc_open64): Likewise.
15976 * io/readlink.c (__readlink): Likewise.
15977 * io/readlinkat.c (readlinkat): Likewise.
15978 * io/rmdir.c (__rmdir): Likewise.
15979 * io/symlink.c (__symlink): Likewise.
15980 * io/symlinkat.c (symlinkat): Likewise.
15981 * io/ttyname.c (ttyname): Likewise.
15982 * io/ttyname_r.c (__ttyname_r): Likewise.
15983 * io/umask.c (__umask): Likewise.
15984 * io/unlink.c (__unlink): Likewise.
15985 * io/unlinkat.c (unlinkat): Likewise.
15986 * io/utime.c (utime): Likewise.
15987 * libio/clearerr.c (clearerr): Likewise.
15988 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15989 * libio/feof.c (_IO_feof): Likewise.
15990 * libio/feof_u.c (feof_unlocked): Likewise.
15991 * libio/ferror.c (_IO_ferror): Likewise.
15992 * libio/ferror_u.c (ferror_unlocked): Likewise.
15993 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15994 * libio/fileno.c (__fileno): Likewise.
15995 * libio/fputc.c (fputc): Likewise.
15996 * libio/fputc_u.c (fputc_unlocked): Likewise.
15997 * libio/fputwc.c (fputwc): Likewise.
15998 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15999 * libio/freopen.c (freopen): Likewise.
16000 * libio/freopen64.c (freopen64): Likewise.
16001 * libio/fseek.c (fseek): Likewise.
16002 * libio/fseeko.c (fseeko): Likewise.
16003 * libio/fseeko64.c (fseeko64): Likewise.
16004 * libio/ftello.c (__ftello): Likewise.
16005 * libio/ftello64.c (ftello64): Likewise.
16006 * libio/fwide.c (fwide): Likewise.
16007 * libio/genops.c (_IO_un_link): Likewise.
16008 (_IO_link_in): Likewise.
16009 (_IO_least_marker): Likewise.
16010 (_IO_switch_to_main_get_area): Likewise.
16011 (_IO_switch_to_backup_area): Likewise.
16012 (_IO_switch_to_get_mode): Likewise.
16013 (_IO_free_backup_area): Likewise.
16014 (_IO_switch_to_put_mode): Likewise.
16015 (__overflow): Likewise.
16016 (__underflow): Likewise.
16017 (__uflow): Likewise.
16018 (_IO_setb): Likewise.
16019 (_IO_doallocbuf): Likewise.
16020 (_IO_default_underflow): Likewise.
16021 (_IO_default_uflow): Likewise.
16022 (_IO_default_xsputn): Likewise.
16023 (_IO_sgetn): Likewise.
16024 (_IO_default_xsgetn): Likewise.
16025 (_IO_sync): Likewise.
16026 (_IO_default_setbuf): Likewise.
16027 (_IO_default_seekpos): Likewise.
16028 (_IO_default_doallocate): Likewise.
16029 (_IO_init): Likewise.
16030 (_IO_old_init): Likewise.
16031 (_IO_default_sync): Likewise.
16032 (_IO_default_finish): Likewise.
16033 (_IO_default_seekoff): Likewise.
16034 (_IO_sputbackc): Likewise.
16035 (_IO_sungetc): Likewise.
16036 (_IO_set_column): Likewise.
16037 (_IO_set_column): Likewise.
16038 (_IO_adjust_column): Likewise.
16039 (_IO_get_column): Likewise.
16040 (_IO_init_marker): Likewise.
16041 (_IO_remove_marker): Likewise.
16042 (_IO_marker_difference): Likewise.
16043 (_IO_marker_delta): Likewise.
16044 (_IO_seekmark): Likewise.
16045 (_IO_unsave_markers): Likewise.
16046 (_IO_nobackup_pbackfail): Likewise.
16047 (_IO_default_pbackfail): Likewise.
16048 (_IO_default_seek): Likewise.
16049 (_IO_default_stat): Likewise.
16050 (_IO_default_read): Likewise.
16051 (_IO_default_write): Likewise.
16052 (_IO_default_showmanyc): Likewise.
16053 (_IO_default_imbue): Likewise.
16054 (_IO_iter_next): Likewise.
16055 (_IO_iter_file): Likewise.
16056 * libio/getc.c (_IO_getc): Likewise.
16057 * libio/getwc.c (_IO_getwc): Likewise.
16058 * libio/iofclose.c (_IO_new_fclose): Likewise.
16059 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16060 * libio/iofflush.c (_IO_fflush): Likewise.
16061 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
16062 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
16063 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
16064 * libio/iofgets.c (_IO_fgets): Likewise.
16065 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
16066 * libio/iofgetws.c (fgetws): Likewise.
16067 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16068 * libio/iofopen64.c (_IO_fopen64): Likewise.
16069 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16070 (_IO_cookie_write): Likewise.
16071 (_IO_cookie_seek): Likewise.
16072 (_IO_cookie_close): Likewise.
16073 (_IO_cookie_seekoff): Likewise.
16074 (_IO_old_cookie_seek): Likewise.
16075 * libio/iofputs.c (_IO_fputs): Likewise.
16076 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
16077 * libio/iofputws.c (fputws): Likewise.
16078 * libio/iofputws_u.c (fputws_unlocked): Likewise.
16079 * libio/iofread.c (_IO_fread): Likewise.
16080 * libio/iofread_u.c (__fread_unlocked): Likewise.
16081 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
16082 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
16083 * libio/ioftell.c (_IO_ftell): Likewise.
16084 * libio/iofwrite.c (_IO_fwrite): Likewise.
16085 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16086 * libio/iogets.c (_IO_gets): Likewise.
16087 * libio/iopadn.c (_IO_padn): Likewise.
16088 * libio/iopopen.c (_IO_new_proc_open): Likewise.
16089 (_IO_new_popen): Likewise.
16090 (_IO_new_proc_close): Likewise.
16091 * libio/ioputs.c (_IO_puts): Likewise.
16092 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
16093 (_IO_seekoff): Likewise.
16094 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
16095 (_IO_seekpos): Likewise.
16096 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
16097 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
16098 * libio/ioungetc.c (_IO_ungetc): Likewise.
16099 * libio/ioungetwc.c (ungetwc): Likewise.
16100 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16101 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
16102 * libio/iowpadn.c (_IO_wpadn): Likewise.
16103 * libio/libc_fatal.c (__libc_fatal): Likewise.
16104 * libio/memstream.c (__open_memstream): Likewise.
16105 (_IO_mem_sync): Likewise.
16106 (_IO_mem_finish): Likewise.
16107 * libio/oldfileops.c (_IO_old_file_init): Likewise.
16108 (_IO_old_file_close_it): Likewise.
16109 (_IO_old_file_finish): Likewise.
16110 (_IO_old_file_fopen): Likewise.
16111 (_IO_old_file_attach): Likewise.
16112 (_IO_old_file_setbuf): Likewise.
16113 (_IO_old_do_write): Likewise.
16114 (old_do_write): Likewise.
16115 (_IO_old_file_underflow): Likewise.
16116 (_IO_old_file_overflow): Likewise.
16117 (_IO_old_file_sync): Likewise.
16118 (_IO_old_file_seekoff): Likewise.
16119 (_IO_old_file_write): Likewise.
16120 (_IO_old_file_xsputn): Likewise.
16121 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
16122 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16123 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
16124 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
16125 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16126 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
16127 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
16128 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
16129 (_IO_old_popen): Likewise.
16130 (_IO_old_proc_close): Likewise.
16131 * libio/oldpclose.c (__old_pclose): Likewise.
16132 * libio/pclose.c (__new_pclose): Likewise.
16133 * libio/peekc.c (_IO_peekc_locked): Likewise.
16134 * libio/putc.c (_IO_putc): Likewise.
16135 * libio/putc_u.c (putc_unlocked): Likewise.
16136 * libio/putchar.c (putchar): Likewise.
16137 * libio/putchar_u.c (putchar_unlocked): Likewise.
16138 * libio/putwc.c (putwc): Likewise.
16139 * libio/putwc_u.c (putwc_unlocked): Likewise.
16140 * libio/putwchar.c (putwchar): Likewise.
16141 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
16142 * libio/rewind.c (rewind): Likewise.
16143 * libio/setbuf.c (setbuf): Likewise.
16144 * libio/setlinebuf.c (setlinebuf): Likewise.
16145 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16146 * libio/vscanf.c (_IO_vscanf): Likewise.
16147 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
16148 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
16149 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16150 * libio/wgenops.c (_IO_least_wmarker): Likewise.
16151 (_IO_switch_to_main_wget_area): Likewise.
16152 (_IO_switch_to_wbackup_area): Likewise.
16153 (_IO_wsetb): Likewise.
16154 (_IO_wdefault_pbackfail): Likewise.
16155 (_IO_wdefault_finish): Likewise.
16156 (_IO_wdefault_uflow): Likewise.
16157 (__woverflow): Likewise.
16158 (__wuflow): Likewise.
16159 (__wunderflow): Likewise.
16160 (_IO_wdefault_xsputn): Likewise.
16161 (_IO_wdefault_xsgetn): Likewise.
16162 (_IO_wdoallocbuf): Likewise.
16163 (_IO_wdefault_doallocate): Likewise.
16164 (_IO_switch_to_wget_mode): Likewise.
16165 (_IO_free_wbackup_area): Likewise.
16166 (_IO_switch_to_wput_mode): Likewise.
16167 (_IO_sputbackwc): Likewise.
16168 (_IO_sungetwc): Likewise.
16169 (_IO_adjust_wcolumn): Likewise.
16170 (_IO_init_wmarker): Likewise.
16171 (_IO_wmarker_delta): Likewise.
16172 (_IO_seekwmark): Likewise.
16173 (_IO_unsave_wmarkers): Likewise.
16174 * libio/wmemstream.c (open_wmemstream): Likewise.
16175 (_IO_wmem_sync): Likewise.
16176 (_IO_wmem_finish): Likewise.
16177 * locale/nl_langinfo.c (nl_langinfo): Likewise.
16178 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
16179 * locale/programs/simple-hash.c (init_hash): Likewise.
16180 (delete_hash): Likewise.
16181 (insert_entry): Likewise.
16182 (set_entry): Likewise.
16183 (next_prime): Likewise.
16184 (is_prime): Likewise.
16185 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
16186 (xmalloc): Likewise.
16187 (xrealloc): Likewise.
16188 * locale/programs/xstrdup.c (xstrdup): Likewise.
16189 * localedata/collate-test.c (xstrcoll): Likewise.
16190 * localedata/xfrm-test.c (xstrcmp): Likewise.
16191 * login/getlogin_r.c (__getlogin_r): Likewise.
16192 * login/getpt.c (__posix_openpt): Likewise.
16193 * login/login_tty.c (login_tty): Likewise.
16194 * login/setlogin.c (setlogin): Likewise.
16195 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
16196 (mach_msg_destroy_port): Likewise.
16197 (mach_msg_destroy_memory): Likewise.
16198 * malloc/mcheck.c (flood): Likewise.
16199 * misc/acct.c (acct): Likewise.
16200 * misc/brk.c (__brk): Likewise.
16201 * misc/chflags.c (chflags): Likewise.
16202 * misc/chroot.c (chroot): Likewise.
16203 * misc/fchflags.c (fchflags): Likewise.
16204 * misc/fstab.c (getfsspec): Likewise.
16205 (getfsfile): Likewise.
16206 * misc/fsync.c (fsync): Likewise.
16207 * misc/ftruncate.c (__ftruncate): Likewise.
16208 * misc/ftruncate64.c (__ftruncate64): Likewise.
16209 * misc/getdomain.c (getdomainname): Likewise.
16210 (getdomainname): Likewise.
16211 * misc/gethostname.c (__gethostname): Likewise.
16212 * misc/getpass.c (getpass): Likewise.
16213 * misc/getttyent.c (skip): Likewise.
16214 (value): Likewise.
16215 * misc/gtty.c (gtty): Likewise.
16216 * misc/hsearch.c (hsearch): Likewise.
16217 (hcreate): Likewise.
16218 * misc/hsearch_r.c (__hcreate_r): Likewise.
16219 (__hdestroy_r): Likewise.
16220 * misc/ioctl.c (__ioctl): Likewise.
16221 * misc/mkdtemp.c (mkdtemp): Likewise.
16222 * misc/mkostemp.c (mkostemp): Likewise.
16223 * misc/mkostemp64.c (mkostemp64): Likewise.
16224 * misc/mkostemps.c (mkostemps): Likewise.
16225 * misc/mkostemps64.c (mkostemps64): Likewise.
16226 * misc/mkstemp.c (mkstemp): Likewise.
16227 * misc/mkstemp64.c (mkstemp64): Likewise.
16228 * misc/mkstemps.c (mkstemps): Likewise.
16229 * misc/mkstemps64.c (mkstemps64): Likewise.
16230 * misc/mktemp.c (__mktemp): Likewise.
16231 * misc/preadv.c (preadv): Likewise.
16232 * misc/preadv64.c (preadv64): Likewise.
16233 * misc/pwritev.c (pwritev): Likewise.
16234 * misc/pwritev64.c (pwritev64): Likewise.
16235 * misc/readv.c (__readv): Likewise.
16236 * misc/revoke.c (revoke): Likewise.
16237 * misc/setdomain.c (setdomainname): Likewise.
16238 * misc/setegid.c (setegid): Likewise.
16239 * misc/seteuid.c (seteuid): Likewise.
16240 * misc/sethostid.c (sethostid): Likewise.
16241 * misc/sethostname.c (sethostname): Likewise.
16242 * misc/setregid.c (__setregid): Likewise.
16243 * misc/setreuid.c (__setreuid): Likewise.
16244 * misc/sstk.c (sstk): Likewise.
16245 * misc/stty.c (stty): Likewise.
16246 * misc/syscall.c (syscall): Likewise.
16247 * misc/syslog.c (setlogmask): Likewise.
16248 * misc/truncate.c (__truncate): Likewise.
16249 * misc/truncate64.c (truncate64): Likewise.
16250 * misc/ualarm.c (ualarm): Likewise.
16251 * misc/usleep.c (usleep): Likewise.
16252 * misc/ustat.c (ustat): Likewise.
16253 * misc/writev.c (__writev): Likewise.
16254 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
16255 * nptl/old_pthread_cond_broadcast.c
16256 (__pthread_cond_broadcast_2_0): Likewise.
16257 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
16258 Likewise.
16259 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
16260 Likewise.
16261 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
16262 Likewise.
16263 * nptl/pt-raise.c (raise): Likewise.
16264 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
16265 Likewise.
16266 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
16267 * nptl/pthread_barrierattr_destroy.c
16268 (pthread_barrierattr_destroy): Likewise.
16269 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
16270 Likewise.
16271 * nptl/pthread_barrierattr_setpshared.c
16272 (pthread_barrierattr_setpshared): Likewise.
16273 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16274 Likewise.
16275 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
16276 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
16277 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
16278 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
16279 Likewise.
16280 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
16281 Likewise.
16282 * nptl/pthread_condattr_getpshared.c
16283 (pthread_condattr_getpshared): Likewise.
16284 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
16285 Likewise.
16286 * nptl/pthread_condattr_setpshared.c
16287 (pthread_condattr_setpshared): Likewise.
16288 * nptl/pthread_detach.c (pthread_detach): Likewise.
16289 * nptl/pthread_equal.c (__pthread_equal): Likewise.
16290 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
16291 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
16292 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
16293 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
16294 Likewise.
16295 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
16296 Likewise.
16297 * nptl/pthread_mutex_getprioceiling.c
16298 (pthread_mutex_getprioceiling): Likewise.
16299 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
16300 Likewise.
16301 * nptl/pthread_mutexattr_getprotocol.c
16302 (pthread_mutexattr_getprotocol): Likewise.
16303 * nptl/pthread_mutexattr_getpshared.c
16304 (pthread_mutexattr_getpshared): Likewise.
16305 * nptl/pthread_mutexattr_getrobust.c
16306 (pthread_mutexattr_getrobust): Likewise.
16307 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16308 Likewise.
16309 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
16310 Likewise.
16311 * nptl/pthread_mutexattr_setprioceiling.c
16312 (pthread_mutexattr_setprioceiling): Likewise.
16313 * nptl/pthread_mutexattr_setprotocol.c
16314 (pthread_mutexattr_setprotocol): Likewise.
16315 * nptl/pthread_mutexattr_setpshared.c
16316 (pthread_mutexattr_setpshared): Likewise.
16317 * nptl/pthread_mutexattr_setrobust.c
16318 (pthread_mutexattr_setrobust): Likewise.
16319 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
16320 Likewise.
16321 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
16322 Likewise.
16323 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
16324 Likewise.
16325 * nptl/pthread_rwlockattr_getkind_np.c
16326 (pthread_rwlockattr_getkind_np): Likewise.
16327 * nptl/pthread_rwlockattr_getpshared.c
16328 (pthread_rwlockattr_getpshared): Likewise.
16329 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
16330 Likewise.
16331 * nptl/pthread_rwlockattr_setkind_np.c
16332 (pthread_rwlockattr_setkind_np): Likewise.
16333 * nptl/pthread_rwlockattr_setpshared.c
16334 (pthread_rwlockattr_setpshared): Likewise.
16335 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
16336 Likewise.
16337 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
16338 Likewise.
16339 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
16340 Likewise.
16341 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
16342 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
16343 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
16344 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
16345 * nptl/sem_close.c (sem_close): Likewise.
16346 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
16347 * nptl/sem_init.c (__old_sem_init): Likewise.
16348 * nptl/sigaction.c (__sigaction): Likewise.
16349 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16350 * posix/_exit.c (_exit): Likewise.
16351 * posix/alarm.c (alarm): Likewise.
16352 * posix/confstr.c (confstr): Likewise.
16353 * posix/fpathconf.c (__fpathconf): Likewise.
16354 * posix/getgroups.c (__getgroups): Likewise.
16355 * posix/getpgid.c (__getpgid): Likewise.
16356 * posix/group_member.c (__group_member): Likewise.
16357 * posix/pathconf.c (__pathconf): Likewise.
16358 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
16359 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
16360 * posix/setgid.c (__setgid): Likewise.
16361 * posix/setpgid.c (__setpgid): Likewise.
16362 * posix/setuid.c (__setuid): Likewise.
16363 * posix/sleep.c (__sleep): Likewise.
16364 * posix/sysconf.c (__sysconf): Likewise.
16365 * posix/times.c (__times): Likewise.
16366 * posix/uname.c (__uname): Likewise.
16367 * posix/waitid.c (__waitid): Likewise.
16368 * pwd/getpw.c (__getpw): Likewise.
16369 * resolv/base64.c (b64_pton): Likewise.
16370 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
16371 * resolv/gethnamaddr.c (Dprintf): Likewise.
16372 (gethostbyname): Likewise.
16373 (gethostbyname2): Likewise.
16374 (gethostbyaddr): Likewise.
16375 (_sethtent): Likewise.
16376 (_gethtbyname): Likewise.
16377 (_gethtbyname2): Likewise.
16378 (_gethtbyaddr): Likewise.
16379 (map_v4v6_address): Likewise.
16380 (map_v4v6_hostent): Likewise.
16381 (addrsort): Likewise.
16382 (ht_sethostent): Likewise.
16383 (ht_gethostbyname): Likewise.
16384 (ht_gethostbyaddr): Likewise.
16385 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
16386 (inet_net_ntop_ipv4): Likewise.
16387 * resolv/inet_neta.c (inet_neta): Likewise.
16388 * resolv/inet_ntop.c (inet_ntop): Likewise.
16389 (inet_ntop4): Likewise.
16390 (inet_ntop6): Likewise.
16391 * resolv/inet_pton.c (__inet_pton): Likewise.
16392 (inet_pton4): Likewise.
16393 (inet_pton6): Likewise.
16394 * resolv/res_debug.c (loc_aton): Likewise.
16395 (loc_ntoa): Likewise.
16396 * resource/getpriority.c (__getpriority): Likewise.
16397 * resource/getrusage.c (__getrusage): Likewise.
16398 * resource/nice.c (nice): Likewise.
16399 * resource/setpriority.c (__setpriority): Likewise.
16400 * resource/setrlimit64.c (setrlimit64): Likewise.
16401 * resource/vlimit.c (vlimit): Likewise.
16402 * resource/vtimes.c (vtimes): Likewise.
16403 * rt/aio_error.c (aio_error): Likewise.
16404 * rt/aio_return.c (aio_return): Likewise.
16405 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
16406 * signal/kill.c (__kill): Likewise.
16407 * signal/killpg.c (killpg): Likewise.
16408 * signal/raise.c (raise): Likewise.
16409 * signal/sigaction.c (__sigaction): Likewise.
16410 * signal/sigaddset.c (sigaddset): Likewise.
16411 * signal/sigaltstack.c (sigaltstack): Likewise.
16412 * signal/sigandset.c (sigandset): Likewise.
16413 * signal/sigblock.c (__sigblock): Likewise.
16414 * signal/sigdelset.c (sigdelset): Likewise.
16415 * signal/sigempty.c (sigemptyset): Likewise.
16416 * signal/sigfillset.c (sigfillset): Likewise.
16417 * signal/sighold.c (sighold): Likewise.
16418 * signal/sigignore.c (sigignore): Likewise.
16419 * signal/sigintr.c (siginterrupt): Likewise.
16420 * signal/sigisempty.c (sigisemptyset): Likewise.
16421 * signal/sigismem.c (sigismember): Likewise.
16422 * signal/signal.c (signal): Likewise.
16423 * signal/sigorset.c (sigorset): Likewise.
16424 * signal/sigpause.c (__sigpause): Likewise.
16425 * signal/sigpending.c (sigpending): Likewise.
16426 * signal/sigprocmask.c (__sigprocmask): Likewise.
16427 * signal/sigrelse.c (sigrelse): Likewise.
16428 * signal/sigreturn.c (__sigreturn): Likewise.
16429 * signal/sigset.c (sigset): Likewise.
16430 * signal/sigsetmask.c (__sigsetmask): Likewise.
16431 * signal/sigstack.c (sigstack): Likewise.
16432 * signal/sigsuspend.c (__sigsuspend): Likewise.
16433 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
16434 * signal/sysv_signal.c (__sysv_signal): Likewise.
16435 * socket/accept.c (accept): Likewise.
16436 * socket/accept4.c (__libc_accept4): Likewise.
16437 * socket/bind.c (__bind): Likewise.
16438 * socket/connect.c (__connect): Likewise.
16439 * socket/getpeername.c (getpeername): Likewise.
16440 * socket/getsockname.c (__getsockname): Likewise.
16441 * socket/getsockopt.c (getsockopt): Likewise.
16442 * socket/listen.c (__listen): Likewise.
16443 * socket/recv.c (__recv): Likewise.
16444 * socket/recvmsg.c (__recvmsg): Likewise.
16445 * socket/send.c (__send): Likewise.
16446 * socket/sendmsg.c (__sendmsg): Likewise.
16447 * socket/shutdown.c (shutdown): Likewise.
16448 * socket/sockatmark.c (sockatmark): Likewise.
16449 * socket/socket.c (__socket): Likewise.
16450 * stdio-common/ctermid.c (ctermid): Likewise.
16451 * stdio-common/cuserid.c (cuserid): Likewise.
16452 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
16453 * stdio-common/remove.c (remove): Likewise.
16454 * stdio-common/rename.c (rename): Likewise.
16455 * stdio-common/renameat.c (renameat): Likewise.
16456 * stdio-common/tempname.c (__gen_tempname): Likewise.
16457 * stdio-common/xbug.c (InitBuffer): Likewise.
16458 (AppendToBuffer): Likewise.
16459 (ReadFile): Likewise.
16460 * stdlib/a64l.c (a64l): Likewise.
16461 * stdlib/drand48_r.c (drand48_r): Likewise.
16462 * stdlib/getcontext.c (getcontext): Likewise.
16463 * stdlib/getenv.c (getenv): Likewise.
16464 * stdlib/l64a.c (l64a): Likewise.
16465 * stdlib/llabs.c (llabs): Likewise.
16466 * stdlib/lldiv.c (lldiv): Likewise.
16467 * stdlib/lrand48_r.c (lrand48_r): Likewise.
16468 * stdlib/mrand48_r.c (mrand48_r): Likewise.
16469 * stdlib/putenv.c (putenv): Likewise.
16470 * stdlib/random.c (__srandom): Likewise.
16471 (__initstate): Likewise.
16472 (__setstate): Likewise.
16473 * stdlib/random_r.c (__srandom_r): Likewise.
16474 (__setstate_r): Likewise.
16475 (__random_r): Likewise.
16476 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
16477 * stdlib/setcontext.c (setcontext): Likewise.
16478 * stdlib/setenv.c (setenv): Likewise.
16479 (unsetenv): Likewise.
16480 * stdlib/srand48.c (srand48): Likewise.
16481 * stdlib/srand48_r.c (__srand48_r): Likewise.
16482 * stdlib/swapcontext.c (swapcontext): Likewise.
16483 * stdlib/system.c (__libc_system): Likewise.
16484 * stdlib/tst-strtod.c (expand): Likewise.
16485 * stdlib/tst-strtol.c (expand): Likewise.
16486 * stdlib/tst-strtoll.c (expand): Likewise.
16487 * streams/fattach.c (fattach): Likewise.
16488 * streams/fdetach.c (fdetach): Likewise.
16489 * streams/getmsg.c (getmsg): Likewise.
16490 * streams/isastream.c (isastream): Likewise.
16491 * string/ffs.c (__ffs): Likewise.
16492 * string/ffsll.c (ffsll): Likewise.
16493 * string/memcmp.c (memcmp_common_alignment): Likewise.
16494 (memcmp_not_common_alignment): Likewise.
16495 (MEMCMP): Likewise.
16496 * string/memcpy.c (memcpy): Likewise.
16497 * string/memmove.c (MEMMOVE): Likewise.
16498 * string/memset.c (memset): Likewise.
16499 * string/rawmemchr.c (RAWMEMCHR): Likewise.
16500 * string/strchrnul.c (STRCHRNUL): Likewise.
16501 * string/strerror.c (strerror): Likewise.
16502 * string/strndup.c (__strndup): Likewise.
16503 * string/strverscmp.c (__strverscmp): Likewise.
16504 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
16505 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
16506 (clnttcp_freeres): Likewise.
16507 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
16508 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
16509 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
16510 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
16511 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
16512 (xdr_callhdr): Likewise.
16513 * sunrpc/rpcinfo.c (udpping): Likewise.
16514 (tcpping): Likewise.
16515 (pstatus): Likewise.
16516 (pmapdump): Likewise.
16517 (brdcst): Likewise.
16518 (deletereg): Likewise.
16519 (getprognum): Likewise.
16520 (getvers): Likewise.
16521 (get_inet_address): Likewise.
16522 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
16523 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16524 (svcudp_stat): Likewise.
16525 (svcudp_recv): Likewise.
16526 (svcudp_reply): Likewise.
16527 (svcudp_getargs): Likewise.
16528 (svcudp_freeargs): Likewise.
16529 (svcudp_destroy): Likewise.
16530 * sunrpc/xdr.c (xdr_bytes): Likewise.
16531 (xdr_netobj): Likewise.
16532 (xdr_string): Likewise.
16533 (xdr_wrapstring): Likewise.
16534 * sunrpc/xdr_float.c (xdr_float): Likewise.
16535 (xdr_double): Likewise.
16536 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
16537 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
16538 * sysvipc/ftok.c (ftok): Likewise.
16539 * sysvipc/msgctl.c (msgctl): Likewise.
16540 * sysvipc/msgget.c (msgget): Likewise.
16541 * sysvipc/msgrcv.c (msgrcv): Likewise.
16542 * sysvipc/msgsnd.c (msgsnd): Likewise.
16543 * sysvipc/semget.c (semget): Likewise.
16544 * sysvipc/semop.c (semop): Likewise.
16545 * sysvipc/shmat.c (shmat): Likewise.
16546 * sysvipc/shmctl.c (shmctl): Likewise.
16547 * sysvipc/shmdt.c (shmdt): Likewise.
16548 * sysvipc/shmget.c (shmget): Likewise.
16549 * termios/cfmakeraw.c (cfmakeraw): Likewise.
16550 * termios/speed.c (cfgetospeed): Likewise.
16551 (cfgetispeed): Likewise.
16552 (cfsetospeed): Likewise.
16553 (cfsetispeed): Likewise.
16554 * termios/tcflow.c (tcflow): Likewise.
16555 * termios/tcflush.c (tcflush): Likewise.
16556 * termios/tcgetattr.c (__tcgetattr): Likewise.
16557 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
16558 * termios/tcgetsid.c (tcgetsid): Likewise.
16559 * termios/tcsendbrk.c (tcsendbreak): Likewise.
16560 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
16561 * time/adjtime.c (__adjtime): Likewise.
16562 * time/dysize.c (dysize): Likewise.
16563 * time/ftime.c (ftime): Likewise.
16564 * time/getitimer.c (__getitimer): Likewise.
16565 * time/gettimeofday.c (__gettimeofday): Likewise.
16566 * time/gmtime.c (__gmtime_r): Likewise.
16567 (gmtime): Likewise.
16568 * time/localtime.c (__localtime_r): Likewise.
16569 (localtime): Likewise.
16570 * time/offtime.c (__offtime): Likewise.
16571 * time/settimeofday.c (__settimeofday): Likewise.
16572 * time/stime.c (stime): Likewise.
16573 * time/strftime_l.c (tm_diff): Likewise.
16574 (iso_week_days): Likewise.
16575 * time/strptime.c (strptime): Likewise.
16576 * time/time.c (time): Likewise.
16577 * time/timespec_get.c (timespec_get): Likewise.
16578 * time/tzset.c (tzset_internal): Likewise.
16579 (compute_change): Likewise.
16580 (__tz_compute): Likewise.
16581 * wcsmbs/btowc.c (__btowc): Likewise.
16582 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16583 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16584 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16585 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16586 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16587 * wcsmbs/wcscat.c (__wcscat): Likewise.
16588 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16589 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16590 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16591 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16592 * wcsmbs/wcsdup.c (wcsdup): Likewise.
16593 * wcsmbs/wcslen.c (__wcslen): Likewise.
16594 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16595 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16596 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16597 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16598 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16599 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16600 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16601 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16602 * wcsmbs/wcstok.c (wcstok): Likewise.
16603 * wcsmbs/wctob.c (wctob): Likewise.
16604 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16605 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16606 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16607 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16608 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16609 * wcsmbs/wmemset.c (__wmemset): Likewise.
16610 * wctype/wcfuncs.c (__towlower): Likewise.
16611 (__towupper): Likewise.
16612
16613 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16614 (lll_unlock_elision): Add adapt_count parameter.
16615
16616 2015-10-15 Joseph Myers <joseph@codesourcery.com>
16617
16618 * sysdeps/nptl/configure.ac: Do not give errors based on the
16619 results of top-level configure tests.
16620 * sysdeps/nptl/configure: Regenerated.
16621
16622 * configure.ac (libc_cv_Bgroup): Remove configure test.
16623 * configure: Regenerated.
16624 * config.make.in (have-Bgroup): Remove variable.
16625
16626 * configure.ac (sizeof_long_double): Remove configure test.
16627 * configure: Regenerated.
16628 * config.make.in (sizeof-long-double): Remove variable.
16629
16630 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16631 * configure: Regenerated.
16632 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16633 variable.
16634 (exceptions): Likewise.
16635 * sysdeps/arm/configure: Regenerated.
16636 * config.make.in (exceptions): Remove variable.
16637 * Makeconfig (uses-callbacks): Use -fexceptions instead of
16638 $(exceptions).
16639 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16640 (CFLAGS-vdprintf_chk.c): Likewise.
16641 (CFLAGS-printf_chk.c): Likewise.
16642 (CFLAGS-fprintf_chk.c): Likewise.
16643 (CFLAGS-vprintf_chk.c): Likewise.
16644 (CFLAGS-vfprintf_chk.c): Likewise.
16645 (CFLAGS-gets_chk.c): Likewise.
16646 (CFLAGS-fgets_chk.c): Likewise.
16647 (CFLAGS-fgets_u_chk.c): Likewise.
16648 (CFLAGS-fread_chk.c): Likewise.
16649 (CFLAGS-fread_u_chk.c): Likewise.
16650 (CFLAGS-wprintf_chk.c): Likewise.
16651 (CFLAGS-fwprintf_chk.c): Likewise.
16652 (CFLAGS-vwprintf_chk.c): Likewise.
16653 (CFLAGS-vfwprintf_chk.c): Likewise.
16654 (CFLAGS-fgetws_chk.c): Likewise.
16655 (CFLAGS-fgetws_u_chk.c): Likewise.
16656 * libio/Makefile (CFLAGS-fileops.c): Likewise.
16657 (CFLAGS-fputc.c): Likewise.
16658 (CFLAGS-fputwc.c): Likewise.
16659 (CFLAGS-freopen64.c): Likewise.
16660 (CFLAGS-freopen.c): Likewise.
16661 (CFLAGS-fseek.c): Likewise.
16662 (CFLAGS-fseeko64.c): Likewise.
16663 (CFLAGS-fseeko.c): Likewise.
16664 (CFLAGS-ftello64.c): Likewise.
16665 (CFLAGS-ftello.c): Likewise.
16666 (CFLAGS-fwide.c): Likewise.
16667 (CFLAGS-genops.c): Likewise.
16668 (CFLAGS-getc.c): Likewise.
16669 (CFLAGS-getchar.c): Likewise.
16670 (CFLAGS-getwc.c): Likewise.
16671 (CFLAGS-getwchar.c): Likewise.
16672 (CFLAGS-iofclose.c): Likewise.
16673 (CFLAGS-iofflush.c): Likewise.
16674 (CFLAGS-iofgetpos64.c): Likewise.
16675 (CFLAGS-iofgetpos.c): Likewise.
16676 (CFLAGS-iofgets.c): Likewise.
16677 (CFLAGS-iofgetws.c): Likewise.
16678 (CFLAGS-iofputs.c): Likewise.
16679 (CFLAGS-iofputws.c): Likewise.
16680 (CFLAGS-iofread.c): Likewise.
16681 (CFLAGS-iofsetpos64.c): Likewise.
16682 (CFLAGS-iofsetpos.c): Likewise.
16683 (CFLAGS-ioftell.c): Likewise.
16684 (CFLAGS-iofwrite.c): Likewise.
16685 (CFLAGS-iogetdelim.c): Likewise.
16686 (CFLAGS-iogetline.c): Likewise.
16687 (CFLAGS-iogets.c): Likewise.
16688 (CFLAGS-iogetwline.c): Likewise.
16689 (CFLAGS-ioputs.c): Likewise.
16690 (CFLAGS-ioseekoff.c): Likewise.
16691 (CFLAGS-ioseekpos.c): Likewise.
16692 (CFLAGS-iosetbuffer.c): Likewise.
16693 (CFLAGS-iosetvbuf.c): Likewise.
16694 (CFLAGS-ioungetc.c): Likewise.
16695 (CFLAGS-ioungetwc.c): Likewise.
16696 (CFLAGS-oldfileops.c): Likewise.
16697 (CFLAGS-oldiofclose.c): Likewise.
16698 (CFLAGS-oldiofgetpos64.c): Likewise.
16699 (CFLAGS-oldiofgetpos.c): Likewise.
16700 (CFLAGS-oldiofsetpos64.c): Likewise.
16701 (CFLAGS-oldiofsetpos.c): Likewise.
16702 (CFLAGS-peekc.c): Likewise.
16703 (CFLAGS-putc.c): Likewise.
16704 (CFLAGS-putchar.c): Likewise.
16705 (CFLAGS-putwc.c): Likewise.
16706 (CFLAGS-putwchar.c): Likewise.
16707 (CFLAGS-rewind.c): Likewise.
16708 (CFLAGS-wfileops.c): Likewise.
16709 (CFLAGS-wgenops.c): Likewise.
16710 (CFLAGS-oldiofopen.c): Likewise.
16711 (CFLAGS-iofopen.c): Likewise.
16712 (CFLAGS-iofopen64.c): Likewise.
16713 (CFLAGS-oldtmpfile.c): Likewise.
16714 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16715 (CFLAGS-fprintf.c): Likewise.
16716 (CFLAGS-printf.c): Likewise.
16717 (CFLAGS-vfwprintf.c): Likewise.
16718 (CFLAGS-vfscanf.c): Likewise.
16719 (CFLAGS-vfwscanf.c): Likewise.
16720 (CFLAGS-fscanf.c): Likewise.
16721 (CFLAGS-scanf.c): Likewise.
16722 (CFLAGS-isoc99_vfscanf.c): Likewise.
16723 (CFLAGS-isoc99_vscanf.c): Likewise.
16724 (CFLAGS-isoc99_fscanf.c): Likewise.
16725 (CFLAGS-isoc99_scanf.c): Likewise.
16726 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16727 (CFLAGS-isoc99_fwscanf.c): Likewise.
16728 (CFLAGS-isoc99_vwscanf.c): Likewise.
16729 (CFLAGS-isoc99_vfwscanf.c): Likewise.
16730
16731 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16732 after mkstemp64.
16733 * login/tst-utmp.c (do_prepare): Likewise.
16734 * rt/tst-aio.c (do_prepare): Likewise.
16735 * rt/tst-aio64.c (do_prepare): Likewise.
16736
16737 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16738
16739 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16740 (__lll_lock_elision): Remove adapt_count decrement...
16741 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16742 (__lll_trylock_elision): Likewise.
16743 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16744 (__lll_unlock_elision): ... to here. And utilize
16745 new adapt_count parameter.
16746 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16747 (__lll_unlock_elision): Update to include adapt_count
16748 parameter.
16749 (lll_unlock_elision): Pass pointer to adapt_count
16750 variable.
16751
16752 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16753
16754 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16755 Add elision adapt_count parameter to list of arguments.
16756 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16757 (lll_unlock_elision): Update with new parameter list
16758 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16759 (lll_unlock_elision): Likewise.
16760 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16761 (lll_unlock_elision): Likewise.
16762
16763 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
16764
16765 [BZ #19122]
16766 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16767 attribute_hidden.
16768
16769 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16770 attribute_hidden.
16771 [IS_IN (rtld)] (__strdup): Likewise.
16772 [IS_IN (rtld)] (__strerror_r): Likewise.
16773 [IS_IN (rtld)] (__strsep_g): Likewise.
16774 [IS_IN (rtld)] (memchr): Likewise.
16775 [IS_IN (rtld)] (memcmp): Likewise.
16776 [IS_IN (rtld)] (memcpy): Likewise.
16777 [IS_IN (rtld)] (memmove): Likewise.
16778 [IS_IN (rtld)] (memset): Likewise.
16779 [IS_IN (rtld)] (rawmemchr): Likewise.
16780 [IS_IN (rtld)] (stpcpy): Likewise.
16781 [IS_IN (rtld)] (strchr): Likewise.
16782 [IS_IN (rtld)] (strcmp): Likewise.
16783 [IS_IN (rtld)] (strlen): Likewise.
16784 [IS_IN (rtld)] (strnlen): Likewise.
16785 [IS_IN (rtld)] (strsep): Likewise.
16786
16787 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16788 attribute_hidden.
16789 [IS_IN (rtld)] (__strtoul_internal): Likewise.
16790
16791 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16792 attribute_hidden.
16793 [IS_IN (rtld)] (__libc_sigaction): Likewise.
16794
16795 * include/setjmp.h (__longjmp): Add attribute_hidden.
16796 [IS_IN (rtld)] (__sigsetjmp): Likewise.
16797
16798 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16799 Add attribute_hidden.
16800
16801 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16802 [IS_IN (rtld)] (__open): Likewise.
16803 [IS_IN (rtld)] (__fcntl): Likewise.
16804
16805 * include/dirent.h (__opendirat): Add attribute_hidden.
16806 (__getdents): Likewise.
16807 (__getdents64): Likewise.
16808 (__alloc_dir): Likewise.
16809 [IS_IN (rtld)] (__closedir): Likewise.
16810 [IS_IN (rtld)] (__fdopendir): Likewise.
16811 [IS_IN (rtld)] (__readdir): Likewise.
16812 [IS_IN (rtld)] (__readdir64): Likewise.
16813 [IS_IN (rtld)] (__rewinddir): Likewise.
16814
16815 * include/dlfcn.h (_dl_catch_error): Moved to ...
16816 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16817 attribute_hidden.
16818
16819 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16820 (_itoa_word): Likewise.
16821
16822 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16823 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16824 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16825 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16826 (_dl_higher_prime_number): Likewise.
16827 (_dl_debug_printf_c): Likewise.
16828 (_dl_signal_cerror): Likewise.
16829 (_dl_receive_error): Likewise.
16830 (_dl_reloc_bad_type): Likewise.
16831 (_dl_resolve_conflicts): Likewise.
16832 (_dl_check_all_versions): Likewise.
16833 (_dl_check_map_versions): Likewise.
16834 (_dl_sort_fini): Likewise.
16835 (_dl_debug_initialize): Likewise.
16836 (_dl_init_paths): Likewise.
16837 (_dl_show_auxv): Likewise.
16838 (_dl_next_ld_env_entry): Likewise.
16839 (_dl_important_hwcaps): Likewise.
16840 (_dl_load_cache_lookup): Likewise.
16841 (_dl_update_slotinfo): Likewise.
16842 (_dl_show_scope): Likewise.
16843
16844 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16845 attribute_hidden.
16846 (_wordcopy_fwd_dest_aligned): Likewise.
16847 (_wordcopy_bwd_aligned): Likewise.
16848 (_wordcopy_bwd_dest_aligned): Likewise.
16849
16850 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16851 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16852 Likewise.
16853 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16854 Likewise.
16855 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16856
16857 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
16858
16859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16860 GCC 5 requirement.
16861
16862 2015-10-15 Joseph Myers <joseph@codesourcery.com>
16863
16864 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16865 test.
16866 * sysdeps/i386/configure: Regenerated.
16867 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16868 code unconditional.
16869
16870 * configure.ac (libc_cv_asm_previous_directive): Remove configure
16871 test.
16872 (libc_cv_asm_popsection_directive): Likewise.
16873 * configure: Regenerated.
16874 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16875 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16876 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16877 (__make_section_unallocated): Make definition unconditional.
16878 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16879 Remove conditional definition.
16880 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16881 (__make_section_unallocated): Likewise.
16882
16883 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16884 * configure: Regenerated.
16885 * config.make.in (static-libgcc): Remove variable.
16886 * Makerules (build-shlib-helper): Use -static-libgcc instead of
16887 $(static-libgcc).
16888 (build-module-helper): Likewise.
16889
16890 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16891 * configure: Regenerated.
16892
16893 2015-10-15 Florian Weimer <fweimer@redhat.com>
16894
16895 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16896 (struct char_buffer): New type.
16897 (char_buffer_start, char_buffer_size, char_buffer_error)
16898 (char_buffer_rewind, char_buffer_add): New functions.
16899 (ADDW): Remove macro, replaced by the char_buffer_add function.
16900 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16901 of extend_alloca. Make control flow more explicit.
16902
16903 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
16904
16905 [BZ #19137]
16906 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16907 Add -fomit-frame-pointer.
16908 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16909
16910 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
16911
16912 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16913 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16915 only if !__GNUC_PREREQ (5,0).
16916 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16917 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16918 (INTERNAL_SYSCALL_NCS): Likewise.
16919 (LOADREGS_0): New macro for GCC 5.
16920 (ASMARGS_0): Likewise.
16921 (LOADREGS_1): Likewise.
16922 (ASMARGS_1): Likewise.
16923 (LOADREGS_2): Likewise.
16924 (ASMARGS_2): Likewise.
16925 (LOADREGS_3): Likewise.
16926 (ASMARGS_3): Likewise.
16927 (LOADREGS_4): Likewise.
16928 (ASMARGS_4): Likewise.
16929 (LOADREGS_5): Likewise.
16930 (ASMARGS_5): Likewise.
16931 (LOADREGS_6): Likewise.
16932 (ASMARGS_6): Likewise.
16933
16934 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
16935
16936 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16937 -fomit-frame-pointer.
16938 (CFLAGS-mmap64.c): Likewise.
16939 (CFLAGS-semtimedop.c): Likewise.
16940 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16941 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16942 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16943 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16944
16945 2015-10-15 Florian Weimer <fweimer@redhat.com>
16946
16947 [BZ #18928]
16948 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16949 _dl_pointer_guard member.
16950 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16951 initializer.
16952 (security_init): Always set up pointer guard.
16953 (process_envvars): Do not process LD_POINTER_GUARD.
16954
16955 2015-10-14 Joseph Myers <joseph@codesourcery.com>
16956
16957 [BZ #19134]
16958 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16959 (.LC2): Likewise.
16960 (.LC3): Likewise.
16961 (__lround): Do not add 0.5 to integer or out-of-range arguments.
16962
16963 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
16964
16965 [BZ #19129]
16966 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16967 r0 and r1.
16968
16969 2015-10-14 Namhyung Kim <namhyung@gmail.com>
16970
16971 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16972
16973 2015-10-14 Carlos O'Donell <carlos@redhat.com>
16974
16975 * include/stap-probe.h: Fix macro definition formatting.
16976
16977 2015-10-14 Florian Weimer <fweimer@redhat.com>
16978
16979 [BZ #19074]
16980 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16981 load and store num_ifs.
16982
16983 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
16984
16985 [BZ #18822]
16986 * sysdeps/unix/sysv/linux/sched_getaffinity.c
16987 (__sched_getaffinity_new): Add libc_hidden_proto and
16988 libc_hidden_def.
16989
16990 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
16991
16992 [BZ #19007]
16993 * scripts/localplt.awk: Also allow GOT references.
16994 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16995 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16996 with "+ REL R_386_GLOB_DAT".
16997 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16998 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16999
17000 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
17001
17002 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
17003 INLINE_SYSCALL_ERROR_RETURN_VALUE.
17004 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
17005 Likewise.
17006 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17007 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
17008 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
17009 INTERNAL_SYSCALLINTERNAL_SYSCALL and
17010 INLINE_SYSCALL_ERROR_RETURN_VALUE.
17011 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
17012 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17013 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
17014 Likewise.
17015 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17016
17017 2015-10-13 Joseph Myers <joseph@codesourcery.com>
17018
17019 [BZ #19125]
17020 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
17021 <math_private.h> and <stdint.h>.
17022 (__llround): Avoid conversions to and from long long int, and
17023 subtractions, where those might raise spurious exceptions.
17024 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
17025 <math_private.h> and <stdint.h>.
17026 (__llroundf): Avoid conversions to and from long long int, and
17027 subtractions, where those might raise spurious exceptions.
17028
17029 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
17030
17031 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
17032 INLINE_SYSCALL_ERROR_RETURN_VALUE.
17033 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17034 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
17035 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17036 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17037 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
17038 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
17039 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
17040 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17041 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17042 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17043 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
17044 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17045 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17046 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
17047 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
17048 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17049 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
17050 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
17051 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17052 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
17053 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
17054 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17055 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
17056 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17057 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
17058 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17059 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17060 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
17061 (__xstat64_conv): Likewise.
17062 (__xstat32_conv): Likewise.
17063
17064 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
17065
17066 * sysdeps/unix/sysv/linux/sysdep.h: New file.
17067 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
17068 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
17069 <sysdeps/unix/sysv/linux/sysdep.h>.
17070 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17071 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
17072 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
17073 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17074 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17075 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
17076 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
17077 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17078 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17081 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17082 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17083 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17084 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17086 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
17087 (sysdep-dl-routines): Add sysdep.
17088 [$(subdir) == nptl] (libpthread-routines): Likewise.
17089 [$(subdir) == rt] (librt-routines): Likewise.
17090 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
17091 PIC when branching to SYSCALL_ERROR_LABEL.
17092 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
17093 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
17094 <sysdeps/unix/sysv/linux/sysdep.h>.
17095 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
17096 (SYSCALL_ERROR_ERRNO): Removed.
17097 (SYSCALL_ERROR_HANDLER): Changed to empty.
17098 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
17099 (__syscall_error): New prototype.
17100 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
17101 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
17102
17103 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
17104
17105 [BZ #19124]
17106 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
17107 (_dl_runtime_resolve_avx512): Make it a hidden alias of
17108 _dl_runtime_resolve_avx.
17109 (_dl_runtime_profile_avx512): Make it a hidden alias of
17110 _dl_runtime_profile_avx.
17111
17112 2015-10-13 Joseph Myers <joseph@codesourcery.com>
17113
17114 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
17115 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
17116 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
17117 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
17118
17119 [BZ #16422]
17120 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
17121 New configure test.
17122 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
17123 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
17124 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
17125 <math_private.h> and <stdint.h>.
17126 (__llrint): Avoid conversions to long long int where those might
17127 raise spurious exceptions.
17128 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
17129 <math_private.h> and <stdint.h>.
17130 (__llrintf): Avoid conversions to long long int where those might
17131 raise spurious exceptions.
17132
17133 2015-10-12 Andreas Schwab <schwab@suse.de>
17134
17135 [BZ #18969]
17136 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
17137 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
17138 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
17139 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
17140 $(gen-locales).
17141 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
17142 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
17143 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
17144 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
17145 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
17146 $(gen-locales).
17147 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
17148 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
17149 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
17150 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
17151 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
17152 ($(objpfx)tst-ftell-active-handler.out)
17153 ($(objpfx)tst-ftell-append.out)
17154 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
17155 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
17156 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
17157 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
17158 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
17159 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
17160 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
17161 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
17162 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
17163 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
17164 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
17165 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
17166 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
17167 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
17168 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
17169 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
17170 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
17171 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
17172 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
17173 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
17174 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
17175 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
17176 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
17177 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
17178 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
17179 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
17180 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
17181 $(gen-locales).
17182 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
17183 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
17184 $(gen-locales).
17185 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
17186 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
17187 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
17188 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
17189 $(gen-locales).
17190 * libio/tst_wprintf2.c (main): Use explicit locale.
17191 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
17192
17193 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17194
17195 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
17196 __msg_sig_post.
17197 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
17198
17199 2015-10-09 Joseph Myers <joseph@codesourcery.com>
17200
17201 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17202 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17203
17204 * sysdeps/arm/libm-test-ulps: Regenerated.
17205
17206 [BZ #15470]
17207 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
17208
17209 [BZ #16399]
17210 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
17211 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
17212 and <fix-fp-int-convert-overflow.h>.
17213 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
17214 FIX_DBL_LLONG_CONVERT_OVERFLOW.
17215 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
17216 and <fix-fp-int-convert-overflow.h>.
17217 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
17218 FIX_DBL_LLONG_CONVERT_OVERFLOW.
17219 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
17220 <fix-fp-int-convert-overflow.h>.
17221 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
17222 FIX_DBL_LLONG_CONVERT_OVERFLOW.
17223 * sysdeps/ieee754/dbl-64/s_lround.c: Include
17224 <fix-fp-int-convert-overflow.h>.
17225 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
17226 FIX_DBL_LLONG_CONVERT_OVERFLOW.
17227 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
17228 and <fix-fp-int-convert-overflow.h>.
17229 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
17230 FIX_DBL_LLONG_CONVERT_OVERFLOW.
17231 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
17232 <limits.h> and <fix-fp-int-convert-overflow.h>.
17233 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
17234 FIX_DBL_LLONG_CONVERT_OVERFLOW.
17235 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
17236 and <fix-fp-int-convert-overflow.h>.
17237 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
17238 FIX_DBL_LLONG_CONVERT_OVERFLOW.
17239 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
17240 and <fix-fp-int-convert-overflow.h>.
17241 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
17242 FIX_DBL_LLONG_CONVERT_OVERFLOW.
17243 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
17244
17245 2015-10-09 Carlos O'Donell <carlos@redhat.com>
17246
17247 [BZ #18589]
17248 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
17249 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
17250 $(gen-locales).
17251
17252 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17253 Phil Blundell <pb@pbcl.net>
17254
17255 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
17256 * nptl/tst-cancel26.c: New file.
17257 * nptl/tst-cancel27.c: Likewise.
17258
17259 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
17260
17261 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
17262 __ILP32__ isn't defined.
17263 (lrint): Likewise.
17264 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
17265 (lrintf): Likewise.
17266 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
17267 (lrintl): Likewise.
17268 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
17269 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
17270 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
17271
17272 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17273
17274 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17275 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17276
17277 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
17278 file.
17279 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
17280 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17281
17282 2015-10-09 Joseph Myers <joseph@codesourcery.com>
17283
17284 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
17285 configure test.
17286 * sysdeps/i386/configure: Regenerated.
17287 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
17288 configure test.
17289 * sysdeps/x86_64/configure: Regenerated.
17290 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
17291 Make code unconditional.
17292
17293 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
17294 test.
17295 * sysdeps/i386/configure: Regenerated.
17296 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
17297 test.
17298 * sysdeps/x86_64/configure: Regenerated.
17299 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
17300 Make code unconditional.
17301 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17302 Likewise.
17303 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
17304 Likewise.
17305 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17306 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
17307 code unconditional.
17308 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17309 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
17310 code unconditional.
17311 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17312 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
17313 code unconditional.
17314 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
17315 code unconditional.
17316 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17317 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
17318 code unconditional.
17319 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17320 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
17321 code unconditional.
17322 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17323 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
17324 code unconditional.
17325 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17326 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
17327 code unconditional.
17328 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17329 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
17330
17331 [BZ #19095]
17332 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
17333 mantissa to long int before shifting left.
17334
17335 2015-10-08 Joseph Myers <joseph@codesourcery.com>
17336
17337 [BZ #19094]
17338 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
17339 <limits.h>.
17340 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17341 when result overflows but exception would not result from cast.
17342 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
17343 <limits.h>.
17344 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17345 when result overflows but exception would not result from cast.
17346 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
17347 <limits.h>.
17348 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17349 when result overflows but exception would not result from cast.
17350 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
17351 <limits.h>.
17352 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17353 when result overflows but exception would not result from cast.
17354 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
17355 <limits.h>.
17356 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17357 when result overflows but exception would not result from cast.
17358 * math/libm-test.inc (lrint_test_data): Add more tests.
17359 (llrint_test_data): Likewise.
17360
17361 2015-10-08 Roland McGrath <roland@hack.frob.com>
17362
17363 [BZ #18872]
17364 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
17365 Move out from under [$(run-built-tests) = yes] conditional.
17366 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
17367 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
17368
17369 2015-10-08 Carlos O'Donell <carlos@redhat.com>
17370
17371 [BZ #18589]
17372 * string/Makefile (tests): Add bug-strcoll2.
17373 (LOCALES): Add cs_CZ.UTF-8.
17374 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
17375
17376 [BZ #18589]
17377 * string/bug-strcoll2.c: New file.
17378 * locale/categories.def: Revert commit
17379 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
17380 * locale/langinfo.h: Likewise.
17381 * locale/localeinfo.h: Likewise.
17382 * locale/C-collate.c: Likewise.
17383 * locale/programs/ld-collate.c (collate_output): Likewise.
17384 * string/strcoll_l.c (STRDIFF): Likewise.
17385 (STRCOLL): Likewise.
17386 * wcsmbs/wcscoll_l.c: Likewise.
17387
17388 2015-10-08 Joseph Myers <joseph@codesourcery.com>
17389
17390 * math/libm-test.inc (lround_test_data): Do not expect the absence
17391 of "inexact" for some tests with non-integer arguments.
17392 (llround_test_data): Likewise.
17393
17394 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
17395 test.
17396 (libc_cv_cc_sse2avx): Likewise.
17397 * sysdeps/i386/configure: Regenerated.
17398 * sysdeps/i386/i686/multiarch/Makefile
17399 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
17400 [$(subdir) = math].
17401 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
17402 code unconditional.
17403 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17404 Likewise.
17405 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
17406 Likewise.
17407 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17408 Likewise.
17409 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
17410 test.
17411 (libc_cv_cc_sse2avx): Likewise.
17412 * sysdeps/x86_64/configure: Regenerated.
17413 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
17414 unconditional.
17415 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
17416 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
17417 unconditional.
17418 (_dl_runtime_profile)
17419 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
17420 conditional code.
17421 * sysdeps/x86_64/fpu/multiarch/Makefile
17422 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
17423 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17424 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17425 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17426 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17427 * sysdeps/x86_64/fpu/multiarch/e_log.c
17428 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17429 * sysdeps/x86_64/fpu/multiarch/s_atan.c
17430 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17431 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17432 Likewise.
17433 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17434 Likewise.
17435 * sysdeps/x86_64/fpu/multiarch/s_sin.c
17436 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17437 * sysdeps/x86_64/fpu/multiarch/s_tan.c
17438 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17439 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
17440 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
17441 (HAVE_SSE2AVX_SUPPORT): Likewise.
17442
17443 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
17444
17445 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
17446 instead of #pragma optimize.
17447
17448 2015-10-07 Carlos O'Donell <carlos@redhat.com>
17449
17450 [BZ #17195]
17451 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
17452 as is similarly done in systrim and _int_free already.
17453
17454 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
17455
17456 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
17457
17458 2015-10-07 Joseph Myers <joseph@codesourcery.com>
17459
17460 [BZ #19088]
17461 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
17462 <limits.h>.
17463 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17464 overflows but exception would not result from cast.
17465 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
17466 and <limits.h>.
17467 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17468 overflows but exception would not result from cast.
17469 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
17470 <limits.h>.
17471 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17472 overflows but exception would not result from cast.
17473 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
17474 <limits.h>.
17475 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17476 overflows but exception would not result from cast.
17477 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
17478 <limits.h>.
17479 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17480 overflows but exception would not result from cast.
17481 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
17482 <limits.h>.
17483 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17484 overflows but exception would not result from cast.
17485 * math/libm-test.inc (lround_test_data): Add more tests.
17486 (llround_test_data): Likewise.
17487
17488 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
17489
17490 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
17491 (CFLAGS-ialloc.c): Ditto.
17492 (CFLAGS-scheck.c): Ditto.
17493
17494 2015-10-07 Carlos O'Donell <carlos@redhat.com>
17495
17496 [BZ #19086]
17497 * manual/filesys.texi (Storage Allocation): Fix argument order for
17498 posix_fallocate64.
17499
17500 2015-10-07 Joseph Myers <joseph@codesourcery.com>
17501
17502 [BZ #19085]
17503 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17504 exponent below 48 inside case for non-overflowing exponent.
17505 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17506
17507 2015-10-07 Florian Weimer <fweimer@redhat.com>
17508
17509 * iconvdata/cp737.h (from_idx): Add const.
17510 * iconvdata/cp775.h (from_idx): Likewise.
17511
17512 2015-10-07 Joseph Myers <joseph@codesourcery.com>
17513
17514 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
17515 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17516 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
17517
17518 [BZ #19079]
17519 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
17520 file, conditioned on [!_LP64].
17521 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
17522 [!_LP64] (__lround): Do not define as function or alias.
17523 [!_LP64] (lround): Likewise.
17524 [!_LP64] (__lroundl): Likewise.
17525 [!_LP64] (lroundl): Likewise.
17526 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17527 macro.
17528 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17529 Likewise.
17530
17531 2015-10-06 Joseph Myers <joseph@codesourcery.com>
17532
17533 * math/libm-test.inc (lrint_test_data): Add more tests.
17534 (llrint_test_data): Likewise.
17535 (lround_test_data): Likewise.
17536 (llround_test_data): Likewise.
17537
17538 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
17539 (llrint_test_data): Add tests used for lrint.
17540
17541 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
17542 test.
17543 * sysdeps/i386/configure: Regenerated.
17544 * sysdeps/i386/i686/multiarch/Makefile
17545 [$(config-cflags-sse4) = yes]: Make code unconditional.
17546 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17547 Likewise.
17548 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
17549 Likewise.
17550 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
17551 test.
17552 * sysdeps/x86_64/configure: Regenerated.
17553 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
17554 Make code unconditional.
17555 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17556 Likewise.
17557 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
17558 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
17559
17560 * scripts/rpm2dynsym.sh: Remove file.
17561
17562 2015-10-06 Florian Weimer <fweimer@redhat.com>
17563
17564 * configure.ac (libc_cv_cxx_thread_local): Define.
17565 * configure: Regenerate.
17566 * config.make.in (have-cxx-thread_local): Define.
17567 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
17568 (LDLIBS-tst-thread_local1): Define.
17569 (tests): Add tst-thread_local1.
17570 [have-cxx-thread_local != yes] (tests-unsupported): Add
17571 tst-thread_local1.
17572 * nptl/tst-thread_local1.cc: New file.
17573
17574 2015-10-06 Joseph Myers <joseph@codesourcery.com>
17575
17576 [BZ #19078]
17577 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17578 (u_thres): Likewise.
17579 (__expl): Determine whether to call __kernel_standard_l based on
17580 value of result, not argument.
17581
17582 * math/libm-test.inc (scalb_test_data): Add more expectations for
17583 the "inexact" exception.
17584
17585 [BZ #19077]
17586 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17587 0.0L for argument 1.0L.
17588
17589 [BZ #19076]
17590 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17591 constant 0.0L when computing infinite result.
17592
17593 2015-10-06 Florian Weimer <fweimer@redhat.com>
17594
17595 [BZ #10432]
17596 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17597 malloc_usable_size.
17598
17599 2015-10-06 Florian Weimer <fweimer@redhat.com>
17600
17601 [BZ #19018]
17602 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17603 Mangle function pointer before storing it.
17604 (__call_tls_dtors): Demangle function pointer before calling it.
17605
17606 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17607
17608 [BZ #19012]
17609 * iconv/gconv_db.c (gen_steps): Check for additional errors.
17610 Clean up on failure.
17611
17612 2015-10-05 Joseph Myers <joseph@codesourcery.com>
17613
17614 [BZ #19071]
17615 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17616 long int variable to store possibly incremented high part of
17617 mantissa.
17618 * math/libm-test.inc (lround_test_data): Add tests used for
17619 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
17620 for tests requiring 64-bit long. Do not condition tests on
17621 [TEST_FLOAT] unnecessarily.
17622 (llround_test_data): Add tests used for lround. Add another
17623 expectation for the "inexact" exception. Do not condition tests
17624 on [TEST_FLOAT] unnecessarily.
17625
17626 [BZ #887]
17627 [BZ #19049]
17628 [BZ #19050]
17629 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17630 * sysdeps/ieee754/dbl-64/e_log10.c: Include
17631 <fix-int-fp-convert-zero.h>.
17632 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17633 * sysdeps/ieee754/dbl-64/e_log2.c: Include
17634 <fix-int-fp-convert-zero.h>.
17635 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17636 * sysdeps/ieee754/dbl-64/s_erf.c: Include
17637 <fix-int-fp-convert-zero.h>.
17638 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17639 * sysdeps/ieee754/dbl-64/s_logb.c: Include
17640 <fix-int-fp-convert-zero.h>.
17641 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17642 * sysdeps/ieee754/flt-32/e_log10f.c: Include
17643 <fix-int-fp-convert-zero.h>.
17644 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17645 * sysdeps/ieee754/flt-32/e_log2f.c: Include
17646 <fix-int-fp-convert-zero.h>.
17647 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17648 * sysdeps/ieee754/flt-32/s_erff.c: Include
17649 <fix-int-fp-convert-zero.h>.
17650 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17651 * sysdeps/ieee754/flt-32/s_logbf.c: Include
17652 <fix-int-fp-convert-zero.h>.
17653 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17654 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17655 <fix-int-fp-convert-zero.h>.
17656 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17658 <fix-int-fp-convert-zero.h>.
17659 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17660 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17661 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17662 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17663 file.
17664 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17665
17666 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
17667
17668 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17669
17670 2015-10-02 Joseph Myers <joseph@codesourcery.com>
17671
17672 [BZ #19059]
17673 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17674 overflowing computation.
17675 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17676 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17677 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17678 Likewise.
17679 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17680 Likewise.
17681 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17682 Likewise.
17683 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17684 Likewise.
17685 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17686 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17687 Likewise.
17688 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17689 Likewise.
17690 * math/libm-test.inc (nexttoward_test_data): Add more tests.
17691
17692 * nss/rewrite_field.c (__nss_rewrite_field): Use
17693 internal_function.
17694 * nss/valid_field.c (__nss_valid_field): Likewise.
17695 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17696
17697 2015-10-02 Florian Weimer <fweimer@redhat.com>
17698
17699 [BZ #18724]
17700 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17701 (__nss_invalid_field_characters, __nss_valid_field)
17702 (__nss_valid_list_field, __nss_rewrite_field): Declare.
17703 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17704 tst-field.c: New file.
17705 * nss/Makefile (routines): Add valid_field, rewrite_field.
17706 (tests-static): Define unconditionally.
17707 (tests): Include tests-static.
17708 [build-static-nss] (tests-static): Use append.
17709 [build-static-nss] (tests): Remove modification.
17710 * nss/getent.c (print_group): Call putgrent. Report error.
17711 (print_gshadow): Call putsgent. Report error.
17712 (print_passwd): Call putpwent. Report error.
17713 (print_shadow): Call putspent. Report error.
17714 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17715 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17716 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
17717 name, password, directory, shell fields for valid syntax. Rewrite
17718 GECOS field to match syntax.
17719 * pwd/Makefile (tests): Add tst-putpwent.
17720 * pwd/tst-putpwent.c: New file.
17721 * grp/putgrent.c (putgrent): Convert to ISO function definition.
17722 Check grName, grpasswd, gr_mem fields for valid syntax.
17723 Change loop variable i to size_t.
17724 * grp/Makefile (tests): Add tst-putgrent.
17725 * grp/tst-putgrent.c: New file.
17726 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17727 valid syntax.
17728 * shadow/Makefile (tests): Add tst-putspent.
17729 * shadow/tst-putspent.c: New file.
17730 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17731 sg_mem fields for valid syntax.
17732 * gshadow/Makefile (tests): Add tst-putsgent.
17733 * gshadow/tst-putsgent.c: New file.
17734
17735 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17736
17737 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17738 assembly instructions.
17739
17740 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17741
17742 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17743 prefix from operands.
17744
17745 2015-10-01 Joseph Myers <joseph@codesourcery.com>
17746
17747 [BZ #16347]
17748 [BZ #19046]
17749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17750 <libc-internal.h>.
17751 (MAXLGM): Do not use diagnostic control macros.
17752 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17753 threshold for ldbl-128ibm.
17754 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17755 instead of multiplying by log then subtracting.
17756 * math/auto-libm-test-in: Add more tests of lgamma.
17757 * math/auto-libm-test-out: Regenerated.
17758
17759 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17760 (TYPE_HEX_DIG): Likewise.
17761 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17762 precisions when printing floating-point numbers.
17763 (check_float_internal): Likewise.
17764
17765 2015-09-30 Joseph Myers <joseph@codesourcery.com>
17766
17767 [BZ #16620]
17768 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17769 of log (10) rounded downward to 48 bits.
17770 (log10_low): Use corresponding low part of log (10).
17771
17772 [BZ #19032]
17773 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17774 compute result as (x - x) / (x - x) not as 0 / 0.
17775 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17776 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17777
17778 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17779 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17780 and expm1.
17781 * math/auto-libm-test-out: Regenerated.
17782 * math/libm-test.inc (acos_test_data): Add more tests.
17783 (asin_test_data): Likewise.
17784 (asinh_test_data): Likewise.
17785 (atan_test_data): Likewise.
17786 (atanh_test_data): Likewise.
17787 (atan2_test_data): Likewise.
17788 (cbrt_test_data): Likewise.
17789 (ceil_test_data): Likewise.
17790 (copysign_test_data): Likewise.
17791 (cos_test_data): Likewise.
17792 (cosh_test_data): Likewise.
17793 (erf_test_data): Likewise.
17794 (erfc_test_data): Likewise.
17795 (exp_test_data): Likewise.
17796 (exp10_test_data): Likewise.
17797 (exp2_test_data): Likewise.
17798 (expm1_test_data): Likewise.
17799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17800
17801 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
17802
17803 [BZ #19006]
17804 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17805 to ...
17806 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17807 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17808 to ...
17809 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17810 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17811 to ...
17812 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17813 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17814 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17815 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17816 to ...
17817 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17818 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17819 Moved to ...
17820 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17821 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17822 Moved to ...
17823 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17824 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17825 to ...
17826 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17827 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17828 Moved to ...
17829 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17830 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17831 to ...
17832 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17833 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17834 Removed.
17835 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17836 Likewise.
17837 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17838 Likewise.
17839 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17840 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17841 Likewise.
17842 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17843 Likewise.
17844 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17845 Likewise.
17846 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17847 Likewise.
17848 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17849 Likewise.
17850 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17851 Likewise.
17852 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17853 Likewise.
17854 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17855 Likewise.
17856 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17857 Likewise.
17858 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17859 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17860 Likewise.
17861 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17862 Likewise.
17863 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17864 Likewise.
17865 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17866 Likewise.
17867 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17868 Likewise.
17869 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17870 Replace ../i486/pthread_cond_timedwait.S with
17871 ../pthread_cond_timedwait.S.
17872
17873 2015-09-30 Joseph Myers <joseph@codesourcery.com>
17874
17875 * math/libm-test.inc (acos_test_data): Refine expectations for
17876 errno and "inexact" exceptions.
17877 (acosh_test_data): Likewise.
17878 (asin_test_data): Likewise.
17879 (asinh_test_data): Likewise.
17880 (atan_test_data): Likewise.
17881 (atanh_test_data): Likewise.
17882 (atan2_test_data): Likewise.
17883 (cbrt_test_data): Likewise.
17884 (ceil_test_data): Likewise.
17885 (copysign_test_data): Likewise.
17886 (cosh_test_data): Likewise.
17887 (erf_test_data): Likewise.
17888 (erfc_test_data): Likewise.
17889 (exp_test_data): Likewise.
17890 (exp10_test_data): Likewise.
17891 (exp2_test_data): Likewise.
17892 (expm1_test_data): Likewise.
17893 (fabs_test_data): Likewise.
17894 (floor_test_data): Likewise.
17895 (fma_test_data): Likewise.
17896 (fmax_test_data): Likewise.
17897 (fmin_test_data): Likewise.
17898 (fmod_test_data): Likewise.
17899 (fpclassify_test_data): Likewise.
17900 (frexp_test_data): Likewise.
17901 (hypot_test_data): Likewise.
17902 (ilogb_test_data): Likewise.
17903 (isgreater_test_data): Likewise.
17904 (isgreaterequal_test_data): Likewise.
17905 (isinf_test_data): Likewise.
17906 (isless_test_data): Likewise.
17907 (islessequal_test_data): Likewise.
17908 (islessgreater_test_data): Likewise.
17909 (isnan_test_data): Likewise.
17910 (isnormal_test_data): Likewise.
17911 (issignaling_test_data): Likewise.
17912 (isunordered_test_data): Likewise.
17913 (j0_test_data): Likewise.
17914 (j1_test_data): Likewise.
17915 (jn_test_data): Likewise.
17916 (lgamma_test_data): Likewise.
17917 (lrint_test_data): Likewise.
17918 (llrint_test_data): Likewise.
17919 (log_test_data): Likewise.
17920 (log10_test_data): Likewise.
17921 (log1p_test_data): Likewise.
17922 (log2_test_data): Likewise.
17923 (logb_test_data): Likewise.
17924 (lround_test_data): Likewise.
17925 (llround_test_data): Likewise.
17926 (modf_test_data): Likewise.
17927 (nearbyint_test_data): Likewise.
17928 (nextafter_test_data): Likewise.
17929 (nexttoward_test_data): Likewise.
17930 (pow_test_data): Likewise.
17931 (remainder_test_data): Likewise.
17932 (remquo_test_data): Likewise.
17933 (rint_test_data): Likewise.
17934 (round_test_data): Likewise.
17935 (signbit_test_data): Likewise.
17936 (sinh_test_data): Likewise.
17937 (sqrt_test_data): Likewise.
17938 (tanh_test_data): Likewise.
17939 (tgamma_test_data): Likewise.
17940 (trunc_test_data): Likewise.
17941 (y0_test_data): Likewise.
17942 (y1_test_data): Likewise.
17943 (yn_test_data): Likewise.
17944 (significand_test_data): Likewise.
17945
17946 2015-09-29 Carlos O'Donell <carlos@redhat.com>
17947
17948 * manual/filesys.texi (Storage Allocation): Document that
17949 posix_fallocate emulation fails when fd is open with O_WRONLY.
17950
17951 2015-09-28 Joseph Myers <joseph@codesourcery.com>
17952
17953 [BZ #19016]
17954 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17955 allow more cases with X^2 + Y^2 >= 0.5.
17956 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
17957 normal element in sum instead of special-casing based on values of
17958 arguments.
17959 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17960 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
17961 -1 as normal element in sum instead of special-casing based on
17962 values of arguments.
17963 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17964 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17965 (__x2y2m1): Update comment.
17966 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
17967 as normal element in sum instead of special-casing based on values
17968 of arguments.
17969 * math/s_clog.c (__clog): Handle more cases using log1p without
17970 hypot.
17971 * math/s_clog10.c (__clog10): Likewise.
17972 * math/s_clog10f.c (__clog10f): Likewise.
17973 * math/s_clog10l.c (__clog10l): Likewise.
17974 * math/s_clogf.c (__clogf): Likewise.
17975 * math/s_clogl.c (__clogl): Likewise.
17976 * math/auto-libm-test-in: Add more tests of clog and clog10.
17977 * math/auto-libm-test-out: Regenerated.
17978 * sysdeps/i386/fpu/libm-test-ulps: Update.
17979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17980
17981 2015-09-28 Martin Sebor <msebor@redhat.com>
17982
17983 [BZ #18969]
17984 * string/Makefile (LOCALES): Define.
17985 (gen-locales.mk): Include.
17986 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17987 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17988 * string/tst-strxfrm2.c (do_test): Print the name of the locale
17989 on setlocale failure.
17990
17991 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17992
17993 [BZ #18985]
17994 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17995 (__strftime_internal): Likewise.
17996 * time/tst-strftime.c (do_bz18985): New test.
17997 (do_test): Call it.
17998
17999 2015-09-26 Joseph Myers <joseph@codesourcery.com>
18000
18001 [BZ #18956]
18002 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
18003 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
18004 extracting high part.
18005 * math/auto-libm-test-in: Add another test of pow.
18006 * math/auto-libm-test-out: Regenerated.
18007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18008
18009 2015-09-25 Joseph Myers <joseph@codesourcery.com>
18010
18011 [BZ #18825]
18012 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
18013 New macro.
18014 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
18015 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18016 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
18017 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
18018 DBL_NARROW_EVAL, reloading the PIC register as needed.
18019 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
18020 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
18021 FLT_NARROW_EVAL. Use separate return path for case when first
18022 argument is NaN.
18023 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
18024 DEFINE_LDBL_MIN.
18025 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
18026 PIC register.
18027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
18028 math_check_force_underflow_nonneg.
18029 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
18030 underflow for subnormal result.
18031 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
18033 math_check_force_underflow_nonneg.
18034 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
18035 math_check_force_underflow.
18036 * sysdeps/x86_64/fpu/x86_64-math-asm.h
18037 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
18038 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
18039 DEFINE_LDBL_MIN.
18040 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
18041 * math/auto-libm-test-in: Add more tests of pow.
18042 * math/auto-libm-test-out: Regenerated.
18043
18044 2015-09-25 Florian Weimer <fweimer@redhat.com>
18045
18046 * nss/bug17079.c (init_test_items): Add diagnostic for
18047 inconsistent entries.
18048 (test_buffer_size): Skip inconsistent entries.
18049
18050 2015-09-25 Joseph Myers <joseph@codesourcery.com>
18051
18052 [BZ #13304]
18053 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
18054 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18055 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
18056
18057 [BZ #13304]
18058 * sysdeps/microblaze/s_fma.c: New file.
18059 * sysdeps/microblaze/s_fmaf.c: Likewise.
18060 * sysdeps/microblaze/sfp-machine.h: Likewise.
18061
18062 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
18063
18064 [BZ #17250]
18065 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
18066 member.
18067
18068 2015-09-24 Joseph Myers <joseph@codesourcery.com>
18069
18070 [BZ #18803]
18071 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
18072 (MO): New macro.
18073 (__ieee754_hypot) [PIC]: Load PIC register.
18074 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
18075 DBL_NARROW_EVAL.
18076 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
18077 math_check_force_underflow_nonneg in case where result might be
18078 tiny.
18079 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18080 Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
18082 Likewise.
18083 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18084 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18085 * math/auto-libm-test-in: Add more tests of hypot.
18086 * math/auto-libm-test-out: Regenerated.
18087
18088 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
18089
18090 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
18091
18092 2015-09-24 Joseph Myers <joseph@codesourcery.com>
18093
18094 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
18095 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
18096 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
18097 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
18098 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
18099 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
18100 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
18101
18102 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
18103 LOAD_PIC_REG.
18104
18105 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
18106 (FLT_CHECK_FORCE_UFLOW): Likewise.
18107 (DBL_CHECK_FORCE_UFLOW): Likewise.
18108 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
18109 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
18110 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
18111 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18112 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18113 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18114 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18115 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18116 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
18117 (dbl_min): Replace with use of DEFINE_DBL_MIN.
18118 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
18119 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
18120 (flt_min): Replace with use of DEFINE_FLT_MIN.
18121 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
18122 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
18123 (dbl_min): Replace with use of DEFINE_DBL_MIN.
18124 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
18125 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
18126 (flt_min): Replace with use of DEFINE_FLT_MIN.
18127 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
18128 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
18129 (dbl_min): Replace with use of DEFINE_DBL_MIN.
18130 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
18131 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
18132 (flt_min): Replace with use of DEFINE_FLT_MIN.
18133 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
18134 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
18135 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
18136 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
18137 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
18138 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
18139 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
18140 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
18141 (dbl_min): Replace with use of DEFINE_DBL_MIN.
18142 (__atan): Use DBL_CHECK_FORCE_UFLOW.
18143 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
18144 (flt_min): Replace with use of DEFINE_FLT_MIN.
18145 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
18146 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
18147 (dbl_min): Replace with use of DEFINE_DBL_MIN.
18148 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
18149 main computation.
18150 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
18151 (flt_min): Replace with use of DEFINE_FLT_MIN.
18152 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
18153 main computation.
18154 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
18155 (dbl_min): Replace with use of DEFINE_DBL_MIN.
18156 (MO): New macro.
18157 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
18158 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
18159 (flt_min): Replace with use of DEFINE_FLT_MIN.
18160 (MO): New macro.
18161 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
18162 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
18163 (__log1pl): Use MO.
18164
18165 [BZ #19003]
18166 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
18167 $(config-cflags-nofma).
18168
18169 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18170
18171 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18172
18173 2015-09-23 Joseph Myers <joseph@codesourcery.com>
18174
18175 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
18176 (TWO127): Likewise.
18177
18178 * sysdeps/generic/math_private.h (fabs_tg): New macro.
18179 (min_of_type): Likewise.
18180 (math_check_force_underflow): Likewise.
18181 (math_check_force_underflow_nonneg): Likewise.
18182 (math_check_force_underflow_complex): Likewise.
18183 * math/e_exp2l.c (__ieee754_exp2l): Use
18184 math_check_force_underflow_nonneg.
18185 * math/k_casinh.c (__kernel_casinh): Likewise.
18186 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18187 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18188 * math/s_catan.c (__catan): Use
18189 math_check_force_underflow_complex.
18190 * math/s_catanf.c (__catanf): Likewise.
18191 * math/s_catanh.c (__catanh): Likewise.
18192 * math/s_catanhf.c (__catanhf): Likewise.
18193 * math/s_catanhl.c (__catanhl): Likewise.
18194 * math/s_catanl.c (__catanl): Likewise.
18195 * math/s_ccosh.c (__ccosh): Likewise.
18196 * math/s_ccoshf.c (__ccoshf): Likewise.
18197 * math/s_ccoshl.c (__ccoshl): Likewise.
18198 * math/s_cexp.c (__cexp): Likewise.
18199 * math/s_cexpf.c (__cexpf): Likewise.
18200 * math/s_cexpl.c (__cexpl): Likewise.
18201 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
18202 * math/s_clog10.c (__clog10): Likewise.
18203 * math/s_clog10f.c (__clog10f): Likewise.
18204 * math/s_clog10l.c (__clog10l): Likewise.
18205 * math/s_clogf.c (__clogf): Likewise.
18206 * math/s_clogl.c (__clogl): Likewise.
18207 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
18208 * math/s_csinf.c (__csinf): Likewise.
18209 * math/s_csinh.c (__csinh): Likewise.
18210 * math/s_csinhf.c (__csinhf): Likewise.
18211 * math/s_csinhl.c (__csinhl): Likewise.
18212 * math/s_csinl.c (__csinl): Likewise.
18213 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
18214 * math/s_csqrtf.c (__csqrtf): Likewise.
18215 * math/s_csqrtl.c (__csqrtl): Likewise.
18216 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
18217 * math/s_ctanf.c (__ctanf): Likewise.
18218 * math/s_ctanh.c (__ctanh): Likewise.
18219 * math/s_ctanhf.c (__ctanhf): Likewise.
18220 * math/s_ctanhl.c (__ctanhl): Likewise.
18221 * math/s_ctanl.c (__ctanl): Likewise.
18222 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
18223 instead of volatile.
18224 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
18225 math_check_force_underflow.
18226 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18227 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
18228 volatile when forcing underflow.
18229 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18230 math_check_force_underflow_nonneg.
18231 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
18232 Likewise.
18233 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
18234 math_check_force_underflow.
18235 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18236 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18237 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18238 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
18239 math_check_force_underflow_nonneg.
18240 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
18241 math_check_force_underflow.
18242 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
18243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
18244 instead of volatile.
18245 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
18246 math_check_force_underflow.
18247 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18248 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18249 math_check_force_underflow_nonneg.
18250 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
18251 math_check_force_underflow.
18252 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18253 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18254 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
18255 math_check_force_underflow_nonneg.
18256 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18257 Likewise.
18258 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
18259 math_check_force_underflow.
18260 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18261 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18262 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
18263 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
18264 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18265 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
18266 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
18267 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
18268 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18269 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
18270 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18271 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
18272 Likewise.
18273 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
18274 math_check_force_underflow_nonneg.
18275 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18276 Likewise.
18277 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
18278 math_check_force_underflow.
18279 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18280 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
18281 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18282 Likewise.
18283 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
18284 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
18285 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
18286 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
18287 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
18288 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
18289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
18290 instead of volatile.
18291 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
18292 math_check_force_underflow.
18293 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
18294 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
18295 math_check_force_underflow.
18296 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
18297 Likewise.
18298 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18299 Use math_check_force_underflow_nonneg.
18300 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
18301 math_check_force_underflow.
18302 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18303 Likewise.
18304 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18305 Likewise.
18306 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18307 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18308 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18309 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
18311 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18312 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18313 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
18314 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
18315 math_check_force_underflow_nonneg.
18316 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
18317 math_check_force_underflow.
18318 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18319 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
18320 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
18321 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
18322 math_check_force_underflow_nonneg.
18323 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
18324 math_check_force_underflow.
18325 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
18326 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
18327 instead of volatile.
18328 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
18329 math_check_force_underflow.
18330
18331 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
18332 * stdlib/strtod_l.c: Include <math_private.h>.
18333 (overflow_value): Use math_narrow_eval.
18334 (underflow_value): Likewise.
18335 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18336 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18337 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18338 (__ieee754_gamma_r): Likewise.
18339 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
18340 Likewise.
18341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18342 Likewise.
18343 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
18344 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
18345 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
18346 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
18347 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18348 (__ieee754_gammaf_r): Likewise.
18349 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18350 Likewise.
18351 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
18352 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
18353 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
18354 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
18355 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
18356 volatile.
18357 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
18358 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
18359 math_narrow_eval.
18360 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18361 Likewise.
18362 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18363 Likewise.
18364 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
18365 Likewise.
18366 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
18367 volatile.
18368 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
18369 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
18370 math_narrow_eval.
18371 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18372 Likewise.
18373 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18374 Likewise.
18375
18376 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
18377
18378 * nptl/Versions: Remove ignored symbols.
18379
18380 2015-09-22 Florian Weimer <fweimer@redhat.com>
18381
18382 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
18383 * nss/Makefile (tests): Update.
18384
18385 2015-09-22 Florian Weimer <fweimer@redhat.com>
18386
18387 * nss/bug18287.c: New file.
18388 * nss/Makefile (tests): Add bug18287.
18389
18390 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18391
18392 * mach/Versions (__mach_host_self_): Add symbol.
18393
18394 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18395
18396 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
18397 vm_page_size.
18398
18399 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18400
18401 Really fix sysdeps/i386/fpu/s_scalbn.S build
18402
18403 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
18404 (libc: GLIBC_2_22): Remove unused version set.
18405
18406 2015-09-18 Mike Frysinger <vapier@gentoo.org>
18407
18408 * config.make.in (enable-timezone-tools): New variable.
18409 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
18410 (enable_timezone_tools): Export to generated files.
18411 * configure: Regenerate.
18412 * INSTALL: Regenerate.
18413 * manual/install.texi (--disable-timezone-tools): Document new flag.
18414 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
18415 ifeq ($(enable-timezone-tools),yes) check.
18416
18417 2015-09-18 Joseph Myers <joseph@codesourcery.com>
18418
18419 * timezone/Makefile: Revert previous change.
18420
18421 [BZ #18980]
18422 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
18423 (DEFINE_DBL_MIN): Likewise.
18424 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18425 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18426 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18427 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18428 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
18429 (dbl_min): Replace with use of DEFINE_DBL_MIN.
18430 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18431 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
18432 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
18433 (dbl_min): Replace with use of DEFINE_DBL_MIN.
18434 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18435 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
18436 (flt_min): Replace with use of DEFINE_FLT_MIN.
18437 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18438 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
18439 (dbl_min): Replace with use of DEFINE_DBL_MIN.
18440 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18441 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
18442 (flt_min): Replace with use of DEFINE_FLT_MIN.
18443 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18444 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
18445 (flt_min): Replace with use of DEFINE_FLT_MIN.
18446 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18447 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
18448 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
18449 (__ieee754_hypot): Use DBL_NARROW_EVAL.
18450 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
18451 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
18452 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
18453 (__ieee754_pow): Use DBL_NARROW_EVAL.
18454 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
18455 (__ieee754_powf): Use FLT_NARROW_EVAL.
18456 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
18457 (__ieee754_expf_sse2): Convert double-precision result to single
18458 precision.
18459 * sysdeps/i386/fpu/libm-test-ulps: Update.
18460
18461 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
18462
18463 * timezone/Makefile: Ignore unused variable errors due to private.h
18464 (time_t_min) and (time_t_max).
18465 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
18466 Likewise.
18467
18468 2015-09-18 Joseph Myers <joseph@codesourcery.com>
18469
18470 [BZ #18981]
18471 * sysdeps/i386/fpu/i386-math-asm.h: New file.
18472 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
18473 (__ieee754_scalb): Use DBL_NARROW_EVAL.
18474 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
18475 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
18476 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
18477 (__scalbn): Use DBL_NARROW_EVAL.
18478 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
18479 (__scalbnf): Use FLT_NARROW_EVAL.
18480
18481 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
18482
18483 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
18484 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
18485 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
18486 * stdio-common/printf_fp.c (___printf_fp):
18487 Use signbit to get the sign. Use isinf macro to allow inlining.
18488 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
18489 * stdio-common/printf_size.c (__printf_size): Likewise.
18490
18491 2015-09-18 Mike Frysinger <vapier@gentoo.org>
18492
18493 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
18494
18495 2015-09-18 Joseph Myers <joseph@codesourcery.com>
18496
18497 [BZ #18980]
18498 * sysdeps/generic/math_private.h: Include <float.h>.
18499 (math_narrow_eval): New macro.
18500 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18501 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
18502 math_narrow_eval on overflowing return value.
18503 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
18504 Likewise.
18505 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18506 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
18507 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18508 Likewise.
18509 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18510
18511 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
18512
18513 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
18514 * math/Makefile: Remove isinf_ns.c.
18515 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
18516 * math/multc3.c (__multc3): Likewise.
18517 * math/s_casin.c (__casin): Likewise.
18518 * math/s_casinf.c (__casinf): Likewise.
18519 * math/s_casinl.c (__casinl): Likewise.
18520 * math/s_cproj.c (__cproj): Likewise.
18521 * math/s_cprojf.c (__cprojf): Likewise.
18522 * math/s_cprojl.c (__cprofl): Likewise.
18523 * math/s_ctan.c (__ctan): Likewise.
18524 * math/s_ctanf.c (__ctanf): Likewise.
18525 * math/s_ctanh.c (__ctanh): Likewise.
18526 * math/s_ctanhf.c (__ctanhf): Likewise.
18527 * math/s_ctanhl.c (__ctanhl): Likewise.
18528 * math/s_ctanl.c (__ctanl): Likewise.
18529 * math/w_fmod.c (__fmod): Likewise.
18530 * math/w_fmodf.c (__fmodf): Likewise.
18531 * math/w_fmodl.c (_fmodl): Likewise.
18532 * math/w_remainder.c (__remainder): Likewise.
18533 * math/w_remainderf.c (__remainderf): Likewise.
18534 * math/w_remainderl.c (__remainderl): Likewise.
18535 * math/w_scalb.c (__scalb): Likewise.
18536 * math/w_scalbf.c (__scalbf): Likewise.
18537 * math/w_scalbl.c (__scalbl): Likewise.
18538 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
18539 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
18540 with isinf.
18541 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
18542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
18543 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
18544 __isinf_nsf with isinf.
18545 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
18546 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
18547 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
18548 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
18549 with isinf.
18550 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
18551 __isinf_nsl with isinf.
18552 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
18553 with isinf.
18554 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
18555 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
18556 __isinf_nsl with isinf.
18557 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
18558 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
18559 with isinf.
18560
18561 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
18562
18563 * resolv/base64.c (rcsid): Remove unused static.
18564 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
18565 static. (tqpi1): Likewise.
18566 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
18567 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
18568 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
18569 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
18570 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
18571 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
18572 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
18573 * timezone/private.h (time_t_min): Likewise. (time_t_max):
18574 Likewise.
18575
18576 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
18577
18578 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18579 <nptl/pthreadP.h>.
18580 (_longjmp_unwind): Use __libc_ptf_call.
18581 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18582
18583 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
18584
18585 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18586 * sysdeps/arm/__longjmp.S: Likewise.
18587
18588 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
18589
18590 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18591 Use __builtin_signbit.
18592 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18593 Use __builtin_signbitf.
18594 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18595 Use __builtin_signbitl.
18596 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18597 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18598
18599 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
18600
18601 [BZ #15367]
18602 [BZ #17441]
18603
18604 * math/Makefile: Build test-snan.c with -fsignaling-nans.
18605 * math/math.h (fpclassify): Use __builtin_fpclassify when
18606 available. (signbit): Use __builtin_signbit(f/l).
18607 (isfinite): Use__builtin_isfinite. (isnormal): Use
18608 __builtin_isnormal. (isnan): Use __builtin_isnan.
18609 (isinf): Use __builtin_isinf_sign.
18610
18611 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
18612
18613 * benchtests/Makefile: Add bench-math-inlines, link with libm.
18614 * benchtests/bench-math-inlines.c: New benchmark.
18615 * benchtests/bench-util.h: New file.
18616 * benchtests/bench-util.c: New file.
18617 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18618
18619 2015-09-18 Carlos O'Donell <carlos@redhat.com>
18620
18621 * elf/tst-dlmopen1.c: Define TEST_SO.
18622 (do_test): Use TEST_SO.
18623
18624 * elf/dl-load.c: Include libc-internal.h.
18625 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18626
18627 2015-09-18 Vincent Bernat <vincent@bernat.im>
18628
18629 [BZ #17887]
18630 * time/strptime_l.c (__strptime_internal): Make %z accept
18631 [+-]HH:MM time zones.
18632
18633 2015-09-18 Vincent Bernat <vincent@bernat.im>
18634
18635 [BZ #17886]
18636 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18637 valid time zone.
18638
18639 2015-09-17 Mike Frysinger <vapier@gentoo.org>
18640
18641 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18642 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18643 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18644 (__ASSUME_FDATASYNC): Delete.
18645
18646 2015-09-17 Joseph Myers <joseph@codesourcery.com>
18647
18648 * conform/linknamespace.pl: Require weak undefined symbols to be
18649 in the standard namespace.
18650 (%strong_syms): Rename to %seen_syms.
18651 (%strong_seen): Rename to %seen_where.
18652
18653 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
18654
18655 [BZ #18970]
18656 * misc/error.c (error): Replace pthread_setcancelstate with
18657 __pthread_setcancelstate.
18658 (error_at_line): Likewise.
18659 * posix/wordexp.c (parse_comm): Likewise.
18660 * stdlib/fmtmsg.c (fmtmsg): Likewise.
18661 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18662 (__pthread_setcancelstate): This.
18663 (pthread_setcancelstate): Add an alias.
18664 * nptl/nptl-init.c (pthread_functions): Replace
18665 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18666 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18667 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18668 hidden_proto.
18669 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18670 it with hidden_def.
18671 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18672 (pthread_setcancelstate): Renamed to ...
18673 (__pthread_setcancelstate): This.
18674 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18675 __libc_ptf_call with __pthread_setcancelstate.
18676
18677 2015-09-17 Joseph Myers <joseph@codesourcery.com>
18678 Andreas Schwab <schwab@suse.de>
18679
18680 [BZ #17118]
18681 * math/s_ctan.c (__ctan): Determine sign of zero real part of
18682 result when imaginary part of argument is infinite using sine and
18683 cosine.
18684 * math/s_ctanf.c (__ctanf): Likewise.
18685 * math/s_ctanl.c (__ctanl): Likewise.
18686 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18687 of result when real part of argument is infinite using sine and
18688 cosine.
18689 * math/s_ctanhf.c (__ctanhf): Likewise.
18690 * math/s_ctanhl.c (__ctanhl): Likewise.
18691 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18692 (ctanh_test_data): Add more tests of ctanh.
18693
18694 2015-09-17 Joseph Myers <joseph@codesourcery.com>
18695
18696 [BZ #15384]
18697 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18698 bit-mask as in subtraction.
18699 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18700 Likewise.
18701 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18702 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18703 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18704
18705 [BZ #18951]
18706 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18707 underflow exception for small results.
18708 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18709 Likewise.
18710 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18711 Likewise.
18712 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18713 Likewise.
18714 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18715 Likewise.
18716 * math/auto-libm-test-in: Add more tests of tgamma.
18717 * math/auto-libm-test-out: Regenerated.
18718
18719 2015-09-17 Andreas Schwab <schwab@suse.de>
18720
18721 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18722
18723 2015-09-16 Joseph Myers <joseph@codesourcery.com>
18724
18725 [BZ #18977]
18726 * math/bits/mathcalls.h
18727 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18728 not declare.
18729 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18730 Likewise.
18731 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18732 Likewise.
18733 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18734 Likewise.
18735 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18736 Likewise.
18737 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18738 Likewise.
18739 * conform/data/math.h-data
18740 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18741 function.
18742 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18743 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18744 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18745 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18746 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18747 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18748 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18749 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18750 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18751 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18752 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18753
18754 [BZ #6803]
18755 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18756 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18757 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18758 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18759 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18760 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18761 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18762 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18763 [NO_LONG_DOUBLE] (scalbnl): Likewise.
18764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18765 Likewise.
18766 [NO_LONG_DOUBLE] (scalbnl): Likewise.
18767 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18770 long_double_symbol calls.
18771 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18772 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18773 strong alias of __ldexpl.
18774 (scalbnl): Define using long_double_symbol.
18775 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18776 Remove alias.
18777 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18778 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18779 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18780 (scalbln_test_data): Add more errno expectations.
18781
18782 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
18783
18784 Cache the host port like we cache the task port. This way we do not
18785 need to call the kernel just to get the port. Furthermore, we no
18786 longer increase the reference count on every invocation of
18787 `mach_host_self'.
18788
18789 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18790 Protect declarations against the macro expansion.
18791 * mach/mach_init.c (__mach_host_self_): New variable.
18792 (mach_init): Initialize `__mach_host_self_'.
18793 * mach/mach_init.h (__mach_host_self_): New declaration.
18794 (__mach_host_self, mach_host_self): New macros.
18795 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18796 Release reference.
18797
18798 2015-09-16 Joseph Myers <joseph@codesourcery.com>
18799
18800 [BZ #4404]
18801 * po/de.po: Update from Translation Project.
18802
18803 [BZ #16415]
18804 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18805 (__expm1l): Remove code to handle positive infinity and overflow.
18806 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18807 variable.
18808 (__expm1l): Remove code to handle positive infinity and overflow.
18809
18810 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
18811 Paul Pluzhnikov <ppluzhnikov@google.com>
18812
18813 [BZ #18872]
18814 * stdio-common/Makefile (tst-printf-bz18872): New test.
18815 (tst-printf-bz18872-mem.out): Likewise.
18816 * stdio-common/tst-printf-bz18872.sh: Generate new test.
18817 * stdio-common/vfprintf.c: Fix memory leaks.
18818
18819 2015-09-16 Andreas Schwab <schwab@suse.de>
18820
18821 [BZ #17244]
18822 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18823 Remove extra va_start/va_end calls.
18824
18825 [BZ #17243]
18826 * posix/execl.c (execl): Add missing va_end.
18827 * posix/execle.c (execle): Likewise.
18828 * posix/execlp.c (execlp): Likewise.
18829
18830 2015-09-15 Roland McGrath <roland@hack.frob.com>
18831
18832 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18833 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18834
18835 2015-09-15 Joseph Myers <joseph@codesourcery.com>
18836
18837 [BZ #18967]
18838 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
18839 undefine around includes of <bits/mathcalls.h>.
18840 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18841 not declare function.
18842 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18843 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18844 (scalb): Likewise.
18845 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18846 not define macro.
18847 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18848 variable.
18849 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18850 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18851 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18852
18853 [BZ #18857]
18854 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18855 return non-finite argument without doing ordered comparisons on
18856 it.
18857
18858 [BZ #16296]
18859 * math/fenv.h (fegetround): Use __attribute_pure__.
18860 * include/fenv.h (__fegetround): Likewise.
18861
18862 [BZ #18595]
18863 * math/s_ctan.c (__ctan): Force underflow exception for results
18864 whose real or imaginary part has small absolute value.
18865 * math/s_ctanf.c (__ctanf): Likewise.
18866 * math/s_ctanh.c (__ctanh): Likewise.
18867 * math/s_ctanhf.c (__ctanhf): Likewise.
18868 * math/s_ctanhl.c (__ctanhl): Likewise.
18869 * math/s_ctanl.c (__ctanl): Likewise.
18870 * math/auto-libm-test-in: Do not allow missing underflow for ctan
18871 and ctanh. Add more tests of ctan and ctanh.
18872
18873 [BZ #15918]
18874 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18875 handling of cases where one argument is an infinity.
18876
18877 [BZ #18875]
18878 [BZ #18966]
18879 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18880 (MO): New macro.
18881 (__ieee754_exp10): For small results, force underflow exception
18882 and remove excess range and precision from return value.
18883 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18884 (MO): New macro.
18885 (__ieee754_exp10f): For small results, force underflow exception
18886 and remove excess range and precision from return value.
18887 * math/auto-libm-test-in: Add more tests of exp10.
18888 * math/auto-libm-test-out: Regenerated.
18889
18890 2015-09-14 Joseph Myers <joseph@codesourcery.com>
18891
18892 [BZ #18875]
18893 [BZ #18961]
18894 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18895 (MO): New macro.
18896 (__ieee754_exp): For small results, force underflow exception and
18897 remove excess range and precision from return value.
18898 (__exp_finite): Likewise.
18899 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18900 (MO): New macro.
18901 (__ieee754_expf): For small results, force underflow exception and
18902 remove excess range and precision from return value.
18903 (__expf_finite): Likewise.
18904 * math/auto-libm-test-in: Add more tests of exp.
18905 * math/auto-libm-test-out: Regenerated.
18906
18907 [BZ #16521]
18908 [BZ #18875]
18909 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18910 small results.
18911 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18912 (MO): New macro.
18913 (__ieee754_exp2): For small results, force underflow exception and
18914 remove excess range and precision from return value.
18915 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18916 (MO): New macro.
18917 (__ieee754_exp2f): For small results, force underflow exception
18918 and remove excess range and precision from return value.
18919 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18920 (MO): New macro.
18921 (__ieee754_exp2l): Force underflow exception for small results.
18922 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18923 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18924 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18925 (MO): New macro.
18926 (__ieee754_exp2l): Force underflow exception for small results.
18927 * math/auto-libm-test-in: Add more tests or exp2.
18928 * math/auto-libm-test-out: Regenerated.
18929
18930 2015-09-14 Carlos O'Donell <carlos@redhat.com>
18931
18932 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18933
18934 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18935 /dev/null.
18936
18937 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
18938
18939 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18940 io fs process)): Drop spurious backslash.
18941
18942 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
18943
18944 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18945 Use sysinfo system call instead of parsing /proc/meminfo.
18946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18947 Likewise.
18948
18949 2015-09-11 Mike Frysinger <vapier@gentoo.org>
18950
18951 [BZ #16985]
18952 * programs/localedef.c (main): Display argv[remaining] when
18953 output_path is NULL.
18954
18955 2015-09-11 Joseph Myers <joseph@codesourcery.com>
18956
18957 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18958 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18959 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18960 tanh.
18961 * math/auto-libm-test-out: Regenerated.
18962 * sysdeps/i386/fpu/libm-test-ulps: Update.
18963 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18964 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18966
18967 2015-09-11 Roland McGrath <roland@hack.frob.com>
18968
18969 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18970 Use 'override' keyword to freeze the value here, preventing
18971 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18972
18973 2015-09-11 Joseph Myers <joseph@codesourcery.com>
18974
18975 [BZ #14912]
18976 * sysdeps/aarch64/bits/atomic.h: Move to ...
18977 * sysdeps/aarch64/atomic-machine.h: ...here.
18978 (_AARCH64_BITS_ATOMIC_H): Rename macro to
18979 _AARCH64_ATOMIC_MACHINE_H.
18980 * sysdeps/alpha/bits/atomic.h: Move to ...
18981 * sysdeps/alpha/atomic-machine.h: ...here.
18982 * sysdeps/arm/bits/atomic.h: Move to ...
18983 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
18984 * bits/atomic.h: Move to ...
18985 * sysdeps/generic/atomic-machine.h: ...here.
18986 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18987 * sysdeps/i386/bits/atomic.h: Move to ...
18988 * sysdeps/i386/atomic-machine.h: ...here.
18989 * sysdeps/ia64/bits/atomic.h: Move to ...
18990 * sysdeps/ia64/atomic-machine.h: ...here.
18991 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18992 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18993 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18994 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18995 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18996 * sysdeps/microblaze/bits/atomic.h: Move to ...
18997 * sysdeps/microblaze/atomic-machine.h: ...here.
18998 * sysdeps/mips/bits/atomic.h: Move to ...
18999 * sysdeps/mips/atomic-machine.h: ...here.
19000 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
19001 * sysdeps/powerpc/bits/atomic.h: Move to ...
19002 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
19003 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
19004 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
19005 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
19006 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
19007 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
19008 <atomic-machine.h> instead of <bits/atomic.h>.
19009 * sysdeps/s390/bits/atomic.h: Move to ...
19010 * sysdeps/s390/atomic-machine.h: ...here.
19011 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
19012 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
19013 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19014 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
19015 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
19016 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
19017 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
19018 * sysdeps/tile/bits/atomic.h: Move to ...
19019 * sysdeps/tile/atomic-machine.h: ...here.
19020 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
19021 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
19022 <sysdeps/tile/atomic-machine.h> instead of
19023 <sysdeps/tile/bits/atomic.h>.
19024 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19025 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
19026 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
19027 <sysdeps/tile/atomic-machine.h> instead of
19028 <sysdeps/tile/bits/atomic.h>.
19029 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19030 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
19031 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
19032 <sysdeps/arm/atomic-machine.h> instead of
19033 <sysdeps/arm/bits/atomic.h>.
19034 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
19035 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
19036 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19037 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
19038 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
19039 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19040 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
19041 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
19042 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
19043 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
19044 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
19045 * sysdeps/x86_64/bits/atomic.h: Move to ...
19046 * sysdeps/x86_64/atomic-machine.h: ...here.
19047 * include/atomic.h: Include <atomic-machine.h> instead of
19048 <bits/atomic.h>.
19049
19050 * sysdeps/mips/mips32/libm-test-ulps: Update.
19051 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19052
19053 [BZ #18952]
19054 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
19055 not convert non-integer negative arguments to int to determine the
19056 value of signgam.
19057 * math/auto-libm-test-in: Add more tests of lgamma.
19058 * math/auto-libm-test-out: Regenerated.
19059
19060 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
19061 cosh, csqrt, erfc, expm1 and lgamma.
19062 * math/auto-libm-test-out: Regenerated.
19063 * sysdeps/i386/fpu/libm-test-ulps: Update.
19064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19065
19066 2015-09-10 Joseph Myers <joseph@codesourcery.com>
19067
19068 [BZ #2542]
19069 [BZ #2543]
19070 [BZ #2558]
19071 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
19072 __lgamma_neg for arguments from -28.0 to -2.0.
19073 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
19074 __lgamma_negf for arguments from -15.0 to -2.0.
19075 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19076 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
19077 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
19078 Call __lgamma_negl for arguments from -33.0 to -2.0.
19079 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
19080 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
19081 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
19082 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
19089 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
19090 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
19091 (__lgamma_neg): Likewise.
19092 (__lgamma_negl): Likewise.
19093 (__lgamma_product): Likewise.
19094 (__lgamma_productl): Likewise.
19095 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
19096 * math/auto-libm-test-in: Add more tests of lgamma.
19097 * math/auto-libm-test-out: Regenerated.
19098 * sysdeps/i386/fpu/libm-test-ulps: Update.
19099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19100
19101 2015-09-09 Justin Maggard <jmaggard@netgear.com>
19102
19103 [BZ #18675]
19104 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
19105
19106 2015-09-08 Joseph Myers <joseph@codesourcery.com>
19107
19108 [BZ #14912]
19109 * bits/libc-lock.h: Move to ...
19110 * sysdeps/generic/libc-lock.h: ...here.
19111 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19112 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
19113 * sysdeps/mach/hurd/libc-lock.h: ...here.
19114 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19115 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
19116 * sysdeps/mach/bits/libc-lock.h: Move to ...
19117 * sysdeps/mach/libc-lock.h: ...here.
19118 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19119 * sysdeps/nptl/bits/libc-lock.h: Move to ...
19120 * sysdeps/nptl/libc-lock.h: ...here.
19121 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19122 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
19123 * sysdeps/nptl/libc-lockP.h: ...here.
19124 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
19125 * crypt/crypt_util.c: Include <libc-lock.h> instead of
19126 <bits/libc-lock.h>.
19127 * dirent/scandir-tail.c: Likewise.
19128 * dlfcn/dlerror.c: Likewise.
19129 * elf/dl-close.c: Likewise.
19130 * elf/dl-iteratephdr.c: Likewise.
19131 * elf/dl-lookup.c: Likewise.
19132 * elf/dl-open.c: Likewise.
19133 * elf/dl-support.c: Likewise.
19134 * elf/dl-writev.h: Likewise.
19135 * elf/rtld.c: Likewise.
19136 * grp/fgetgrent.c: Likewise.
19137 * gshadow/fgetsgent.c: Likewise.
19138 * gshadow/sgetsgent.c: Likewise.
19139 * iconv/gconv_conf.c: Likewise.
19140 * iconv/gconv_db.c: Likewise.
19141 * iconv/gconv_dl.c: Likewise.
19142 * iconv/gconv_int.h: Likewise.
19143 * iconv/gconv_trans.c: Likewise.
19144 * include/link.h: Likewise.
19145 * inet/getnameinfo.c: Likewise.
19146 * inet/getnetgrent.c: Likewise.
19147 * inet/getnetgrent_r.c: Likewise.
19148 * intl/bindtextdom.c: Likewise.
19149 * intl/dcigettext.c: Likewise.
19150 * intl/finddomain.c: Likewise.
19151 * intl/gettextP.h: Likewise.
19152 * intl/loadmsgcat.c: Likewise.
19153 * intl/localealias.c: Likewise.
19154 * intl/textdomain.c: Likewise.
19155 * libidn/idn-stub.c: Likewise.
19156 * libio/libioP.h: Likewise.
19157 * locale/duplocale.c: Likewise.
19158 * locale/freelocale.c: Likewise.
19159 * locale/newlocale.c: Likewise.
19160 * locale/setlocale.c: Likewise.
19161 * login/getutent_r.c: Likewise.
19162 * login/getutid_r.c: Likewise.
19163 * login/getutline_r.c: Likewise.
19164 * login/utmp-private.h: Likewise.
19165 * login/utmpname.c: Likewise.
19166 * malloc/mtrace.c: Likewise.
19167 * misc/efgcvt.c: Likewise.
19168 * misc/error.c: Likewise.
19169 * misc/fstab.c: Likewise.
19170 * misc/getpass.c: Likewise.
19171 * misc/mntent.c: Likewise.
19172 * misc/syslog.c: Likewise.
19173 * nis/nis_call.c: Likewise.
19174 * nis/nis_callback.c: Likewise.
19175 * nis/nss-default.c: Likewise.
19176 * nis/nss_compat/compat-grp.c: Likewise.
19177 * nis/nss_compat/compat-initgroups.c: Likewise.
19178 * nis/nss_compat/compat-pwd.c: Likewise.
19179 * nis/nss_compat/compat-spwd.c: Likewise.
19180 * nis/nss_nis/nis-alias.c: Likewise.
19181 * nis/nss_nis/nis-ethers.c: Likewise.
19182 * nis/nss_nis/nis-grp.c: Likewise.
19183 * nis/nss_nis/nis-hosts.c: Likewise.
19184 * nis/nss_nis/nis-network.c: Likewise.
19185 * nis/nss_nis/nis-proto.c: Likewise.
19186 * nis/nss_nis/nis-pwd.c: Likewise.
19187 * nis/nss_nis/nis-rpc.c: Likewise.
19188 * nis/nss_nis/nis-service.c: Likewise.
19189 * nis/nss_nis/nis-spwd.c: Likewise.
19190 * nis/nss_nisplus/nisplus-alias.c: Likewise.
19191 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
19192 * nis/nss_nisplus/nisplus-grp.c: Likewise.
19193 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
19194 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
19195 * nis/nss_nisplus/nisplus-network.c: Likewise.
19196 * nis/nss_nisplus/nisplus-proto.c: Likewise.
19197 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
19198 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
19199 * nis/nss_nisplus/nisplus-service.c: Likewise.
19200 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
19201 * nis/ypclnt.c: Likewise.
19202 * nptl/libc_pthread_init.c: Likewise.
19203 * nss/getXXbyYY.c: Likewise.
19204 * nss/getXXent.c: Likewise.
19205 * nss/getXXent_r.c: Likewise.
19206 * nss/nss_db/db-XXX.c: Likewise.
19207 * nss/nss_db/db-netgrp.c: Likewise.
19208 * nss/nss_db/nss_db.h: Likewise.
19209 * nss/nss_files/files-XXX.c: Likewise.
19210 * nss/nss_files/files-alias.c: Likewise.
19211 * nss/nsswitch.c: Likewise.
19212 * posix/regex_internal.h: Likewise.
19213 * posix/wordexp.c: Likewise.
19214 * pwd/fgetpwent.c: Likewise.
19215 * resolv/res_hconf.c: Likewise.
19216 * resolv/res_libc.c: Likewise.
19217 * shadow/fgetspent.c: Likewise.
19218 * shadow/lckpwdf.c: Likewise.
19219 * shadow/sgetspent.c: Likewise.
19220 * socket/opensock.c: Likewise.
19221 * stdio-common/reg-modifier.c: Likewise.
19222 * stdio-common/reg-printf.c: Likewise.
19223 * stdio-common/reg-type.c: Likewise.
19224 * stdio-common/vfprintf.c: Likewise.
19225 * stdio-common/vfscanf.c: Likewise.
19226 * stdlib/abort.c: Likewise.
19227 * stdlib/cxa_atexit.c: Likewise.
19228 * stdlib/fmtmsg.c: Likewise.
19229 * stdlib/random.c: Likewise.
19230 * stdlib/setenv.c: Likewise.
19231 * string/strsignal.c: Likewise.
19232 * sunrpc/auth_none.c: Likewise.
19233 * sunrpc/bindrsvprt.c: Likewise.
19234 * sunrpc/create_xid.c: Likewise.
19235 * sunrpc/key_call.c: Likewise.
19236 * sunrpc/rpc_thread.c: Likewise.
19237 * sysdeps/arm/backtrace.c: Likewise.
19238 * sysdeps/generic/ldsodefs.h: Likewise.
19239 * sysdeps/generic/stdio-lock.h: Likewise.
19240 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
19241 * sysdeps/i386/backtrace.c: Likewise.
19242 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19243 * sysdeps/m68k/backtrace.c: Likewise.
19244 * sysdeps/mach/hurd/cthreads.c: Likewise.
19245 * sysdeps/mach/hurd/dirstream.h: Likewise.
19246 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
19247 * sysdeps/nptl/malloc-machine.h: Likewise.
19248 * sysdeps/nptl/stdio-lock.h: Likewise.
19249 * sysdeps/posix/dirstream.h: Likewise.
19250 * sysdeps/posix/getaddrinfo.c: Likewise.
19251 * sysdeps/posix/system.c: Likewise.
19252 * sysdeps/pthread/aio_suspend.c: Likewise.
19253 * sysdeps/s390/s390-32/backtrace.c: Likewise.
19254 * sysdeps/s390/s390-64/backtrace.c: Likewise.
19255 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19256 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19257 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
19258 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
19259 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
19260 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19261 * sysdeps/unix/sysv/linux/system.c: Likewise.
19262 * sysdeps/x86_64/backtrace.c: Likewise.
19263 * time/alt_digit.c: Likewise.
19264 * time/era.c: Likewise.
19265 * time/tzset.c: Likewise.
19266 * wcsmbs/wcsmbsload.c: Likewise.
19267 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
19268 instead of <bits/libc-lock.h> in comment.
19269
19270 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
19271
19272 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
19273 Only use .set mips2 if the current ISA is below mips2.
19274 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
19275 Likewise.
19276 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
19277 mips32r2 if the current ISA is below mips32r2.
19278 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
19279 (TLS_IE): Updated to use the TLD_RDHWR macro.
19280 (TLS_LE): Likewise.
19281 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
19282 __ASSEMBLER__ condition.
19283
19284 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19285
19286 Fix parallel build of before-compile targets.
19287
19288 * sysdeps/mach/Makefile ($(patsubst
19289 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
19290 mach-before-compile target.
19291 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19292 io fs process)): Move rule to dedicated hurd-before-compile target.
19293
19294 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19295
19296 Fix rules generating headers in hurd/ and mach/ when initial make call
19297 has subdir= explicitly set.
19298
19299 * sysdeps/mach/Makefile ($(patsubst
19300 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
19301 calling $(MAKE).
19302 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19303 io fs process)): Force subdir to hurd when calling $(MAKE).
19304 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
19305 subdir to mach when calling $(MAKE).
19306
19307 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
19308
19309 Check sysheaders when looking for Mach and Hurd headers
19310
19311 * sysdeps/mach/configure.ac: Add sysheaders check.
19312 * sysdeps/mach/configure: Regenerate.
19313 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
19314 * sysdeps/mach/hurd/configure: Regenerate.
19315
19316 2015-09-04 Roland McGrath <roland@hack.frob.com>
19317
19318 [BZ #18921]
19319 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
19320 Fix inverted sense of test of 'o_directory_works' value.
19321 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
19322 Bernhard Voelker <mail@bernhard-voelker.de>.
19323
19324 2015-09-04 Joseph Myers <joseph@codesourcery.com>
19325
19326 [BZ #14912]
19327 * bits/linkmap.h: Move to ...
19328 * sysdeps/generic/linkmap.h: ...here.
19329 * sysdeps/aarch64/bits/linkmap.h: Move to ...
19330 * sysdeps/aarch64/linkmap.h: ...here.
19331 * sysdeps/arm/bits/linkmap.h: Move to ...
19332 * sysdeps/arm/linkmap.h: ...here.
19333 * sysdeps/hppa/bits/linkmap.h: Move to ...
19334 * sysdeps/hppa/linkmap.h: ...here.
19335 * sysdeps/ia64/bits/linkmap.h: Move to ...
19336 * sysdeps/ia64/linkmap.h: ...here.
19337 * sysdeps/mips/bits/linkmap.h: Move to ...
19338 * sysdeps/mips/linkmap.h: ...here.
19339 * sysdeps/s390/bits/linkmap.h: Move to ...
19340 * sysdeps/s390/linkmap.h: ...here.
19341 * sysdeps/sh/bits/linkmap.h: Move to ...
19342 * sysdeps/sh/linkmap.h: ...here.
19343 * sysdeps/x86/bits/linkmap.h: Move to ...
19344 * sysdeps/x86/linkmap.h: ...here.
19345 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
19346
19347 2015-09-04 Andreas Schwab <schwab@suse.de>
19348
19349 [BZ #18635]
19350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
19351 (__makecontext): Terminate FDE before return label.
19352 (__novec_makecontext): Likewise.
19353
19354 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
19355
19356 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
19357 first member of struct sv in syscall macro.
19358
19359 2015-09-04 Joseph Myers <joseph@codesourcery.com>
19360
19361 [BZ #14912]
19362 * bits/stdio-lock.h: Move to ...
19363 * sysdeps/generic/stdio-lock.h: ...here.
19364 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
19365 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
19366 * sysdeps/nptl/stdio-lock.h: ...here.
19367 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
19368 * include/libio.h: Include <stdio-lock.h> instead of
19369 <bits/stdio-lock.h>.
19370 * sysdeps/nptl/fork.c: Likewise.
19371 * sysdeps/pthread/flockfile.c: Likewise.
19372 * sysdeps/pthread/ftrylockfile.c: Likewise.
19373 * sysdeps/pthread/funlockfile.c: Likewise.
19374
19375 [BZ #14912]
19376 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
19377 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
19378 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
19379 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
19380 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
19381 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19382 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
19383
19384 2015-09-03 Roland McGrath <roland@hack.frob.com>
19385
19386 * elf/Makefile (test-xfail-tst-protected1a): New variable.
19387 (test-xfail-tst-protected1b): New variable.
19388
19389 2015-09-03 Joseph Myers <joseph@codesourcery.com>
19390
19391 [BZ #14912]
19392 * bits/libc-tsd.h: Move to ...
19393 * sysdeps/generic/libc-tsd.h: ...here.
19394 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
19395 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
19396 * sysdeps/mach/hurd/libc-tsd.h: ...here.
19397 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
19398 * include/ctype.h: Include <libc-tsd.h> instead of
19399 <bits/libc-tsd.h>.
19400 * include/rpc/rpc.h: Likewise.
19401 * locale/localeinfo.h: Likewise.
19402 * sunrpc/rpc_thread.c: Likewise.
19403 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
19404 * sysdeps/nptl/malloc-machine.h: Likewise.
19405
19406 * Makefile (headers): Remove bits/libc-lock.h.
19407 * libio/Makefile (headers): Remove bits/stdio-lock.h.
19408
19409 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
19410 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
19411 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
19412 <bits/stdio-lock.h>.
19413 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
19414 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
19415
19416 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
19417
19418 [BZ #18757]
19419 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
19420 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
19421 BZ #18757.
19422
19423 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
19424
19425 * malloc/mtrace.pl: Filter out NULL entries.
19426
19427 2015-09-01 Joseph Myers <joseph@codesourcery.com>
19428
19429 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
19430 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
19431 macro.
19432
19433 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
19434 (TCP_CC_INFO): Likewise.
19435 (TCP_SAVE_SYN): Likewise.
19436 (TCP_SAVED_SYN): Likewise.
19437
19438 2015-08-31 Brett Neumeier <brett@neumeier.us>
19439
19440 [BZ #18870]
19441 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
19442
19443 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
19444
19445 [BZ #18873]
19446 Fix broken overflow check in posix_fallocate
19447 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
19448 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19449 Fix parenthesization typo.
19450
19451 2015-08-28 Mike Frysinger <vapier@gentoo.org>
19452
19453 [BZ #18887]
19454 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
19455 tst-mntent-blank-passno.
19456 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
19457 * misc/tst-mntent-blank-corrupt.c: New test.
19458 * misc/tst-mntent-blank-passno.c: New test ripped from ...
19459 * misc/tst-mntent.c (do_test): ... here.
19460
19461 2015-08-29 Mike Frysinger <vapier@gentoo.org>
19462
19463 [BZ #4404]
19464 * po/de.po: Fix SIGALRM typo.
19465
19466 2015-08-28 James Perkins <james@loowit.net>
19467
19468 * time/tst-strptime2.c (tests): Replace short list of test
19469 strings for strptime %z specifier with code which exhaustively
19470 tests every combination of sign and 0 to 5 digits. Tests for
19471 rejection of invalid strings.
19472
19473 2015-08-28 James Perkins <james@loowit.net>
19474
19475 [BZ #16141]
19476 * time/strptime_l.c (__strptime_internal): Fix %z minutes
19477 calculation, removing incorrect decimal time rounding, so that
19478 all minute values result in a valid seconds value.
19479 * time/strptime_l.c (__strptime_internal): Extend %z time zone
19480 offset range limits to UTC-99:59 through UTC+99:59 to parse
19481 current and historical use cases.
19482 * time/tst-strptime2.c (tests): Modify and add tests for the
19483 strptime %z input field descriptor, specifically conversion of
19484 minutes to seconds and validating an offset range of -9959 to
19485 +9959.
19486
19487 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19488 Dmitry V. Levin <ldv@altlinux.org>
19489
19490 [BZ #18877]
19491 * posix/Makefile (tests): Add tst-mmap-offset.
19492 * posix/tst-mmap.c: New file.
19493 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
19494 offset calculation for negative values.
19495
19496 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
19497
19498 * sysdeps/i386/init-arch.h: New file.
19499 * sysdeps/i386/i586/init-arch.h: Likewise.
19500 * sysdeps/i386/i686/init-arch.h: Likewise.
19501 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
19502 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
19503 * sysdeps/x86/cpu-features.h (bit_I586): New.
19504 (bit_I686): Likewise.
19505 (bit_CX8): Likewise.
19506 (bit_CMOV): Likewise.
19507 (index_CX8): Likewise.
19508 (index_CMOV): Likewise.
19509 (index_I586): Likewise.
19510 (index_I686): Likewise.
19511 (reg_CX8): Likewise.
19512 (reg_CMOV): Likewise.
19513 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19514 available at compile-time.
19515 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
19516 available at compile-time.
19517 * sysdeps/x86/init-arch.h (USE_I586): New macro.
19518 (USE_I686): Likewise.
19519
19520 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
19521
19522 * sysdeps/i386/bcopy.S: New file.
19523 * sysdeps/i386/bzero.S: Likewise.
19524 * sysdeps/i386/memcpy.S: Likewise.
19525 * sysdeps/i386/memmove.S: Likewise.
19526 * sysdeps/i386/mempcpy.S: Likewise.
19527 * sysdeps/i386/memset.S: Likewise.
19528 * sysdeps/i386/bzero.c: Removed.
19529 * sysdeps/i386/memset.c: Likewise.
19530 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
19531 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
19532 * sysdeps/i386/i586/memset_chk.S: Likewise.
19533 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
19534 * sysdeps/i386/memcpy_chk.S: Here.
19535 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
19536 * sysdeps/i386/memmove_chk.S: Here.
19537 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
19538 * sysdeps/i386/mempcpy_chk.S: Likewise.
19539 * sysdeps/i386/i686/memset_chk.S: Moved to ...
19540 * sysdeps/i386/memset_chk.S: Likewise.
19541
19542 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
19543
19544 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
19545 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
19546 file, move DIAG_POP_NEEDS_COMMENT to end of file.
19547 * soft-fp/fmadf4.c: Ditto.
19548 * soft-fp/fmatf4.c: Ditto.
19549
19550 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
19551
19552 * sysdeps/i386/i586/Implies: Removed.
19553 * sysdeps/i386/i686/Implies: Likewise.
19554
19555 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
19556
19557 * sysdeps/i386/i486/strlen.S: Moved to ...
19558 * sysdeps/i386/strlen.S: Here.
19559
19560 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
19561
19562 * sysdeps/i386/i486/strcat.S: Moved to ...
19563 * sysdeps/i386/strcat.S: Here.
19564
19565 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
19566
19567 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
19568 * sysdeps/i386/pthread_spin_trylock.S: Here.
19569 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
19570 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
19571
19572 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
19573
19574 * sysdeps/i386/i486/string-inlines.c: Moved to ...
19575 * sysdeps/i386/string-inlines.c: Here.
19576
19577 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
19578
19579 * sysdeps/i386/i486/htonl.S: Moved ...
19580 * sysdeps/i386/htonl.S: here.
19581
19582 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
19583
19584 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19585 * sysdeps/i386/bits/atomic.h: Here.
19586
19587 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
19588
19589 * sysdeps/i386/i486/Versions: Removed.
19590
19591 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
19592
19593 [BZ #2898]
19594 * misc/mktemp.c: Add mkdtemp to the link_warning message.
19595 Based on patch by Aurelien Jarno.
19596
19597 2015-08-26 Stan Shebs <stanshebs@google.com>
19598
19599 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19600 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19601
19602 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
19603
19604 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19605 * sysdeps/powerpc/dl-procinfo.c:
19606 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19607 feature so it shows when LD_SHOW_AUXV=1.
19608
19609 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19610
19611 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19612 (__arch_compare_and_exchange_val_32_acq): Remove and use common
19613 definition. ISA 2.07B no longer requires full sync.
19614
19615 2015-08-26 Mike Frysinger <vapier@gentoo.org>
19616
19617 [BZ #18863]
19618 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19619 (si_call_addr): Define.
19620 (si_syscall): Define.
19621 (si_arch): Define.
19622
19623 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
19624
19625 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19626 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19627 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19628 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19629 (__memset_zero_constant_len_parameter): New.
19630 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19631 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19632 (__memset_zero_constant_len_parameter): Don't define if
19633 __memset_chk or USE_AS_BZERO are defined.
19634
19635 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19636 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19637 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19638
19639 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19640 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19641 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19642 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
19643 comments.
19644 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19645 -mno-mmx for $(all-rtld-routines).
19646 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19647 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
19648 i386.
19649
19650 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
19651
19652 * sysdeps/generic/unwind.h
19653 (_Unwind_Word): Use __mode__(__unwind_word__)
19654 instead of __mode__(__word__).
19655 (_Unwind_Sword): Likewise.
19656
19657 * sysdeps/s390/s390-64/utf8-utf16-z9.c
19658 (MAX_NEEDED_INPUT): New define.
19659 (MAX_NEEDED_OUTPUT): New define.
19660
19661 * NEWS: New item for IBM z13 string optimizations.
19662
19663 * sysdeps/s390/multiarch/memrchr-c.c: New File.
19664 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19665 * sysdeps/s390/multiarch/memrchr.c: Likewise.
19666 * sysdeps/s390/multiarch/Makefile
19667 (sysdep_routines): Add memrchr functions.
19668 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19669 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19670
19671 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19672 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19673 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19674 * sysdeps/s390/multiarch/Makefile
19675 (sysdep_routines): Add wmemcmp functions.
19676 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19677 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19678 * benchtests/bench-wmemcmp.c: New File.
19679 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19680
19681 * sysdeps/s390/multiarch/wmemset-c.c: New File.
19682 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19683 * sysdeps/s390/multiarch/wmemset.c: Likewise.
19684 * sysdeps/s390/multiarch/Makefile
19685 (sysdep_routines): Add wmemset functions.
19686 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19687 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19688 * wcsmbs/wmemset.c: Use WMEMSET if defined.
19689 * string/test-memset.c: Add wmemset support.
19690 * wcsmbs/test-wmemset.c: New File.
19691 * wcsmbs/Makefile (strop-tests): Add wmemset.
19692 * benchtests/bench-memset.c: Add wmemset support.
19693 * benchtests/bench-wmemset.c: New File.
19694 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19695
19696 * sysdeps/s390/multiarch/memccpy-c.c: New File.
19697 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19698 * sysdeps/s390/multiarch/memccpy.c: Likewise.
19699 * sysdeps/s390/multiarch/Makefile
19700 (sysdep_routines): Add memccpy functions.
19701 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19702 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19703 * string/memccpy.c: Use MEMCCPY if defined.
19704
19705 * sysdeps/s390/multiarch/memchr-vx.S: New File.
19706 * sysdeps/s390/multiarch/memchr.c: Likewise.
19707 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19708 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19709 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19710 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19711 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19712 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19713 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19714 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19715 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19716 and rawmemchr functions.
19717 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19718 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19719 and wmemchr.
19720 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19721 * string/test-memchr.c: Add wmemchr support.
19722 * wcsmbs/test-wmemchr.c: New File.
19723 * wcsmbs/Makefile (strop-tests): Add wmemchr.
19724 * benchtests/bench-memchr.c: Add wmemchr support.
19725 * benchtests/bench-wmemchr.c: New File.
19726 * benchtests/Makefile (wcsmbs-bench): wmemchr.
19727
19728 * sysdeps/s390/multiarch/strcspn-c.c: New File.
19729 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19730 * sysdeps/s390/multiarch/strcspn.c: Likewise.
19731 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19732 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19733 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19734 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19735 wcscspn functions.
19736 * sysdeps/s390/multiarch/ifunc-impl-list.c
19737 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19738 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19739 * string/test-strcspn.c: Add wcscspn support.
19740 * wcsmbs/test-wcscspn.c: New File.
19741 * wcsmbs/Makefile (strop-tests): Add wcscspn.
19742 * benchtests/bench-strcspn.c: Add wcscspn support.
19743 * benchtests/bench-wcscspn.c: New File.
19744 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19745
19746 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19747 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19748 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19749 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19750 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19751 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19752 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19753 wcspbrk functions.
19754 * sysdeps/s390/multiarch/ifunc-impl-list.c
19755 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19756 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19757 * string/test-strpbrk.c: Add wcspbrk support.
19758 * wcsmbs/test-wcspbrk.c: New File.
19759 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19760 * benchtests/bench-strpbrk.c: Add wcspbrk support.
19761 * benchtests/bench-wcspbrk.c: New File.
19762 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19763
19764 * sysdeps/s390/multiarch/strspn-c.c: New File.
19765 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19766 * sysdeps/s390/multiarch/strspn.c: Likewise.
19767 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19768 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19769 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19770 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19771 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19772 wcsspn functions.
19773 * sysdeps/s390/multiarch/ifunc-impl-list.c
19774 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19775 * string/test-strspn.c: Add wcsspn support.
19776 * wcsmbs/test-wcsspn.c: New File.
19777 * wcsmbs/Makefile (strop-tests): Add wcsspn.
19778 * benchtests/bench-strspn.c: Add wcsspn support.
19779 * benchtests/bench-wcsspn.c: New File.
19780 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19781
19782 * sysdeps/s390/multiarch/strrchr-c.c: New File.
19783 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19784 * sysdeps/s390/multiarch/strrchr.c: Likewise.
19785 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19786 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19787 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19788 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19789 wcsrchr functions.
19790 * sysdeps/s390/multiarch/ifunc-impl-list.c
19791 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19792 * benchtests/bench-wcsrchr.c: New File.
19793 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19794
19795 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19796 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19797 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19798 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19799 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19800 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19801 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19802 wcschrnul functions.
19803 * sysdeps/s390/multiarch/ifunc-impl-list.c
19804 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19805 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19806 * string/test-strchr.c: Add wcschrnul support.
19807 * wcsmbs/test-wcschrnul.c: New File.
19808 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19809 * benchtests/bench-strchr.c: Add wcschrnul support.
19810 * benchtests/bench-wcschrnul.c: New File.
19811 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19812
19813 * sysdeps/s390/multiarch/strchr-c.c: New File.
19814 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19815 * sysdeps/s390/multiarch/strchr.c: Likewise.
19816 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19817 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19818 * sysdeps/s390/multiarch/wcschr.c: Likewise.
19819 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19820 wcschr functions.
19821 * sysdeps/s390/multiarch/ifunc-impl-list.c
19822 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19823 * string/strchr.c (STRCHR): Define and use macro.
19824 * benchtests/bench-wcschr.c: New File.
19825 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19826
19827 * sysdeps/s390/multiarch/strncmp-c.c: New File.
19828 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19829 * sysdeps/s390/multiarch/strncmp.c: Likewise.
19830 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19831 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19832 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19833 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19834 wcsncmp functions.
19835 * sysdeps/s390/multiarch/ifunc-impl-list.c
19836 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19837 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19838 * benchtests/bench-strncmp.c: Add wcsncmp support.
19839 * benchtests/bench-wcsncmp.c: New File.
19840 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19841
19842 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19843 * sysdeps/s390/multiarch/strcmp.c: Likewise.
19844 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19845 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19846 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19847 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19848 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19849 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19850 wcscmp functions.
19851 * sysdeps/s390/multiarch/ifunc-impl-list.c
19852 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19853 * string/strcmp.c (STRCMP): Define and use macro.
19854 * benchtests/bench-wcscmp.c: New File.
19855 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19856 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19857 instead of _HAVE_STRING_ARCH_memchr.
19858
19859 * sysdeps/s390/multiarch/strncat-c.c: New File.
19860 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19861 * sysdeps/s390/multiarch/strncat.c: Likewise.
19862 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19863 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19864 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19865 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19866 wcsncat functions.
19867 * sysdeps/s390/multiarch/ifunc-impl-list.c
19868 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19869 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19870 * string/test-strncat.c: Add wcsncat support.
19871 * wcsmbs/test-wcsncat.c: New File.
19872 * wcsmbs/Makefile (strop-tests): Add wcsncat.
19873 * benchtests/bench-strncat.c: Add wcsncat support.
19874 * benchtests/bench-wcsncat.c: New File.
19875 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19876
19877 * sysdeps/s390/multiarch/strcat-c.c: New File.
19878 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19879 * sysdeps/s390/multiarch/strcat.c: Likewise.
19880 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19881 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19882 * sysdeps/s390/multiarch/wcscat.c: Likewise.
19883 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19884 wcscat functions.
19885 * sysdeps/s390/multiarch/ifunc-impl-list.c
19886 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19887 * string/strcat.c (STRCAT): Define and use macro.
19888 * wcsmbs/wcscat.c: Use WCSCAT if defined.
19889 * string/test-strcat.c: Add wcscat support.
19890 * wcsmbs/test-wcscat.c: New File.
19891 * wcsmbs/Makefile (strop-tests): Add wcscat.
19892 * benchtests/bench-strcat.c: Add wcscat support.
19893 * benchtests/bench-wcscat.c: New File.
19894 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19895
19896 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19897 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19898 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19899 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19900 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19901 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19902 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19903 wcpncpy functions.
19904 * sysdeps/s390/multiarch/ifunc-impl-list.c
19905 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19906 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19907 * string/test-stpncpy.c: Add wcpncpy support.
19908 * wcsmbs/test-wcpncpy.c: New File.
19909 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19910 * benchtests/bench-stpncpy.c: Add wcpncpy support.
19911 * benchtests/bench-wcpncpy.c: New File.
19912 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19913
19914 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19915 * sysdeps/s390/multiarch/strncpy.c: Likewise.
19916 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19917 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19918 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19919 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19920 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19921 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19922 wcsncpy functions.
19923 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19924 * sysdeps/s390/multiarch/ifunc-impl-list.c
19925 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19926 * string/test-strncpy.c: Add wcsncpy support.
19927 * wcsmbs/test-wcsncpy.c: New File.
19928 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19929 * benchtests/bench-strncpy.c: Add wcsncpy support.
19930 * benchtests/bench-wcsncpy.c: New File.
19931 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19932
19933 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19934 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19935 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19936 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19937 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19938 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19939 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19940 wcpcpy functions.
19941 * string/stpcpy.c: Use STPCPY if defined.
19942 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19943 * sysdeps/s390/multiarch/ifunc-impl-list.c
19944 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19945 * string/test-stpcpy.c: Add wcpcpy support.
19946 * wcsmbs/test-wcpcpy.c: New File.
19947 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19948 * benchtests/bench-stpcpy.c: Add wcpcpy support.
19949 * benchtests/bench-wcpcpy.c: New File.
19950 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19951
19952 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19953 * sysdeps/s390/multiarch/strcpy.c: Likewise.
19954 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19955 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19956 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19957 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19958 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19959 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19960 wcscpy functions.
19961 * sysdeps/s390/multiarch/ifunc-impl-list.c
19962 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19963 * benchtests/bench-wcscpy.c: New File.
19964 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19965
19966 * sysdeps/s390/multiarch/strnlen-c.c: New File.
19967 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19968 * sysdeps/s390/multiarch/strnlen.c: Likewise.
19969 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19970 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19971 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19972 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19973 wcsnlen functions.
19974 * sysdeps/s390/multiarch/ifunc-impl-list.c
19975 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19976 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19977 * string/test-strnlen.c: Add wcsnlen support.
19978 * wcsmbs/test-wcsnlen.c: New File.
19979 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19980 * benchtests/bench-strnlen.c: Add wcsnlen support.
19981 * benchtests/bench-wcsnlen.c: New File.
19982 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19983
19984 * sysdeps/s390/multiarch/Makefile: New File.
19985 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19986 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19987 * sysdeps/s390/multiarch/strlen.c: Likewise.
19988 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19989 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19990 * sysdeps/s390/multiarch/wcslen.c: Likewise.
19991 * string/strlen.c (STRLEN): Define and use macro.
19992 * sysdeps/s390/multiarch/ifunc-impl-list.c
19993 (IFUNC_VX_IMPL): New macro function.
19994 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19995 * benchtests/Makefile (wcsmbs-bench): New variable.
19996 (string-bench-all): Added wcsmbs-bench.
19997 * benchtests/bench-wcslen.c: New File.
19998
19999 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
20000 s390_vx_libc_ifunc2): New macro function.
20001
20002 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
20003 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
20004 assembler support.
20005 * sysdeps/s390/configure: Regenerated.
20006
20007 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
20008 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
20009
20010 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
20011 * sysdeps/s390/dl-procinfo.h: Add vector capability.
20012 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
20013
20014 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
20015 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
20016 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
20017 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
20018 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
20019 (memcmp, bcmp): Use __memcmp_default as alias source.
20020 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
20021 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
20022 Rename to __memcmp_default.
20023 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
20024 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
20025 (memcpy): Use __memcpy_default as alias source.
20026 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
20027 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
20028 Rename to __memcpy_default.
20029 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
20030 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
20031 (memset): Use __memset_default as alias source.
20032 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
20033 * sysdeps/s390/s390-32/memset.S (__memset_g5):
20034 Rename to __memset_default.
20035 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
20036 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
20037 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
20038 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
20039 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
20040 (memcmp, bcmp): Use __memcmp_default as alias source.
20041 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
20042 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
20043 Rename to __memcmp_default.
20044 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
20045 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
20046 (memcpy): Use __memcpy_default as alias source.
20047 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
20048 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
20049 Rename to __memcpy_default.
20050 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
20051 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
20052 (memset): Use __memset_default as alias source.
20053 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
20054 * sysdeps/s390/s390-64/memset.S (__memset_z900):
20055 Rename to __memset_default.
20056 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
20057 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
20058
20059 [BZ #18610]
20060 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
20061 __ieee_instruction_pointer to __unused.
20062 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
20063 __ieee_instruction_pointer.
20064 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
20065 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
20066 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20067 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20068 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
20069 Mark dxc-field as reserved.
20070
20071 2015-08-25 Roland McGrath <roland@hack.frob.com>
20072
20073 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
20074 if the weak reference is not null.
20075
20076 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
20077
20078 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
20079
20080 [BZ #11214]
20081 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
20082
20083 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20084
20085 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
20086 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
20087 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
20088 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
20089 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
20090 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
20091 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
20092 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
20093 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
20094 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
20095 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
20096 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
20097 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
20098 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
20099 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
20100 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
20101 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
20102 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
20103
20104 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20105
20106 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
20107 register other than r0 for tabort, it has special meaning.
20108 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
20109 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
20110 transaction before starting syscall.
20111
20112 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20113
20114 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
20115
20116 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
20117
20118 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
20119
20120 * sysdeps/x86_64/rtld-memcmp.c: Removed.
20121 * sysdeps/x86_64/rtld-memset.S: Likewise.
20122 * sysdeps/x86_64/rtld-strchr.S: Likewise.
20123 * sysdeps/x86_64/rtld-strlen.S: Likewise.
20124 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
20125 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20126
20127 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
20128
20129 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
20130
20131 * debug/strcpy_chk.c: Improve performance.
20132 * debug/stpcpy_chk.c: Likewise.
20133 * sysdeps/x86_64/strcpy_chk.S: Remove.
20134 * sysdeps/x86_64/stpcpy_chk.S: Remove.
20135
20136 [BZ #18240]
20137 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
20138
20139 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
20140
20141 [BZ #15128]
20142 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
20143 ifuncmain8.
20144 (modules-names): Add ifuncmod8.
20145 ($(objpfx)ifuncmain8): New rule.
20146 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
20147 <cpuid.h>.
20148 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
20149 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
20150 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
20151 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
20152 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
20153 * sysdeps/x86_64/dl-trampoline.h: Likewise.
20154 * sysdeps/x86_64/ifuncmain8.c: New file.
20155 * sysdeps/x86_64/ifuncmod8.c: Likewise.
20156 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
20157 Removed.
20158 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
20159 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
20160 Change rtld_savespace_sse to __glibc_unused2.
20161 (RTLD_CHECK_FOREIGN_CALL): Removed.
20162 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
20163 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
20164 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
20165
20166 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
20167
20168 * sysdeps/aarch64/bzero.S (__bzero): Remove.
20169
20170 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
20171
20172 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
20173 Unconditionally set __fpcr to avoid uninialized warning.
20174 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
20175
20176 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20177
20178 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
20179 is corrupt.
20180
20181 * malloc/arena.c (arena_get2): Drop unused argument.
20182 (arena_lock): Adjust.
20183 (arena_get_retry): Likewise.
20184
20185 2015-08-24 Andreas Schwab <schwab@suse.de>
20186
20187 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
20188 Don't define.
20189 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20190 (__ASSUME_IPC64): Don't undef.
20191 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
20192 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20193 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20194 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
20195 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
20196 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
20197 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
20198 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
20199 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
20200 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
20201 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
20202 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
20203 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
20204 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
20205 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
20206 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
20207 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
20208 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
20209 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
20210 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
20211 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
20212
20213 2015-08-21 Mike Frysinger <vapier@gentoo.org>
20214
20215 * manual/Makefile (install): Only build manual when perl is available.
20216
20217 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20218
20219 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
20220 '#undef memcpy' by '#undef memchr'.
20221
20222 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20223
20224 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
20225 memchr not point to the internal __GI_memchr implementation.
20226
20227 2015-08-20 Joseph Myers <joseph@codesourcery.com>
20228
20229 * timezone/Makefile (CFLAGS-zdump.c): Remove
20230 -Wno-strict-prototypes.
20231 (CFLAGS-zic.c): Likewise.
20232 (CFLAGS-ialloc.c): Likewise.
20233 (CFLAGS-scheck.c): Likewise.
20234
20235 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
20236 -Wno-error=undef.
20237
20238 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
20239
20240 * i386/i686/multiarch/strcasestr-c.c: Removed.
20241 * x86_64/multiarch/strcasestr.c: Likewise.
20242 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20243 Remove strcasestr.
20244
20245 2015-08-20 Joseph Myers <joseph@codesourcery.com>
20246
20247 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
20248
20249 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
20250 variables for high and low parts before possibly modifying them.
20251
20252 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
20253
20254 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
20255 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
20256 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
20257 of "multiarch/init-arch.h".
20258 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
20259 * sysdeps/x86/init-arch.h: This.
20260
20261 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
20262
20263 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
20264 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
20265
20266 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
20267
20268 [BZ #17787]
20269 * manual/macros.texi: Add twoexp macro.
20270 * manual/filesys.texi: Fix exponents.
20271 * manual/llio.texi: Likewise.
20272 * manual/stdio.texi: Likewise.
20273
20274 2015-08-20 Florian Weimer <fweimer@redhat.com>
20275
20276 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
20277 incorrect use.
20278
20279 2015-08-19 Joseph Myers <joseph@codesourcery.com>
20280
20281 [BZ #18370]
20282 * math/s_csqrt.c (__csqrt): Force underflow exception for results
20283 whose real or imaginary part has small absolute value.
20284 * math/s_csqrtf.c (__csqrtf): Likewise.
20285 * math/s_csqrtl.c (__csqrtl): Likewise.
20286 * math/auto-libm-test-in: Add more tests of csqrt.
20287 * math/auto-libm-test-out: Regenerated.
20288 * sysdeps/i386/fpu/libm-test-ulps: Update.
20289
20290 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20291
20292 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
20293 __ppc_set_ppr_very_low): New functions.
20294 * manual/platform.texi: Add documentation about
20295 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
20296
20297 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
20298
20299 * string/stpncpy.c (stpncpy): Improve performance using
20300 __strnlen/memcpy/memset.
20301
20302 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
20303
20304 [BZ #18796]
20305 * scripts/test-installation.pl: Don't add -lmvec to build options if
20306 libmvec wasn't built.
20307
20308 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
20309
20310 [BZ #14341]
20311 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
20312 case when there is a gap between DT_REL and DT_JMPREL sections.
20313 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
20314 (LDFLAGS-tst-split-dynreloc): New.
20315 (tst-split-dynreloc-ENV): Likewise.
20316 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
20317 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
20318
20319 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
20320
20321 [BZ #18822]
20322 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
20323 attribute_hidden.
20324 (__xstat64_conv): Likewise.
20325 (__xstat32_conv): Likewise.
20326
20327 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
20328
20329 [BZ #18822]
20330 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20331 Don't load %ebx when calling __setcontext. Call __setcontext
20332 with HIDDEN_JUMPTARGET.
20333 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
20334 libc_hidden_def.
20335
20336 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
20337
20338 * sysdeps/i386/i686/Makefile
20339 [$(subdir) == string] (sysdep_routines): Moved to ...
20340 * sysdeps/i386/Makefile: Here.
20341 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
20342 * sysdeps/i386/cacheinfo.c: Here.
20343 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
20344 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
20345 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
20346 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
20347
20348 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
20349
20350 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
20351 __i586__ is defined.
20352 (HAS_I686): Defined to 1 if __i686__ is defined.
20353
20354 2015-08-19 Joseph Myers <joseph@codesourcery.com>
20355
20356 * elf/Makefile [$(have-z-execstack) = yes]
20357 (CPPFLAGS-tst-execstack.c): New variable.
20358
20359 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
20360 conditional to [defined UTMPX || _HAVE_UT_TYPE].
20361 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
20362 UTMPX || _HAVE_UT_TV].
20363 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
20364 UTMPX || _HAVE_UT_TV - 0].
20365
20366 2015-08-18 Joseph Myers <joseph@codesourcery.com>
20367
20368 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
20369 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
20370 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
20371
20372 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20373
20374 * sysdeps/powerpc/dl-procinfo.c:
20375 (_dl_powerpc_cap_flags): Added missing strings for some
20376 hwcap features.
20377 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
20378
20379 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
20380
20381 Port the 0x7efe...feff pattern to GCC 6.
20382 See Steve Ellcey's bug report in:
20383 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
20384 * string/memrchr.c (MEMRCHR):
20385 * string/rawmemchr.c (RAWMEMCHR):
20386 * string/strchr.c (strchr):
20387 * string/strchrnul.c (STRCHRNUL):
20388 Rewrite code to avoid issues with signed shift overflow.
20389
20390 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
20391
20392 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
20393 whether cpuid is available only if HAS_CPUID is 0.
20394 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
20395 (HAS_I586): Likewise.
20396 (HAS_I686): Likewise.
20397
20398 2015-08-18 Zack Weinberg <zackw@panix.com>
20399
20400 * misc/Versions (libc): Add GLIBC_2.23.
20401
20402 2015-08-18 Alan Modra <amodra@gmail.com>
20403
20404 [BZ #18421]
20405 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
20406 .Lp__global.
20407 (_start): Load %dp via .Lp__global.
20408 [!SHARED]: Use .section .rodata.
20409
20410 2015-08-18 Mike Frysinger <vapier@gentoo.org>
20411
20412 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
20413 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
20414
20415 2015-08-18 Mike Frysinger <vapier@gentoo.org>
20416
20417 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
20418 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
20419
20420 2015-08-18 Mike Frysinger <vapier@gentoo.org>
20421
20422 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
20423 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
20424
20425 2015-08-18 Mike Frysinger <vapier@gentoo.org>
20426
20427 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
20428 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
20429
20430 2015-08-18 Mike Frysinger <vapier@gentoo.org>
20431
20432 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
20433 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
20434
20435 2015-08-18 Mike Frysinger <vapier@gentoo.org>
20436
20437 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
20438 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
20439
20440 2015-08-18 Mike Frysinger <vapier@gentoo.org>
20441
20442 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
20443
20444 2015-08-18 Mike Frysinger <vapier@gentoo.org>
20445
20446 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
20447 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
20448 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20449 (__ASSUME_LWS_CAS): Delete.
20450
20451 2015-08-18 Mike Frysinger <vapier@gentoo.org>
20452
20453 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
20454 * sysdeps/hppa/configure: Regenerated.
20455 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
20456 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
20457 * sysdeps/hppa/nptl/tls.h: Likewise.
20458
20459 2015-08-17 Joseph Myers <joseph@codesourcery.com>
20460
20461 [BZ #18823]
20462 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
20463 for scaling up small arguments.
20464 * math/s_csqrtf.c (__csqrtf): Likewise.
20465 * math/s_csqrtl.c (__csqrtl): Likewise.
20466 * math/auto-libm-test-in: Add more tests of csqrt.
20467 * math/auto-libm-test-out: Regenerated.
20468
20469 2015-08-17 Andreas Schwab <schwab@suse.de>
20470
20471 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
20472 version set GLIBC_2.19.
20473
20474 2015-08-16 Zack Weinberg <zackw@panix.com>
20475
20476 [BZ #18681]
20477 * misc/regexp.h: This interface is no longer supported.
20478 Remove all contents, leaving only an #error directive.
20479 * misc/regexp.c (loc1, loc2, locs, step, advance):
20480 Demote to compatibility symbols.
20481
20482 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
20483
20484 [BZ #18084]
20485 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
20486 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
20487 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20488 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
20489 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
20490 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
20491 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
20492 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
20493 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20494
20495 2015-08-15 Zack Weinberg <zackw@panix.com>
20496
20497 [BZ #18795]
20498 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
20499 buffer length is known to be too large, not if it's known to be
20500 small enough.
20501 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
20502 overflow at runtime, involving a length parameter, twice: once
20503 with a compile-time constant length parameter, once without.
20504
20505 2015-08-14 Joseph Myers <joseph@codesourcery.com>
20506
20507 [BZ #18824]
20508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
20509 scaling x * y up instead of down.
20510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20511 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20512 * math/auto-libm-test-in: Add more tests of fma.
20513 * math/auto-libm-test-out: Regenerated.
20514
20515 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
20516
20517 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20518
20519 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20520
20521 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
20522 unnecessary movq.
20523 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20524 Likewise.
20525
20526 2015-08-13 Joseph Myers <joseph@codesourcery.com>
20527
20528 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20529 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
20530 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
20531 and tgamma.
20532 * math/auto-libm-test-out: Regenerated.
20533 * sysdeps/i386/fpu/libm-test-ulps: Update.
20534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20535
20536 [BZ #16520]
20537 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20538 (__tanh): Force underflow exception for arguments with small
20539 absolute value.
20540 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
20541 (__tanhf): Force underflow exception for arguments with small
20542 absolute value.
20543 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
20544 (__tanhl): Force underflow exception for arguments with small
20545 absolute value.
20546 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
20547 (__tanhl): Force underflow exception for arguments with small
20548 absolute value.
20549 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
20550 (__tanhl): Force underflow exception for arguments with small
20551 absolute value.
20552 * math/auto-libm-test-in: Add more tests of tanh.
20553 * math/auto-libm-test-out: Regenerated.
20554 * sysdeps/i386/fpu/libm-test-ulps: Update.
20555
20556 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
20557
20558 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
20559 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
20560
20561 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
20562
20563 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
20564 <cpuid.h>.
20565
20566 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
20567
20568 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
20569 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
20570
20571 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
20572
20573 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
20574 Remove $(objpfx)init-arch.o.
20575 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
20576 init-arch.
20577 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20578 (INIT_ARCH_EXT): Defined as empty.
20579 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20580 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20581 __init_cpu_features call. Replace HAS_XXX with
20582 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20583 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20584 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20585 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20586 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20587 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20588 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20589 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20590 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20591 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20592 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20593 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20594 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20595 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20596 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20597 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20598 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20599 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20600 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20601 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20602 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20603 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20604 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20605 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20606 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20607 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20608 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20609 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20610 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20611 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20612 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20613 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20614 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20615 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20616 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20617 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20618
20619 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
20620
20621 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20622 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20623 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20624 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20625 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20626 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20627 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20628 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20629 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20630 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20631 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20632 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
20633 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20634 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20635 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20636 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20637 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20638 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20639 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20640 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20641 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20642 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20643 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20644 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20645 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20646 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20647 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20648 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20649 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20650 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20651 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20652 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20653 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20654 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20655 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20656 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20657 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20658 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20659 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20660 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20661 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20662 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20663 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20664
20665 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
20666
20667 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20668 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20670 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20671 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20672 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20674 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20675 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20676 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20677 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20678 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20679 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20680 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20681 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20682 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20683 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20684 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20685 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20686 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20688 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20689 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20690 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20691 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20692 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20693 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20694 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
20695 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20696 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20697 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20698 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20699 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20700 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20701 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20702 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20703 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20704 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20705 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20706 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20707 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20708 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20709 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20710
20711 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
20712
20713 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20714 (dl_platform_init): Call init_cpu_features.
20715 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20716 * sysdeps/i386/i686/cacheinfo.c
20717 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20718 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20719 * sysdeps/i386/i686/multiarch/Versions: Removed.
20720 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20721 Removed.
20722 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20723 * sysdeps/unix/sysv/linux/x86/Makefile
20724 (libpthread-sysdep_routines): Remove init-arch.
20725 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20726 <sysdeps/x86_64/dl-procinfo.c> instead of
20727 sysdeps/generic/dl-procinfo.c>.
20728 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20729 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20730 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20731 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20732 [$(subdir) == elf] (tests-static): Add
20733 tst-get-cpu-features-static.
20734 * sysdeps/x86/Versions: New file.
20735 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20736 * sysdeps/x86/cpu-features.c: Likewise.
20737 * sysdeps/x86/cpu-features.h: Likewise.
20738 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20739 * sysdeps/x86/libc-start.c: Likewise.
20740 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20741 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20742 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20743 * sysdeps/x86_64/dl-procinfo.c: Likewise.
20744 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20745 Assume USE_MULTIARCH is defined and don't check it.
20746 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20747 (is_amd): Likewise.
20748 (max_cpuid): Likewise.
20749 (intel_check_word): Likewise.
20750 (__cache_sysconf): Don't call __init_cpu_features.
20751 (__x86_preferred_memory_instruction): Removed.
20752 (init_cacheinfo): Don't call __init_cpu_features. Replace
20753 __cpu_features with GLRO(dl_x86_cpu_features).
20754 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20755 (dl_platform_init): Call init_cpu_features.
20756 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20757 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20758 * sysdeps/x86_64/multiarch/Versions: Removed.
20759 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20760 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20761 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20762 Removed.
20763 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20764
20765 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20766
20767 [BZ #18820]
20768 * libio/Makefile (test-fmemopen-mem): New test.
20769 * libio/test-fmemopen.c (do_bz18820): New test.
20770 * libio/fmemopen.c (__fmemopen): Fix memory leak.
20771 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20772
20773 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20774
20775 [BZ #16734]
20776 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20777 (FREE_BUF): Delete.
20778 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20779 * libio/genops.c (_IO_setb): Use malloc and free directly.
20780 (_IO_default_doallocate, _IO_default_finish): Likewise.
20781 ( _IO_unbuffer_all): Likewise.
20782 ( libc_freeres_fn): Likewise.
20783 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20784 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20785 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20786 (_IO_wdefault_doallocate): Likewise.
20787
20788 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20789
20790 [BZ #18086]
20791 * sysdeps/posix/nice.c (nice): Restore old errno.
20792 * posix/tst-nice.c (do_test): Add test for BZ #18086.
20793
20794 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
20795
20796 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20797
20798 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20799
20800 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20801 __bcopy and add a weak_alias to bcopy.
20802 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20803 for static build.
20804
20805 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20806 cleanup macro usage.
20807 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20808 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20809 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20810 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20811 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20812 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20813 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20814 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20815 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20816 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20817 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20818 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20819 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20820 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20821 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20822 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20823 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20824 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20825 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20826
20827 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20828 libc_hidden_def.
20829 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20830
20831 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20832 (sysdep_routines): Add strstr-ppc64.
20833 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20834
20835 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
20836
20837 [BZ #18778]
20838 * elf/Makefile (tests): Add Add tst-nodelete2.
20839 (modules-names): Add tst-nodelete2mod.
20840 (tst-nodelete2mod.so-no-z-defs): New.
20841 ($(objpfx)tst-nodelete2): Likewise.
20842 ($(objpfx)tst-nodelete2.out): Likewise.
20843 (LDFLAGS-tst-nodelete2): Likewise.
20844 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20845 out of loop through all loaded libraries.
20846 * elf/tst-nodelete2.c: New file.
20847 * elf/tst-nodelete2mod.c: Likewise.
20848 * elf/tst-znodelete-zlib.cc: Delete.
20849
20850 2015-08-11 Andreas Schwab <schwab@suse.de>
20851
20852 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20853 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20854 (__openat64_nocancel): Likewise.
20855
20856 2015-08-11 Joseph Myers <joseph@codesourcery.com>
20857
20858 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20859 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20860 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20861 * math/auto-libm-test-out: Regenerated.
20862 * sysdeps/i386/fpu/libm-test-ulps: Update.
20863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20864
20865 2015-08-10 Joseph Myers <joseph@codesourcery.com>
20866
20867 [BZ #18790]
20868 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20869 threshold for returning +/- 1.
20870 * math/auto-libm-test-in: Add more tests of tanh.
20871 * math/auto-libm-test-out: Regenerated.
20872 * sysdeps/i386/fpu/libm-test-ulps: Update.
20873
20874 2015-08-10 Andreas Schwab <schwab@suse.de>
20875
20876 [BZ #18781]
20877 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20878 MORE_OFLAGS to oflag.
20879 * io/test-lfs.c (do_test): Test openat64.
20880
20881 2015-08-10 Joseph Myers <joseph@codesourcery.com>
20882
20883 [BZ #18789]
20884 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20885 smaller threshold for returning the argument.
20886 * math/auto-libm-test-in: Add more tests of sinh.
20887 * math/auto-libm-test-out: Regenerated.
20888 * sysdeps/i386/fpu/libm-test-ulps: Update.
20889
20890 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
20891
20892 [BZ #18674]
20893 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20894 break.
20895
20896 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
20897
20898 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20899 (generated): Don't add $(addprefix z.,$(tzfiles)).
20900
20901 2015-08-09 Mike Frysinger <vapier@gentoo.org>
20902
20903 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20904 * scripts/sysd-rules.awk: Likewise.
20905
20906 2015-08-09 Mike Frysinger <vapier@gentoo.org>
20907
20908 * iconvdata/tst-tables.sh: Change echo -n to printf.
20909 * nss/db-Makefile: Likewise.
20910 * posix/tst-getconf.sh: Likewise.
20911 * stdio-common/tst-unbputc.sh: Likewise.
20912
20913 2015-08-09 Mike Frysinger <vapier@gentoo.org>
20914
20915 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20916 MADV_*_PAGES defines behind this feature check.
20917
20918 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
20919
20920 [BZ #18480]
20921 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20922 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20923 Define.
20924 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20925 LOAD_REGS_5, LOAD_REGS_6): Update.
20926 (INTERNAL_SYSCALL): Update using new LOAD defines.
20927 (INTERNAL_SYSCALL_NCS): Likewise.
20928 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20929
20930 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20931
20932 [BZ #16734]
20933 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20934
20935 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20936
20937 [BZ #17905]
20938 * catgets/Makefile (tst-catgets-mem): New test.
20939 * catgets/catgets.c (catopen): Don't use unbounded alloca.
20940 * catgets/open_catalog.c (__open_catalog): Likewise.
20941 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20942
20943 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
20944
20945 [BZ #18787]
20946 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20947 clobber registers.
20948 (atomic_compare_and_exchange_val_acq): Use register asms to assign
20949 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
20950 Cast return to __typeof (oldval).
20951
20952 2015-08-08 Mike Frysinger <vapier@gentoo.org>
20953
20954 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20955 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
20956 and delete sys/syscall.h include.
20957
20958 2015-08-07 Joseph Myers <joseph@codesourcery.com>
20959
20960 [BZ #16517]
20961 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20962 (tan): Force underflow exception for arguments with small absolute
20963 value.
20964 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20965 (__kernel_tanf): Force underflow exception for arguments with
20966 small absolute value.
20967 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20968 (__kernel_tanl): Force underflow exception for arguments with
20969 small absolute value.
20970 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20971 (__kernel_tanl): Force underflow exception for arguments with
20972 small absolute value.
20973 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20974 (__kernel_tanl): Force underflow exception for arguments with
20975 small absolute value.
20976 * math/auto-libm-test-in: Add more tests of tan.
20977 * math/auto-libm-test-out: Regenerated.
20978
20979 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
20980
20981 Fix sysdeps/i386/fpu/s_scalbn.S build
20982
20983 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20984
20985 2015-08-07 Mike Frysinger <vapier@gentoo.org>
20986
20987 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20988
20989 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
20990
20991 Fix gcrt0.o compilation
20992
20993 When static-start-installed-name is different from
20994 start-installed-name, we must not use the shared objects.
20995
20996 * csu/Makefile
20997 (extra-objs): Add gmon-start.o when building shared library and
20998 $(static-start-installed-name) is different from
20999 $(start-installed-name).
21000 $(objpfx)g$(static-start-installed-name): When building shared
21001 library and $(static-start-installed-name) is different from
21002 $(static-start-installed-name), revert to non-shared rule,
21003 i.e. using $(objpfx)% and gmon-start.o.
21004
21005 2015-08-06 Joseph Myers <joseph@codesourcery.com>
21006
21007 [BZ #16519]
21008 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
21009 (__ieee754_sinh): Force underflow exception for arguments with
21010 small absolute value.
21011 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
21012 (__ieee754_sinhf): Force underflow exception for arguments with
21013 small absolute value.
21014 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
21015 (__ieee754_sinhl): Force underflow exception for arguments with
21016 small absolute value.
21017 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
21018 (__ieee754_sinhl): Force underflow exception for arguments with
21019 small absolute value.
21020 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
21021 (__ieee754_sinhl): Force underflow exception for arguments with
21022 small absolute value.
21023 * math/auto-libm-test-in: Add more tests of sinh.
21024 * math/auto-libm-test-out: Regenerated.
21025 * sysdeps/i386/fpu/libm-test-ulps: Update.
21026
21027 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21028
21029 * libio/oldfileops.c: Include unistd.h.
21030
21031 2015-08-06 Mike Frysinger <vapier@gentoo.org>
21032
21033 * stdlib/isomac.c: Include ctype.h.
21034
21035 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
21036
21037 * dirent/tst-seekdir.c (main): Converted to ...
21038 (do_test): ... this.
21039 (TEST_FUNCTION): New macro.
21040 Include test-skeleton.c.
21041 * elf/tst-dlmodcount.c (main): Converted to ...
21042 (do_test): ... this.
21043 (TEST_FUNCTION): New macro.
21044 Include test-skeleton.c.
21045 * elf/tst-order-main.c (main): Converted to ...
21046 (do_test): ... this.
21047 (TEST_FUNCTION): New macro.
21048 Include test-skeleton.c.
21049 * elf/tst-pie2.c (main): Converted to ...
21050 (do_test): ... this.
21051 (TEST_FUNCTION): New macro.
21052 Include test-skeleton.c.
21053 * inet/tst-ether_aton.c (main): Converted to ...
21054 (do_test): ... this.
21055 (TEST_FUNCTION): New macro.
21056 Include test-skeleton.c.
21057 * misc/tst-mntent.c (main): Converted to ...
21058 (do_test): ... this.
21059 (TEST_FUNCTION): New macro.
21060 Include test-skeleton.c.
21061 * misc/tst-tsearch.c (main): Converted to ...
21062 (do_test): ... this.
21063 (TEST_FUNCTION): New macro.
21064 Include test-skeleton.c.
21065 * posix/tst-regexloc.c (main): Converted to ...
21066 (do_test): ... this.
21067 (TEST_FUNCTION): New macro.
21068 Include test-skeleton.c.
21069 * resolv/tst-aton.c (main): Converted to ...
21070 (do_test): ... this.
21071 (TEST_FUNCTION): New macro.
21072 Include test-skeleton.c.
21073 * stdio-common/test-fwrite.c (main): Converted to ...
21074 (do_test): ... this.
21075 (TEST_FUNCTION): New macro.
21076 Include test-skeleton.c.
21077 * stdio-common/tst-ferror.c (main): Converted to ...
21078 (do_test): ... this.
21079 (TEST_FUNCTION): New macro.
21080 Include test-skeleton.c.
21081 * stdio-common/tst-printf.c (main): Converted to ...
21082 (do_test): ... this.
21083 (TEST_FUNCTION): New macro.
21084 Include test-skeleton.c.
21085 * stdio-common/tst-printfsz.c (main): Converted to ...
21086 (do_test): ... this.
21087 (TEST_FUNCTION): New macro.
21088 Include test-skeleton.c.
21089 * stdlib/tst-strtod.c (main): Converted to ...
21090 (do_test): ... this.
21091 (TEST_FUNCTION): New macro.
21092 Include test-skeleton.c.
21093 * string/tst-strlen.c (main): Converted to ...
21094 (do_test): ... this.
21095 (TEST_FUNCTION): New macro.
21096 Include test-skeleton.c.
21097 * string/tst-svc.c (main): Converted to ...
21098 (do_test): ... this.
21099 (TEST_FUNCTION): New macro.
21100 Include test-skeleton.c.
21101 * time/tst-strptime.c (main): Converted to ...
21102 (do_test): ... this.
21103 (TEST_FUNCTION): New macro.
21104 Include test-skeleton.c.
21105 * timezone/tst-timezone.c (main): Converted to ...
21106 (do_test): ... this.
21107 (TEST_FUNCTION): New macro.
21108 Include test-skeleton.c.
21109
21110 2015-08-05 Zack Weinberg <zackw@panix.com>
21111
21112 * misc/regexp.h: Update comments.
21113
21114 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
21115
21116 [BZ #18635]
21117 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
21118 before return label.
21119
21120 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
21121
21122 [BZ #18661]
21123 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
21124 when calling __errno_location.
21125 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
21126 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
21127
21128 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
21129
21130 [BZ #18661]
21131 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
21132 (__lll_timedwait_tid): Align stack to 16 bytes when calling
21133 __gettimeofday.
21134
21135 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
21136
21137 [BZ #18661]
21138 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21139 (__start_context): Don't use pop to restore %rdi so that stack
21140 is aligned to 16 bytes when calling __setcontext.
21141
21142 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
21143
21144 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
21145 only for libc.
21146 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21147
21148 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
21149
21150 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
21151 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
21152 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
21153
21154 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
21155
21156 * string/memccpy.c (memccpy):
21157 Improve performance by using memchr/memcpy/__mempcpy.
21158
21159 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
21160
21161 * string/strncpy.c (strncpy):
21162 Improve performance by using __strnlen/memcpy.
21163
21164 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
21165
21166 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21167 Optimize to avoid an unnecessary FPCR read.
21168
21169 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
21170
21171 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21172 Optimize to reduce FPCR/FPSR accesses.
21173
21174 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
21175
21176 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
21177 dead->data[category] != NULL.
21178
21179 2015-08-05 Joseph Myers <joseph@codesourcery.com>
21180
21181 [BZ #18647]
21182 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
21183 and |x| close to 1, use absolute value of x when computing log.
21184 * math/auto-libm-test-in: Add more tests of pow.
21185 * math/auto-libm-test-out: Regenerated.
21186
21187 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21188
21189 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
21190 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
21191 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
21192
21193 2015-08-05 Marko Myllynen <myllynen@redhat.com>
21194
21195 [BZ #18525]
21196 * locales/km_KH: Remove timezone definition.
21197 * locales/lo_LA: Likewise.
21198 * locales/my_MM: Likewise.
21199 * locales/nan_TW@latin: Likewise.
21200 * locales/th_TH: Likewise.
21201 * locales/uk_UA: Likewise.
21202
21203 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
21204
21205 [BZ #18265]
21206 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
21207 (wcsncat): Likewise.
21208 (wcscmp): Likewise.
21209 (wcsncmp): Likewise.
21210
21211 2015-08-05 Mike Frysinger <vapier@gentoo.org>
21212
21213 * test-skeleton.c (usage): New function.
21214 (main): Call usage when opt is '?'.
21215
21216 2015-08-05 Mike Frysinger <vapier@gentoo.org>
21217
21218 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
21219 before first use.
21220
21221 2015-08-05 Mike Frysinger <vapier@gentoo.org>
21222
21223 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
21224 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
21225 in there too.
21226
21227 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
21228
21229 * version.h (RELEASE): Set to "development".
21230 (VERSION): Set to "2.22.90"
21231
21232 * version.h (RELEASE): Set to "stable".
21233 (VERSION): Set to "2.22"
21234 * include/features.h (__GLIBC_MINOR__): Set to 22.
21235
21236 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
21237
21238 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
21239 Restructure macro to avoid "value computed is not used" warning.
21240 (atomic_compare_and_exchange_val_acq): Likewise.
21241
21242 2015-08-04 Andreas Schwab <schwab@suse.de>
21243
21244 [BZ #18635]
21245 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
21246 ret.
21247 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
21248
21249 2015-08-01 Carlos O'Donell <carlos@redhat.com>
21250
21251 * po/pl.po: Updated translation.
21252 * po/uk.po: Likewise.
21253 * po/fi.po: Likewise.
21254 * po/ko.po: Likewise.
21255 * po/ru.po: Likewise.
21256 * po/vi.po: Likewise.
21257
21258 2015-07-31 Zack Weinberg <zackw@panix.com>
21259
21260 [BZ #18681]
21261 * regexp.h: Add unconditional #warning stating that this header
21262 will be removed soon. Revise banner comment to match.
21263 (compile): Consistently use ERROR instead of RETURN to report
21264 errors (partial fix for bz#18681).
21265 * regexp.c: Don't include regexp.h. Remove some unnecessary
21266 declarations.
21267
21268 2015-07-31 Carlos O'Donell <carlos@redhat.com>
21269
21270 * po/libc.pot: Regenerated.
21271
21272 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
21273
21274 [BZ #18740]
21275 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
21276 float-vlen4-arch-ext-cflags): Removed.
21277 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
21278 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
21279
21280 2015-07-30 Mike Frysinger <vapier@gentoo.org>
21281
21282 [BZ #14113]
21283 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
21284 aligned to __aligned__.
21285 (pthread_cond_t, pthread_rwlock_t): Likewise.
21286
21287 2015-07-30 Torvald Riegel <triegel@redhat.com>
21288
21289 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
21290
21291 2015-07-30 Mike Frysinger <vapier@gentoo.org>
21292
21293 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
21294 (struct sigaction): Change sa_flags from a long to an int, and add
21295 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
21296
21297 2015-07-30 Mike Frysinger <vapier@gentoo.org>
21298
21299 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
21300 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
21301 sysdeps/generic/sysdep.h include.
21302 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
21303 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
21304 sysdeps/hppa/sysdep.h.
21305 (ENTRY, PSEUDO): Undefine before defining.
21306
21307 2015-07-30 Mike Frysinger <vapier@gentoo.org>
21308
21309 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
21310 from scratch to use INTERNAL_SYSCALL.
21311
21312 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
21313
21314 [BZ #18078]
21315 * scripts/check-localplt.awk: Support alternate relocations.
21316 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
21317 sections.
21318 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
21319 malloc entries with + REL R_386_GLOB_DAT.
21320 * sysdeps/x86_64/localplt.data: New file.
21321
21322 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
21323
21324 [BZ #18731]
21325 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
21326 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21327 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21328
21329 2015-07-27 Mike Frysinger <vapier@gentoo.org>
21330
21331 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
21332
21333 2015-07-27 Mike Frysinger <vapier@gentoo.org>
21334
21335 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
21336 directly in terms of __sync_fetch_and_add and delete (int) cast.
21337
21338 2015-07-27 Mike Frysinger <vapier@gentoo.org>
21339
21340 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
21341 the -D_ASM_IA64_CURRENT_H flag.
21342
21343 2015-07-27 Mike Frysinger <vapier@gentoo.org>
21344
21345 [BZ #18641]
21346 * pwd/pwd.h (putpwent): Delete __nonnull markings.
21347
21348 2015-07-27 Andreas Schwab <schwab@suse.de>
21349
21350 * conform/conformtest.pl (checknamespace): Filter out string
21351 literals while tokenizing.
21352
21353 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
21354
21355 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21356 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
21357 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21358
21359 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
21360
21361 * nptl/tst-join7mod.c: Add #include <string.h>.
21362
21363 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
21364
21365 * sysdeps/nios2/libm-test-ulps: Update.
21366
21367 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
21368
21369 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
21370 Fix order of arguments to the rt_sigprocmask syscall.
21371 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
21372 Likewise.
21373
21374 2015-07-24 Roland McGrath <roland@hack.frob.com>
21375
21376 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
21377
21378 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21379
21380 [BZ #18457]
21381 * nptl/Makefile (tests): New test case tst-join7.
21382 (modules-names): New test case module tst-join7mod.
21383 * nptl/tst-join7.c: New file.
21384 * nptl/tst-join7mod.c: New file.
21385 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
21386 all translation units in libc.so, libpthread.so and rtld.
21387
21388 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21389
21390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21391
21392 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
21393
21394 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
21395 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21396 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21397 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21398 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21399 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21400 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21401 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21402 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21403 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21404 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21405 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21406 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
21407 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
21408 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
21409 implementation.
21410
21411 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
21412
21413 [BZ #17711]
21414 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21415 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
21416 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21417 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21418 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
21419 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21420
21421 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21422
21423 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
21424 instead of just saying load lock in the comments.
21425
21426 2015-07-23 Roland McGrath <roland@hack.frob.com>
21427
21428 * sysdeps/unix/Subdirs: Moved ...
21429 * sysdeps/posix/Subdirs: ... here.
21430 * login/pty.h (struct termios, struct winsize): Add forward decls.
21431 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
21432 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
21433 * sysdeps/arm/nacl/libc.abilist: Updated.
21434 * sysdeps/nacl/libutil.abilist: New file.
21435
21436 * bits/signum.h: Update comments to mention 1003.1-2013 too.
21437 (SIGWINCH): New macro.
21438
21439 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
21440 * sysdeps/arm/nacl/libc.abilist: Add it.
21441
21442 2015-07-23 Mike Frysinger <vapier@gentoo.org>
21443
21444 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
21445
21446 2015-07-23 Mike Frysinger <vapier@gentoo.org>
21447
21448 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21449 Swap __glibc_reserved0 and sa_flags order.
21450
21451 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21452
21453 [BZ #18657]
21454 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
21455 are pending TLS destructor calls.
21456 * include/link.h (struct link_map): Add concurrency note for
21457 L_TLS_DTOR_COUNT.
21458 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21459 Don't touch the link map flag. Atomically increment
21460 l_tls_dtor_count.
21461 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
21462 Avoid taking the load lock and don't touch the link map flag.
21463 * stdlib/tst-tls-atexit-nodelete.c: New test case.
21464 * stdlib/Makefile (tests): Use it.
21465 * stdlib/tst-tls-atexit.c (do_test): dlopen
21466 tst-tls-atexit-lib.so again before dlclose. Add conditionals
21467 to allow tst-tls-atexit-nodelete test case to use it.
21468
21469 2015-07-22 Mike Frysinger <vapier@gentoo.org>
21470
21471 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
21472 to bits/types.h.
21473 (msgqnum_t): New typedef.
21474 (msglen_t): Likewise.
21475 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
21476 and msg_qbytes type to msglen_t.
21477
21478 2015-07-22 Mike Frysinger <vapier@gentoo.org>
21479
21480 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
21481 pad0 to __glibc_reserved0.
21482 (struct stat64): Likewise.
21483
21484 2015-07-22 Mike Frysinger <vapier@gentoo.org>
21485
21486 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21487 Change sa_flags from a long to an int and add __glibc_reserved0 before
21488 it for padding.
21489
21490 2015-07-22 Mike Frysinger <vapier@gentoo.org>
21491
21492 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
21493 anonymous by deleting "siginfo" name.
21494
21495 2015-07-21 Roland McGrath <roland@hack.frob.com>
21496
21497 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21498 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
21499 rather than __nacl_irt_filename.
21500 * sysdeps/nacl/xstat.c (__xstat): Likewise.
21501
21502 * NEWS: New item for arm-nacl port.
21503 * sysdeps/arm/nacl/libc.abilist: New file.
21504 * sysdeps/nacl/ld.abilist: New file.
21505 * sysdeps/nacl/libBrokenLocale.abilist: New file.
21506 * sysdeps/nacl/libanl.abilist: New file.
21507 * sysdeps/nacl/libcrypt.abilist: New file.
21508 * sysdeps/nacl/libdl.abilist: New file.
21509 * sysdeps/nacl/libm.abilist: New file.
21510 * sysdeps/nacl/libpthread.abilist: New file.
21511 * sysdeps/nacl/libresolv.abilist: New file.
21512 * sysdeps/nacl/librt.abilist: New file.
21513
21514 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
21515
21516 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
21517 __startcontext to initialize the new context.
21518 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
21519 up CFI directive to forbid further backtracing.
21520
21521 2015-07-21 Marko Myllynen <myllynen@redhat.com>
21522
21523 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
21524 reference.
21525 * charmaps/ANSI_X3.4-1968: Likewise.
21526 * charmaps/BS_4730: Likewise.
21527 * charmaps/BS_VIEWDATA: Likewise.
21528 * charmaps/CP1250: Likewise.
21529 * charmaps/CP1251: Likewise.
21530 * charmaps/CP1252: Likewise.
21531 * charmaps/CP1253: Likewise.
21532 * charmaps/CP1254: Likewise.
21533 * charmaps/CP1255: Likewise.
21534 * charmaps/CP1256: Likewise.
21535 * charmaps/CSN_369103: Likewise.
21536 * charmaps/EBCDIC-DK-NO: Likewise.
21537 * charmaps/GB_1988-80: Likewise.
21538 * charmaps/GREEK-CCITT: Likewise.
21539 * charmaps/GREEK7: Likewise.
21540 * charmaps/INIS-8: Likewise.
21541 * charmaps/ISIRI-3342: Likewise.
21542 * charmaps/ISO_2033-1983: Likewise.
21543 * charmaps/ISO_5427-EXT: Likewise.
21544 * locales/POSIX: Likewise.
21545 * locales/ar_SA: Likewise.
21546 * locales/be_BY: Likewise.
21547 * locales/be_BY@latin: Likewise.
21548 * locales/ca_ES: Likewise.
21549 * locales/cs_CZ: Likewise.
21550 * locales/da_DK: Likewise.
21551 * locales/de_BE: Likewise.
21552 * locales/de_CH: Likewise.
21553 * locales/de_LU: Likewise.
21554 * locales/en_AU: Likewise.
21555 * locales/en_BW: Likewise.
21556 * locales/en_CA: Likewise.
21557 * locales/en_DK: Likewise.
21558 * locales/en_GB: Likewise.
21559 * locales/en_IE: Likewise.
21560 * locales/en_NZ: Likewise.
21561 * locales/en_ZA: Likewise.
21562 * locales/en_ZW: Likewise.
21563 * locales/es_AR: Likewise.
21564 * locales/es_BO: Likewise.
21565 * locales/es_CL: Likewise.
21566 * locales/es_CO: Likewise.
21567 * locales/es_DO: Likewise.
21568 * locales/es_EC: Likewise.
21569 * locales/es_ES: Likewise.
21570 * locales/es_HN: Likewise.
21571 * locales/es_MX: Likewise.
21572 * locales/es_PA: Likewise.
21573 * locales/es_PE: Likewise.
21574 * locales/es_PY: Likewise.
21575 * locales/es_SV: Likewise.
21576 * locales/es_US: Likewise.
21577 * locales/es_UY: Likewise.
21578 * locales/es_VE: Likewise.
21579 * locales/et_EE: Likewise.
21580 * locales/fa_IR: Likewise.
21581 * locales/fo_FO: Likewise.
21582 * locales/fr_CA: Likewise.
21583 * locales/fr_CH: Likewise.
21584 * locales/gv_GB: Likewise.
21585 * locales/he_IL: Likewise.
21586 * locales/hr_HR: Likewise.
21587 * locales/id_ID: Likewise.
21588 * locales/is_IS: Likewise.
21589 * locales/it_CH: Likewise.
21590 * locales/iw_IL: Likewise.
21591 * locales/kl_GL: Likewise.
21592 * locales/ko_KR: Likewise.
21593 * locales/kw_GB: Likewise.
21594 * locales/lg_UG: Likewise.
21595 * locales/lt_LT: Likewise.
21596 * locales/lv_LV: Likewise.
21597 * locales/mi_NZ: Likewise.
21598 * locales/nhn_MX: Likewise.
21599 * locales/nl_BE: Likewise.
21600 * locales/pl_PL: Likewise.
21601 * locales/sk_SK: Likewise.
21602 * locales/sl_SI: Likewise.
21603 * locales/sv_FI: Likewise.
21604 * locales/tl_PH: Likewise.
21605 * locales/tr_TR: Likewise.
21606 * locales/vi_VN: Likewise.
21607
21608 2015-07-21 Khem Raj <raj.khem@gmail.com>
21609
21610 [BZ #17475]
21611 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21612 of tu_IN and bh_IN.
21613
21614 2015-07-21 Mike Frysinger <vapier@gentoo.org>
21615
21616 [BZ #18694]
21617 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21618 bits/wordsize.h.
21619 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21620
21621 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21622
21623 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21624 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21625 (spawn_thread): New function.
21626 (load): Rename to reg_dtor_and_close. Move dlopen to...
21627 (do_test): ... here. Use IS_LOADED to test for its
21628 availability.
21629
21630 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
21631
21632 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21633
21634 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
21635
21636 [BZ #18696]
21637 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21638 si_addr_bnd.
21639 (si_lower): New.
21640 (si_upper): Likewise.
21641
21642 2015-07-16 David S. Miller <davem@davemloft.net>
21643
21644 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21645
21646 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21647
21648 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21649 buffer.
21650 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21651 fail output information.
21652
21653 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21654
21655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21656 and strstr-ppc64..
21657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21658 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21659 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21660 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21661 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21662
21663 2015-07-16 Mike Frysinger <vapier@gentoo.org>
21664
21665 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21666 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21667 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21668 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21669
21670 2015-07-16 Mike Frysinger <vapier@gentoo.org>
21671
21672 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21673 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21674 rtld_hidden_proto.
21675 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21676
21677 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21678
21679 * tst-nodelete-opened.c (do_test): Add comment to clarify how
21680 the test can fail.
21681
21682 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21683
21684 [BZ #18676]
21685 * elf/tst-nodelete-opened.c: New test case.
21686 * elf/tst-nodelete-opened-lib.c: New test case module.
21687 * elf/Makefile (tests, modules-names): Use them.
21688 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21689 early.
21690
21691 2015-07-15 David S. Miller <davem@davemloft.net>
21692
21693 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21694 futex-intenal.h
21695 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21696 * sysdeps/sparc/sparc64/Makefile: Likewise.
21697 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21698 Remove space from macro define.
21699 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21700
21701 2015-07-15 Pravin Satpute <psatpute@redhat.com>
21702
21703 [BZ #17475]
21704 * locale/iso-639.def: Update Bhili and Tulu language codes as
21705 per iso639-3.
21706
21707 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
21708
21709 * elf/tst-leaks1.c (main): Converted to ...
21710 (do_test): ... this.
21711 (TEST_FUNCTION): New macro.
21712 Include test-skeleton.c.
21713 * localedata/tst-langinfo.c (main): Converted to ...
21714 (do_test): ... this.
21715 (TEST_FUNCTION): New macro.
21716 Include test-skeleton.c.
21717 * math/test-fpucw.c (main): Converted to ...
21718 (do_test): ... this.
21719 (TEST_FUNCTION): New macro.
21720 Include test-skeleton.c.
21721 * math/test-tgmath.c (main): Converted to ...
21722 (do_test): ... this.
21723 (TEST_FUNCTION): New macro.
21724 Include test-skeleton.c.
21725 * math/test-tgmath2.c (main): Converted to ...
21726 (do_test): ... this.
21727 (TEST_FUNCTION): New macro.
21728 Include test-skeleton.c.
21729 * setjmp/tst-setjmp.c (main): Converted to ...
21730 (do_test): ... this.
21731 (TEST_FUNCTION): New macro.
21732 Include test-skeleton.c.
21733 * stdio-common/tst-sscanf.c (main): Converted to ...
21734 (do_test): ... this.
21735 (TEST_FUNCTION): New macro.
21736 Include test-skeleton.c.
21737 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21738 (do_test): ... this.
21739 (TEST_FUNCTION): New macro.
21740 Include test-skeleton.c.
21741
21742 * elf/tst-audit9.c (main): Converted to ...
21743 (do_test): ... this.
21744 (TEST_FUNCTION): New macro.
21745 Include test-skeleton.c.
21746
21747 2015-07-15 Mike Frysinger <vapier@gentoo.org>
21748
21749 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21750
21751 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21752
21753 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21754 New variable.
21755
21756 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21757
21758 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21759
21760 2015-07-14 Roland McGrath <roland@hack.frob.com>
21761
21762 * sysdeps/generic/dl-fileid.h: New file.
21763 * sysdeps/posix/dl-fileid.h: New file.
21764 * sysdeps/nacl/dl-fileid.h: New file.
21765 * include/link.h: Include <dl-fileid.h>.
21766 (struct link_map): Replace l_dev and l_ino with l_file_id.
21767 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21768 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
21769 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
21770
21771 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21772
21773 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21774
21775 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21776
21777 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21778 Add iff $CXX is set.
21779 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21780 Likewise.
21781 (tst-nodelete-zmodiff): Likewise.
21782 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21783
21784 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21785
21786 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21787
21788 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
21789
21790 * sysdeps/aarch64/fpu/math_private.h
21791 (define math_opt_barrier): Add AArch64 version.
21792 (math_force_eval): Likewise.
21793
21794 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
21795
21796 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21797
21798 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
21799
21800 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21801 %ld with %jd and cast to intmax_t.
21802 (do_test_length_zero): Likewise.
21803
21804 2015-07-10 Roland McGrath <roland@hack.frob.com>
21805
21806 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21807
21808 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
21809
21810 * sysdeps/tile/libm-test-ulps: Regenerated.
21811
21812 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21813 Comment out the whole function, not just its body.
21814
21815 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21816
21817 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21818 locks.
21819
21820 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21821
21822 2015-07-10 Torvald Riegel <triegel@redhat.com>
21823
21824 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21825 (sem_assume_only_signals_cause_futex_EINTR): Remove.
21826
21827 2015-07-10 Torvald Riegel <triegel@redhat.com>
21828
21829 * sysdeps/nptl/futex-internal.h: New file.
21830 * sysdeps/nacl/futex-internal.h: New file.
21831 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21832 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21833 error checking.
21834 (setxid_unmark_thread): Likewise.
21835 (__nptl_setxid): Likewise.
21836 (__wait_lookup_done): Likewise.
21837 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21838 * nptl/nptl-init.c (sighandler_setxid): Likewise.
21839 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21840 * nptl/pthread_once.c (clear_once_control): Likewise.
21841 (__pthread_once_slow): Likewise.
21842 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21843 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21844 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21845 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21846 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21847 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21848 Likewise.
21849 (__pthread_rwlock_rdlock): Likewise.
21850 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21851 Likewise.
21852 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21853 Likewise.
21854 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21855 Likewise.
21856 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21857 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21858 Likewise.
21859 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21860 __ASSUME_PRIVATE_FUTEX check.
21861 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21862 Check that shared futexes are supported.
21863 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21864 wrappers with error checking.
21865 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21866 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21867 * nptl/pthread_barrierattr_setpshared.c
21868 (pthread_barrierattr_setpshared): Check that shared futexes are
21869 supported.
21870 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21871 Likewise.
21872 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21873 Likewise.
21874 * nptl/sem_init.c (futex_private_if_supported): Remove.
21875 (__new_sem_init): Adapt and check that shared futexes are supported.
21876 * nptl/sem_open.c (sem_open): Likewise.
21877 * nptl/sem_post.c (futex_wake): Remove.
21878 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21879 (do_futex_wait): Use futex wrappers with error checking.
21880 * nptl/sem_wait.c: Include lowlevellock.h.
21881 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21882 Use futex_supports_pshared.
21883 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21884 Use futex wrappers with error checking.
21885 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21886 Likewise.
21887 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21888 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21889 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21890 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21891 (futex_wake): Likewise.
21892 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21893 (do_futex_wait): Use futex wrappers with error checking.
21894 (__new_sem_wait_slow): Update EINTR handling.
21895 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21896
21897 2015-07-09 Martin Sebor <msebor@redhat.com>
21898
21899 [BZ #18435]
21900 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21901 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21902 * nptl/Makefile (test-xfail-tst-once5): Define.
21903
21904 2015-07-09 Roland McGrath <roland@hack.frob.com>
21905
21906 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21907 * elf/dl-minimal.c: For readability, reorder some definitions and
21908 introduce more page breaks. Include <stdio.h>.
21909 (__libc_fatal): New function.
21910
21911 * include/unistd.h: Add rtld_hidden_proto for _exit.
21912 * posix/_exit.c: Add rtld_hidden_def.
21913 * sysdeps/mach/hurd/_exit.c: Likewise.
21914 * sysdeps/nacl/_exit.c: Likewise.
21915 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21916 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21917
21918 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
21919
21920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21921 bndmov encoding with zero displacement.
21922
21923 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
21924 H.J. Lu <hongjiu.lu@intel.com>
21925
21926 [BZ #18134]
21927 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21928 * sysdeps/i386/configure: Regenerated.
21929 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21930 (_dl_runtime_profile): Save and restore Intel MPX return bound
21931 registers when calling _dl_call_pltexit. Add
21932 PRESERVE_BND_REGS_PREFIX before return.
21933 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21934 (LRV_BND1_OFFSET): Likewise.
21935 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21936 lrv_bnd1.
21937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21938 typo in bndmov encoding.
21939 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21940 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
21941 branch instructions to preserve bounds.
21942
21943 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21944
21945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21946 [GLIBC_2.22]: Add fmemopen.
21947
21948 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
21949
21950 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21951 returns an error, also try to use host port from __mach_host_self for
21952 the __vm_wire call.
21953 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21954
21955 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
21956
21957 [BZ #18400]
21958 [BZ #18648]
21959 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21960 Fix pr_uid and pr_gid members.
21961 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21962 definition to elf_greg_t.
21963
21964 2015-07-08 Roland McGrath <roland@hack.frob.com>
21965
21966 [BZ #18383]
21967 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21968 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21969 * sysdeps/arm/configure: Regenerated.
21970 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21971 (test-xfail-tst-tlsalign-static): Variable removed.
21972
21973 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21974 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21975 rather than explicit 'ln -s'.
21976
21977 * resolv/rpc/netdb.h: New file.
21978 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21979
21980 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21981
21982 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21983 length buffers.
21984 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21985 test-skeleton.c.
21986
21987 [BZ #6544]
21988 [BZ #11216]
21989 [BZ #12836]
21990 [BZ #13151]
21991 [BZ #13152]
21992 [BZ #14292]
21993 * include/stdio.h (fmemopen): Remove hidden prototype.
21994 (__fmemopen): Add new hidden prototype.
21995 * libio/Makefile: Add oldfmemopen object.
21996 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21997 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21998 compliance.
21999 * libio/oldfmemopen.c: New file: old fmemopen implementation for
22000 symbol compatibility.
22001 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
22002 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
22003 fmemopen.
22004 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
22005 on append and read mode.
22006 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
22007 fmemopen.
22008 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
22009 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
22010 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
22011 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
22012 Likewise.
22013 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
22014 [GLIBC_2.22]: Likewise.
22015 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
22016 Likewise.
22017 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
22018 Likewise.
22019 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
22020 [GLIBC_2.22]: Likewise.
22021 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
22022 [GLIBC_2.22]: Likewise.
22023 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
22024 [GLIBC_2.22]: Likewise.
22025 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
22026 [GLIBC_2.22]: Likewise.
22027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
22028 [GLIBC_2.22]: Likewise.
22029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
22030 [GLIBC_2.22]: Likewise.
22031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
22032 [GLIBC_2.22]: Likewise.
22033 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
22034 Likewise.
22035 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
22036 Likewise.
22037 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
22038 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
22039 [GLIBC_2.22]: Likewise.
22040 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
22041 [GLIBC_2.22]: Likewise.
22042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
22043 [GLIBC_2.22]: Likewise.
22044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
22045 [GLIBC_2.22]: Likewise.
22046 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
22047 Likewise.
22048 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
22049 Likewise.
22050 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
22051 Likewise.
22052 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
22053 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
22054
22055 2015-07-08 Carlos O'Donell <carlos@redhat.com>
22056
22057 [BZ #18643]
22058 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
22059 IPV6_PATHMTU, and IPV6_DONTFRAG.
22060
22061 2015-07-08 Feng Gao <gfree.wind@gmail.com>
22062
22063 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
22064 and _IO_UNBUFFERED.
22065 * libio/oldfileops.c: Likewise.
22066 * libio/wfileops.c: Likewise.
22067
22068 2015-07-08 Mike Frysinger <vapier@gentoo.org>
22069
22070 * nscd/selinux.c: Delete selinux/flask.h include.
22071
22072 2015-07-08 Mike Frysinger <vapier@gentoo.org>
22073
22074 [BZ #18641]
22075 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
22076 (putpwent): Likewise.
22077 (getpwnam): Likewise.
22078 (getpwent_r): Likewise.
22079 (getpwuid_r): Likewise.
22080 (getpwnam_r): Likewise.
22081 (fgetpwent_r): Likewise.
22082
22083 2015-07-08 Carlos O'Donell <carlos@redhat.com>
22084
22085 [BZ #18557]
22086 * inet/rcmd.c (__validuser2_sa): Check user first to
22087 short-circuit host check.
22088
22089 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
22090 Mikhail Ilin <m.ilin@samsung.com>
22091
22092 [BZ #17833]
22093 * elf/Makefile (tests): Add tst-nodelete.
22094 (modules-names): Add tst-nodelete-uniquemod.
22095 (tst-nodelete-uniquemod.so-no-z-defs): New.
22096 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
22097 (tst-nodelete-zmod.so-no-z-defs): Likewise.
22098 ($(objpfx)tst-nodelete): Likewise.
22099 ($(objpfx)tst-nodelete.out): Likewise.
22100 (LDFLAGS-tst-nodelete): Likewise.
22101 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
22102 * elf/dl-close.c (_dl_close_worker): Add a parameter to
22103 implement forced object deletion.
22104 (_dl_close): Pass false to _dl_close_worker.
22105 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
22106 * elf/tst-nodelete.cc: New file.
22107 * elf/tst-nodeletelib.cc: Likewise.
22108 * elf/tst-znodeletelib.cc: Likewise.
22109 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
22110
22111 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
22112
22113 [BZ #18508]
22114 * stdlib/Makefile ($(objpfx)tst-makecontext3):
22115 Depend on $(libdl).
22116 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
22117 is not called infinitely times.
22118 (backtrace_helper): New function.
22119 (trace_arg): New struct.
22120 (st1): Enlarge stack size.
22121 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22122 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
22123 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22124 Likewise.
22125
22126 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
22127
22128 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22129
22130 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
22131
22132 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
22133 Include sys/types.h instead of bits/types.h.
22134 Remove inclusion of bits/wordsize.h.
22135
22136 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
22137
22138 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
22139 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
22140 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
22141 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
22142 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
22143 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
22144
22145 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
22146
22147 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
22148 link-defines.sym.
22149 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
22150 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
22151 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
22152 and LR_SIZE.
22153 * sysdeps/i386/link-defines.sym: New file.
22154
22155 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
22156
22157 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
22158 (modules-names): Add tst-auditmod3a tst-auditmod3b.
22159 ($(objpfx)tst-audit3): New rule.
22160 ($(objpfx)tst-audit3.out): Likewise.
22161 * sysdeps/i386/tst-audit3.c: New file.
22162 * sysdeps/i386/tst-audit3.h: Likewise.
22163 * sysdeps/i386/tst-auditmod3a.c: Likewise.
22164 * sysdeps/i386/tst-auditmod3b.c: Likewise.
22165
22166 2015-07-07 Torvald Riegel <triegel@redhat.com>
22167
22168 [BZ #18633]
22169 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
22170 pointer in C code.
22171 (__strcat_c): Likewise.
22172 (__strcat_g): Likewise.
22173
22174 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
22175
22176 [BZ #18592]
22177 * misc/sbrk.c: Set errno to ENOMEM on overflow.
22178
22179 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
22180
22181 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
22182 New function. (__ieee754_sqrtf): New function.
22183 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
22184 New function.
22185 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
22186 New function.
22187
22188 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
22189
22190 * sysdeps/ieee754/support.c: Remove unused file.
22191
22192 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
22193
22194 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
22195 registers instead of d ones so the layout is kernel abi compatible.
22196 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
22197 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
22198 Likewise.
22199
22200 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22201
22202 * sysdeps/aarch64/libm-test-ulps: Regenerated.
22203
22204 2015-07-01 Joseph Myers <joseph@codesourcery.com>
22205
22206 [BZ #18619]
22207 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
22208 and return argument in case of subnormal argument.
22209
22210 2015-07-01 Martin Sebor <msebor@redhat.com>
22211
22212 [BZ #18435]
22213 * nptl/Makefile: Add tst-once5.cc.
22214 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
22215 Remove macro redefinitions.
22216 * nptl/tst-once5.cc: New test.
22217
22218 2015-07-01 Joseph Myers <joseph@codesourcery.com>
22219
22220 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22221
22222 * sysdeps/arm/libm-test-ulps: Regenerated.
22223
22224 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22225 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22226
22227 2015-06-30 Torvald Riegel <triegel@redhat.com>
22228
22229 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
22230 lll_lock_wait_private and lll_futex_wake probes.
22231
22232 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
22233 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
22234 Likewise.
22235 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
22236 atomic_spin_nop.
22237 * sysdeps/x86_64/bits/atomic.h: Likewise.
22238 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
22239 to atomic_spin_nop and move ...
22240 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22241 ... here and ...
22242 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
22243 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
22244 atomic_spin_nop instead of BUSY_WAIT_NOP.
22245 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
22246 Likewise.
22247 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
22248 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
22249 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
22250 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
22251 instead of atomic_delay.
22252
22253 2015-06-29 Joseph Myers <joseph@codesourcery.com>
22254
22255 [BZ #18613]
22256 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
22257 X_ADJ not X when adjusting exponent.
22258 (__ieee754_gamma_r): Do intermediate computations in
22259 round-to-nearest then adjust overflowing and underflowing results
22260 as needed.
22261 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
22262 of X_ADJ not X when adjusting exponent.
22263 (__ieee754_gammaf_r): Do intermediate computations in
22264 round-to-nearest then adjust overflowing and underflowing results
22265 as needed.
22266 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
22267 log of X_ADJ not X when adjusting exponent.
22268 (__ieee754_gammal_r): Do intermediate computations in
22269 round-to-nearest then adjust overflowing and underflowing results
22270 as needed. Use 1.0L not 1.0f as numerator of division.
22271 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
22272 log of X_ADJ not X when adjusting exponent.
22273 (__ieee754_gammal_r): Do intermediate computations in
22274 round-to-nearest then adjust overflowing and underflowing results
22275 as needed. Use 1.0L not 1.0f as numerator of division.
22276 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
22277 of X_ADJ not X when adjusting exponent.
22278 (__ieee754_gammal_r): Do intermediate computations in
22279 round-to-nearest then adjust overflowing and underflowing results
22280 as needed. Use 1.0L not 1.0f as numerator of division.
22281 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
22282 to auto-libm-test-in.
22283 (tgamma_test): Use ALL_RM_TEST.
22284 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
22285 tests of tgamma with spurious-overflow.
22286 * math/auto-libm-test-out: Regenerated.
22287 * math/gen-libm-have-vector-test.sh: Do not check for START.
22288 * sysdeps/i386/fpu/libm-test-ulps: Update.
22289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22290
22291 [BZ #18612]
22292 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
22293 arguments, just return 0.5 times the argument, with underflow
22294 forced as needed.
22295 * math/auto-libm-test-in: Add more tests of j1.
22296 * math/auto-libm-test-out: Regenerated.
22297
22298 [BZ #16559]
22299 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
22300 (__ieee754_j1): Force underflow exception for small results.
22301 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22302 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
22303 (__ieee754_j1f): Force underflow exception for small results.
22304 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22305 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22307 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
22308 (__ieee754_j1l): Force underflow exception for small results.
22309 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22310 * math/auto-libm-test-in: Add more tests of j1 and jn.
22311 * math/auto-libm-test-out: Regenerated.
22312
22313 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
22314 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
22315 (PF_MPLS): Likewise.
22316 (AF_IB): Likewise.
22317 (AF_MPLS): Likewise.
22318 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
22319 value and macro.
22320 (MS_RMT_MASK): Include MS_LAZYTIME.
22321
22322 2015-06-26 Mel Gorman <mgorman@suse.de>
22323
22324 [BZ #18502]
22325 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
22326 already minimal.
22327
22328 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
22329
22330 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
22331 (DT_MIPS_NUM): Update.
22332 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
22333 DT_MIPS_RLD_MAP_REL.
22334
22335 2015-06-25 Joseph Myers <joseph@codesourcery.com>
22336
22337 [BZ #16559]
22338 [BZ #18602]
22339 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
22340 round-to-nearest internally then recompute results that
22341 underflowed to zero in the original rounding mode.
22342 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22343 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22344 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22345 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22346 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
22347 * sysdeps/i386/fpu/libm-test-ulps: Update.
22348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22349
22350 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
22351
22352 * NEWS: Fixed description of link with vector math library.
22353
22354 2015-06-25 Andreas Schwab <schwab@suse.de>
22355
22356 [BZ #18549]
22357 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
22358 * libio/test-fmemopen.c (do_test): Add test for it.
22359
22360 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
22361
22362 [BZ #17841]
22363 * Makeconfig (no-pie-ldflag): New.
22364 (+link): Set to $(+link-pie) if default to PIE.
22365 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
22366 * config.make.in (build-pie-default): New.
22367 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
22368 is default. AC_SUBST.
22369 * configure: Regenerated.
22370 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
22371
22372 2015-06-24 Roland McGrath <roland@hack.frob.com>
22373
22374 * nptl/descr.h (struct pthread): Change type of field setxid_futex
22375 to 'unsigned int'.
22376
22377 * resolv/gai_misc.h (struct waitlist): Change type of field
22378 counterp to 'volatile unsigned int *'.
22379 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
22380 FUTEXADDR and OLDVAL.
22381 * resolv/getaddrinfo_a.c (getaddrinfo_a):
22382 Give local variable TOTAL type 'volatile unsigned int'.
22383 (struct async_waitlist): Change type of field counter to 'unsigned int'.
22384 * resolv/gai_suspend.c (gai_suspend):
22385 Give local variable CNTR type 'unsigned int'.
22386
22387 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
22388 counterp to 'volatile unsigned int *'.
22389 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
22390 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
22391 (aio_suspend): Give local variable CNTR type 'unsigned int'.
22392 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
22393 Give local variable TOTAL type 'volatile unsigned int'.
22394 (struct async_waitlist): Change type of field counter to 'unsigned int'.
22395
22396 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
22397
22398 [BZ #18383]
22399 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
22400 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
22401 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
22402 comment for i386/x86-64.
22403 (test-xfail-tst-tlsalign-extern-static): Removed.
22404
22405 2015-06-24 Joseph Myers <joseph@codesourcery.com>
22406
22407 * math/test-double.h: New file.
22408 * math/test-float.h: Likewise.
22409 * math/test-ldouble.h: Likewise.
22410 * math/test-math-inline.h: Likewise.
22411 * math/test-math-no-inline.h: Likewise.
22412 * math/test-math-scalar.h: Likewise.
22413 * math/test-math-vector.h: Likewise.
22414 * math/test-vec-loop.h: Remove file. Contents moved into
22415 test-math-vector.h.
22416 * math/libm-test.inc (MATHCONST): Do not document macro.
22417 * math/test-double.c: Include test-double.h, test-math-no-inline.h
22418 and test-math-scalar.h.
22419 (FUNC): Remove macro.
22420 (FUNC_TEST): Likewise.
22421 (FLOAT): Likewise.
22422 (MATHCONST): Likewise.
22423 (PRINTF_EXPR): Likewise.
22424 (PRINTF_XEXPR): Likewise.
22425 (PRINTF_NEXPR): Likewise.
22426 (TEST_DOUBLE): Likewise.
22427 (TEST_MATHVEC): Likewise.
22428 (__NO_MATH_INLINES): Likewise.
22429 * math/test-float.c: Include test-float.h, test-math-no-inline.h
22430 and test-math-scalar.h.
22431 (FUNC): Remove macro.
22432 (FUNC_TEST): Likewise.
22433 (FLOAT): Likewise.
22434 (MATHCONST): Likewise.
22435 (PRINTF_EXPR): Likewise.
22436 (PRINTF_XEXPR): Likewise.
22437 (PRINTF_NEXPR): Likewise.
22438 (TEST_FLOAT): Likewise.
22439 (TEST_MATHVEC): Likewise.
22440 (__NO_MATH_INLINES): Likewise.
22441 * math/test-idouble.c: Include test-double.h, test-math-inline.h
22442 and test-math-scalar.h.
22443 (FUNC): Remove macro.
22444 (FUNC_TEST): Likewise.
22445 (FLOAT): Likewise.
22446 (MATHCONST): Likewise.
22447 (PRINTF_EXPR): Likewise.
22448 (PRINTF_XEXPR): Likewise.
22449 (PRINTF_NEXPR): Likewise.
22450 (TEST_DOUBLE): Likewise.
22451 (TEST_MATHVEC): Likewise.
22452 (TEST_INLINE): Likewise.
22453 (__NO_MATH_INLINES): Likewise.
22454 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
22455 test-math-scalar.h.
22456 (FUNC): Remove macro.
22457 (FUNC_TEST): Likewise.
22458 (FLOAT): Likewise.
22459 (MATHCONST): Likewise.
22460 (PRINTF_EXPR): Likewise.
22461 (PRINTF_XEXPR): Likewise.
22462 (PRINTF_NEXPR): Likewise.
22463 (TEST_FLOAT): Likewise.
22464 (TEST_MATHVEC): Likewise.
22465 (TEST_INLINE): Likewise.
22466 (__NO_MATH_INLINES): Likewise.
22467 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
22468 and test-math-scalar.h.
22469 (FUNC): Remove macro.
22470 (FUNC_TEST): Likewise.
22471 (FLOAT): Likewise.
22472 (MATHCONST): Likewise.
22473 (PRINTF_EXPR): Likewise.
22474 (PRINTF_XEXPR): Likewise.
22475 (PRINTF_NEXPR): Likewise.
22476 (TEST_LDOUBLE): Likewise.
22477 (TEST_MATHVEC): Likewise.
22478 (TEST_INLINE): Likewise.
22479 (__NO_MATH_INLINES): Likewise.
22480 * math/test-ldouble.c: Include test-ldouble.h,
22481 test-math-no-inline.h and test-math-scalar.h.
22482 (FUNC): Remove macro.
22483 (FUNC_TEST): Likewise.
22484 (FLOAT): Likewise.
22485 (MATHCONST): Likewise.
22486 (PRINTF_EXPR): Likewise.
22487 (PRINTF_XEXPR): Likewise.
22488 (PRINTF_NEXPR): Likewise.
22489 (TEST_LDOUBLE): Likewise.
22490 (TEST_MATHVEC): Likewise.
22491 (__NO_MATH_INLINES): Likewise.
22492 * math/test-double-vlen2.h: Include test-double.h,
22493 test-math-no-inline.h and test-math-vector.h.
22494 (FLOAT): Remove macro.
22495 (FUNC): Likewise.
22496 (MATHCONST): Likewise.
22497 (PRINTF_EXPR): Likewise.
22498 (PRINTF_XEXPR): Likewise.
22499 (PRINTF_NEXPR): Likewise.
22500 (TEST_DOUBLE): Likewise.
22501 (TEST_MATHVEC): Likewise.
22502 (__NO_MATH_INLINES): Likewise.
22503 (CNCT): Likewise.
22504 (CONCAT): Likewise.
22505 (WRAPPER_NAME): Likewise.
22506 (WRAPPER_DECL): Likewise.
22507 (WRAPPER_DECL_ff): Likewise.
22508 (WRAPPER_DECL_fFF): Likewise.
22509 (VECTOR_WRAPPER): Likewise.
22510 (VECTOR_WRAPPER_ff): Likewise.
22511 (VECTOR_WRAPPER_fFF): Likewise.
22512 (VEC_LEN): New macro.
22513 * math/test-double-vlen4.h: Include test-double.h,
22514 test-math-no-inline.h and test-math-vector.h.
22515 (FLOAT): Remove macro.
22516 (FUNC): Likewise.
22517 (MATHCONST): Likewise.
22518 (PRINTF_EXPR): Likewise.
22519 (PRINTF_XEXPR): Likewise.
22520 (PRINTF_NEXPR): Likewise.
22521 (TEST_DOUBLE): Likewise.
22522 (TEST_MATHVEC): Likewise.
22523 (__NO_MATH_INLINES): Likewise.
22524 (CNCT): Likewise.
22525 (CONCAT): Likewise.
22526 (WRAPPER_NAME): Likewise.
22527 (WRAPPER_DECL): Likewise.
22528 (WRAPPER_DECL_ff): Likewise.
22529 (WRAPPER_DECL_fFF): Likewise.
22530 (VECTOR_WRAPPER): Likewise.
22531 (VECTOR_WRAPPER_ff): Likewise.
22532 (VECTOR_WRAPPER_fFF): Likewise.
22533 (VEC_LEN): New macro.
22534 * math/test-double-vlen8.h: Include test-double.h,
22535 test-math-no-inline.h and test-math-vector.h.
22536 (FLOAT): Remove macro.
22537 (FUNC): Likewise.
22538 (MATHCONST): Likewise.
22539 (PRINTF_EXPR): Likewise.
22540 (PRINTF_XEXPR): Likewise.
22541 (PRINTF_NEXPR): Likewise.
22542 (TEST_DOUBLE): Likewise.
22543 (TEST_MATHVEC): Likewise.
22544 (__NO_MATH_INLINES): Likewise.
22545 (CNCT): Likewise.
22546 (CONCAT): Likewise.
22547 (WRAPPER_NAME): Likewise.
22548 (WRAPPER_DECL): Likewise.
22549 (WRAPPER_DECL_ff): Likewise.
22550 (WRAPPER_DECL_fFF): Likewise.
22551 (VECTOR_WRAPPER): Likewise.
22552 (VECTOR_WRAPPER_ff): Likewise.
22553 (VECTOR_WRAPPER_fFF): Likewise.
22554 (VEC_LEN): New macro.
22555 * math/test-float-vlen4.h: Include test-float.h,
22556 test-math-no-inline.h and test-math-vector.h.
22557 (FLOAT): Remove macro.
22558 (FUNC): Likewise.
22559 (MATHCONST): Likewise.
22560 (PRINTF_EXPR): Likewise.
22561 (PRINTF_XEXPR): Likewise.
22562 (PRINTF_NEXPR): Likewise.
22563 (TEST_FLOAT): Likewise.
22564 (TEST_MATHVEC): Likewise.
22565 (__NO_MATH_INLINES): Likewise.
22566 (CNCT): Likewise.
22567 (CONCAT): Likewise.
22568 (WRAPPER_NAME): Likewise.
22569 (WRAPPER_DECL): Likewise.
22570 (WRAPPER_DECL_ff): Likewise.
22571 (WRAPPER_DECL_fFF): Likewise.
22572 (VECTOR_WRAPPER): Likewise.
22573 (VECTOR_WRAPPER_ff): Likewise.
22574 (VECTOR_WRAPPER_fFF): Likewise.
22575 (VEC_LEN): New macro.
22576 * math/test-float-vlen8.h: Include test-float.h,
22577 test-math-no-inline.h and test-math-vector.h.
22578 (FLOAT): Remove macro.
22579 (FUNC): Likewise.
22580 (MATHCONST): Likewise.
22581 (PRINTF_EXPR): Likewise.
22582 (PRINTF_XEXPR): Likewise.
22583 (PRINTF_NEXPR): Likewise.
22584 (TEST_FLOAT): Likewise.
22585 (TEST_MATHVEC): Likewise.
22586 (__NO_MATH_INLINES): Likewise.
22587 (CNCT): Likewise.
22588 (CONCAT): Likewise.
22589 (WRAPPER_NAME): Likewise.
22590 (WRAPPER_DECL): Likewise.
22591 (WRAPPER_DECL_ff): Likewise.
22592 (WRAPPER_DECL_fFF): Likewise.
22593 (VECTOR_WRAPPER): Likewise.
22594 (VECTOR_WRAPPER_ff): Likewise.
22595 (VECTOR_WRAPPER_fFF): Likewise.
22596 (VEC_LEN): New macro.
22597 * math/test-float-vlen16.h: Include test-float.h,
22598 test-math-no-inline.h and test-math-vector.h.
22599 (FLOAT): Remove macro.
22600 (FUNC): Likewise.
22601 (MATHCONST): Likewise.
22602 (PRINTF_EXPR): Likewise.
22603 (PRINTF_XEXPR): Likewise.
22604 (PRINTF_NEXPR): Likewise.
22605 (TEST_FLOAT): Likewise.
22606 (TEST_MATHVEC): Likewise.
22607 (__NO_MATH_INLINES): Likewise.
22608 (CNCT): Likewise.
22609 (CONCAT): Likewise.
22610 (WRAPPER_NAME): Likewise.
22611 (WRAPPER_DECL): Likewise.
22612 (WRAPPER_DECL_ff): Likewise.
22613 (WRAPPER_DECL_fFF): Likewise.
22614 (VECTOR_WRAPPER): Likewise.
22615 (VECTOR_WRAPPER_ff): Likewise.
22616 (VECTOR_WRAPPER_fFF): Likewise.
22617 (VEC_LEN): New macro.
22618 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22619 test-vec-loop.h.
22620 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22621 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22622 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22623 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22624 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22625 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22626 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22627
22628 2015-06-24 Roland McGrath <roland@hack.frob.com>
22629
22630 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22631 (__getlogin_r): ... this.
22632
22633 2015-06-24 Joseph Myers <joseph@codesourcery.com>
22634
22635 [BZ #18594]
22636 * math/s_ccosh.c (__ccosh): Compare with least normal value
22637 instead of comparing class with FP_SUBNORMAL.
22638 * math/s_ccoshf.c (__ccoshf): Likewise.
22639 * math/s_ccoshl.c (__ccoshl): Likewise.
22640 * math/s_cexp.c (__cexp): Likewise.
22641 * math/s_cexpf.c (__cexpf): Likewise.
22642 * math/s_cexpl.c (__cexpl): Likewise.
22643 * math/s_csin.c (__csin): Likewise.
22644 * math/s_csinf.c (__csinf): Likewise.
22645 * math/s_csinh.c (__csinh): Likewise.
22646 * math/s_csinhf.c (__csinhf): Likewise.
22647 * math/s_csinhl.c (__csinhl): Likewise.
22648 * math/s_csinl.c (__csinl): Likewise.
22649 * math/s_ctan.c (__ctan): Likewise.
22650 * math/s_ctanf.c (__ctanf): Likewise.
22651 * math/s_ctanh.c (__ctanh): Likewise.
22652 * math/s_ctanhf.c (__ctanhf): Likewise.
22653 * math/s_ctanhl.c (__ctanhl): Likewise.
22654 * math/s_ctanl.c (__ctanl): Likewise.
22655 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22656 csin, csinh, ctan and ctanh.
22657 * math/auto-libm-test-out: Regenerated.
22658 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22659 * sysdeps/i386/fpu/libm-test-ulps: Update.
22660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22661
22662 2015-06-24 Roland McGrath <roland@hack.frob.com>
22663
22664 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22665 return value is wrong, print the expected value too.
22666
22667 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
22668
22669 [BZ #18585]
22670 * elf/readlib.c (is_gdb_python_file): New.
22671 (process_file): Don't issue errors on filenames with -gdb.py
22672 suffix.
22673
22674 2015-06-24 Joseph Myers <joseph@codesourcery.com>
22675
22676 * math/auto-libm-test-in: Add more tests of csin and csinh.
22677 * math/auto-libm-test-out: Regenerated.
22678 * math/libm-test.inc (csin_test_data): Remove tests moved to
22679 auto-libm-test-in.
22680 (csinh_test_data): Likewise.
22681
22682 [BZ #18593]
22683 * math/s_csin.c (__csin): Negate before rather than after possibly
22684 overflowing multiplication.
22685 * math/s_csinf.c (__csinf): Likewise.
22686 * math/s_csinh.c (__csinh): Likewise.
22687 * math/s_csinhf.c (__csinhf): Likewise.
22688 * math/s_csinhl.c (__csinhl): Likewise.
22689 * math/s_csinl.c (__csinl): Likewise.
22690 * math/auto-libm-test-in: Add some tests of csin and csinh.
22691 * math/auto-libm-test-out: Regenerated.
22692 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22693 (csinh_test_data): Likewise.
22694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22695
22696 [BZ #18586]
22697 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22698 underflow exception for small results.
22699
22700 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
22701
22702 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22703 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22704 variable and included header.
22705 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22706 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22707 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22708 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22709 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22710 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22711 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22712 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22713 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22714 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22715 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22716 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22717 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22718 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22719 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22720 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22721
22722 2015-06-23 Joseph Myers <joseph@codesourcery.com>
22723
22724 [BZ #16526]
22725 [BZ #16538]
22726 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22727 (__sin): Force underflow exception for arguments with small
22728 absolute value.
22729 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22730 (__kernel_sinf): Force underflow exception for arguments with
22731 small absolute value.
22732 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22733 (__kernel_sincosl): Force underflow exception for arguments with
22734 small absolute value.
22735 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22736 (__kernel_sinl): Force underflow exception for arguments with
22737 small absolute value.
22738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22739 (__kernel_sincosl): Force underflow exception for arguments with
22740 small absolute value.
22741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22742 (__kernel_sinl): Force underflow exception for arguments with
22743 small absolute value.
22744 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22745 (__kernel_sinl): Force underflow exception for arguments with
22746 small absolute value.
22747 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22748 (__kernel_sinf): Force underflow exception for arguments with
22749 small absolute value.
22750 * math/auto-libm-test-in: Add more tests of sin and sincos.
22751 * math/auto-libm-test-out: Regenerated.
22752
22753 [BZ #18245]
22754 [BZ #18583]
22755 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22756 (__kernel_standard_l): Use feholdexcept and fesetenv around
22757 conversion to double instead of special-casing overflow and
22758 underflow.
22759 * math/libm-test.inc (fmod_test_data): Add more tests.
22760 (remainder_test_data): Likewise.
22761 (sqrt_test_data): Likewise.
22762
22763 2015-06-23 Torvald Riegel <triegel@redhat.com>
22764
22765 [BZ #17403]
22766 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22767 atomic_read_barrier, atomic_write_barrier): Define.
22768 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22769 atomic_read_barrier, atomic_write_barrier): Define.
22770
22771 2015-06-23 Joseph Myers <joseph@codesourcery.com>
22772
22773 * math/Makefile [$(PERL) != no]
22774 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22775 dependency on libm-test.stmp below the inclusion of Rules.
22776
22777 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
22778
22779 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22780 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22781 and included header.
22782 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22783 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22784 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22785 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22786 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22787 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22788 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22789 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22790 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22791 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22792 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22793 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22794 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22795 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22796 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22797 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22798 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22799 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22800 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22801
22802 2015-06-23 Joseph Myers <joseph@codesourcery.com>
22803
22804 [BZ #18371]
22805 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22806 intermediate but not final result might underflow.
22807 * math/s_csqrtf.c (__csqrtf): Likewise.
22808 * math/s_csqrtl.c (__csqrtl): Likewise.
22809 * math/auto-libm-test-in: Add more tests of csqrt.
22810 * math/auto-libm-test-out: Regenerated.
22811 * sysdeps/i386/fpu/libm-test-ulps: Update.
22812
22813 [BZ #18219]
22814 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22815 threshold on absolute value of exponent for which scaling is used.
22816 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22817 * math/auto-libm-test-in: Add more tests of exp2.
22818 * math/auto-libm-test-out: Regenerated.
22819
22820 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
22821
22822 [BZ #17977]
22823 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22824 when initializing interface list, based on the bug analysis
22825 and the patch proposed by Eric Newton.
22826 * resolv/tst-res_hconf_reorder.c: New test.
22827 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22828 tst-res_hconf_reorder.
22829 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22830 and $(shared-thread-library).
22831 (tst-res_hconf_reorder-ENV): New variable.
22832
22833 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22834 in comment.
22835
22836 2015-06-22 Joseph Myers <joseph@codesourcery.com>
22837
22838 [BZ #16353]
22839 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22840 (__expm1): Force underflow exception for arguments with small
22841 absolute value.
22842 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22843 (__expm1f): Force underflow exception for arguments with small
22844 absolute value.
22845 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22846 (__expm1): Force underflow exception for arguments with small
22847 absolute value.
22848 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22849 (__expm1f): Force underflow exception for arguments with small
22850 absolute value.
22851 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22852 Check for small arguments before calling __expm1.
22853 * math/auto-libm-test-in: Do not mark underflow exceptions as
22854 possibly missing for bug 16353.
22855 * math/auto-libm-test-out: Regenerated.
22856
22857 2015-06-22 Andreas Schwab <schwab@suse.de>
22858
22859 [BZ #18513]
22860 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22861 PTR queries.
22862
22863 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
22864
22865 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22866
22867 * string/strcoll_l.c: Remove unused struct element idxnow.
22868
22869 2015-06-21 Joseph Myers <joseph@codesourcery.com>
22870
22871 [BZ #18569]
22872 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22873 underflow and return argument in case of subnormal argument.
22874 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22875 Likewise.
22876 * math/auto-libm-test-in: Add more tests of expm1.
22877 * math/auto-libm-test-out: Regenerated.
22878
22879 [BZ #16361]
22880 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22881 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22882 tiny results.
22883 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22884 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22885 tiny results.
22886 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
22887 mark underflow exceptions as possibly missing for bug 16361.
22888 * math/auto-libm-test-out: Regenerated.
22889
22890 2015-06-19 Joseph Myers <joseph@codesourcery.com>
22891
22892 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22893 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22894 Remove variable.
22895 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22896 (test-xfail-XOPEN2K8/utmpx.h/conform).
22897
22898 * conform/conformtest.pl ($xerrors): New variable.
22899 (note_error): New function.
22900 (compiletest): New argument $xfail. Use not_error.
22901 (runtest): Likewise.
22902 (top level): Handle xfail- lines. Update calls to compiletest and
22903 runtest. Handle xfail- and optional- in headers listed with
22904 allow-header.
22905 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22906 (O_EXEC): Likewise.
22907 (O_SEARCH): Likewise.
22908 * conform/data/stropts.h-data (ioctl): Likewise.
22909 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22910 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22911 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22912 (msghdr.msg_controllen): Likewise.
22913 (cmsghdr.cmsg_len): Likewise.
22914 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22915 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22916 variable.
22917 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22918 (test-xfail-XPG4/stropts.h/conform): Likewise.
22919 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22920 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22921 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22922 (test-xfail-UNIX98/stropts.h/conform): Likewise.
22923 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22924 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22925 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22926 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22927 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22928 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22929 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22930 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22931 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22932 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22933 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22934 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22935 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22936 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22937 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22938
22939 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
22940
22941 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22942 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22943 definitions for proper unfolding of __MATHDECL_VEC.
22944
22945 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
22946
22947 * benchtests/bench-strcoll.c:
22948 Include string.h.
22949 (main): Remove unused variable res.
22950
22951 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
22952
22953 * timezone/Makefile (%/UTC %/Universal):
22954 Generate test-result files for UTC and Universal.
22955
22956 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
22957
22958 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22959
22960 2015-06-18 Joseph Myers <joseph@codesourcery.com>
22961
22962 [BZ #16350]
22963 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22964 for arguments with small absolute value.
22965 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22966 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22967 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22968 (__asinh): Force underflow exception for arguments with small
22969 absolute value.
22970 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22971 (__asinhf): Force underflow exception for arguments with small
22972 absolute value.
22973 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22974 (__asinhl): Force underflow exception for arguments with small
22975 absolute value.
22976 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22977 (__asinhl): Force underflow exception for arguments with small
22978 absolute value.
22979 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22980 (__asinhl): Force underflow exception for arguments with small
22981 absolute value.
22982 * math/auto-libm-test-in: Do not mark underflow exceptions as
22983 possibly missing for bug 16350.
22984 * math/auto-libm-test-out: Regenerated.
22985
22986 * include/bits/ipc.h: Remove file.
22987 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22988 variable.
22989 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22990 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22991 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22992 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22993 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22994 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22995 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22996 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22997 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22998
22999 * math/auto-libm-test-in: Remove spurious underflow allowance for
23000 tests of cexp.
23001 * math/auto-libm-test-out: Regenerated.
23002
23003 [BZ #18558]
23004 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
23005 unconditional definition.
23006 (MCAST_BLOCK_SOURCE): Likewise.
23007 (MCAST_UNBLOCK_SOURCE): Likewise.
23008 (MCAST_LEAVE_GROUP): Likewise.
23009 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23010 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23011 (MCAST_MSFILTER): Likewise.
23012 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
23013 Remove variable.
23014 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23015 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23016 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23017 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23018 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23019
23020 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
23021
23022 * NEWS: Mention addition of x86_64 vector sincosf.
23023 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
23024 * math/test-float-vlen4.h: Likewise.
23025 * math/test-float-vlen8.h: Likewise.
23026 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23027 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
23028 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23029 * sysdeps/x86_64/fpu/Versions: New versions added.
23030 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23031 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23032 Added build of SSE, AVX2 and AVX512 IFUNC versions.
23033 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
23034 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23035 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
23036 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23037 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
23038 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23039 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
23040 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
23041 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
23042 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
23043 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
23044 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
23045 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
23046 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
23047 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23048 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23049 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23050 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23051 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23052 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23053 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23054
23055 * NEWS: Mention addition of x86_64 vector sincos.
23056 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
23057 * math/math.h (__MATHDECL_VEC): New macro.
23058 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
23059 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
23060 declaration under condition.
23061 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
23062 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
23063 TEST_VEC_LOOP change.
23064 * math/test-double-vlen4.h: Likewise.
23065 * math/test-double-vlen8.h: Likewise.
23066 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
23067 * math/test-float-vlen4.h: Likewise.
23068 * math/test-float-vlen8.h: Likewise.
23069 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23070 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
23071 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23072 * sysdeps/x86_64/fpu/Versions: New versions added.
23073 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23074 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23075 Added build of SSE, AVX2 and AVX512 IFUNC versions.
23076 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
23077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
23078 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
23079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
23080 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
23081 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
23082 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
23083 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
23084 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
23085 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
23086 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
23087 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
23088 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
23089 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
23090 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23091 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23092 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23093 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23094 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23095 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23096 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23097
23098 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23099 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23100 redirections for powf.
23101 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23102 * sysdeps/x86_64/fpu/Versions: New versions added.
23103 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23104 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23105 Added build of SSE, AVX2 and AVX512 IFUNC versions.
23106 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
23107 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
23108 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
23109 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
23110 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
23111 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
23112 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
23113 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
23114 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
23115 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
23116 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
23117 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
23118 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
23119 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
23120 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23121 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23122 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23123 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23124 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23125 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23126 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23127 * math/test-float-vlen16.h: Fixed 2 argument macro.
23128 * math/test-float-vlen4.h: Likewise.
23129 * math/test-float-vlen8.h: Likewise.
23130 * NEWS: Mention addition of x86_64 vector powf.
23131
23132 2015-06-17 Joseph Myers <joseph@codesourcery.com>
23133
23134 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23135 and redefine.
23136 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23137 and redefine.
23138 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
23139 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23141
23142 [BZ #18553]
23143 * resource/getpriority.c (getpriority): Rename to __getpriority
23144 and define as weak alias of __getpriority.
23145 * resource/setpriority.c (setpriority): Rename to __setpriority
23146 and define as weak alias of __setpriority.
23147 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
23148 __getpriority and define as weak alias of __getpriority.
23149 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
23150 __setpriority and define as weak alias of __setpriority.
23151 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
23152 strong name.
23153 (setpriority): Use __setpriority as strong name.
23154 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
23155 __getpriority and define as weak alias of __getpriority.
23156 * include/sys/resource.h (__getpriority): Declare. Use
23157 libc_hidden_proto.
23158 (__setpriority): Likewise.
23159 (getpriority): Don't use libc_hidden_proto.
23160 (setpriority): Likewise.
23161 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
23162 getpriority. Call __setpriority instead of setpriority.
23163 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
23164 Remove variable.
23165
23166 [BZ #18547]
23167 * misc/getttyent.c (getttynam): Rename to __getttynam and define
23168 as weak alias of __getttynam. Use prototype function definition.
23169 Call __setttyent, __getttyent and __endttyent instead of
23170 setttyent, getttyent and endttyent.
23171 (getttyent): Rename to __getttyent and define as weak alias of
23172 __getttyent. Call __setttyent instead of setttyent. Call
23173 __fgets_unlocked instead of fgets_unlocked.
23174 (setttyent): Rename to __setttyent and define as weak alias of
23175 __setttyent.
23176 (endttyent): Rename to __endttyent and define as weak alias of
23177 __endttyent.
23178 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
23179 (__setttyent): Likewise.
23180 (__endttyent): Likewise.
23181 (getttyent): Don't use libc_hidden_proto.
23182 (setttyent): Likewise.
23183 (endttyent): Likewise.
23184 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
23185 __endttyent instead of setttyent, getttyent and endttyent.
23186 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
23187 Remove variable.
23188
23189 [BZ #18546]
23190 * socket/recv.c (__recv): Use libc_hidden_def.
23191 * socket/socket.c (__socket): Likewise.
23192 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23193 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23194 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
23195 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
23196 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
23197 libc_hidden_def.
23198 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
23199 libc_hidden_weak.
23200 * include/sys/socket.h (__socket): Do not use attribute_hidden.
23201 Use libc_hidden_proto.
23202 (__recv): Likewise.
23203 * socket/Versions (libc): Export __recv and __socket at version
23204 GLIBC_PRIVATE.
23205 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
23206 instead of recv.
23207 (init_mq_netlink): Call __socket instead of socket.
23208 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
23209 Remove variable.
23210
23211 [BZ #18545]
23212 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
23213 __mq_timedreceive and define as alias of __mq_timedreceive. Use
23214 hidden_weak.
23215 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
23216 define as alias of __mq_timedsend. Use hidden_weak.
23217 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
23218 __mq_timedsend as strong name.
23219 (mq_timedreceive): Use __mq_timedreceive as strong name.
23220 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
23221 (__mq_timedreceive): Likewise.
23222 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
23223 __mq_timedreceive instead of mq_timedreceive.
23224 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
23225 instead of mq_timedsend.
23226 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
23227 Remove variable.
23228
23229 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
23230 hidden_def and hidden_weak instead of libc_hidden_def and
23231 libc_hidden_weak.
23232 (top level): Refer to hidden_def in comment.
23233 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
23234 macro. Use it instead of libc_hidden_def.
23235 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
23236 specify __GI_* name explicitly.
23237 (mq_timedreceive): Likewise.
23238 (mq_setattr): Likewise.
23239
23240 [BZ #18544]
23241 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
23242 __pthread_barrier_init and define as weak alias of
23243 __pthread_barrier_init.
23244 * sysdeps/sparc/nptl/pthread_barrier_init.c
23245 (pthread_barrier_init): Likewise.
23246 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
23247 __pthread_barrier_wait and define as weak alias of
23248 __pthread_barrier_wait.
23249 * sysdeps/sparc/nptl/pthread_barrier_wait.c
23250 (pthread_barrier_wait): Likewise.
23251 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23252 (pthread_barrier_wait): Likewise.
23253 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
23254 (pthread_barrier_wait): Likewise.
23255 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
23256 (pthread_barrier_wait): Likewise.
23257 * nptl/Versions (libpthread): Export __pthread_barrier_init and
23258 __pthread_barrier_wait at version GLIBC_PRIVATE.
23259 * include/pthread.h (__pthread_barrier_init): Declare.
23260 (__pthread_barrier_wait): Likewise.
23261 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
23262 Call __pthread_barrier_wait instead of pthread_barrier_wait.
23263 (helper_thread): Likewise.
23264 (init_mq_netlink): Call __pthread_barrier_init instead of
23265 pthread_barrier_init.
23266
23267 [BZ #18542]
23268 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
23269 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
23270 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
23271 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
23272 vswscanf.
23273 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
23274 Remove variable.
23275
23276 [BZ #18540]
23277 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
23278 strong alias of _IO_fflush. Use libc_hidden_def.
23279 * libio/iofflush_u.c (fflush_unlocked): Rename to
23280 __fflush_unlocked and define as weak alias of __fflush_unlocked.
23281 Use libc_hidden_weak.
23282 * include/stdio.h (__fflush_unlocked): Declare. Use
23283 libc_hidden_proto.
23284 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
23285 fflush_unlocked.
23286 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
23287 Remove variable.
23288
23289 [BZ #18539]
23290 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
23291 define as weak alias of __addseverity.
23292 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
23293 Remove variable.
23294 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23295 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23296 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23297
23298 [BZ #18536]
23299 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
23300 (__tfind): Likewise.
23301 (__tdelete): Likewise.
23302 (__twalk): Likewise.
23303 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
23304 __twalk to GLIBC_PRIVATE.
23305 * include/search.h (__tsearch): Use libc_hidden_proto.
23306 (__tfind): Likewise.
23307 (__tdelete): Likewise.
23308 (__twalk): Likewise.
23309 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
23310 Call __tdelete instead of tdelete.
23311 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
23312 tfind. Call __tsearch instead of tsearch.
23313 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
23314 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
23315 Remove variable.
23316 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23317
23318 [BZ #18534]
23319 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
23320 (dprintf): Define as a weak alias of __dprintf, not a strong
23321 alias.
23322 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
23323 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
23324 dprintf.
23325 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
23326 Remove variable.
23327 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23328 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23329
23330 [BZ #18533]
23331 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
23332 not a strong alias.
23333 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
23334 Remove variable.
23335
23336 [BZ #18532]
23337 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
23338 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
23339 (in6addr_loopback): Rename to __in6addr_loopback and define as
23340 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
23341 * include/netinet/in.h (__in6addr_loopback): Declare. Use
23342 libc_hidden_proto.
23343 (__in6addr_any): Likewise.
23344 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
23345 in6addr_any.
23346 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
23347 variable.
23348 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23349
23350 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
23351
23352 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
23353 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
23354 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23355 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23356 redirections for pow.
23357 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23358 * sysdeps/x86_64/fpu/Versions: New versions added.
23359 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23360 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23361 build of SSE, AVX2 and AVX512 IFUNC versions.
23362 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
23363 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
23364 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
23365 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
23366 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
23367 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
23368 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
23369 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
23370 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
23371 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
23372 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
23373 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
23374 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
23375 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
23376 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23377 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23378 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23379 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23380 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23381 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23382 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23383 * NEWS: Mention addition of x86_64 vector pow.
23384
23385 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23386 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23387 redirections for expf.
23388 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23389 * sysdeps/x86_64/fpu/Versions: New versions added.
23390 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23391 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23392 build of SSE, AVX2 and AVX512 IFUNC versions.
23393 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
23394 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
23395 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
23396 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
23397 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
23398 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
23399 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
23400 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
23401 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
23402 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
23403 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
23404 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
23405 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
23406 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23407 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23408 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23409 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23410 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23411 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23412 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23413 * NEWS: Mention addition of x86_64 vector expf.
23414
23415 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
23416 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
23417 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23418 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23419 redirections for exp.
23420 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23421 * sysdeps/x86_64/fpu/Versions: New versions added.
23422 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23423 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23424 build of SSE, AVX2 and AVX512 IFUNC versions.
23425 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
23426 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
23427 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
23428 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
23429 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
23430 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
23431 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
23432 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
23433 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
23434 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
23435 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
23436 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
23437 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
23438 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23439 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23440 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23441 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23442 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23443 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23444 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23445 * NEWS: Mention addition of x86_64 vector exp.
23446
23447 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23448 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23449 redirections for logf.
23450 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23451 * sysdeps/x86_64/fpu/Versions: New versions added.
23452 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23453 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23454 build of SSE, AVX2 and AVX512 IFUNC versions.
23455 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
23456 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
23457 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
23458 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
23459 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
23460 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
23461 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
23462 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
23463 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
23464 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
23465 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
23466 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
23467 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
23468 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23469 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23470 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23471 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23472 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23473 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23474 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23475 * NEWS: Mention addition of x86_64 vector logf.
23476
23477 * bits/libm-simd-decl-stubs.h: Added stubs for log.
23478 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
23479 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23480 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23481 redirections for log.
23482 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23483 * sysdeps/x86_64/fpu/Versions: New versions added.
23484 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23485 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23486 build of SSE, AVX2 and AVX512 IFUNC versions.
23487 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
23488 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
23489 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
23490 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
23491 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
23492 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
23493 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
23494 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
23495 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
23496 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
23497 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
23498 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
23499 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
23500 test.
23501 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23502 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23503 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23504 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23505 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23506 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23507 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23508 * NEWS: Mention addition of x86_64 vector log.
23509
23510 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
23511
23512 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
23513 cfi_adjust_cfa_offset argument.
23514 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
23515 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
23516
23517 [BZ #18034]
23518 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
23519 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
23520 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
23521 ordering using ldar.
23522 (_dl_tlsdesc_dynamic): Likewise.
23523 (_dl_tlsdesc_return_lazy): Likewise.
23524 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
23525 relaxed atomics instead of volatile and synchronize with release store.
23526 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
23527 volatile.
23528 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23529
23530 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
23531
23532 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23533 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
23534 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23535 * sysdeps/x86_64/fpu/Versions: New versions added.
23536 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23537 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23538 build of SSE, AVX2 and AVX512 IFUNC versions.
23539 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
23540 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
23541 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
23542 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
23543 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
23544 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
23545 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
23546 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
23547 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
23548 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
23549 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
23550 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
23551 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
23552 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23553 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23554 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23555 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23556 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23557 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23558 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23559 * NEWS: Mention addition of x86_64 vector sinf.
23560
23561 2015-06-14 Joseph Myers <joseph@codesourcery.com>
23562
23563 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
23564 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
23565 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
23566 Remove variable.
23567 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23568 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23569
23570 2015-06-12 Joseph Myers <joseph@codesourcery.com>
23571
23572 [BZ #18530]
23573 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
23574 strong alias of _IO_fputs. Use libc_hidden_def.
23575 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
23576 and define as weak alias of __fputs_unlocked. Use
23577 libc_hidden_weak.
23578 * include/stdio.h (__fputs_unlocked): Declare. Use
23579 libc_hidden_proto.
23580 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23581 fputs_unlocked.
23582
23583 [BZ #18529]
23584 * resolv/netdb.h [__USE_POSIX]: Change condition to
23585 [__USE_XOPEN2K].
23586 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23587 not expect.
23588 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23589 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23590 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23591 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23592 [XPG4 || UNIX98] (AI_ALL): Likewise.
23593 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23594 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23595 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23596 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23597 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23598 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23599 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23600 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23601 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23602 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23603 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23604 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23605 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23606 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23607 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23608 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23609 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23610 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23611 [XPG4 || UNIX98] (gai_strerror): Likewise.
23612 [XPG4 || UNIX98] (getaddrinfo): Likewise.
23613 [XPG4 || UNIX98] (getnameinfo): Likewise.
23614
23615 [BZ #18528]
23616 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23617 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23618 __USE_XOPEN2K8].
23619 (getgrent): Likewise.
23620 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23621 expect.
23622 [XPG3 || POSIX2008] (endgrent): Likewise.
23623 [XPG3] (setgrent): Likewise.
23624 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23625 variable.
23626 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23627
23628 [BZ #18527]
23629 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23630 define as weak alias of __getlogin_r. Use libc_hidden_weak.
23631 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23632 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23633 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23634 * include/unistd.h (__getlogin_r): Declare. Use
23635 libc_hidden_proto.
23636 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23637 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23638 variable.
23639 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23640 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23641 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23642
23643 2015-06-12 Martin Sebor <msebor@redhat.com>
23644
23645 [BZ #18512]
23646 * Makerules (check-install-supported): New target.
23647 (install): Add check-install-supported as a dependency.
23648 * manual/install.texi (Installing the C Library): Document
23649 that overriding prefix and exec_prefix is not supported.
23650 Mention DESTDIR.
23651 * INSTALL: Regenerate from the above.
23652
23653 2015-06-12 Joseph Myers <joseph@codesourcery.com>
23654
23655 [BZ #18519]
23656 * posix/Versions (libc): Export __libc_pread at version
23657 GLIBC_PRIVATE.
23658 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23659 instead of pread.
23660 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23661 variable.
23662
23663 [BZ #18522]
23664 * misc/efgcvt_r.c
23665 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23666 (cvt_symbol): Use weak_alias instead of strong_alias.
23667 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23668 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23669 Remove variable.
23670 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23671 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23672
23673 [BZ #18520]
23674 * inet/herrno.c (h_errno): Rename to __h_errno.
23675 (__libc_h_errno): Define as alias of __h_errno not h_errno.
23676 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23677 to __h_errno instead of h_errno.
23678 * nptl/herrno.c (h_errno): Rename to __h_errno.
23679 (__h_errno_location): Refer to __h_errno not h_errno.
23680 * resolv/Versions (h_errno): Rename to __h_errno.
23681 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23682 Remove variable.
23683 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23684
23685 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
23686
23687 * configure.ac: More strict check for AVX512 assembler support.
23688 * configure: Regenerated.
23689
23690 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23691 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23692 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23693 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23694 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23695 * sysdeps/x86_64/fpu/Versions: New versions added.
23696 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23697 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23698 Added build of SSE, AVX2 and AVX512 IFUNC versions.
23699 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23700 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23701 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23702 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23703 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23704 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23705 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23706 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23707 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23708 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23709 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23710 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23711 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23712 test.
23713 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23714 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23715 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23716 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23717 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23718 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23719 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23720 * NEWS: Mention addition of x86_64 vector sin.
23721
23722 2015-06-11 Florian Weimer <fweimer@redhat.com>
23723
23724 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23725 comment.
23726
23727 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
23728
23729 [BZ #18479]
23730 * nptl/pt-interp.c: New file.
23731 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23732 Add pt-interp.
23733 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23734 $(common-objpfx)runtime-linker.h.
23735
23736 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
23737
23738 * Makeconfig (+interp): Remove unused variable.
23739 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23740 only. Depend on $(common-objpfx)runtime-linker.h instead of
23741 $(elf-objpfx)runtime-linker.h.
23742 ($(elf-objpfx)runtime-linker.h): Rename to
23743 $(common-objpfx)runtime-linker.h and move ...
23744 * Makerules [$(build-shared) = yes]: ... here.
23745 * elf/interp.c: Include <runtime-linker.h> instead of
23746 <elf/runtime-linker.h>.
23747
23748 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23749
23750 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23751 (__gettimeofday_syscall): Remove vsyscall fallback.
23752 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23753 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23754 Add syscall fallback function.
23755 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23756 if vDSO is not present.
23757 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23758 fallback function.
23759 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23760 present.
23761 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23762 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23763
23764 2015-06-09 Joseph Myers <joseph@codesourcery.com>
23765
23766 [BZ #18497]
23767 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23768 of wcscmp.
23769 (wcscmp): Define as weak alias of WCSCMP.
23770 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23771 wcscoll.
23772 (USE_HIDDEN_DEF): Define.
23773 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23774 __wcscoll. Don't use libc_hidden_weak.
23775 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23776 wcscmp.
23777 * sysdeps/i386/i686/multiarch/wcscmp-c.c
23778 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23779 __GI_wcscmp.
23780 (weak_alias): Undefine and redefine.
23781 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23782 __wcscmp and define as weak alias of __wcscmp.
23783 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23784 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
23785 (__wcscoll): Likewise.
23786 (wcscmp): Don't use libc_hidden_proto.
23787 (wcscoll): Likewise.
23788 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23789 wcscoll.
23790 * posix/regexec.c (check_node_accept_bytes): Likewise.
23791 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23792 variable.
23793 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23794 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23795
23796 [BZ #18507]
23797 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23798 __fstatvfs and define as weak alias of __fstatvfs. Use
23799 libc_hidden_weak.
23800 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23801 and define as weak alias of __statvfs. Use libc_hidden_weak.
23802 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23803 Define as alias of __fstatvfs, not fstatvfs.
23804 (fstatvfs64): Likewise.
23805 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23806 Define as alias of __statvfs, not statvfs.
23807 (statvfs64): Likewise.
23808 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23809 Remove variable.
23810
23811 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23812
23813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23814 (HAVE_GETCPU_VSYSCALL): Define.
23815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23816 (HAVE_GETCPU_VSYSCALL): Likewise.
23817 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23818 * sysdeps/unix/sysv/linux/sched_getcpu.c
23819 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23820 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23821 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23822 prototype.
23823 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23824 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23825 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23827 Define.
23828 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23829 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23830 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23831 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23832
23833 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
23834
23835 * sysdeps/x86_64/fpu/Makefile: New file.
23836 * sysdeps/x86_64/fpu/Versions: New file.
23837 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23838 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23839 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23840 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23841 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23842 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23843 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23844 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23845 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23846 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23847 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23848 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23849 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23850 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23851 Added build of SSE, AVX2 and AVX512 IFUNC versions.
23852 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23853 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23854 * sysdeps/x86_64/configure.ac: Options for libmvec build.
23855 * sysdeps/x86_64/configure: Regenerated.
23856 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23857 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23858 * manual/install.texi (Configuring and compiling): Document
23859 --disable-mathvec.
23860 * INSTALL: Regenerated.
23861 * NEWS: Mention addition of libmvec and x86_64 vector cos.
23862
23863 * math/Makefile: Added rules for vector tests.
23864 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23865 declaration under condition.
23866 * math/test-double-vlen2.h: New file.
23867 * math/test-double-vlen4.h: New file.
23868 * math/test-double-vlen8.h: New file.
23869 * math/test-vec-loop.h: Added initialization macro.
23870 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23871 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23872 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23873 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23874 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23875 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23876 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23877 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23878 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23879 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23880 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23881
23882 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23883 * sysdeps/x86_64/fpu/Versions: New versions added.
23884 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23885 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23886 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23887 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23888 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23889 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23890 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23891 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23892 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23893 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23894 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23895 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23896 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23897 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23898 Added build of SSE, AVX2 and AVX512 IFUNC versions.
23899 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23900 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23901 * NEWS: Mention addition of x86_64 vector cosf.
23902
23903 * math/Makefile: Added CFLAGS for new tests.
23904 * math/test-float-vlen16.h: New file.
23905 * math/test-float-vlen4.h: New file.
23906 * math/test-float-vlen8.h: New file.
23907 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23908 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23909 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23910 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23911 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23912 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23913 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23914 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23915 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23916 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23917 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23918
23919 2015-06-09 Marko Myllynen <myllynen@redhat.com>
23920
23921 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23922 * locale/programs/ld-ctype.c: Likewise.
23923
23924 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
23925
23926 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23927 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23928 bit_ZMM16_31_state): New macro.
23929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23930 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23931
23932 2015-06-08 Joseph Myers <joseph@codesourcery.com>
23933
23934 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23935
23936 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
23937
23938 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23939
23940 2015-06-05 Joseph Myers <joseph@codesourcery.com>
23941
23942 [BZ #18498]
23943 * libio/memstream.c (open_memstream): Rename to __open_memstream
23944 and define as weak alias of __open_memstream.
23945 * include/stdio.h (__open_memstream): Declare. Use
23946 libc_hidden_proto.
23947 (open_memstream): Don't use libc_hidden_proto.
23948 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23949 open_memstream.
23950 * posix/getopt.c (_getopt_internal_r): Likewise.
23951 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23952 variable.
23953 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23954 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23955 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23956
23957 [BZ #18496]
23958 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23959 instead of wcrtomb.
23960
23961 [BZ #18483]
23962 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23963 [__USE_XOPEN2K8]. Remove redundant #endif.
23964 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23965 Remove redundant #if.
23966 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23967 Remove variable.
23968 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23969 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23970
23971 [BZ #18495]
23972 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23973 (__iswlower): Likewise.
23974 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
23975 (__iswlower): Likewise.
23976 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23977 instead of towlower.
23978 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23979 instead of iswlower. Call __towupper instead of towupper.
23980 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23981 instead of iswalnum.
23982
23983 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23984
23985 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23986 errors to stderr.
23987
23988 2015-06-05 Florian Weimer <fweimer@redhat.com>
23989
23990 [BZ #15661]
23991 [BZ #17322]
23992 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23993 Check for overflow properly. Check for O_APPEND. Ignore large
23994 file system block sizes. Add comments about problems.
23995 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23996 * manual/filesys.texi (Storage Allocation): New node.
23997
23998 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23999
24000 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
24001 cancellable syscalls.
24002 (SYS_ify): Add guard to no redefine it.
24003 (INLINE_SYSCALL): Likewise.
24004 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
24005 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
24006 SYSCALL_CANCEL instead.
24007 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
24008 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24009 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24010 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24011 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24012 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
24013 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
24014 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
24015 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24016 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24017 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
24018 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
24019 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
24020 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
24021 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
24022 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24023 Likewise.
24024 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24025 (__libc_pread64): Likewise.
24026 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
24027 (__libc_preadv): Likewise.
24028 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
24029 (__libc_readv64): Likewise.
24030 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24031 (__libc_pwrite): Likewise.
24032 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24033 (__libc_pwrite64): Likewise.
24034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
24035 (__libc_pwritev): Likewise.
24036 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
24037 (__libc_pwritev64): Likewise.
24038 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
24039 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24040 (sync_file_range): Likewise.
24041 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
24042 Likewise.
24043 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
24044 Likewise.
24045 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24046 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24047 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24048 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24049 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24050 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24051 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24052 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
24053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24054 Likewise.
24055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24056 (__libc_read64): Likewise.
24057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
24058 Likewise.
24059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
24060 Likewise.
24061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
24062 Likewise.
24063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
24064 Likewise.
24065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24066 (__libc_pread64): Likewise.
24067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
24068 Likewise.
24069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24070 (__libc_pwrite64): Likewise.
24071 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
24072 (sync_file_range): Likewise.
24073 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
24074 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24075 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24076 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
24077 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
24078 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24079 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24080 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
24081 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
24082 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24083 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24084 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24085 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24086 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24087 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
24088 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24089 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24090 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24091 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24092 Likewise.
24093 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
24094 Likewise.
24095 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
24096 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
24097 Likewise.
24098 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
24099 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
24100 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
24101 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
24102 Likewise.
24103 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
24104 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
24105 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
24106 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
24107 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
24108
24109 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
24110
24111 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
24112 Include dl-vdso.
24113 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
24114 Use VDSO routines for gettimeofday, clock_gettime if
24115 available.
24116 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
24117 Declare VDSO symbols.
24118 * sysdeps/unix/sysv/linux/arm/sysdep.h:
24119 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
24120 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24121 * sysdeps/unix/sysv/linux/arm/Versions: Add
24122 __vdso_clock_gettime.
24123
24124 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24125
24126 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
24127 be an inline implementation regardless of library is built within.
24128 (open_not_cancel_2): Likewise.
24129 (__read_nocancel): Likewise.
24130 (__write_nocancel): Likewise.
24131 (openat_not_cancel): Likewise.
24132 (openat_not_cancel_3): Likewise.
24133 (openat64_not_cancel): Likewise.
24134 (openat64_not_cancel_3): Likewise.
24135 (__close_nocancel): Likewise.
24136 (pause_not_cancel): Likewise.
24137 (nanosleep_not_cancel): Likewise.
24138 (sigsuspend_not_cancel): Likewise.
24139
24140 2015-06-04 Torvald Riegel <triegel@redhat.com>
24141
24142 [BZ #14958]
24143 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
24144 wake-up.
24145 (__pthread_rwlock_rdlock_slow): Likewise.
24146 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24147 Likewise.
24148 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
24149 Likewise.
24150 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
24151 * nptl/tst-rwlock16.c: New file.
24152 * nptl/Makefile (tests): Add new test.
24153
24154 2015-06-04 Torvald Riegel <triegel@redhat.com>
24155
24156 [BZ #18324]
24157 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
24158 missing wake-up of readers.
24159 * nptl/tst-rwlock15.c: New file.
24160 * nptl/Makefile (tests): Add new test.
24161
24162 2015-06-03 Roland McGrath <roland@hack.frob.com>
24163
24164 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
24165 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
24166 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
24167 and __nacl_supply_interface_rtld.
24168 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
24169 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
24170 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
24171 Add __nacl_supply_interface_rtld.
24172 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
24173
24174 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
24175
24176 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
24177 isfinite.
24178 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24179 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
24180
24181 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
24182
24183 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
24184 __signbit* with standard C99 macros.
24185 * math/e_exp10l.c: Likewise.
24186 * math/e_exp2l.c: Likewise.
24187 * math/e_scalb.c: Likewise.
24188 * math/e_scalbf.c: Likewise.
24189 * math/e_scalbl.c: Likewise.
24190 * math/s_ldexp.c: Likewise.
24191 * math/s_ldexpf.c: Likewise.
24192 * math/s_ldexpl.c: Likewise.
24193 * math/w_atan2.c: Likewise.
24194 * math/w_atan2f.c: Likewise.
24195 * math/w_atan2l.c: Likewise.
24196 * math/w_cosh.c: Likewise.
24197 * math/w_coshf.c: Likewise.
24198 * math/w_coshl.c: Likewise.
24199 * math/w_exp10.c: Likewise.
24200 * math/w_exp10f.c: Likewise.
24201 * math/w_exp10l.c: Likewise.
24202 * math/w_exp2.c: Likewise.
24203 * math/w_exp2f.c: Likewise.
24204 * math/w_exp2l.c: Likewise.
24205 * math/w_fmod.c: Likewise.
24206 * math/w_fmodf.c: Likewise.
24207 * math/w_fmodl.c: Likewise.
24208 * math/w_hypot.c: Likewise.
24209 * math/w_hypotf.c: Likewise.
24210 * math/w_hypotl.c: Likewise.
24211 * math/w_jnl.c: Likewise.
24212 * math/w_lgamma.c: Likewise.
24213 * math/w_lgamma_r.c: Likewise.
24214 * math/w_lgammaf.c: Likewise.
24215 * math/w_lgammaf_r.c: Likewise.
24216 * math/w_lgammal.c: Likewise.
24217 * math/w_lgammal_r.c: Likewise.
24218 * math/w_pow.c: Likewise.
24219 * math/w_powf.c: Likewise.
24220 * math/w_powl.c: Likewise.
24221 * math/w_remainder.c: Likewise.
24222 * math/w_remainderf.c: Likewise.
24223 * math/w_remainderl.c: Likewise.
24224 * math/w_scalb.c: Likewise.
24225 * math/w_scalbf.c: Likewise.
24226 * math/w_scalbl.c: Likewise.
24227 * math/w_scalbln.c: Likewise.
24228 * math/w_scalblnf.c: Likewise.
24229 * math/w_scalblnl.c: Likewise.
24230 * math/w_sinh.c: Likewise.
24231 * math/w_sinhf.c: Likewise.
24232 * math/w_sinhl.c: Likewise.
24233 * math/w_tgamma.c: Likewise.
24234 * math/w_tgammaf.c: Likewise.
24235 * math/w_tgammal.c: Likewise.
24236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24237 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
24238 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24239 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24240 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24242 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24243 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24244 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24245 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24246 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24247 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24248 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24250 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24251 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24252 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24264 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24265 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24266 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
24267 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
24268 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
24269 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
24270 * stdio-common/printf_fp.c: Likewise.
24271 * stdio-common/printf_fphex.c: Likewise.
24272 * stdio-common/printf_size.c: Likewise.
24273
24274 2015-06-03 Joseph Myers <joseph@codesourcery.com>
24275
24276 [BZ #18470]
24277 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
24278 strnlen.
24279 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
24280 Remove variable.
24281 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24282 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24283 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24284 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24285 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24286 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24287 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24288 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24289 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24290 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24291
24292 [BZ #18468]
24293 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
24294 weak alias of __wmemchr. Use libc_hidden_weak.
24295 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
24296 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
24297 instead of wmemchr.
24298
24299 2015-06-02 Roland McGrath <roland@hack.frob.com>
24300
24301 [BZ #18383]
24302 * elf/tst-tlsalign-extern.c: New file.
24303 * elf/tst-tlsalign-extern-static.c: New file.
24304 * elf/tst-tlsalign-vars.c: New file.
24305 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
24306 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
24307 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
24308 ($(objpfx)tst-tlsalign-extern-static): Likewise.
24309 (test-xfail-tst-tlsalign-extern-static): New variable.
24310
24311 2015-06-02 Joseph Myers <joseph@codesourcery.com>
24312
24313 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
24314 Use variable name _sc_err instead of err.
24315 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
24316 instead of ret.
24317 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
24318 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
24319 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
24320 (INLINE_SYSCALL): Likewise.
24321
24322 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
24323 * include/string.h (__strnlen): Use libc_hidden_proto.
24324 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
24325 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
24326 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
24327 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
24328 (libc_hidden_def): Undefine and redefine.
24329 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
24330 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
24331 __GI_strnlen.
24332 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
24333 libc_hidden_def.
24334 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
24335
24336 [BZ #18469]
24337 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
24338 weak alias of __towlower. Use libc_hidden_weak.
24339 (towupper): Rename to __towupper and define as weak alias of
24340 __towupper. Use libc_hidden_weak.
24341 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
24342 (__towupper): Likewise.
24343 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
24344 __towlower instead of towlower.
24345
24346 2015-06-02 Roland McGrath <roland@hack.frob.com>
24347
24348 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
24349 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
24350
24351 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24352
24353 * sysdeps/aarch64/libm-test-ulps: Update.
24354
24355 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24356
24357 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
24358 Define.
24359 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24361 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24362 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24363 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
24364 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
24365 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
24366
24367 2015-06-01 Martin Sebor <msebor@redhat.com>
24368
24369 [BZ #18116]
24370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24371 (__setcontext): Use extended four-operand version of mtsf whenever
24372 possible.
24373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24374 (__novec_swapcontext): Likewise.
24375
24376 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24377
24378 * benchtests/scripts/compare_bench.py: New file.
24379 * benchtests/scripts/import_bench.py (mean): New function.
24380 (split_list): Likewise.
24381 (do_for_all_timings): Likewise.
24382 (compress_timings): Likewise.
24383
24384 * benchtests/scripts/import_bench.py: New file.
24385 * benchtests/scripts/validate_benchout.py: Import import_bench
24386 instead of jsonschema.
24387 (validate_bench): Remove function.
24388 (main): Use import_bench.
24389
24390 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
24391
24392 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
24393 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
24394
24395 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24396
24397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24398
24399 2015-05-28 Roland McGrath <roland@hack.frob.com>
24400
24401 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
24402 set THREAD_SELF->tid to a magic value and futex-wake it.
24403 Pass its address to the thread_exit system call.
24404 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
24405 bit is clear.
24406 * sysdeps/nacl/lowlevellock.h: New file.
24407 * sysdeps/nacl/lll_timedwait_tid.c: New file.
24408
24409 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
24410 Add TIMEOUT to current time, don't subtract it.
24411
24412 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
24413
24414 [BZ #2981]
24415 [BZ #18422]
24416 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
24417 ($(objpfx)tst-audit2.out): Also depend on
24418 $(objpfx)tst-auditmod9b.so.
24419 * elf/tst-audit2.c: Include <dlfcn.h>.
24420 (calloc_called): New.
24421 (calloc): Allow to be called more than once.
24422 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
24423
24424 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
24425
24426 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
24427 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
24428
24429 2015-05-27 Marko Myllynen <myllynen@redhat.com>
24430
24431 * stdlib/monetary.h: Fix comment.
24432
24433 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
24434
24435 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
24436 Avoid using variables in #defines that might cause shadowing.
24437 (INTERNAL_VSYSCALL_CALL): Likewise.
24438
24439 2015-05-26 Roland McGrath <roland@hack.frob.com>
24440
24441 * sysdeps/nacl/lll_timedlock_wait.c: New file.
24442
24443 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
24444 * nptl/lll_timedlock_wait.c: ... to this new file.
24445 * nptl/Makefile (libpthread-routines): Add it.
24446 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
24447 * nptl/lll_timedwait_tid.c: ... to this new file.
24448 * nptl/Makefile (libpthread-routines): Add it.
24449 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
24450 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
24451 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
24452 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
24453 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
24454 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
24455 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
24456 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
24457 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
24458 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
24459
24460 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24461
24462 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
24463 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24464 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24465 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
24466 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
24467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24468 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24469 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24470 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24471 * sysdeps/unix/sysv/linux/tile/sysdep.h
24472 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24473 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
24474 using vDSO syscall macro.
24475
24476 2015-05-26 Andriy Rysin <arysin@gmail.com>
24477
24478 [BZ #17293]
24479 * uk_UA: Fix sorting order for Ukrainian locale
24480
24481 2015-05-26 Marko Myllynen <myllynen@redhat.com>
24482
24483 * stdlib/monetary.h: Fix comment.
24484
24485 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
24486
24487 [BZ #18234]
24488 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
24489 st_mtim and st_ctim members.
24490 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
24491 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
24492 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
24493 (struct stat64): Likewise.
24494 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
24495 (struct stat64): Likewise.
24496 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
24497 (struct stat64): Likewise.
24498
24499 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24500
24501 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
24502 Define and include sysdep-vdso.h.
24503 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
24504 Likewise.
24505 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
24506 Likewise.
24507 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
24508 Define with VDSO_SYMBOL and use PTR_MANGLE.
24509 (__vdso_clock_gettime): Likewise.
24510 (__vdso_clock_getres): Likewise.
24511 (_libc_vdso_platform_setup): Likewise.
24512 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24513 Likewise.
24514 (_libc_vdso_platform_setup): Likewise.
24515 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
24516 Likewise.
24517 (__vdso_clock_gettime): Likewise.
24518 (__vdso_clock_getres): Likewise.
24519 (__vdso_get_tbfreq): Likewise.
24520 (__vdso_getcpu): Likewise.
24521 (__vdso_time): Likewise.
24522 (__vdso_sigtramp_rt64): Likewise.
24523 (__vdso_signtramp32): Likewise.
24524 (__vdso_sigtramp_rt32): Likewise.
24525 (_libc_vdso_platform_setup): Likewise.
24526 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
24527 Likewise.
24528 (__vdso_clock_gettime): Likewise.
24529 (__vdso_clock_getres): Likewise.
24530 (_libc_vdso_platform_setup): Likewise.
24531 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
24532 Likewise.
24533 (__vdso_clock_gettime): Likewise.
24534 (_libc_vdso_platform_setup): Likewise.
24535 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24536 Likewise.
24537 (__vdso_getcpu): Likewise.
24538 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
24539 Use VDSO_SYMBOL macro to define.
24540 (__vdso_clock_gettime): Likewise.
24541 (__vdso_clock_getres): Likewise.
24542 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
24543 Likewise.
24544 (__vdso_clock_gettime): Likewise.
24545 (__vdso_clock_getres): Likewise.
24546 (__vdso_get_tbfreq): Likewise.
24547 (__vdso_getcpu): Likewise.
24548 (__vdso_time): Likewise.
24549 (__vdso_sigtramp_rt64): Likewise.
24550 (__vdso_signtramp32): Likewise.
24551 (__vdso_sigtramp_rt32): Likewise.
24552 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
24553 Likewise.
24554 (__vdso_clock_gettime): Likewise.
24555 (__vdso_clock_getres): Likewise.
24556 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
24557 Likewise.
24558 (__vdso_clock_gettime): Likewise.
24559 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24560 Likewise.
24561 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
24562 macro.
24563 (INTERNAL_VSYSCALL): Likewise.
24564 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
24565 Remove macro.
24566 (INTERNAL_VSYSCALL): Likewise.
24567 (INTERNAL_VSYSCALL_NCS): Likewise.
24568 (INTERNAL_VSYSCALL_CALL): New macro.
24569 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
24571 Likewise.
24572 (INTERNAL_VSYSCALL): Likewise.
24573 (INTERNAL_VSYSCALL_NCS): Likewise.
24574 (INTERNAL_VSYSCALL_CALL): New macro.
24575 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24577 (INLINE_VSYSCALL): Remove macro.
24578 (INTERNAL_VSYSCALL): Remove macro.
24579 (INTERNAL_VSYSCALL_NCS): Remove macro.
24580 (INTERNAL_VSYSCALL_CALL): New macro.
24581 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24582 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24583 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24584 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24585 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24587 (INLINE_VSYSCALL): Remove macro.
24588 (INTERNAL_VSYSCALL): Likewise.
24589 (INTERNAL_VSYSCALL_NCS): Likewise.
24590 (INTERNAL_VSYSCALL_CALL): New macro.
24591 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24592 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24593 PTR_DEMANGLE on vDSO pointer.
24594 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24595 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24596 macro.
24597 (INTERNAL_SYSCALL): Likewise.
24598 (INTERNAL_VSYSCALL_NCS): Remove macro.
24599 (INTERNAL_VSYSCALL_CALL): New macro.
24600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24601 Remove macro.
24602 (INTERNAL_VSYSCALL): Likewise.
24603 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24604 sysdep-vdso.h instead of libc-vdso.h.
24605 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24606 definition.
24607 (INLINE_VSYSCALL): Likewise.
24608 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24609 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24610 definition.
24611 (INLINE_VSYSCALL): Likewise.
24612 (INTERNAL_VSYSCALL): Likewise.
24613 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24614 * sysdeps/unix/sysv/linux/timespec_get.c
24615 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24616 (timespec_get): Use ANSI prototype.
24617 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24618 and definition for Linux.
24619
24620 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
24621
24622 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24623 * include/libc-symbols.h: libmvec_hidden_* macro series added.
24624
24625 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
24626
24627 [BZ #2981]
24628 [BZ #18410]
24629 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24630 for missing DT_PLTRELSZ.
24631
24632 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
24633
24634 Remove obsolete aliases that broke 'locale -a'
24635 [BZ #18412]
24636 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24637 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24638 breaking some applications that use 'locale -a' output.
24639 Change the encoding of this file from Latin-1 to ASCII to avoid
24640 other potential problems with people grepping this file.
24641
24642 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24643
24644 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24645 -fasynchronous-unwind-tables.
24646 (CFLAGS-sendto.c): Likewise.
24647 (CFLAGS-sendmsg.c): Likewise.
24648 (CFLAGS-connect.c): Likewise.
24649 (CFLAGS-recvmsg.c): Likewise.
24650 (CFLAGS-recvfrom.c): Likewise.
24651 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24652 (SOCKETCALL): New macro: non-cancellable socketcall.
24653 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24654 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24655 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24656 * sysdeps/unix/sysv/linux/accept.c: New file.
24657 * sysdeps/unix/sysv/linux/bind.c: Likewise.
24658 * sysdeps/unix/sysv/linux/connect.c: Likewise.
24659 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24660 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24661 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24662 * sysdeps/unix/sysv/linux/listen.c: Likewise.
24663 * sysdeps/unix/sysv/linux/recv.c: Likewise.
24664 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24665 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24666 * sysdeps/unix/sysv/linux/send.c: Likewise.
24667 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24668 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24669 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24670 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24671 * sysdeps/unix/sysv/linux/socket.c: Likewise.
24672 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24673 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24674 prototype.
24675 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24676 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24677 instead of __internal_xxx function.
24678 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24679 prototype.
24680 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24681 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24682 instead of __internal_xxx function.
24683 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24684 prototype.
24685 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24686 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24687 instead of __internal_xxx function.
24688 * sysdeps/unix/sysv/linux/accept.S: Remove file.
24689 * sysdeps/unix/sysv/linux/bind.S: Likewise.
24690 * sysdeps/unix/sysv/linux/connect.S: Likewise.
24691 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24692 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24693 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24694 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24695 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24696 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24697 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24698 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24699 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24700 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24701 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24702 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24703 * sysdeps/unix/sysv/linux/listen.S: Likewise.
24704 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24705 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24706 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24707 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24710 * sysdeps/unix/sysv/linux/recv.S: Likewise.
24711 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24712 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24713 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24714 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24715 * sysdeps/unix/sysv/linux/send.S: Likewise.
24716 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24717 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24718 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24719 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24720 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24721 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24722 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24723 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24724 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24725 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24726 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24727 socketcall is implemented in GLIBC.
24728
24729 2015-05-22 Joseph Myers <joseph@codesourcery.com>
24730
24731 * soft-fp/fmadf4.c: Include <libc-internal.h>.
24732 (__fma): Ignore uninitialized warnings around packing.
24733 * soft-fp/fmasf4.c: Include <libc-internal.h>.
24734 (__fmaf): Ignore uninitialized warnings around packing.
24735 * soft-fp/fmatf4.c: Include <libc-internal.h>.
24736 (__fmal): Ignore uninitialized warnings around packing.
24737
24738 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24739 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24740 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24741 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24742
24743 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24744 switch statement into default case.
24745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24746
24747 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24748 a conditional in forcing "inexact".
24749 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24750 Likewise.
24751
24752 2015-05-22 Roland McGrath <roland@hack.frob.com>
24753
24754 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24755 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24756 for each INTERNAL_SYSCALL use.
24757
24758 2015-05-22 Joseph Myers <joseph@codesourcery.com>
24759
24760 [BZ #438]
24761 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24762 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24763 variable.
24764
24765 [BZ #18444]
24766 * string/basename.c (basename): Rename to __basename and define as
24767 weak alias of __basename. Use libc_hidden_weak.
24768 * include/string.h (__basename): Declare. Use libc_hidden_proto.
24769 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24770 __basename instead of basename.
24771 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24772 Remove variable.
24773 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24774
24775 2015-05-18 Florian Weimer <fweimer@redhat.com>
24776
24777 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24778 (_IO_JUMPS_FILE_plus): New.
24779 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24780 _IO_CAST_FIELD_ACCESS.
24781 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24782 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24783 * libio/freopen.c (freopen): Likewise.
24784 * libio/freopen64.c (freopen64): Likewise.
24785 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24786 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24787 * libio/iofwide.c (_IO_fwide): Likewise.
24788 * libio/memstream.c (open_memstream): Likewise.
24789 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24790 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24791 * libio/oldiopopen.c (_IO_old_popen): Likewise.
24792
24793 2015-05-21 Joseph Myers <joseph@codesourcery.com>
24794
24795 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24796 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24797 NADJ.
24798 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24799 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24800 NADJ.
24801 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24802 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24803 NADJ.
24804
24805 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24806 (p == 4) case.
24807
24808 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24809 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24810 Remove variable.
24811 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24812 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24813 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24814
24815 2015-05-21 Florian Weimer <fweimer@redhat.com>
24816
24817 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24818 Adjust jump table label generation macros.
24819
24820 2015-05-21 Florian Weimer <fweimer@redhat.com>
24821
24822 * stdio-common/vfprintf.c (vfprintf): Move local variables
24823 args_malloced, specs, specs_malloced, and the code after
24824 do_positional to the printf_positional function.
24825 (printf_positional): New function.
24826
24827 2015-05-21 Florian Weimer <fweimer@redhat.com>
24828
24829 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24830 function.
24831 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24832 STEP4_TABLE, process_arg): Move macro definitions
24833 out of the vfprintf function. (Cosmetic change only.)
24834
24835 2015-05-21 Carlos O'Donell <carlos@redhat.com>
24836
24837 * benchtests/Makefile (stdio-common-bench): Define.
24838 (benchset): Add stdio-common-bench.
24839 * sprintf-inputs: New file.
24840 * sprintf-source.c: New file.
24841
24842 2015-05-21 Andreas Schwab <schwab@suse.de>
24843
24844 [BZ #13028]
24845 [BZ #17053]
24846 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24847 of struct __res_state.
24848 * resolv/res_send.c (__libc_res_nsend): Likewise.
24849 (get_nsaddr): New function.
24850 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24851 statp directly.
24852
24853 2015-05-20 Joseph Myers <joseph@codesourcery.com>
24854
24855 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24856 -D_POSIX_C_SOURCE=199506L.
24857
24858 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24859
24860 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24861 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24862 Do not mention otherwise.
24863 [POSIX] (_XOPEN_VERSION): Do not expect.
24864 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24865 [POSIX] (_POSIX2_C_BIND): Likewise.
24866 [POSIX] (_POSIX2_VERSION): Likewise.
24867 [POSIX] (_XOPEN_XPG2): Likewise.
24868 [POSIX] (_XOPEN_XPG3): Likewise.
24869 [POSIX] (_XOPEN_XPG4): Likewise.
24870 [POSIX] (_XOPEN_UNIX): Likewise.
24871 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24872 [POSIX] (_POSIX_BARRIERS): Likewise.
24873 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24874 [POSIX] (_POSIX_CPUTIME): Likewise.
24875 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24876 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24877 [POSIX] (_POSIX_SHELL): Likewise.
24878 [POSIX] (_POSIX_SPAWN): Likewise.
24879 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24880 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24881 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24882 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24883 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24884 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24885 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24886 [POSIX] (_XBS5_LP64_OFF64): Likewise.
24887 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24888 [POSIX] (_POSIX_TIMEOUTS): Likewise.
24889 [POSIX] (_POSIX2_PBS): Likewise.
24890 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24891 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24892 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24893 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24894 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24895 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24896 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24897 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24898 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24899 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24900 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24901 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24902 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24903 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24904 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24905 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24906 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24907 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24908 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24909 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24910 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24911 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24912 [POSIX] (_SC_2_C_BIND): Likewise.
24913 [POSIX] (_SC_2_C_VERSION): Likewise.
24914 [POSIX] (_SC_2_PBS): Likewise.
24915 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24916 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24917 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24918 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24919 [POSIX] (_SC_2_PBS_TRACK): Likewise.
24920 [POSIX] (_SC_ATEXIT_MAX): Likewise.
24921 [POSIX] (_SC_BARRIERS): Likewise.
24922 [POSIX] (_SC_BASE): Likewise.
24923 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24924 [POSIX] (_SC_DEVICE_IO): Likewise.
24925 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24926 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24927 [POSIX] (_SC_FD_MGMT): Likewise.
24928 [POSIX] (_SC_FIFO): Likewise.
24929 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24930 [POSIX] (_SC_FILE_LOCKING): Likewise.
24931 [POSIX] (_SC_FILE_SYSTEM): Likewise.
24932 [POSIX] (_SC_IOV_MAX): Likewise.
24933 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24934 [POSIX] (_SC_NETWORKING): Likewise.
24935 [POSIX] (_SC_PAGE_SIZE): Likewise.
24936 [POSIX] (_SC_PASS_MAX): Likewise.
24937 [POSIX] (_SC_PIPE): Likewise.
24938 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24939 [POSIX] (_SC_REGEXP): Likewise.
24940 [POSIX] (_SC_SHELL): Likewise.
24941 [POSIX] (_SC_SIGNALS): Likewise.
24942 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24943 [POSIX] (_SC_SPIN_LOCKS): Likewise.
24944 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24945 [POSIX] (_SC_USER_GROUPS): Likewise.
24946 [POSIX] (_SC_USER_GROUPS_R): Likewise.
24947 [POSIX] (_SC_STREAMS): Likewise.
24948 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24949 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24950 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24951 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24952 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24953 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24954 [POSIX] (_PC_FILESIZEBITS): Likewise.
24955 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24956 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24957 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24958 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24959 [POSIX] (uid_t): Likewise.
24960 [POSIX] (gid_t): Likewise.
24961 [POSIX] (off_t): Likewise.
24962 [POSIX] (pid_t): Likewise.
24963 [POSIX] (cuserid): Allow.
24964 (_SC_2_CHAR_TERM): Require constant.
24965 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24966 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24967 variable.
24968
24969 2015-05-20 Roland McGrath <roland@hack.frob.com>
24970
24971 * sysdeps/nacl/pthread-pids.h: New file.
24972 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24973 (create_thread): Use __nacl_get_tid to initialize PD->tid.
24974
24975 * nptl/pthread-pids.h: New file.
24976 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24977 * nptl/nptl-init.c: Include <pthread-pids.h>.
24978 (__pthread_initialize_minimal_internal):
24979 Call __pthread_initialize_pids instead of set_tid_address syscall.
24980
24981 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24982 * sysdeps/posix/usleep.c: ... here.
24983
24984 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24985
24986 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24987 call_pselect6 object.
24988 [$(subdir) = io]: Remove call_sync_file_range object.
24989 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24990 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24991 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24992 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24993
24994 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
24995
24996 * math/s_cproj.c: Add include "math_private.h".
24997 * math/s_cprojf.c: Likewise.
24998 * math/s_cprojl.c: Likewise.
24999
25000 2015-05-19 Joseph Myers <joseph@codesourcery.com>
25001
25002 [BZ #18244]
25003 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
25004 high mantissa bit when testing whether P is a NaN.
25005 * math/libm-test.inc (remainder_test_data): Add more tests.
25006 (remquo_test_data): Likewise.
25007
25008 [BZ #18049]
25009 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
25010 below -32, return the argument, with underflow if subnormal.
25011 * math/auto-libm-test-in: Add more tests of atanh.
25012 * math/auto-libm-test-out: Regenerated.
25013
25014 2015-05-19 Roland McGrath <roland@hack.frob.com>
25015
25016 [BZ #18434]
25017 * nptl/tst-sem15.c: New file.
25018 * nptl/Makefile (tests): Add it.
25019 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
25020 s/<</>>/ to fix typo in EOVERFLOW check.
25021 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
25022
25023 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25024
25025 * manual/strings.texi (envz_remove): Fix typo in safety
25026 annotations.
25027
25028 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
25029 Steve Ellcey <sellcey@imgtec.com>
25030
25031 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
25032 in order to avoid strict alias warnings.
25033 (iruserok_af): Ditto for ra.
25034
25035 2015-05-19 James Lemke <jwlemke@codesourcery.com>
25036
25037 [BZ #17581]
25038 * malloc/hooks.c
25039 (magicbyte): Convert to a function and avoid returning 0x01.
25040 (mem2mem_check): Avoid using a length byte equal to the magic byte.
25041 (mem2chunk_check): Fix unsigned comparisons to zero.
25042 Hoist defs of sz and magic.
25043
25044 2015-05-19 Richard Henderson <rth@redhat.com>
25045
25046 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
25047
25048 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25049
25050 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25051
25052 [BZ #16159]
25053 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
25054 * malloc/arena.c (arena_lock): Check if arena is corrupt.
25055 (reused_arena): Find a non-corrupt arena.
25056 (heap_trim): Pass arena to unlink.
25057 * malloc/hooks.c (malloc_check_get_size): Pass arena to
25058 malloc_printerr.
25059 (top_check): Likewise.
25060 (free_check): Likewise.
25061 (realloc_check): Likewise.
25062 * malloc/malloc.c (malloc_printerr): Add arena argument.
25063 (unlink): Likewise.
25064 (munmap_chunk): Adjust.
25065 (ARENA_CORRUPTION_BIT): New macro.
25066 (arena_is_corrupt): Likewise.
25067 (set_arena_corrupt): Likewise.
25068 (sysmalloc): Use mmap if there are no usable arenas.
25069 (_int_malloc): Likewise.
25070 (__libc_malloc): Don't fail if arena_get returns NULL.
25071 (_mid_memalign): Likewise.
25072 (__libc_calloc): Likewise.
25073 (__libc_realloc): Adjust for additional argument to
25074 malloc_printerr.
25075 (_int_free): Likewise.
25076 (malloc_consolidate): Likewise.
25077 (_int_realloc): Likewise.
25078 (_int_memalign): Don't touch corrupt arenas.
25079 * malloc/tst-malloc-backtrace.c: New test case.
25080
25081 * Makefile (summarize-tests): Fix return value on success.
25082
25083 * manual/string.texi (Envz Functions): Add envz_remove.
25084
25085 2015-05-18 Roland McGrath <roland@hack.frob.com>
25086
25087 * sysdeps/posix/opendir.c: Include <stdbool.h>.
25088 (invalid_name): New function, broken out of ...
25089 (__opendirat): ... here. Call it.
25090 (need_isdir_precheck): New function, broken out of ...
25091 (__opendirat): ... here. Call it.
25092 Use __fxstatat64, not __xstatat64.
25093 (opendir_oflags): New function, broken out of ...
25094 (__opendirat): ... here. Call it.
25095 (opendir_tail): New function, broken out of ...
25096 (__opendirat): ... here. Call it.
25097 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
25098 opendir_tail, rather than punting to __opendirat.
25099 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
25100
25101 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25102
25103 * .gitignore: Ignore generated *.pyc.
25104
25105 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
25106
25107 * include/stdio.h: Define __need_wint_t.
25108 * test-skeleton.c: Avoid `for' loop initial declaration.
25109 * nptl/tst-initializers1.c: Use test-skeleton.c.
25110
25111 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25112
25113 [BZ #18418]
25114 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
25115
25116 2015-05-15 Joseph Myers <joseph@codesourcery.com>
25117
25118 [BZ #16352]
25119 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
25120 (__ieee754_atanh): Force underflow exception for results with
25121 small absolute value.
25122 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
25123 (__ieee754_atanhf): Force underflow exception for results with
25124 small absolute value.
25125 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
25126 (__ieee754_atanh): Force underflow exception for results with
25127 small absolute value.
25128 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
25129 (__ieee754_atanhf): Force underflow exception for results with
25130 small absolute value.
25131 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
25132 (__ieee754_atanhl): Force underflow exception for results with
25133 small absolute value.
25134 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
25135 (__ieee754_atanhl): Force underflow exception for results with
25136 small absolute value.
25137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
25138 (__ieee754_atanhl): Force underflow exception for results with
25139 small absolute value.
25140 * math/auto-libm-test-in: Do not allow missing underflow
25141 exceptions from atanh.
25142 * math/auto-libm-test-out: Regenerated.
25143
25144 [BZ #18221]
25145 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
25146 2**-28 as threshold for returning x or +/- 1/x.
25147 * math/auto-libm-test-in: Add more tests of tan.
25148 * math/auto-libm-test-out: Regenerated.
25149
25150 [BZ #18220]
25151 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25152 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
25153 * math/auto-libm-test-in: Add another test of lgamma.
25154 * math/auto-libm-test-out: Regenerated.
25155
25156 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
25157
25158 * stdio-common/printf_fp.c (___printf_fp): Use abs.
25159 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
25160 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
25161 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
25162 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
25163 (ADD2A): Use fabs. (SUB2A): Use fabs.
25164 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
25165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
25166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
25167 (log1): Use fabs. (my_log2): Use fabs.
25168 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
25169 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
25170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
25171 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
25172 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
25173 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
25174 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
25175 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
25176 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
25177 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
25178 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
25179
25180 2015-05-15 Joseph Myers <joseph@codesourcery.com>
25181
25182 [BZ #18217]
25183 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
25184 as threshold for returning 1 - x.
25185 * math/auto-libm-test-in: Add more tests of erfc.
25186 * math/auto-libm-test-out: Regenerated.
25187
25188 2015-05-14 Joseph Myers <joseph@codesourcery.com>
25189
25190 [BZ #18196]
25191 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
25192 threshold for large arguments.
25193 * math/auto-libm-test-in: Add another test of atan.
25194 * math/auto-libm-test-out: Regenerated.
25195
25196 [BZ #16339]
25197 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
25198 (__log1p): Force underflow exception for results with small
25199 absolute value.
25200 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
25201 (__log1pf): Force underflow exception for results with small
25202 absolute value.
25203 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
25204 (__log1p): Force underflow exception for results with small
25205 absolute value.
25206 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
25207 (__log1pf): Force underflow exception for results with small
25208 absolute value.
25209 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
25210 (__log1pl): Force underflow exception for results with small
25211 absolute value.
25212 * math/auto-libm-test-in: Do not allow missing underflow
25213 exceptions from log1p.
25214 * math/auto-libm-test-out: Regenerated.
25215
25216 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
25217 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25218
25219 [BZ #16704]
25220 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
25221
25222 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
25223
25224 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
25225 (libmvec): New variable.
25226 * configure.ac: Added option for mathvec build.
25227 * configure: Regenerated.
25228 * mathvec/Depend: New file.
25229 * mathvec/Makefile: New file.
25230 * shlib-versions: Added libmvec.
25231 * math/Makefile: Added rule for libm.so installation.
25232
25233 * bits/math-vector.h: New file.
25234 * bits/libm-simd-decl-stubs.h: New header.
25235 * math/Makefile (headers): Added new header
25236 libm-simd-decl-stubs.h.
25237 * math/math.h (__MATHCALL_VEC): New macro.
25238
25239 * math/gen-libm-have-vector-test.sh: Script generates series of macros
25240 for conditions in testing functions.
25241 * math/Makefile: Added call of libm-have-vector-test.sh.
25242 * math/libm-test.inc (HAVE_VECTOR): New macros.
25243
25244 * math/libm-test.inc: START refactored.
25245 * math/test-double.c (TEST_MATHVEC): Add define.
25246 * math/test-float.c: Likewise.
25247 * math/test-idouble.c: Likewise.
25248 * math/test-ifloat.c: Likewise.
25249 * math/test-ildoubl.c: Likewise.
25250 * math/test-ldouble.c: Likewise.
25251 * sysdeps/generic/math-tests-arch.h
25252 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
25253 architecture check.
25254
25255 * math/test-double.c (FUNC_TEST): New macro.
25256 * math/test-float.c: Likewise.
25257 * math/test-idouble.c: Likewise.
25258 * math/test-ifloat.c: Likewise.
25259 * math/test-ildoubl.c: Likewise.
25260 * math/test-ldouble.c: Likewise.
25261 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
25262
25263 2015-05-13 Roland McGrath <roland@hack.frob.com>
25264
25265 * sysdeps/nacl/fdopendir.c: New file.
25266
25267 * dirent/scandir-tail.c: New file.
25268 * dirent/scandir64-tail.c: New file.
25269 * dirent/Makefile (routines): Add them.
25270 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
25271 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
25272 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
25273 [!SCANDIR] (SCANDIR_TAIL): New macro.
25274 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
25275 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
25276 (SCANDIRAT): Macro removed.
25277 (SCANDIR_TAIL): New macro.
25278 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
25279 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
25280 (SCANDIRAT): Just call __opendirat and __scandir_tail.
25281 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
25282 (READDIR): Macro removed.
25283 (SCANDIR_TAIL): New macro.
25284 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
25285 (SCANDIR_TAIL): New macro.
25286
25287 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
25288 * dirent/scandir-cancel.c: ... to this new file.
25289 * dirent/Makefile (routines): Add it.
25290 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
25291 * sysdeps/unix/sysv/linux/i386/scandir64.c
25292 (SKIP_SCANDIR_CANCEL): Macro removed.
25293 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
25294
25295 * dirent/tst-scandir.c: New file.
25296 * dirent/tst-scandir64.c: New file.
25297 * dirent/Makefile (tests): Add them.
25298
25299 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
25300
25301 [BZ #18409]
25302 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
25303
25304 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
25305
25306 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
25307 list.
25308
25309 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
25310
25311 * benchtests/bench-strcoll.c: New benchmark.
25312 * benchtests/Makefile: Generate locales and run benchmark.
25313 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
25314 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
25315 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
25316 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
25317 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
25318 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
25319 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
25320 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
25321 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
25322 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
25323 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
25324 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
25325 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
25326 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
25327 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
25328 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
25329 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
25330 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
25331 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
25332 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
25333 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
25334 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
25335 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
25336 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
25337
25338 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
25339
25340 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
25341 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25342
25343 2015-05-12 Roland McGrath <roland@hack.frob.com>
25344
25345 * posix/uname-values.h: New file.
25346 * posix/uname.c: Include that instead of <config-name.h>.
25347 * sysdeps/nacl/uname-values.h: New file.
25348 * sysdeps/arm/nacl/uname-values.h: New file.
25349
25350 2015-05-12 Joseph Myers <joseph@codesourcery.com>
25351
25352 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
25353 splitting into fields.
25354
25355 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
25356
25357 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
25358 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
25359 * locale/localeinfo.h: Add enum collation_encoding_type.
25360 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
25361 * programs/ld-collate.c (collate_output): Add encoding type info.
25362 * string/strcoll_l.c (STRDIFF): New function.
25363 * (STRCOLL): Use STRDIFF to skip over equal prefix.
25364 * wcsmbs/wcscoll_l.c: Define STRDIFF.
25365
25366 2015-05-11 Joseph Myers <joseph@codesourcery.com>
25367
25368 [BZ #18397]
25369 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
25370 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
25371 <fpu_control.h> instead of <math/fpu_control.c>.
25372 * sysdeps/mips/mips32/fpu/Makefile: New file.
25373
25374 2015-05-11 Andreas Schwab <schwab@suse.de>
25375
25376 [BZ #18007]
25377 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
25378 nss_endgrent.
25379 (_nss_compat_endgrent): Call nss_endgrent.
25380 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
25381 nss_endpwent.
25382 (_nss_compat_endpwent): Call nss_endpwent.
25383 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
25384 needent, call nss_setspent only if non-zero.
25385 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
25386 (internal_endspent): Don't call nss_endspent.
25387 (_nss_compat_endspent): Call nss_endspent.
25388 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
25389 Remove. All uses removed.
25390 (internal_setent): Remove parameter stayopen, add parameter
25391 stream. Use it instead of global variable.
25392 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
25393 (internal_endent, internal_getent): Add parameter stream. Use it
25394 instead of global variable.
25395 (CONCAT(_nss_files_end,ENTNAME))
25396 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
25397 (_nss_files_get##name##_r): Pass local stream. Remove locking.
25398 * nss/nss_files/files-alias.c (position, last_use): Remove. All
25399 uses removed.
25400 (internal_setent, internal_endent): Add parameter stream. Use it
25401 instead of global variable.
25402 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
25403 stream.
25404 (get_next_alias): Add parameter stream.
25405 (_nss_files_getaliasent_r): Pass global stream.
25406 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
25407 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
25408 (_nss_files_gethostbyname4_r): Pass local stream to
25409 internal_setent, internal_getent and internal_endent. Remove
25410 locking.
25411
25412 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25413
25414 * tst-strfmon1.c (tests): Update expected currency symbol.
25415
25416 2015-05-08 Roland McGrath <roland@hack.frob.com>
25417
25418 * sysdeps/nacl/gethostname.c: New file.
25419
25420 2015-05-08 Joseph Myers <joseph@codesourcery.com>
25421
25422 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
25423 and sinh.
25424 * math/auto-libm-test-out: Regenerated.
25425 * sysdeps/i386/fpu/libm-test-ulps: Update.
25426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25427
25428 2015-05-08 Carlos O'Donell <carlos@redhat.com>
25429
25430 [BZ #18125]
25431 * stdlib/tst-setcontext3.c: New file.
25432 * stdlib/tst-setcontext3.sh: New file.
25433 * stdlib/Makefile (tests): Add tst-setcontext3.
25434 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
25435 to verify test program created output file.
25436 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
25437 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
25438 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
25439 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
25440
25441 2015-05-06 Roland McGrath <roland@hack.frob.com>
25442
25443 [BZ #18383]
25444 * elf/tst-tlsalign.c: New file.
25445 * elf/tst-tlsalign-static.c: New file.
25446 * elf/tst-tlsalign-lib.c: New file.
25447 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
25448 (tests-static): Add tst-tlsalign-static.
25449 (modules-names): Add tst-tlsalign-lib.
25450 (test-xfail-tst-tlsalign): New variable.
25451 (test-xfail-tst-tlsalign-static): New variable.
25452
25453 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
25454 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
25455
25456 2015-05-06 Joseph Myers <joseph@codesourcery.com>
25457
25458 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
25459 csqrt, erfc, sin and sincos.
25460 * math/auto-libm-test-out: Regenerated.
25461 * sysdeps/i386/fpu/libm-test-ulps: Update.
25462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25463
25464 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
25465
25466 * sysdeps/aarch64/libm-test-ulps: Update.
25467
25468 2015-05-05 Joseph Myers <joseph@codesourcery.com>
25469
25470 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
25471 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
25472 * math/auto-libm-test-out: Regenerated.
25473 * sysdeps/i386/fpu/libm-test-ulps: Update.
25474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25475
25476 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
25477
25478 [BZ #18265]
25479 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
25480 (wcsncpy): Likewise.
25481
25482 2015-05-05 Florian Weimer <fweimer@redhat.com>
25483
25484 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25485 Assume __ASSUME_FALLOCATE is always true.
25486 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25487 (__posix_fallocate64_l64): Likweise.
25488 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
25489 (posix_fallocate): Likewise.
25490 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
25491 (__posix_fallocate64_l64): Likewise.
25492 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25493 [!__ASSUME_FALLOCATE]: Add comment.
25494
25495 2015-05-05 Florian Weimer <fweimer@redhat.com>
25496
25497 * sysdeps/unix/sysv/linux/i386/Makefile
25498 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
25499 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25500 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
25501 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25502 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25503 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
25504 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
25505
25506 2015-05-02 Joseph Myers <joseph@codesourcery.com>
25507
25508 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
25509 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
25510 tgamma.
25511 * math/auto-libm-test-out: Regenerated.
25512 * sysdeps/i386/fpu/libm-test-ulps: Update.
25513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25514
25515 2015-05-01 Joseph Myers <joseph@codesourcery.com>
25516
25517 * math/auto-libm-test-in: Add more tests of tgamma.
25518 * math/auto-libm-test-out: Regenerated.
25519 * sysdeps/i386/fpu/libm-test-ulps: Update.
25520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25521
25522 * math/auto-libm-test-in: Add more tests of tanh.
25523 * math/auto-libm-test-out: Regenerated.
25524 * sysdeps/i386/fpu/libm-test-ulps: Update.
25525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25526
25527 * math/auto-libm-test-in: Add more tests of tan.
25528 * math/auto-libm-test-out: Regenerated.
25529 * sysdeps/i386/fpu/libm-test-ulps: Update.
25530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25531
25532 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
25533 * math/auto-libm-test-out: Regenerated.
25534 * sysdeps/i386/fpu/libm-test-ulps: Update.
25535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25536
25537 * math/auto-libm-test-in: Add another test of pow.
25538 * math/auto-libm-test-out: Regenerated.
25539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25540
25541 * math/auto-libm-test-in: Add more tests of lgamma.
25542 * math/auto-libm-test-out: Regenerated.
25543 * sysdeps/i386/fpu/libm-test-ulps: Update.
25544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25545
25546 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
25547 log1p.
25548 * math/auto-libm-test-out: Regenerated.
25549 * sysdeps/i386/fpu/libm-test-ulps: Update.
25550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25551
25552 2015-05-01 Mark Wielaard <mjw@redhat.com>
25553
25554 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
25555 Elf64_Chdr structs and ELFCOMPRESS constants.
25556
25557 2015-05-01 Joseph Myers <joseph@codesourcery.com>
25558
25559 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
25560 expm1.
25561 * math/auto-libm-test-out: Regenerated.
25562 * sysdeps/i386/fpu/libm-test-ulps: Update.
25563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25564
25565 * math/auto-libm-test-in: Add more tests of erf and erfc.
25566 * math/auto-libm-test-out: Regenerated.
25567 * sysdeps/i386/fpu/libm-test-ulps: Update.
25568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25569
25570 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25571
25572 * config.h.in (HAVE_AARCH64_BE): Add.
25573
25574 2015-04-30 Joseph Myers <joseph@codesourcery.com>
25575
25576 * math/auto-libm-test-in: Add more tests of csqrt.
25577 * math/auto-libm-test-out: Regenerated.
25578 * sysdeps/i386/fpu/libm-test-ulps: Update.
25579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25580
25581 * math/auto-libm-test-in: Add more tests of cosh and sinh.
25582 * math/auto-libm-test-out: Regenerated.
25583 * sysdeps/i386/fpu/libm-test-ulps: Update.
25584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25585
25586 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25587
25588 2015-04-29 Roland McGrath <roland@hack.frob.com>
25589
25590 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25591 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25592
25593 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25594 (euidaccess, eaccess): Define as weak aliases.
25595
25596 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25597 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
25598 but __suseconds_t is often 'long int' so some sources assume that
25599 type is being used (e.g. they use %ld to print tv_usec).
25600
25601 2015-04-29 Florian Weimer <fweimer@redhat.com>
25602
25603 [BZ #18007]
25604 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25605 (CVE-2014-8121)
25606 * nss/tst-nss-getpwent.c: New file.
25607 * nss/Makefile (tests): Add new test.
25608
25609 2015-04-28 Joseph Myers <joseph@codesourcery.com>
25610
25611 [BZ #18346]
25612 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25613 exponents less than 48 as cases where high part of mantissa needs
25614 examining to determine whether argument is integral.
25615 * math/libm-test.inc (round_test_data): Add more tests.
25616
25617 2015-04-28 Mark Wielaard <mjw@redhat.com>
25618
25619 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25620
25621 2015-04-27 David S. Miller <davem@davemloft.net>
25622
25623 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25624 __tls_get_addr.
25625 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25626
25627 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
25628
25629 [BZ#18333]
25630 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25631
25632 2015-04-27 Florian Weimer <fweimer@redhat.com>
25633
25634 [BZ#18333]
25635 * time/tzset.c (parse_tzname): Return error on memory allocation
25636 failure.
25637 * test-skeleton.c (struct temp_name_list): Change type of name
25638 member to non-const.
25639 (add_temp_file): Create a copy of the file name.
25640 (delete_temp_files): Deallocate memory.
25641 (create_temp_file): Add comment.
25642
25643 2015-04-24 Florian Weimer <fweimer@redhat.com>
25644
25645 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25646 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25647
25648 2015-04-24 Roland McGrath <roland@hack.frob.com>
25649
25650 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25651 * sysdeps/arm/configure: Regenerated.
25652
25653 2015-04-24 Florian Weimer <fweimer@redhat.com>
25654
25655 [BZ #17715]
25656 * time/tzfile.c (__tzfile_read): Check for large values of
25657 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
25658 * time/tzset.c (__tzstring_len): New function, based on the old
25659 __tzstring function.
25660 (__tzstring): Call __tzstring_len.
25661 (parse_tzname): New helper function extracted from
25662 __tzset_parse_tz. Call __tzstring_len, without making a copy of
25663 the input string.
25664 (parse_offset): New helper function extracted from
25665 __tzset_parse_tz. Replace switch with fallthrough with
25666 initialization before sscanf.
25667 (parse_rule): Likewise.
25668 (__tzset_parse_tz): Rewrite using the new helper functions. Use
25669 new-style function definition.
25670 * timezone/Makefile (tests): Add tst-tzset.
25671 (tst-tzset.out): Dependencies on time zone files.
25672 (tst-tzset-ENV): Set TZDIR.
25673 (testdata/XT%): Copy crafted time zone files.
25674 * timezone/README: Mention crafted time zone files.
25675 * timezone/testdata/XT1, timezone/testdata/XT2,
25676 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25677 files.
25678 * timezone/tst-tzset.c: New test.
25679
25680 2015-04-24 Florian Weimer <fweimer@redhat.com>
25681
25682 * Makeconfig (+gccwarn): Remove -Winline.
25683
25684 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25685
25686 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25687
25688 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25689
25690 * NEWS: Mention sysconf() cache information support for s390.
25691 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25692
25693 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
25694
25695 * math/k_casinh.c (__kernel_casinh): Use __copysign.
25696 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25697 (__nearbyint): Likewise.
25698 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25699 (copysignl): Likewise.
25700
25701 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
25702
25703 [BZ #18287]
25704 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25705 based on padding. (CVE-2015-1781)
25706
25707 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25708
25709 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25710 libc-vdso.h.
25711 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25712 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25713 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25714 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25715 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25716 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25717 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25718 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25719 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25720 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25721 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25722 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25723 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25724 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25725 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25726 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25727 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25728 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25729 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25730 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25731 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25732 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25733 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25734
25735 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
25736
25737 * stdlib/setenv.c (__add_to_environ):
25738 Dump core quickly if setenv (..., NULL, ...) is called.
25739 This time, do it the right way, and pacify GCC with a pragma.
25740
25741 2015-04-17 Roland McGrath <roland@hack.frob.com>
25742
25743 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25744 IMAP->l_prev cannot be null, and #if out the code for the contrary
25745 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25746 believe that NS (&_dl_ns[NSID]) could point outside the array.
25747
25748 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25749 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25750 before using NSID as an index.
25751
25752 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
25753
25754 [BZ #17825]
25755 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25756 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25757 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25758
25759 2015-04-17 Roland McGrath <roland@hack.frob.com>
25760
25761 Add preliminary port to Google Native Client on ARM.
25762 * abi-tags (.*-.*-nacl.*): New entry.
25763 * sysdeps/arm/nacl: New directory.
25764 * sysdeps/nacl: New directory.
25765
25766 2015-04-16 David S. Miller <davem@davemloft.net>
25767
25768 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25769 lowlevellock-futex.h
25770
25771 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
25772
25773 * sysdeps/tile/configure.ac: New file.
25774 * sysdeps/tile/configure: Regenerated.
25775
25776 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25777
25778 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
25779 conditionals for weak_alias and libc_hidden_weak.
25780 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25781 libc_hidden_weak and weak_alias.
25782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25783 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25784 and weak_alias for static one.
25785
25786 2015-04-15 David S. Miller <davem@davemloft.net>
25787
25788 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25789
25790 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25791
25792 [BZ #18206]
25793 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25794 Use signed comparision instead of substraction to avoid
25795 overflow bug.
25796 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25797 Take the sign of ret.
25798 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25799 Do not expect precise return values. Only the sign matters.
25800 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25801 * wcsmbs/test-wcsncmp.c: New File.
25802 * string/test-strncmp.c: Add wcsncmp support.
25803
25804 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25805
25806 [BZ #6792]
25807 * math/w_log1p.c: New file.
25808 * math/w_log1pf.c: Likewise.
25809 * math/w_log1pl.c: Likewise.
25810 * math/Makefile (libm-calls): Add w_log1p.
25811 * math/s_log1pl.c (log1pl): Remove weak_alias.
25812 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25813 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25814 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25815 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25816 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25817 [NO_LONG_DOUBLE] (log1pl): Likewise.
25818 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25819 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25820 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25821 (log1p): Remove long_double_symbol.
25822 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25823 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25824 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25825 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25826 remove weak_alias for corresponding log1p function.
25827 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25828 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25829 * sysdeps/ia64/fpu/w_log1p.c: New file.
25830 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25831 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25832 * math/libm-test.inc (log1p_test_data): Add errno expectations.
25833
25834 2015-04-10 Joseph Myers <joseph@codesourcery.com>
25835
25836 [BZ #18247]
25837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25838 decimal exponent by 1.
25839 * stdlib/tst-strtod-round-data: Add more tests.
25840 * stdlib/tst-strtod-round.c (tests): Regenerated.
25841
25842 2015-04-09 Joseph Myers <joseph@codesourcery.com>
25843
25844 * math/auto-libm-test-in: Add more tests of clog and clog10.
25845 * math/auto-libm-test-out: Regenerated.
25846 * sysdeps/i386/fpu/libm-test-ulps: Update.
25847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25848
25849 2015-04-09 Roland McGrath <roland@hack.frob.com>
25850
25851 * Makeconfig (module-cppflags): Exclude all .v.i files.
25852 (skip-module-cppflags): Variable removed.
25853
25854 * configure.ac (libc_config_ok): Initialize before reading
25855 preconfigure scripts, not after.
25856 * configure: Regenerated.
25857
25858 * test-skeleton.c (TIMEOUT): Move #define to top level.
25859 (main): Grok environment variable TEST_DIRECT. If set, print
25860 test expectation details into that file and then behave as if
25861 given --direct.
25862
25863 2015-04-09 Florian Weimer <fweimer@redhat.com>
25864
25865 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25866 warning on 32-bit.
25867
25868 2015-04-08 David S. Miller <davem@davemloft.net>
25869
25870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25871
25872 2015-04-08 Joseph Myers <joseph@codesourcery.com>
25873
25874 * math/auto-libm-test-in: Add more tests of atanh.
25875 * math/auto-libm-test-out: Regenerated.
25876 * sysdeps/i386/fpu/libm-test-ulps: Update.
25877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25878
25879 * math/auto-libm-test-in: Add more tests of atan.
25880 * math/auto-libm-test-out: Regenerated.
25881 * sysdeps/i386/fpu/libm-test-ulps: Update.
25882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25883
25884 2015-04-08 Florian Weimer <fweimer@redhat.com>
25885
25886 * elf/pldd.c (main): Rewrite to use struct
25887 scratch_buffer instead of extend_alloca.
25888 * elf/pldd-xx.c (find_maps): Likewise.
25889 * grp/initgroups.c: Include <scratch_buffer.h> instead of
25890 <alloca.h>.
25891 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25892 scratch_buffer instead of extend_alloca.
25893 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25894 grp/compat-initgroups.c.
25895 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25896 Rewrite to use struct scratch_buffer instead of extend_alloca.
25897 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25898 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25899
25900 2015-04-08 Joseph Myers <joseph@codesourcery.com>
25901
25902 * math/auto-libm-test-in: Add more tests of cbrt.
25903 * math/auto-libm-test-out: Regenerated.
25904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25905
25906 * math/auto-libm-test-in: Add more tests of cabs.
25907 * math/auto-libm-test-out: Regenerated.
25908 * sysdeps/i386/fpu/libm-test-ulps: Update.
25909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25910
25911 [BZ #18210]
25912 [BZ #18211]
25913 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25914 (__ieee754_atan2): Set FE_TONEAREST mode for internal
25915 computations.
25916 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25917 clog10.
25918 * math/auto-libm-test-out: Regenerated.
25919 * sysdeps/i386/fpu/libm-test-ulps: Update.
25920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25921
25922 [BZ #18197]
25923 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25924 (atan): Set FE_TONEAREST mode for internal computations.
25925 * math/auto-libm-test-in: Add more tests of atan.
25926 * math/auto-libm-test-out: Regenerated.
25927
25928 2015-04-07 James Cowgill <james410@cowgill.org.uk>
25929
25930 [BZ #17930]
25931 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25932
25933 2015-04-07 Florian Weimer <fweimer@redhat.com>
25934
25935 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25936
25937 2015-04-07 Florian Weimer <fweimer@redhat.com>
25938
25939 * include/scratch_buffer.h: New file.
25940 * malloc/scratch_buffer_grow.c: Likewise.
25941 * malloc/scratch_buffer_grow_preserve.c: Likewise.
25942 * malloc/scratch_buffer_set_array_size.c: Likewise.
25943 * malloc/tst-scratch_buffer.c: Likewise.
25944 * malloc/Makefile (routines): Add scratch_buffer_grow.
25945 (tests): Add test case.
25946 * malloc/Versions (GLIBC_PRIVATE): Export
25947 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25948 __libc_scratch_buffer_set_array_size.
25949
25950 2015-04-06 Richard Henderson <rth@redhat.com>
25951
25952 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25953 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25954
25955 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25956 unsigned int before printing.
25957
25958 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25959
25960 [BZ #17596]
25961 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25962 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25963
25964 2015-04-02 Florian Weimer <fweimer@redhat.com>
25965
25966 * include/libc-internal.h (libc_max_align_t): Define.
25967
25968 2015-04-02 Andreas Schwab <schwab@suse.de>
25969
25970 [BZ #16850]
25971 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25972
25973 2015-04-02 Mel Gorman <mgorman@suse.de>
25974
25975 [BZ #17195]
25976 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25977 as well as the main arena.
25978
25979 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
25980
25981 [BZ #18185]
25982 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25983 sharing L2 cache to 2 for Silvermont/Knights Landing.
25984
25985 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
25986
25987 [BZ #17711]
25988 * config.make.in (have-protected-data): New.
25989 * configure.ac: Check linker support for protected data symbol.
25990 * configure: Regenerated.
25991 * elf/Makefile (modules-names): Add tst-protected1moda and
25992 tst-protected1modb if $(have-protected-data) is yes.
25993 (tests): Add tst-protected1a and tst-protected1b if
25994 $(have-protected-data) is yes.
25995 ($(objpfx)tst-protected1a): New.
25996 ($(objpfx)tst-protected1b): Likewise.
25997 (tst-protected1modb.so-no-z-defs): Likewise.
25998 * elf/tst-protected1a.c: New file.
25999 * elf/tst-protected1b.c: Likewise.
26000 * elf/tst-protected1mod.h: Likewise.
26001 * elf/tst-protected1moda.c: Likewise.
26002 * elf/tst-protected1modb.c: Likewise.
26003
26004 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
26005
26006 [BZ #17711]
26007 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
26008 indicates it is called from do_lookup_x on relocation against
26009 protected data, skip the data definion in the executable from
26010 copy reloc.
26011 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
26012 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
26013 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
26014 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
26015 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
26016 otherwise to 0.
26017 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
26018 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
26019 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
26020 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
26021 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
26022 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
26023
26024 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
26025
26026 * sysdeps/nptl/pthread.h: Remove duplicate definition of
26027 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
26028
26029 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
26030
26031 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
26032 THREAD_SETMEM_NC.
26033 * sysdeps/x86_64/nptl/tls.h: Ditto.
26034
26035 2015-03-27 Roland McGrath <roland@hack.frob.com>
26036
26037 * dlfcn/tststatic.c (main): Converted to ...
26038 (do_test): ... this.
26039 (TEST_FUNCTION): New macro.
26040 Include test-skeleton.c.
26041
26042 2015-03-26 Alan Modra <amodra@gmail.com>
26043
26044 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
26045 Don't segfault if ifunc resolver returns a NULL. Do set plt to
26046 zero for undefined weak.
26047 (elf_machine_plt_conflict): Similarly.
26048
26049 2015-03-25 Joseph Myers <joseph@codesourcery.com>
26050
26051 * math/auto-libm-test-in: Add more tests of acosh, asinh and
26052 atanh.
26053 * math/auto-libm-test-out: Regenerated.
26054 * sysdeps/i386/fpu/libm-test-ulps: Update.
26055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26056
26057 * math/auto-libm-test-in: Add another test of asin.
26058 * math/auto-libm-test-out: Regenerated.
26059 * sysdeps/i386/fpu/libm-test-ulps: Update.
26060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26061
26062 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
26063 Remove macro.
26064 (LLL_EBX_REG): Likewise.
26065 (LLL_ENTER_KERNEL): Likewise.
26066
26067 * math/auto-libm-test-in: Add more tests of asin.
26068 * math/auto-libm-test-out: Regenerated.
26069 * sysdeps/i386/fpu/libm-test-ulps: Update.
26070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26071
26072 [BZ #18138]
26073 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
26074 libc_do_syscall_args): New structure.
26075 (INTERNAL_SYSCALL_MAIN_0): New macro.
26076 (INTERNAL_SYSCALL_MAIN_1): Likewise.
26077 (INTERNAL_SYSCALL_MAIN_2): Likewise.
26078 (INTERNAL_SYSCALL_MAIN_3): Likewise.
26079 (INTERNAL_SYSCALL_MAIN_4): Likewise.
26080 (INTERNAL_SYSCALL_MAIN_5): Likewise.
26081 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
26082 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
26083 Replace conditional definitions by conditional definitions of ....
26084 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
26085 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
26086 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
26087 (libpthread-sysdep_routines): Add libc-do-syscall.
26088 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
26089 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
26090 to __NR_futex not 240.
26091
26092 2015-03-25 Alan Modra <amodra@gmail.com>
26093
26094 * NEWS: Advertise TLS optimization.
26095 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
26096 (DT_PPC_NUM): Increment.
26097 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
26098 (CHECK_STATIC_TLS): Use here.
26099 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
26100 TLS descriptors.
26101 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26102 * sysdeps/powerpc/dl-tls.c: New file.
26103 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
26104 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
26105 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
26106 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
26108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
26110
26111 2015-03-25 Alan Modra <amodra@gmail.com>
26112
26113 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
26114 for overlapping .opd entries" to "support...".
26115 * sysdeps/powerpc/powerpc64/configure: Regenerate
26116
26117 2015-03-25 Joseph Myers <joseph@codesourcery.com>
26118
26119 * math/auto-libm-test-in: Add more tests of acos.
26120 * math/auto-libm-test-out: Regenerated.
26121 * sysdeps/i386/fpu/libm-test-ulps: Update.
26122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26123
26124 * math/auto-libm-test-in: Add more tests of expm1.
26125 * math/auto-libm-test-out: Regenerated.
26126 * sysdeps/i386/fpu/libm-test-ulps: Update.
26127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26128
26129 2015-03-24 Joseph Myers <joseph@codesourcery.com>
26130
26131 * math/auto-libm-test-in: Add more tests of cosh and sinh.
26132 * math/auto-libm-test-out: Regenerated.
26133 * sysdeps/i386/fpu/libm-test-ulps: Update.
26134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26135
26136 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26138
26139 * math/auto-libm-test-in: Add more tests of log2.
26140 * math/auto-libm-test-out: Regenerated.
26141 * sysdeps/i386/fpu/libm-test-ulps: Update.
26142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26143
26144 2015-03-23 Roland McGrath <roland@hack.frob.com>
26145
26146 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
26147 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
26148 _IO_IS_APPENDING bit in READ_WRITE instead.
26149
26150 2015-03-23 Florian Weimer <fweimer@redhat.com>
26151
26152 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26153 (__determine_cpumask_size): Replace extend_alloca with a
26154 variable-length array. Do not treat res == 0 as an error.
26155
26156 2015-03-23 Florian Weimer <fweimer@redhat.com>
26157
26158 [BZ #18100]
26159 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
26160 and integer overflow.
26161 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
26162 (main): Add integer overflow tests.
26163 * manual/pattern.texi (Calling Wordexp): Document additional use
26164 for WRDE_SYNTAX.
26165
26166 2015-03-23 Alan Modra <amodra@gmail.com>
26167
26168 * config.h.in: Remove HAVE_ASM_PPC_REL16.
26169 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
26170 and false branch of conditional.
26171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26172 Likewise.
26173
26174 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
26175
26176 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
26177 libc-modules.h
26178 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
26179 unused declaration of _hurd_intr_rpc_msg_in_trap.
26180 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
26181 defined instead of whether it is non-zero.
26182 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
26183 input constraint instead of both input and output constraint. Use ecx
26184 clobber instead of %ecx.
26185 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
26186 mutex_unlock): Use a statement expression instead of an expression list.
26187 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
26188 type to vm_size_t instead of vm_address_t.
26189 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
26190 defined instead of whether it is non-zero.
26191 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
26192 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
26193 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
26194 comparisons with mapaddr.
26195 * nscd/nscd-client.h: Include <time.h>.
26196 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
26197 9th parameter to __vm_region instead of int.
26198 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
26199 * scripts/check-local-headers.sh (exclude): Add device/,
26200 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
26201 cthreads.h.
26202
26203 2015-03-19 Roland McGrath <roland@hack.frob.com>
26204
26205 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
26206 to account for alignment padding.
26207 * sysdeps/arm/memmove.S: Likewise.
26208
26209 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
26210
26211 * sysdeps/unix/sysv/linux/generic/README: New file.
26212
26213 2015-03-18 Joseph Myers <joseph@codesourcery.com>
26214
26215 [BZ #18138]
26216 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
26217 (futex_abstimed_wait)
26218 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
26219 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
26220 of lll_futex_timed_wait.
26221
26222 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
26223
26224 [BZ #17542]
26225 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
26226
26227 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
26228
26229 [BZ #17090]
26230 [BZ #17620]
26231 [BZ #17621]
26232 [BZ #17628]
26233 * NEWS: Update.
26234 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
26235 entries with Static TLS too. Skip entries past the end of the
26236 allocated DTV, from Alan Modra.
26237 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
26238 Static TLS DTV entry set up from...
26239 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
26240 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
26241 * nptl/allocatestack.c (init_one_static_tls): ... and here...
26242 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
26243 for Static TLS.
26244 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
26245 that the slot we find is associated with the given map before
26246 using its generation count.
26247 * nptl_db/db_info.c: Include ldsodefs.h.
26248 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
26249 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
26250 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
26251 (link_map::l_tls_offset): New struct field.
26252 (dtv_t::counter): Likewise.
26253 (rtld_global): New struct.
26254 (_rtld_global): New rtld variable.
26255 (dl_tls_dtv_slotinfo_list): New rtld global field.
26256 (dtv_slotinfo_list): New struct.
26257 (dtv_slotinfo): Likewise.
26258 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
26259 (td_lookup): Rename to...
26260 (td_mod_lookup): ... this. Use new mod parameter instead of
26261 LIBPTHREAD_SO.
26262 * nptl_db/td_thr_tlsbase.c: Include link.h.
26263 (dtv_slotinfo_list, dtv_slotinfo): New functions.
26264 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
26265 addresses even if the DTV is out of date or missing them.
26266 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
26267 index zero-length arrays.
26268 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
26269 (td_lookup): Make it a macro implemented in terms of...
26270 (td_mod_lookup): ... this declaration.
26271 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
26272 (DB_MAIN_VARIABLE): Likewise.
26273
26274 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
26275
26276 [BZ #18134]
26277 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26278
26279 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
26280
26281 * stdlib/setenv.c (__add_to_environ): Revert previous change.
26282
26283 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
26284
26285 [BZ #18128]
26286 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
26287 (atomic_add, atomic_increment_and_test)
26288 (atomic_decrement_and_test): Fix 64-bit arithmetic.
26289
26290 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
26291
26292 * stdlib/setenv.c (__add_to_environ):
26293 Dump core quickly if setenv (..., NULL, ...) is called.
26294
26295 2015-03-13 Roland McGrath <roland@hack.frob.com>
26296
26297 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
26298 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
26299 all the necessary asm magic in one place.
26300 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
26301 using those.
26302
26303 2015-03-13 Carlos O'Donell <carlos@redhat.com>
26304
26305 [BZ #14906]
26306 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
26307 traced file mtime. Use consistent log message.
26308 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
26309 (register_traced_file): Call install_watches. Always set mtime.
26310 (invalidate_cache): Iterate over all trace files. Call install_watches.
26311 (inotify_check_files): Don't inline. Handle watching parent
26312 directories and configuration file movement in and out.
26313 (handle_inotify_events): New function.
26314 (main_loop_poll): Call handle_inotify_events.
26315 (main_loop_epoll): Likewise.
26316 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
26317 (struct traced_file): Use array of inotify fds. Add parent directory,
26318 and basename.
26319 (struct database_dyn): Remove unused file_mtime.
26320 (init_traced_file): New inline function.
26321 (define_traced_file): New macro.
26322 * nss/nss_db/db-init.c: Use define_traced_file.
26323 (_nss_db_init): Use init_traced_file.
26324 * nss/nss_files/files-init.c: Use define_traced_file.
26325 (_nss_files_init): Use init_traced_file.
26326
26327 2015-03-12 Joseph Myers <joseph@codesourcery.com>
26328
26329 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
26330 [_LIBC]: Do not include <stdlib.h>.
26331 [!_LIBC] (abort): Remove declaration.
26332 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
26333 _FP_STATIC_ASSERT instead of conditionally calling abort.
26334 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
26335 (_FP_EXTEND_CNAN): Likewise.
26336 (FP_TRUNC): Likewise.
26337 (__FP_CLZ): Likewise.
26338 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
26339
26340 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
26341
26342 * manual/string.texi (XPG basename): Fix prototype.
26343
26344 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
26345
26346 [BZ #18080]
26347 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
26348 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
26349 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
26350 (__setcontext): Likewise.
26351 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
26352 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
26353 Call rt_sigprocmask syscall one time to set new signal mask
26354 and retrieve the current signal mask instead of two calls.
26355 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
26356 (__swapcontext): Likewise.
26357 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
26358 * stdlib/tst-setcontext2.c: New file.
26359
26360 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
26361
26362 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26363
26364 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
26365
26366 [BZ #18093]
26367 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
26368 the wrong size.
26369
26370 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
26371
26372 [BZ #18043]
26373 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
26374
26375 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
26376
26377 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
26378 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
26379 Remove define.
26380 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
26381 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
26382 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
26383 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
26384 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
26385 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
26386 define.
26387 * nptl_db/td_symbol_list.c (td_lookup): Remove
26388 HAVE_ASM_GLOBAL_DOT_NAME code.
26389 * sysdeps/powerpc/powerpc64/configure.ac: Remove
26390 HAVE_ASM_GLOBAL_DOT_NAME check.
26391 * sysdeps/powerpc/powerpc64/configure: Regenerate.
26392 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
26393 (DOT_LABEL): Remove define.
26394 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
26395 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
26396 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
26397 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
26398 (__TLS_GET_ADDR): Likewise.
26399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
26400 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
26401
26402 2015-03-11 Carlos O'Donell <carlos@redhat.com>
26403
26404 [BZ #18111]
26405 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
26406 (_FPU_SETCW): Initialize cw from fpsr before storing.
26407 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
26408 (fesetexceptflag): Rewrite using fpu_control.h.
26409 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
26410
26411 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
26412
26413 [BZ #18110]
26414 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
26415 asms.
26416 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26417
26418 2015-03-11 Joseph Myers <joseph@codesourcery.com>
26419
26420 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
26421 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
26422 abort.
26423 (_FP_FMA): Likewise.
26424 (_FP_DIV): Likewise.
26425
26426 2015-03-10 Roland McGrath <roland@hack.frob.com>
26427
26428 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
26429 with 0 in that case.
26430 * Makefile (summarize-tests): New canned sequence, factored out of
26431 commands for targets tests and xtests. Display summary lines that
26432 don't start with PASS: or XFAIL: rather than ones that do start with
26433 ERROR: or FAIL:. Make the commands fail if any summary lines fail
26434 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
26435 do start with ERROR: or FAIL:.
26436 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
26437 (except for [$(build-shared) = yes]).
26438 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
26439 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
26440 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
26441 * nptl/Makefile: Revert 2015-03-04 changes.
26442 [$(CXX) empty] (tests-unsupported): New variable.
26443 * debug/Makefile: Likewise.
26444
26445 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
26446 gnulib file. Replace __attribute with __attribute__ throughout.
26447
26448 2015-03-10 Carlos O'Donell <carlos@redhat.com>
26449
26450 * sysdeps/hppa/fpu/libm-test-ulps: Update.
26451
26452 2015-03-10 Joseph Myers <joseph@codesourcery.com>
26453
26454 [BZ #18104]
26455 * math/auto-libm-test-in: Add another test of pow.
26456 * math/auto-libm-test-out: Regenerated.
26457
26458 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26459
26460 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
26461 $(config-cflags-nofma).
26462
26463 2015-03-10 Joseph Myers <joseph@codesourcery.com>
26464
26465 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
26466 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
26467 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
26468 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
26469 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
26470 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
26471 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
26472 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
26473 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
26474 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
26475 Add comment on closing #endif.
26476
26477 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
26478
26479 * posix/wordexp.c (CHAR_IN_SET): New macro.
26480 (parse_param): Use it.
26481
26482 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26483
26484 * sysdeps/powerpc/fpu/libm-test-ulps: update.
26485
26486 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
26487
26488 [BZ #18043]
26489 * posix/wordexp.c (parse_param): Fix buffer overflow.
26490 * posix/wordexp-test.c (test_case): Add test case.
26491
26492 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
26493
26494 [BZ #18042]
26495 * posix/wordexp.c (parse_backtick): Fix off-by-one.
26496 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
26497
26498 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
26499
26500 [BZ #18043]
26501 * posix/wordexp-test.c (test_case): Add test for BZ #18043
26502 (do_bz18043): Delete.
26503 (at_page_end): New.
26504 (testit): Refactor to have words at the edge of unreadable page.
26505
26506 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26507
26508 [BZ #16734]
26509 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
26510 Cleanup read-only streams as well.
26511 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
26512
26513 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
26514
26515 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
26516 <bits/libc-lockP.h>
26517
26518 2015-03-07 Joseph Myers <joseph@codesourcery.com>
26519
26520 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
26521 on [__KERNEL__].
26522 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
26523 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
26524 * soft-fp/op-common.h (_FP_DECL): Likewise.
26525
26526 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
26527
26528 * elf/ifuncdep2.c (global): Replace
26529 __attribute__((visibility("protected"))) with
26530 asm (".protected global").
26531 * elf/ifuncmod1.c (global): Likewise.
26532 * elf/ifuncmod5.c (global): Likewise.
26533
26534 2015-03-06 Joseph Myers <joseph@codesourcery.com>
26535
26536 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
26537 <asm/sfp-machine.h> instead of <sfp-machine.h>.
26538
26539 2015-03-06 Roland McGrath <roland@hack.frob.com>
26540
26541 * manual/install.texi (Configuring and compiling):
26542 Document test-wrapper-env-only.
26543 * INSTALL: Regenerated.
26544
26545 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26546
26547 [BZ #18043]
26548 * posix/wordexp.c (parse_param): Fix buffer overflow.
26549 * posix/wordexp-test.c (do_bz18043): Add test case.
26550
26551 2015-03-06 Vincent Bernat <vincent@bernat.im>
26552
26553 * time/tst-strptime2.c (do_test): Ensure failing tests are
26554 reported correctly.
26555 * time/tst-strptime3.c (do_test): Likewise.
26556
26557 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
26558
26559 Fix aio_error thread-safety.
26560 * sysdeps/pthread/aio_error.c: New file
26561 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
26562 synchronization.
26563
26564 2015-03-06 Florian Weimer <fweimer@redhat.com>
26565
26566 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
26567 (group_number, vfprintf): Use it.
26568 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
26569 (JUMP, REF): Use it.
26570 (WORK_BUFFER_SIZE): New enum constant.
26571 (process_arg, vfprintf): Use it.
26572
26573 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
26574
26575 * manual/errno.texi (Error Messages): Complete example function
26576 by adding missing #define.
26577 (program_invocation_name): Add statement indicating GNU
26578 extension and reference which header file declares the variable.
26579 (program_invocation_short_name): Likewise.
26580
26581 2015-03-06 Mike Frysinger <vapier@gentoo.org>
26582
26583 * manual/errno.texi (Error Messages): Delete strerror ISO C89
26584 compatibility note.
26585
26586 2015-03-05 Roland McGrath <roland@hack.frob.com>
26587
26588 * Makeconfig (test-wrapper-env-only): New variable.
26589 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26590 then use that with $(test-wrapper-env-only) rather than using
26591 $(test-wrapper-env) $(run-program-env) $($*-ENV).
26592
26593 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
26594
26595 [BZ #18082]
26596 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26597 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26598 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26599 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26600 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26601 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26602 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26603 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26604 Likewise.
26605 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26606 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26607 Likewise.
26608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26609 Likewise.
26610 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26611 Likewise.
26612 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26613 Likewise.
26614 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26615 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26616 Likewise.
26617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26618 Likewise.
26619 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26620 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26621
26622 2015-03-04 Roland McGrath <roland@hack.frob.com>
26623
26624 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26625 (ETH_ALEN): New macro.
26626 (struct ether_addr): Use it for length of ether_addr_octet.
26627
26628 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26629 (setdb): Don't call __nss_configure_lookup for "rpc".
26630 (do_test): Don't call test_rpc.
26631 (output_rpcent, test_rpc): Functions moved ...
26632 * sunrpc/test-rpcent.c: ... to this new file.
26633 * sunrpc/Makefile (tests): Add it.
26634
26635 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26636 __xpg_sigpause.
26637 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26638 * nptl/tst-signal6.c: Likewise.
26639 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26640 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26641
26642 * configure.ac (libc_cv_cxx_link_ok): New check.
26643 Reset CXX to empty if it fails to link.
26644 * configure: Regenerated.
26645 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26646 bug-atexit3-lib only if $(CXX) is nonempty.
26647 * nptl/Makefile (tests): Likewise for tst-cancel24.
26648 (tests, tests-static): Likewise for tst-cancel24-static.
26649 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26650 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26651 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26652 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26653
26654 2015-03-04 Andreas Schwab <schwab@suse.de>
26655
26656 [BZ #17631]
26657 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26658 for non-GCC compilers.
26659 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26660 Likewise.
26661
26662 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
26663
26664 [BZ #17776]
26665 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26666 integer before bitwise and assembly operations.
26667 (feclearexcept): Likewise.
26668 * math/test-fenvinline.c: New file.
26669 * math/Makefile: Add test-fenvinline test.
26670
26671 2015-03-03 Alan Modra <amodra@gmail.com>
26672
26673 [BZ #16512]
26674 * scripts/localplt.awk: Strip off symbol version.
26675 * NEWS: Mention bug fix.
26676
26677 2015-03-02 Roland McGrath <roland@hack.frob.com>
26678
26679 * sysdeps/pthread/timer_routines.c
26680 (timer_free_list, thread_free_list, thread_active_list): Make static.
26681
26682 2015-03-02 Joseph Myers <joseph@codesourcery.com>
26683
26684 [BZ #17779]
26685 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26686 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26687 Undefine.
26688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26689 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26690 Likewise.
26691 * sysdeps/unix/sysv/linux/sh/kernel-features.h
26692 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26693 Likewise.
26694
26695 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26696
26697 [BZ #18036]
26698 * posix/fnmatch_loop.c (END): Detect invalid pattern.
26699 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26700
26701 2015-03-02 Andreas Schwab <schwab@suse.de>
26702
26703 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26704 variable name.
26705
26706 2015-03-02 Florian Weimer <fweimer@redhat.com>
26707
26708 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26709 Return error status.
26710
26711 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
26712
26713 [BZ #15969]
26714 * locale/findlocale.c (_nl_find_locale): Introduce const
26715 version of loc_name and drop unsafe type casts.
26716
26717 2015-02-27 Roland McGrath <roland@hack.frob.com>
26718
26719 * dlfcn/tststatic2.c (main): Converted to ...
26720 (do_test): ... this.
26721 (TEST_FUNCTION): New macro.
26722 Include test-skeleton.c.
26723
26724 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
26725
26726 [BZ #17711]
26727 * elf/Makefile (tests): Add vismain only if PIE is enabled.
26728 (tests-pie): Add vismain.
26729 (CFLAGS-vismain.c): New.
26730 * elf/vismain.c: Add comments for PIE requirement.
26731
26732 2015-02-27 Joseph Myers <joseph@codesourcery.com>
26733
26734 [BZ #18046]
26735 [BZ #18047]
26736 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26737 0x1p-56L as threshold for just returning the argument.
26738 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26739 0x1p-32L as threshold for just returning the argument.
26740 * math/auto-libm-test-in: Add more tests of atanh.
26741 * math/auto-libm-test-out: Regenerated.
26742 * sysdeps/i386/fpu/libm-test-ulps: Update.
26743 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26744
26745 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
26746
26747 * string/bcopy.c (bcopy): Call memmove for performance.
26748
26749 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
26750
26751 * string/bzero.c (__bzero): Call memset for performance.
26752
26753 2015-02-27 John David Anglin <dave.anglin@bell.net>
26754
26755 [BZ #18068]
26756 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26757 to 00100000.
26758
26759 2015-02-27 Joseph Myers <joseph@codesourcery.com>
26760
26761 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26762
26763 2015-02-26 Joseph Myers <joseph@codesourcery.com>
26764
26765 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26766 (__kernel_standard): Use CSTR macro when setting exc.name.
26767 * sysdeps/ieee754/Makefile [$(subdir) = math]
26768 (CFLAGS-k_standard.c): Remove variable.
26769
26770 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26771 setting p and q from "else if" to "else".
26772 (qzero): Likewise.
26773 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26774 (qone): Likewise.
26775 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26776 (qzerof): Likewise.
26777 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26778 (qonef): Likewise.
26779 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26780 (qzero): Likewise.
26781 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26782 (qone): Likewise.
26783
26784 [BZ #18038]
26785 [BZ #18039]
26786 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26787 return pi/2 for arguments below 0x1p-113L.
26788 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26789 return pi/2 for arguments below 0x1p-106L.
26790 * math/auto-libm-test-in: Add more tests of acos.
26791 * math/auto-libm-test-out: Regenerated.
26792
26793 [BZ #16351]
26794 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26795 (MO): New macro.
26796 (__ieee754_asin): Force underflow exception for results with small
26797 absolute value.
26798 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26799 (MO): New macro.
26800 (__ieee754_asinf): Force underflow exception for results with
26801 small absolute value.
26802 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26803 (__ieee754_asin): Force underflow exception for results with small
26804 absolute value.
26805 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26806 (__ieee754_asinf): Force underflow exception for results with
26807 small absolute value.
26808 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26809 (__ieee754_asinl): Force underflow exception for results with
26810 small absolute value.
26811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26812 (__ieee754_asinl): Force underflow exception for results with
26813 small absolute value.
26814 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26815 (__ieee754_asinl): Force underflow exception for results with
26816 small absolute value.
26817 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26818 Include <math.h>.
26819 * math/auto-libm-test-in: Do not mark underflow exceptions as
26820 possibly missing for bug 16351.
26821 * math/auto-libm-test-out: Regenerated.
26822
26823 [BZ #18030]
26824 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26825 of power of 2 down when low part has opposite sign.
26826 * math/libm-test.inc (logb_test_data): Add more tests.
26827
26828 2015-02-26 Andreas Schwab <schwab@suse.de>
26829
26830 [BZ #18032]
26831 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26832 over collating symbol inside a bracket expression. Minor cleanup.
26833 * posix/tst-fnmatch3.c (do_test): Add test case.
26834
26835 2015-02-26 Joseph Myers <joseph@codesourcery.com>
26836
26837 [BZ #18029]
26838 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26839 Adjust exponent of power of 2 down when low part has opposite
26840 sign.
26841 * math/libm-test.inc (ilogb_test_data): Add more tests.
26842
26843 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
26844
26845 [BZ #15969]
26846 * locale/findlocale.c (_nl_find_locale): Fix constness error in
26847 the previous change.
26848
26849 [BZ #15969]
26850 * locale/findlocale.c (_nl_find_locale): Retry archive search
26851 after alias expansion.
26852
26853 2015-02-25 Roland McGrath <roland@hack.frob.com>
26854
26855 * iconv/tst-iconv3.c (main): Converted to ...
26856 (do_test): ... this.
26857 (TEST_FUNCTION): New macro.
26858 Include test-skeleton.c.
26859
26860 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26861 (convert): Make function static.
26862 (test_unalign): Likewise. Add const to argument pointee types.
26863 (main): Replace with static function do_test.
26864 Print "Succeeded." only if RET is zero.
26865 (TEST_FUNCTION): New macro.
26866 Include test-skeleton.c.
26867
26868 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26869 returns a null pointer.
26870
26871 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26872
26873 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26874 to __memcpy_ppc only for static builds.
26875
26876 2015-02-25 Joseph Myers <joseph@codesourcery.com>
26877
26878 [BZ #18020]
26879 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26880 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26881 * math/auto-libm-test-in: Add more tests of asinh.
26882 * math/auto-libm-test-out: Regenerated.
26883 * sysdeps/i386/fpu/libm-test-ulps: Update.
26884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26885
26886 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
26887
26888 [BZ #15850]
26889 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26890 and ip6_mtuinfo definitions here.
26891 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26892 in this define too. Update comment.
26893
26894 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
26895
26896 * elf/sprof.c (load_shobj): Tweak error message to match others.
26897
26898 2015-02-24 Kevin Easton <kevin@guarana.org>
26899
26900 [BZ #16145] (partial fix)
26901 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26902 to reduce lock contention.
26903
26904 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
26905
26906 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26907 (struct timex): Update time comment.
26908 (ADJ_SETOFFSET): Define.
26909
26910 2015-02-24 Joseph Myers <joseph@codesourcery.com>
26911
26912 [BZ #18019]
26913 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26914 2**56 not 2**28 as threshold for log (2x) formula.
26915 * math/auto-libm-test-in: Add more tests of acosh.
26916 * math/auto-libm-test-out: Regenerated.
26917 * sysdeps/i386/fpu/libm-test-ulps: Update.
26918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26919
26920 2015-02-24 Mike Frysinger <vapier@gentoo.org>
26921
26922 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26923 parenthesis around the buf assignment.
26924 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26925
26926 2015-02-24 Joseph Myers <joseph@codesourcery.com>
26927
26928 [BZ #16783]
26929 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26930 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26931 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26932 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26933 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26934 * math/libm-test.inc (scalb_test_data): Add more tests.
26935
26936 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
26937
26938 [BZ #17916]
26939 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26940 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26941
26942 2015-02-24 Eric Rannaud <e@nanocritical.com>
26943
26944 [BZ #17523]
26945 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26946 * io/bits/fcntl2.h (open): Use it.
26947 (openat): Likewise.
26948 * io/open.c (__libc_open): Likewise.
26949 * io/open64.c (__libc_open64): Likewise.
26950 * io/open64_2.c (__open64_2): Likewise.
26951 * io/open_2.c (__open_2): Likewise.
26952 * io/openat.c (__openat): Likewise.
26953 * io/openat64.c (__openat64): Likewise.
26954 * io/openat64_2.c (__openat64_2): Likewise.
26955 * io/openat_2.c (__openat_2): Likewise.
26956 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26957 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26958 * sysdeps/posix/open64.c (__libc_open64): Likewise.
26959 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26960 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26961 (__open_nocancel): Likewise.
26962 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26963 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26964 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26965
26966 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26967
26968 [BZ #14841]
26969 * resolv/gethnamaddr.c (getanswer): Skip logging if
26970 RES_USE_DNSSEC is set.
26971 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26972
26973 2015-02-24 Mike Frysinger <vapier@gentoo.org>
26974
26975 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26976
26977 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
26978
26979 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26980 201304L, for Unicode 7.
26981
26982 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
26983
26984 [BZ #17836]
26985 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26986 shared library. Add gmon-start.os otherwise.
26987 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26988 $(objpfx)gmon-start.os if builing shared library.
26989 ($(objpfx)g$(static-start-installed-name)): Likewise.
26990
26991 2015-02-23 Andreas Schwab <schwab@suse.de>
26992
26993 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26994
26995 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
26996
26997 [BZ #17269]
26998 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26999 (enlarge_userbuf): Likewise.
27000
27001 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
27002
27003 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
27004 * math/atest-exp.c (TIMEOUT): Adjust to 200.
27005 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
27006 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
27007
27008 2015-02-20 Joseph Myers <joseph@codesourcery.com>
27009
27010 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
27011 expression inside statement expression.
27012
27013 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
27014
27015 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
27016 <sysdeps/nptl/lowlevellock.h> and remove macros and
27017 functions that are now defined there.
27018 (SYS_futex): Remove.
27019 (lll_compare_and_swap): Remove.
27020 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
27021
27022 2015-02-19 Joseph Myers <joseph@codesourcery.com>
27023
27024 [BZ #17999]
27025 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
27026 instead of scandirat.
27027 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
27028 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
27029 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
27030 __scandirat.
27031 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
27032 (__scandirat): Declare. Use libc_hidden_proto.
27033 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
27034 Remove variable.
27035 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27036
27037 2015-02-18 Joseph Myers <joseph@codesourcery.com>
27038
27039 [BZ #15319]
27040 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
27041 (MO): New macro.
27042 (__ieee754_atan2): For results with small absolute value, force
27043 underflow exception and remove excess range and precision from
27044 return value.
27045 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
27046 (MO): New macro.
27047 (__ieee754_atan2f): For results with small absolute value, force
27048 underflow exception and remove excess range and precision from
27049 return value.
27050 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
27051 (MO): New macro.
27052 (__atan): For results with small absolute value, force underflow
27053 exception and remove excess range and precision from return value.
27054 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
27055 (MO): New macro.
27056 (__atanf): For results with small absolute value, force underflow
27057 exception and remove excess range and precision from return value.
27058 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
27059 <math.h>.
27060 (__ieee754_atan2): Force underflow exception for results with
27061 small absolute value.
27062 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
27063 <math_private.h>.
27064 (atan): Force underflow exception for results with small absolute
27065 value.
27066 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
27067 (__atanf): Force underflow exception for results with small
27068 absolute value.
27069 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
27070 <math.h>.
27071 (__atanl): Force underflow exception for results with small
27072 absolute value.
27073 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
27074 (__atanl): Force underflow exception for results with small
27075 absolute value.
27076 * sysdeps/x86/fpu/bits/mathinline.h
27077 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
27078 (__ieee754_atan2): Only define inline for long double.
27079 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
27080 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
27081 * math/auto-libm-test-in: Do not mark underflow exceptions as
27082 possibly missing for bug 15319. Add more tests of atan2.
27083 * math/auto-libm-test-out: Regenerated.
27084 * math/libm-test.inc (casin_test_data): Do not mark underflow
27085 exceptions as possibly missing for bug 15319.
27086 (casinh_test_data): Likewise.
27087 * sysdeps/i386/fpu/libm-test-ulps: Update.
27088
27089 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
27090
27091 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
27092 * sysdeps/mips/bits/endian.h: Fix comments.
27093
27094 2015-02-18 Joseph Myers <joseph@codesourcery.com>
27095
27096 [BZ #17996]
27097 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
27098 (hdestroy_r): Likewise.
27099 (hsearch_r): Likewise.
27100 (__hcreate_r): Declare and use libc_hidden_proto.
27101 (__hdestroy_r): Likewise.
27102 (__hsearch_r): Likewise.
27103 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
27104 (hcreate): Call __hcreate_r instead of hcreate_r.
27105 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
27106 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
27107 as weak alias of __hcreate_r.
27108 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
27109 __hdestroy_r.
27110 (hsearch_r): Rename to __hsearch_r and define as weak alias of
27111 __hsearch_r.
27112 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
27113 Remove variable.
27114 (test-xfail-XPG4/search.h/linknamespace): Likewise.
27115 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27116 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27117 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27118
27119 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27120
27121 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
27122 arena_lock into a single arena_get.
27123
27124 2015-02-17 Carlos O'Donell <carlos@redhat.com>
27125
27126 * dl-reloc.c: Inlucde libc-internal.h.
27127 (_dl_try_allocate_static_tls): Call ALIGN_UP.
27128 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
27129 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
27130 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
27131 (grow_heap): Likewise.
27132 * malloc/malloc.c: Include libc-internal.h.
27133 (do_check_malloc): Call powerof2.
27134 (sysmalloc): Use pagesize. Call ALIGN_UP.
27135 (systrim): Use pagesize.
27136 (mremap_chunk): Use pagesize. Call ALIGN_UP.
27137 (__libc_valloc): Use pagesize.
27138 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
27139
27140 2015-02-17 Joseph Myers <joseph@codesourcery.com>
27141
27142 [BZ #17991]
27143 * include/sys/resource.h (__getrlimit64): Declare. Use
27144 libc_hidden_proto.
27145 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
27146 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
27147 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
27148 getrlimit64.
27149 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
27150 __getrlimit64.
27151 [!getrlimit64] (getrlimit64): Define as weak alias of
27152 __getrlimit64. Use libc_hidden_weak.
27153 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
27154 using __getrlimit64 not __new_getrlimit64.
27155 (__GI_getrlimit64): Likewise.
27156 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
27157 Likewise.
27158 (__GI_getrlimit64): Likewise.
27159 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
27160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
27161 (getrlimit): Add __getrlimit64 alias.
27162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
27163 Likewise.
27164 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
27165 Remove variable.
27166 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27167 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27168
27169 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
27170
27171 * libio/fileops.c: Add missing sys/mman.h
27172 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
27173
27174 2015-02-17 Joseph Myers <joseph@codesourcery.com>
27175
27176 * manual/math.texi (Errors in Math Functions): Clarify goals
27177 regarding inexact and underflow exceptions.
27178
27179 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
27180
27181 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
27182 * sysdeps/mips/memset.S: Ditto.
27183
27184 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
27185
27186 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
27187
27188 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
27189
27190 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
27191 (__v1longjmp): Remove versioned symbol.
27192 (__v1siglongjmp): Remove alias and versioned symbol.
27193 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
27194 (__v2siglongjmp): Likewise.
27195
27196 2015-02-16 Torvald Riegel <triegel@redhat.com>
27197
27198 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
27199
27200 2015-02-16 Mike Frysinger <vapier@gentoo.org>
27201
27202 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
27203
27204 2015-02-16 Joseph Myers <joseph@codesourcery.com>
27205
27206 [BZ #17987]
27207 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
27208 zero result does not depend on the sign resulting from
27209 subtraction.
27210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27211 Likewise.
27212 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
27213 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27215 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
27216 * math/libm-test.inc (remquo_test_data): Add more tests.
27217
27218 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
27219
27220 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
27221 Problem reported by J William Piggott.
27222
27223 2015-02-16 Joseph Myers <joseph@codesourcery.com>
27224
27225 [BZ #17978]
27226 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
27227 products 4 * y and 2 * y where those would overflow.
27228 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27229 Likewise.
27230 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
27231 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
27232 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27233 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
27234 * math/libm-test.inc (remquo_test_data): Add more tests.
27235
27236 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
27237
27238 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
27239 [defined _COMPILING_NEWLIB].
27240 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
27241 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
27242
27243 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
27244 [!defined __mips_isa_rev || __mips_isa_rev < 6].
27245
27246 2015-02-16 Torvald Riegel <triegel@redhat.com>
27247
27248 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
27249 acquired.
27250
27251 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
27252
27253 [BZ #17792]
27254 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
27255 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
27256 HOST_STACK_END_ADDR): Likewise.
27257
27258 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
27259
27260 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
27261 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
27262 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
27263
27264 2015-02-13 Roland McGrath <roland@hack.frob.com>
27265
27266 * sysdeps/generic/c++-types.data: New file.
27267 * sysdeps/generic/ld.abilist: New file.
27268 * sysdeps/generic/libBrokenLocale.abilist: New file.
27269 * sysdeps/generic/libanl.abilist: New file.
27270 * sysdeps/generic/libc.abilist: New file.
27271 * sysdeps/generic/libcrypt.abilist: New file.
27272 * sysdeps/generic/libdl.abilist: New file.
27273 * sysdeps/generic/libm.abilist: New file.
27274 * sysdeps/generic/libpthread.abilist: New file.
27275 * sysdeps/generic/libresolv.abilist: New file.
27276 * sysdeps/generic/librt.abilist: New file.
27277
27278 2015-02-13 Joseph Myers <joseph@codesourcery.com>
27279
27280 [BZ #17569]
27281 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27282 Compute absolute value of x as modified by fmod, not original
27283 value of x.
27284 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
27285 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
27286 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
27287 RUN_TEST_ffI_f1_mod8.
27288 (remquo_test_data): Add more tests.
27289
27290 2015-02-13 Roland McGrath <roland@hack.frob.com>
27291
27292 * sysdeps/init_array/pt-crti.S: New file.
27293
27294 2015-02-13 Joseph Myers <joseph@codesourcery.com>
27295
27296 [BZ #17967]
27297 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
27298 __builtin_fmaf instead of relying on contraction of a * b + c.
27299
27300 2015-02-12 J William Piggott <elseifthen@gmx.com>
27301
27302 [BZ #17969]
27303 * manual/time.texi: correct the zoneinfo path in the TZ Variable
27304 node.
27305
27306 2015-02-12 Joseph Myers <joseph@codesourcery.com>
27307
27308 [BZ #17964]
27309 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
27310 __builtin_fma instead of relying on contraction of a * b + c.
27311
27312 2015-02-12 Roland McGrath <roland@hack.frob.com>
27313
27314 * Makeconfig (ASFLAGS): Add -Werror=undef.
27315 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
27316 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
27317 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
27318
27319 * Makeconfig (after-link): New variable.
27320 (+link-pie, +link-pie-tests): Use it.
27321 (+link-static, +link-static-tests): Likewise.
27322 (+link, +link-tests): Likewise.
27323 * Makerules (build-module, build-module-asneeded): Likewise.
27324 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
27325 Likewise.
27326 * elf/Makefile ($(objpfx)ld.so): Likewise.
27327
27328 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
27329
27330 [BZ #17965]
27331 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
27332 both struct timeval and struct timespec.
27333
27334 2015-02-12 Joseph Myers <joseph@codesourcery.com>
27335
27336 [BZ #16560]
27337 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27338 and redefine.
27339 (__ieee754_exp2l): Do not multiply small fractional parts by
27340 M_LN2l.
27341 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
27342 small argument.
27343 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27344 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27345 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
27346 * math/auto-libm-test-in: Add more tests of exp2.
27347 * math/auto-libm-test-out: Regenerated.
27348
27349 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27350
27351 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
27352 unaligned path.
27353
27354 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27355
27356 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
27357 little endian.
27358
27359 2015-02-12 Andreas Schwab <schwab@suse.de>
27360
27361 [BZ #15790]
27362 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27363 Filter out elision flags from value returned in kind.
27364 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
27365 * nptl/tst-pthread-mutexattr.c: New file.
27366
27367 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
27368
27369 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
27370 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
27371 into gnu-gnu, and update comment to refer to abi-tags.
27372
27373 2015-02-11 Joseph Myers <joseph@codesourcery.com>
27374
27375 [BZ #15467]
27376 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
27377 (__sincos): Set errno to EDOM for infinite argument.
27378 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
27379 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
27380 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
27381 (__sincosl): Set errno to EDOM for infinite argument.
27382 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
27383 (__sincosl): Set errno to EDOM for infinite argument.
27384 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
27385 (__sincosl): Set errno to EDOM for infinite argument.
27386 * math/libm-test.inc (sincos_test_data): Test errno setting.
27387
27388 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
27389
27390 * string/strxfrm_l.c: Remove #define STRCMP.
27391 * string/strcoll_l.c: Remove #define STRLEN.
27392 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
27393 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
27394
27395 2015-02-10 Joseph Myers <joseph@codesourcery.com>
27396
27397 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
27398 * sysdeps/mips/mips32/sfp-machine.h: ... here.
27399 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
27400 * sysdeps/mips/mips64/Makefile: ... here.
27401 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
27402 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
27403 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
27404 * sysdeps/mips/mips64/sfp-machine.h: ... here.
27405 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
27406 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
27407 * sysdeps/mips/mips64/n64/Implies: Likewise.
27408
27409 2015-02-10 Roland McGrath <roland@hack.frob.com>
27410
27411 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
27412 <sys/time.h>, <string.h>, and <errno.h>.
27413 (dest_offset, dest_address, value, zero): Remove unused variables.
27414 (ldouble): Remove typedef.
27415 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
27416 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
27417 1). Fix code style.
27418 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
27419 (check): Function removed.
27420 (CHECK): New macro.
27421 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
27422 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
27423 Don't call set_sigaction_FP and remove_sigaction_FP here.
27424 (ldouble_test): Just use 'long double' as macro argument, no need for
27425 the 'ldouble' typedef.
27426 (do_test): Set up SIGFPE handler at start, using plain signal rather
27427 than sigaction. Fix code style.
27428
27429 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
27430
27431 [BZ #17949]
27432 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
27433 jump label.
27434
27435 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27436
27437 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
27438 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27439
27440 * sysdeps/powerpc/configure.ac: Remove file.
27441 * sysdeps/powerpc/configure: Likewise.
27442
27443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27444 [sysdep_routines]: Remove wordcopy-power6 object.
27445 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27446 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
27447 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
27448 (__memmove_ppc32): Likewise.
27449 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
27450 file.
27451 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
27452 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
27453 Remove preprocessor.
27454
27455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27456 [sysdep_routines]: Remove wide chars objects.
27457 [wcsmbs]: New rule for wide char objects.
27458
27459 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27460 Remove wordcopy-power6 obejct.
27461 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
27462 Use local call for wordcopy and memcpy symbols.
27463 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
27464 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
27465 implementation for loader.
27466 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
27467
27468 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27469 Remove wordcopy-power7 object.
27470 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
27471 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
27472 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
27473 (_wordcopy_fwd_dest_aligned): Likewise.
27474 (_wordcopy_bwd_aligned): Likewise.
27475 (_wordcopy_bwd_dest_aligned): Likewise.
27476
27477 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
27478 Rewrite to call __memmove_ppc instead of include default
27479 implementation.
27480
27481 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27482 Remove wide chars objects.
27483 [wcsmbs]: New rule for wide char objects.
27484
27485 2015-02-09 Andreas Schwab <schwab@suse.de>
27486
27487 [BZ #17912]
27488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27489 in terms of __O_DIRECTORY.
27490
27491 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
27492
27493 * time/getdate.c: Include <stdbool.h>.
27494 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
27495 call PTR_MANGLE.
27496 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
27497 PTR_DEMANGLE.
27498
27499 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
27500
27501 Add ersatz _Static_assert on older C hosts
27502 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
27503 pre-C11 C platform that is not known to support _Static_assert.
27504
27505 2015-02-07 Richard Braun <rbraun@sceen.net>
27506
27507 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
27508 sigstate.
27509 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
27510
27511 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27512
27513 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
27514 priority against unexistent AIO_PRIO_DELTA_MAX.
27515 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
27516 instead of int.
27517 * misc/fchflags.c (fchflags): Likewise.
27518 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
27519 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
27520 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
27521 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
27522 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
27523 Declare macros.
27524 [__USE_MISC] (chflags, fchflags): Declare functions.
27525 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
27526 EINVAL when nfds is greater than FD_SETSIZE.
27527 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
27528 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
27529 45.
27530 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
27531 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
27532 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
27533 MACH_RCV_TIMED_OUT.
27534 * hurd/hurd/signal.h (_hurd_self_sigstate,
27535 _hurd_critical_section_lock, _hurd_critical_section_unlock):
27536 Explicit casts from void *.
27537 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
27538 * abi-tags: Rename gnu-gnu os into gnu.
27539
27540 [BZ #4719]
27541 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
27542 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
27543 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
27544 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
27545 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
27546 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
27547
27548 [BZ #17944]
27549 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
27550 duplicates ADDR->sun_path with sockaddr LEN limitation.
27551 * sysdeps/mach/hurd/connect.c: Include <string.h>
27552 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
27553 * sysdeps/mach/hurd/sendmsg.c: Likewise.
27554 * sysdeps/mach/hurd/sendto.c: Likewise.
27555 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
27556 implementing it by hand.
27557
27558 2015-02-06 Roland McGrath <roland@hack.frob.com>
27559
27560 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
27561 Use sfi_breg on ldr.
27562 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
27563 Likewise.
27564
27565 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
27566 it's defined.
27567 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
27568 Test SIGSETXID only if it's defined.
27569
27570 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
27571
27572 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
27573 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
27574
27575 * nptl/tst-align2.c: Moved ...
27576 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
27577 * nptl/Makefile (tests): Remove tst-align2.
27578 * sysdeps/unix/sysv/linux/Makefile
27579 [$(subdir) = nptl] (tests): Add tst-align-clone.
27580 * nptl/tst-getpid1.c: Moved ...
27581 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27582 * nptl/tst-getpid2.c: Moved ...
27583 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27584 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27585 * sysdeps/unix/sysv/linux/Makefile
27586 [$(subdir) = nptl] (tests): ... here.
27587 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27588 * sysdeps/unix/sysv/linux/Makefile
27589 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27590
27591 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27592 Drop trailing \n from perror argument. Use return rather than exit.
27593
27594 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27595 on [SA_SIGINFO].
27596 * nptl/tst-cancel21.c (do_test): Likewise.
27597 * debug/tst-backtrace6.c: Include <signal.h> first thing.
27598 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27599 [!SA_SIGINFO]: Make it a stub test.
27600
27601 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27602 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27603
27604 * posix/tst-getlogin.c: Move to ...
27605 * login/tst-getlogin.c: ... here.
27606 * posix/Makefile (tests): Move tst-getlogin to ...
27607 * login/Makefile (tests): ... here.
27608
27609 * libio/tst-atime.c (do_test): Move local variables SV and E
27610 inside [ST_NOATIME] conditional.
27611
27612 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27613
27614 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27615
27616 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27617 (wait_code): New function replaces macro.
27618 Call nanosleep rather than syscall.
27619
27620 * nptl/pt-system.c: Rewritten. Put everything under
27621 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27622 Use IFUNC to redirect when possible.
27623
27624 * nptl/pt-longjmp.c: Rewritten. Put everything under
27625 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27626 Use IFUNC to redirect when possible.
27627
27628 * nptl/pt-fork.c: Rewritten. Put everything under
27629 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27630 Use IFUNC to redirect when possible.
27631 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27632
27633 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27634 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27635 unconditionally nowadays. This included the only reference to
27636 __vdso_clock_gettime that appears outside libc proper.
27637 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27638 Remove version set (containing only __vdso_clock_gettime).
27639 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27640 Add attribute_hidden.
27641 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27642 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27643 libc_hidden_data_def.
27644 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27645 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27646
27647 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27648 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27649 setrpcent, and getrpcport to ...
27650 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27651 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27652 getrpcbynumber_r, and getrpcent_r to ...
27653 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27654 * inet/getrpcbyname.c: Moved ...
27655 * sunrpc/getrpcbyname.c: ... here.
27656 * inet/getrpcbyname_r.c: Moved ...
27657 * sunrpc/getrpcbyname_r.c: ... here.
27658 * inet/getrpcbynumber.c: Moved ...
27659 * sunrpc/getrpcbynumber.c: ... here.
27660 * inet/getrpcbynumber_r.c: Moved ...
27661 * sunrpc/getrpcbynumber_r.c: ... here.
27662 * inet/getrpcent.c: Moved ...
27663 * sunrpc/getrpcent.c: ... here.
27664 * inet/getrpcent_r.c: Moved ...
27665 * sunrpc/getrpcent_r.c: ... here.
27666 * inet/Makefile (routines): Move those to ...
27667 * sunrpc/Makefile (routines): ... here.
27668 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27669 the $(subdirs) list.
27670 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
27671 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27672 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27673 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27674
27675 * elf/Makefile (routines): Include $(all-dl-routines), not just
27676 $(dl-routines).
27677 (rtld-routines): Likewise. Use = rather than :=.
27678 * sysdeps/aarch64/Makefile [$(subdir) = elf]
27679 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27680 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27681 * sysdeps/arm/Makefile: Likewise.
27682 * sysdeps/i386/Makefile: Likewise.
27683 * sysdeps/x86_64/Makefile: Likewise.
27684 * sysdeps/hppa/Makefile [$(subdir) = elf]
27685 (sysdep_routines, sysdep-rtld-routines): Don't add
27686 $(sysdep-dl-routines) to these.
27687 * sysdeps/ia64/Makefile: Likewise.
27688 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27689 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27690 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27691 Don't add dl-static to these; sysdep-dl-routines alone is enough.
27692 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27693 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27694 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27695 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27696 * sysdeps/powerpc/Makefile [$(subdir) = elf]
27697 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27698 these; sysdep-dl-routines alone is enough.
27699
27700 2015-02-06 Joseph Myers <joseph@codesourcery.com>
27701
27702 [BZ #17932]
27703 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27704 where multiplication results in zero and third argument is finite
27705 and nonzero.
27706 * math/auto-libm-test-in: Add more tests of fma.
27707 * math/auto-libm-test-out: Regenerated.
27708
27709 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27710 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27711 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27712 (_FP_CMP_EQ): Likewise.
27713 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27714
27715 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27716 extra argument CHECK_NAN. Redefine as wrapper around
27717 _FP_EXTEND_CNAN.
27718
27719 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
27720
27721 * version.h (RELEASE): Set to "stable".
27722 (VERSION): Set to "2.21"
27723 * include/features.h (__GLIBC_MINOR__): Set to 21.
27724
27725 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27726
27727 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27728 Paul Eggert <eggert@cs.ucla.edu>
27729
27730 [BZ #16618]
27731 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27732 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27733 size in bytes. Store needed elements in wpmax. Use needed size
27734 in bytes for extend_alloca.
27735
27736 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
27737
27738 * manual/install.texi: Latest tested versions are GCC 4.9.2,
27739 binutls 2.25, and texinfo 5.2.
27740 * INSTALL: Regenerate.
27741 * sysdeps/nios2/configure: Regenerate.
27742 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27743 * manual/contrib.texi: Update.
27744 * po/be.po: Update.
27745 * po/bg.po: Update.
27746 * po/ca.po: Update.
27747 * po/cs.po: Update.
27748 * po/da.po: Update.
27749 * po/de.po: Update.
27750 * po/el.po: Update.
27751 * po/eo.po: Update.
27752 * po/es.po: Update.
27753 * po/fi.po: Update.
27754 * po/fr.po: Update.
27755 * po/gl.po: Update.
27756 * po/hr.po: Update.
27757 * po/hu.po: Update.
27758 * po/ia.po: Update.
27759 * po/id.po: Update.
27760 * po/it.po: Update.
27761 * po/ja.po: Update.
27762 * po/ko.po: Update.
27763 * po/lt.po: Update.
27764 * po/nb.po: Update.
27765 * po/nl.po: Update.
27766 * po/pl.po: Update.
27767 * po/pt_BR.po: Update.
27768 * po/ru.po: Update.
27769 * po/rw.po: Update.
27770 * po/sk.po: Update.
27771 * po/sl.po: Update.
27772 * po/sv.po: Update.
27773 * po/tr.po: Update.
27774 * po/uk.po: Update.
27775 * po/vi.po: Update.
27776 * po/zh_CN.po: Update.
27777 * po/zh_TW.po: Update.
27778
27779 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27780 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27781 * sysdeps/hppa/dl-irel.h: Remove #warning.
27782 * sysdeps/hppa/entry.h: Provide prototype for
27783 __canonicalize_funcptr_for_compare and cast argument.
27784 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27785 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27786 * sysdeps/hppa/sotruss-lib.c: New file.
27787 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27788 (atomic_compare_and_exchange_val_acq): Use __typeof__.
27789 (atomic_compare_and_exchange_bool_acq): Likewise.
27790 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27791 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27792
27793 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27794 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27795 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27796
27797 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
27798
27799 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27800 called function in non-PIC case.
27801
27802 2015-01-31 David S. Miller <davem@davemloft.net>
27803
27804 * sysdeps/sparc/sparc32/bits/atomic.h
27805 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27806 unlock not after it.
27807 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27808 volatile register usage warnings from the compiler.
27809
27810 * sysdeps/sparc/nptl/sem_init.c: Delete.
27811 * sysdeps/sparc/nptl/sem_post.c: Delete.
27812 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27813 * sysdeps/sparc/nptl/sem_wait.c: Delete.
27814 * sysdeps/sparc/sparc32/sem_init.c: New file.
27815 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27816 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27817 padding explicitly initialized.
27818 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27819 padding for in-semaphore spinlock.
27820 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27821 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27822 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27823 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27824 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27825 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27826 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27827 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27828 version.
27829 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27830 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27831
27832 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
27833
27834 [BZ #17801]
27835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27836 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27837 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27838 New.
27839 (index_AVX_Fast_Unaligned_Load): Likewise.
27840 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27841 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27842 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27843 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27844 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27845 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27846 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27847 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27848 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27849
27850 2015-01-29 Andreas Schwab <schwab@suse.de>
27851
27852 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27853
27854 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27855
27856 [BZ #17892]
27857 * nscd/nscd_stat.c (send_stats): Initialize DATA.
27858
27859 2015-01-28 Martin Sebor <msebor@redhat.com>
27860
27861 * math/README.libm-test: Clarify. Add "How to read the test output."
27862
27863 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
27864
27865 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27866 Define to 0.
27867
27868 2015-01-28 Joseph Myers <joseph@codesourcery.com>
27869
27870 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27871 (__HAVE_64B_ATOMICS): Define to 0.
27872
27873 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27874
27875 [BZ #17885]
27876 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27877 value to set as new flag.
27878
27879 [BZ #16576]
27880 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27881 and use _ARCH_PPCSQ instead.
27882 (__ieee754_sqrt): Likewise.
27883 (__ieee754_sqrtf): Likewise.
27884 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27885 _ARCH_PPCSQ is defined.
27886 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27887 fsqrt instruction.
27888 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27889 _ARCH_PPCSQ is defined.
27890 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27891 fsqrts instruction.
27892 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27893
27894 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27895
27896 * iconv/loop.c: Suppress array out of bound warning caused by GCC
27897 bug (GCC BZ #64739).
27898
27899 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
27900
27901 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27902 Mark _retval as used.
27903 (lll_futex_wake_unlock): Likewise.
27904 (lll_futex_timed_wait_requeue_pi): Likewise.
27905
27906 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27907 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27908 register variables.
27909
27910 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27911 libm_hidden_def.
27912
27913 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27914 (__bswap_64): Mark as __always_inline.
27915
27916 2015-01-25 Bram <bug_rh@spam.wizbit.be>
27917
27918 [BZ #15378]
27919 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27920 when none of the search directories exist.
27921
27922 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27923
27924 [BZ #17869]
27925 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27926 power8 in .machine directive.
27927
27928 [BZ #17868]
27929 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27930 set dependency from opd value.
27931
27932 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
27933
27934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27935 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27936 architecture.
27937
27938 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
27939
27940 [BZ #17870]
27941 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27942 with uint64_t.
27943 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27944 (uint64_t) 1.
27945 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27946 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27947 Replace 1UL with (uint64_t) 1.
27948 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27949 int with uint64_t.
27950
27951 2015-01-23 Roland McGrath <roland@hack.frob.com>
27952
27953 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27954 (if_freenameindex): Likewise.
27955
27956 * resource/getrlimit64.c: Add missing libc_hidden_def.
27957
27958 2015-01-22 Joseph Myers <joseph@codesourcery.com>
27959
27960 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27961 __label__.
27962 (_FP_FMA): Likewise.
27963 (_FP_TO_INT_ROUND): Likewise.
27964 (_FP_FROM_INT): Likewise.
27965
27966 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27967
27968 [BZ #16418]
27969 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27970 Make code racy and cancel safe.
27971
27972 2015-01-21 Carlos O'Donell <carlos@redhat.com>
27973
27974 * sysdeps/arm/unwind-resume.h: Fix copyright year.
27975 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27976 attribution.
27977
27978 * pwd/tst-getpw.c: Rewrite.
27979
27980 [BZ #17702]
27981 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27982 (modules-names): Add moddummy1 and moddummy2.
27983 ($(objpfx)tst-rec-dlopen): Define.
27984 * dlfcn/moddummy1.c: New file.
27985 * dlfcn/moddummy2.c: New file.
27986 * dlfcn/tst-rec-dlopen.c: New file.
27987 * elf/dl-cache.c (_dl_load_cache_lookup):
27988 Return char*. Copy result with alloca/strcpy/strdup.
27989 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27990 returns char*. Free cached. If not saving realname
27991 free cached.
27992 * elf/dl-open.c (dl_open_worker): Do not assert that
27993 _r_debug->r_state is RT_CONSISTENT.
27994 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27995 returns char*.
27996
27997 2015-01-21 Torvald Riegel <triegel@redhat.com>
27998 Carlos O'Donell <carlos@redhat.com>
27999
28000 [BZ #12674]
28001 * nptl/sem_waitcommon.c: New file.
28002 * nptl/sem_wait.c: Include sem_waitcommon.c.
28003 (__sem_wait_cleanup, do_futex_wait): Remove.
28004 (__new_sem_wait): Adapt.
28005 (__new_sem_trywait): New function.
28006 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
28007 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
28008 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
28009 (sem_timedwait): Adapt.
28010 * nptl/sem_post.c (__new_sem_post): Adapt.
28011 (futex_wake): New function.
28012 (__old_sem_post): Add release MO fence.
28013 * nptl/sem_open.c (sem_open): Adapt.
28014 * nptl/sem_init.c (__new_sem_init): Adapt.
28015 (futex_private_if_supported): New function.
28016 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
28017 (__old_sem_getvalue): Add using previous code.
28018 * sysdeps/nptl/internaltypes.h: Adapt.
28019 * nptl/tst-sem13.c (do_test): Adapt.
28020 * nptl/tst-sem11.c (main): Adapt.
28021 * nptl/sem_trywait.c: Remove.
28022 * nptl/DESIGN-sem.txt: Remove.
28023 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
28024 (gen-as-const-headers): Remove structsem.sym.
28025 * nptl/structsem.sym: Remove.
28026 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
28027 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
28028 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
28029 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
28030 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
28031 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
28032 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
28033 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
28034 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
28035 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
28036 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
28037 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
28038 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
28039 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
28040 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
28041 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
28042 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
28043 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
28044 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
28045 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
28046 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
28047 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
28048
28049 2015-01-20 Carlos O'Donell <carlos@redhat.com>
28050
28051 * INSTALL: Regenerated.
28052
28053 * po/libc.pot: Regenerated.
28054
28055 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
28056 Sandra Loosemore <sandra@codesourcery.com>
28057 Andrew Jenner <andrew@codesourcery.com>
28058 Joseph Myers <joseph@codesourcery.com>
28059 Nathan Sidwell <nathan@codesourcery.com>
28060
28061 * NEWS: Mention new Nios II port.
28062 * sysdeps/nios2/Implies: New file.
28063 * sysdeps/nios2/Makefile: New file.
28064 * sysdeps/nios2/Subdirs: New file.
28065 * sysdeps/nios2/Versions: New file.
28066 * sysdeps/nios2/__longjmp.S: New file.
28067 * sysdeps/nios2/abort-instr.h: New file.
28068 * sysdeps/nios2/backtrace.c: New file.
28069 * sysdeps/nios2/bits/endian.h: New file.
28070 * sysdeps/nios2/bits/fenv.h: New file.
28071 * sysdeps/nios2/bits/link.h: New file.
28072 * sysdeps/nios2/bits/setjmp.h: New file.
28073 * sysdeps/nios2/bsd-_setjmp.S: New file.
28074 * sysdeps/nios2/bsd-setjmp.S: New file.
28075 * sysdeps/nios2/configure: New generated file.
28076 * sysdeps/nios2/configure.ac: New file.
28077 * sysdeps/nios2/crti.S: New file.
28078 * sysdeps/nios2/crtn.S: New file.
28079 * sysdeps/nios2/dl-init.c: New file.
28080 * sysdeps/nios2/dl-machine.h: New file.
28081 * sysdeps/nios2/dl-sysdep.h: New file.
28082 * sysdeps/nios2/dl-tls.h: New file.
28083 * sysdeps/nios2/dl-trampoline.S: New file.
28084 * sysdeps/nios2/gccframe.h: New file.
28085 * sysdeps/nios2/gmp-mparam.h: New file.
28086 * sysdeps/nios2/jmpbuf-offsets.h: New file.
28087 * sysdeps/nios2/jmpbuf-unwind.h: New file.
28088 * sysdeps/nios2/ldsodefs.h: New file.
28089 * sysdeps/nios2/libc-tls.c: New file.
28090 * sysdeps/nios2/libm-test-ulps: New file.
28091 * sysdeps/nios2/machine-gmon.h: New file.
28092 * sysdeps/nios2/math-tests.h: New file.
28093 * sysdeps/nios2/math_private.h: New file.
28094 * sysdeps/nios2/memusage.h: New file.
28095 * sysdeps/nios2/nptl/Makefile: New file.
28096 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
28097 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
28098 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
28099 * sysdeps/nios2/nptl/pthreaddef.h: New file.
28100 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
28101 * sysdeps/nios2/nptl/tls.h: New file.
28102 * sysdeps/nios2/preconfigure: New file.
28103 * sysdeps/nios2/s_fma.c: New file.
28104 * sysdeps/nios2/s_fmaf.c: New file.
28105 * sysdeps/nios2/setjmp.S: New file.
28106 * sysdeps/nios2/sfp-machine.h: New file.
28107 * sysdeps/nios2/sotruss-lib.c: New file.
28108 * sysdeps/nios2/stackguard-macros.h: New file.
28109 * sysdeps/nios2/stackinfo.h: New file.
28110 * sysdeps/nios2/start.S: New file.
28111 * sysdeps/nios2/sysdep.h: New file.
28112 * sysdeps/nios2/tls-macros.h: New file.
28113 * sysdeps/nios2/tst-audit.h: New file.
28114 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
28115 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
28116 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
28117 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
28118 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
28119 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
28120 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
28121 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
28122 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
28123 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
28124 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
28125 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
28126 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
28127 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
28128 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
28129 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
28130 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
28131 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
28132 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
28133 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
28134 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
28135 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
28136 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
28137 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
28138 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
28139 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
28140 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
28141 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
28142 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
28143 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
28144 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
28145 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
28146 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
28147 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
28148 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
28149 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
28150 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
28151 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
28152 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
28153 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
28154 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
28155 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
28156 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
28157 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
28158
28159 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
28160
28161 [BZ #17844]
28162 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
28163 (getutent): Use weak_alias in non SHARED case
28164 and default_symbol_version in SHARED case.
28165 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
28166 (getutent_r, pututline): Likewise.
28167 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
28168 (getutid): Likewise.
28169 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
28170 (getutid_r): Likewise.
28171 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
28172 (getutline): Likewise.
28173 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
28174 (getutline_r): Likewise.
28175 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
28176 (updwtmp): Likewise.
28177
28178 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
28179
28180 [BZ #17848]
28181 * sysdeps/s390/s390-32/memcmp.S
28182 (memcmp_g5): Rename to __memcmp_g5.
28183 * sysdeps/s390/s390-32/memcpy.S
28184 (memcpy_g5): Rename to __memcpy_g5.
28185 Jump to __memcpy_mvcle instead of memcpy_mvcle.
28186 (memcpy_mvcle) Rename to __memcpy_mvcle.
28187 * sysdeps/s390/s390-32/memset.S
28188 (memset_g5): Rename to __memset_g5.
28189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28190 (IFUNC_RESOLVE): Prefix ifunc-resolve function
28191 and use prefixed functions.
28192 * sysdeps/s390/s390-32/multiarch/memcmp.S
28193 (memcmp_z196): Rename to __memcmp_z196.
28194 (memcmp_z10): Rename to __memcmp_z10.
28195 (memcmp): Set alias to __memcmp_g5.
28196 (bcmp): Set alias to __memcmp_g5.
28197 * sysdeps/s390/s390-32/multiarch/memcpy.S
28198 (memcpy_z196): Rename to __memcpy_z196.
28199 Jump to __memcpy_mvcle instead of memcpy_mvcle.
28200 (memcpy_z10): Rename to __memcpy_z10.
28201 Jump to __memcpy_mvcle instead of memcpy_mvcle.
28202 (memcpy): Set alias to __memcpy_g5.
28203 * sysdeps/s390/s390-32/multiarch/memset.S
28204 (memset_z196): Rename to __memset_z196.
28205 Jump to __memset_mvcle instead of memset_mvcle.
28206 (memset_z10): Rename to __memset_z10.
28207 Jump to __memset_mvcle instead of memset_mvcle.
28208 (memset_mvcle) Rename to __memset_mvcle.
28209 (memset): Set alias to __memset_g5.
28210 * sysdeps/s390/s390-64/memcmp.S
28211 (memcmp_z900): Rename to __memcmp_z900.
28212 * sysdeps/s390/s390-64/memcpy.S
28213 (memcpy_z900): Rename to __memcpy_z900.
28214 Jump to __memcpy_mvcle instead of memcpy_mvcle.
28215 (memcpy_mvcle) Rename to __memcpy_mvcle.
28216 * sysdeps/s390/s390-64/memset.S
28217 (memset_z900): Rename to __memset_z900.
28218 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
28219 (IFUNC_RESOLVE): Prefix ifunc-resolve function
28220 and use prefixed functions.
28221 * sysdeps/s390/s390-64/multiarch/memcmp.S
28222 (memcmp_z196): Rename to __memcmp_z196.
28223 (memcmp_z10): Rename to __memcmp_z10.
28224 (memcmp): Set alias to __memcmp_z900.
28225 (bcmp): Set alias to __memcmp_z900.
28226 * sysdeps/s390/s390-64/multiarch/memcpy.S
28227 (memcpy_z196): Rename to __memcpy_z196.
28228 Jump to __memcpy_mvcle instead of memcpy_mvcle.
28229 (memcpy_z10): Rename to __memcpy_z10.
28230 Jump to __memcpy_mvcle instead of memcpy_mvcle.
28231 (memcpy): Set alias to __memcpy_z900.
28232 * sysdeps/s390/s390-64/multiarch/memset.S
28233 (memset_z196): Rename to __memset_z196.
28234 Jump to __memset_mvcle instead of memset_mvcle.
28235 (memset_z10): Rename to __memset_z10.
28236 Jump to __memset_mvcle instead of memset_mvcle.
28237 (memset_mvcle) Rename to __memset_mvcle.
28238 (memset): Set alias to __memset_z900.
28239
28240 2015-01-14 Joseph Myers <joseph@codesourcery.com>
28241
28242 [BZ #17748]
28243 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
28244 __fesetenv instead of fesetenv.
28245
28246 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28247
28248 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
28249 macro.
28250
28251 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28252
28253 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
28254 regression on LE.
28255
28256 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
28257 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
28258 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28259 strncmp-power8 object.
28260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28261 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
28262 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
28263 * NEWS: Update.
28264
28265 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28266 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28267
28268 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
28269 trailing byte check.
28270
28271 2015-01-13 David S. Miller <davem@davemloft.net>
28272
28273 * include/signal.h (__sigreturn): Guard with __USE_MISC.
28274
28275 2015-01-13 Roland McGrath <roland@hack.frob.com>
28276
28277 * login/logout.c (logout): Use memset rather than bzero.
28278 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
28279 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
28280 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
28281 (_gethtbyaddr): Likewise.
28282 * locale/programs/simple-hash.c (bcopy): Macro removed.
28283
28284 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28285
28286 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28287 Add strcmp-power8 object.
28288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28289 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
28290 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
28291 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
28292 __strcmp_power8 implementation.
28293 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
28294 * NEWS: Update.
28295
28296 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28297 Add strncpy-power8 and stpncpy-power8 objects.
28298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28299 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
28300 implementations.
28301 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
28302 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
28303 __stpncpy_power8 implementation.
28304 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
28305 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
28306 __strncpy_power8 implementation.
28307 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
28308 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
28309 * NEWS: Update.
28310
28311 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
28312 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
28313 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
28314
28315 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28316 strncat-power8 object.
28317 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
28318 __strcat_power8 implementation.
28319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28320 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
28321 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
28322 optimized strcat for power8.
28323
28324 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28325 strcpy-power8 and stpcpy-power8 objects.
28326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28327 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
28328 implementations.
28329 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
28330 multiarch stpcpy implementation for POWER8.
28331 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
28332 multiarch strcpy implementation for POWER8.
28333 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
28334 __strcpy_power8 function.
28335 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
28336 stpcpy for POWER8.
28337 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
28338 strcpy for POWER8.
28339 * NEWS: Update.
28340
28341 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
28342
28343 [BZ #16009]
28344 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
28345 weights and rules. Use do_xfrm_cached if data fits in cache,
28346 do_xfrm otherwise. Moved former main loop to...
28347 * (do_xfrm_cached): New function.
28348 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
28349 find_idx, find_position and stack_push.
28350 * (find_idx): New function.
28351 * (find_position): Likewise.
28352 * localedata/sort-test.sh: Added test run for do_xfrm.
28353 * localedata/xfrm-test.c (main): Added command line option
28354 -nocache to run the test with strings that are too large for
28355 the STRXFRM cache.
28356
28357 2015-01-13 Torvald Riegel <triegel@redhat.com>
28358
28359 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
28360 variable to lll_futex_wake call, not the value itself.
28361
28362 2015-01-12 Joseph Myers <joseph@codesourcery.com>
28363
28364 [BZ #17803]
28365 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
28366 twom64. Adjust value to 0x1p-64L.
28367 (__scalblnl): Only return standard underflowing result for K <=
28368 -64 not K <= -63; adjust exponent for underflowing result by 64
28369 not 63.
28370 * math/libm-test.inc (scalbn_test_data): Add more tests.
28371 (scalbln_test_data): Likewise.
28372
28373 [BZ #17834]
28374 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
28375 0x1p63L.
28376 (__scalblnl): Get new exponent of adjusted subnormal value from ES
28377 not HX.
28378 * math/libm-test.inc (scalbn_test_data): Add more tests.
28379 (scalbln_test_data): Likewise.
28380
28381 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28382 Stefani Seibold <stefani@seibold.net>
28383
28384 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
28385 (sysdep_routines): Add dl-vdso here, ...
28386 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
28387 (sysdep_routines): ... not here.
28388 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
28389 fallback when vDSO is not presented.
28390 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28391 Define with libc_hidden_proto/libc_hidden_data_def definitions.
28392 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
28393 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
28394 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
28395 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
28396 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
28397 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
28398 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
28399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
28400 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
28401 fallback configurable symbol when vDSO is not available.
28402 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
28403 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
28404 be able to redefine fallback symbol when vDSO is not available.
28405 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
28406 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
28407
28408 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28409
28410 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
28411 (TLS_INIT_TP): Add tm_capable initialization.
28412 (TLS_DEFINE_INIT_TP): Likewise.
28413 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
28414 TCB.
28415 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
28416 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
28417 calculation.
28418 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
28419 transactoion is lock elision is built and TCB tm_capable is set.
28420 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
28421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28422 (INTERNAL_SYSCALL_NCS): Likewise.
28423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28424 (INTERNAL_SYSCALL_NCS): Likewise.
28425 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
28426
28427 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
28428 for powerpc.
28429 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28430 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
28431 and remove it for 32 bits case.
28432 [pthread_rwlock_t] (__rwelision): New field for lock elision.
28433 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
28434 initialization.
28435 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
28436 Disable lock elision with rdlocks if elision is not available.
28437
28438 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
28439 (sysdep_routines): Add lock elision objects.
28440 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28441 [pthread_mutex_t] (__spins): Rework to add lock elision field.
28442 [pthread_mutex_t] (__elision): Add field.
28443 [__PTHREAD_SPINS]: Adjust to init lock elision field.
28444 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
28445 elision definitions for powerpc.
28446 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
28447 implementation of lock elision for powerpc.
28448 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
28449 implementation of timed lock elision for powerpc.
28450 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
28451 implementation of trylock with lock elision for powerpc.
28452 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
28453 implementaion of unlock for lock elision for powerpc.
28454 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
28455 automatic enable lock elision for mutexes.
28456 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
28457 transaction execution definitions for powerpc.
28458 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
28459 definitions.
28460 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
28461 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
28462 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
28463 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
28464 * NEWS: Update.
28465
28466 2015-01-09 Roland McGrath <roland@hack.frob.com>
28467
28468 * sysdeps/posix/shm-directory.c: Use <> rather than ""
28469 for #include of <shm-directory.h>.
28470
28471 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
28472
28473 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
28474 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
28475
28476 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
28477
28478 [BZ #17791]
28479 * NEWS: Mention bug fix.
28480 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
28481 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
28482 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
28483
28484 2015-01-09 Torvald Riegel <triegel@redhat.com>
28485
28486 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
28487
28488 2015-01-09 Torvald Riegel <triegel@redhat.com>
28489
28490 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
28491
28492 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
28493
28494 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
28495 pointer and cast to uintptr_t.
28496
28497 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
28498
28499 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
28500 removed.
28501 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
28502
28503 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
28504
28505 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
28506 of 0.
28507
28508 2015-01-08 Roland McGrath <roland@hack.frob.com>
28509
28510 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
28511 <nptl/pthreadP.h> instead.
28512 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
28513
28514 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
28515 already defined.
28516 [__SIGRTMIN] (init): Function removed.
28517 [__SIGRTMIN] (initialized): Variable removed.
28518 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
28519 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
28520 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
28521 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
28522 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
28523 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28524 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
28525 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
28526 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
28527 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
28528 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
28529 * sysdeps/nptl/allocrtsig.c: New file.
28530 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
28531 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
28532 * sysdeps/generic/testrtsig.h: File removed.
28533
28534 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
28535 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
28536
28537 * nptl/nptl-init.c (pthread_functions): Conditionalize
28538 .ptr__nptl_setxid initialization on [SIGSETXID].
28539
28540 * sysdeps/nptl/sys/procfs.h: New file.
28541 * nptl_db/Makefile (headers): Add it.
28542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
28543
28544 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
28545 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
28546 * nptl/pthread_attr_setaffinity.c: Include it.
28547 * nptl/pthread_setattr_default_np.c: Likewise.
28548 * nptl/check-cpuset.h: New file.
28549
28550 2015-01-08 Richard Henderson <rth@redhat.com>
28551
28552 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
28553 (CFLAGS-tst-execstack-prog.c): Likewise.
28554 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
28555
28556 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
28557 Sandra Loosemore <sandra@codesourcery.com>
28558 Andrew Jenner <andrew@codesourcery.com>
28559 Joseph Myers <joseph@codesourcery.com>
28560 Nathan Sidwell <nathan@codesourcery.com>
28561
28562 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
28563 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
28564 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28565 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
28566 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
28567 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
28568 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
28569 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
28570 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
28571 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
28572 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
28573 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
28574 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
28575 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
28576 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28577 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28578 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28579
28580 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28581
28582 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28583 timespec struct member in syscall macro.
28584 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28585 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28586 first timeval struct member in syscall macro.
28587 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28588
28589 2015-01-07 Joseph Myers <joseph@codesourcery.com>
28590
28591 [BZ #17748]
28592 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28593 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28594 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28595 __feupdateenv and define as weak alias of __feupdateenv. Use
28596 libm_hidden_weak.
28597 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28598 libm_hidden_def.
28599 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28600 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
28601 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28602 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28603 libm_hidden_def.
28604 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28605 __feupdateenv and define as weak alias of __feupdateenv. Use
28606 libm_hidden_weak.
28607 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28608 libm_hidden_def.
28609 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28610 __feupdateenv and define as weak alias of __feupdateenv. Use
28611 libm_hidden_weak.
28612 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28613 libm_hidden_def.
28614 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28615 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28616 (__feupdateenv): Likewise.
28617 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28618 __feupdateenv and define as weak alias of __feupdateenv. Use
28619 libm_hidden_weak.
28620 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28621 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28622 libm_hidden_def.
28623 * sysdeps/tile/math_private.h (__feupdateenv): New inline
28624 function.
28625 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28626 libm_hidden_def.
28627 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28628 __feupdateenv instead of feupdateenv.
28629 (default_libc_feupdateenv_test): Likewise.
28630 (libc_feresetround_ctx): Likewise.
28631
28632 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28633
28634 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28635 prototype.
28636
28637 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
28638
28639 * posix/regcomp.c (parse_bracket_exp): Initialize type to
28640 COLL_SYM in a couple of places to avoid uninitialized variable
28641 wanings on tilegx gcc 4.8.2.
28642
28643 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
28644
28645 * sysdeps/aarch64/strcpy.S: New file.
28646 * sysdeps/aarch64/stpcpy.S: New file.
28647 * NEWS: Updated.
28648
28649 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
28650
28651 * sysdeps/aarch64/strrchr.S: New file.
28652 * NEWS: Updated.
28653
28654 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
28655
28656 [BZ #17658]
28657 * stdlib/setenv.c: Fix memory leak when setting large,
28658 duplicate string.
28659
28660 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
28661
28662 [BZ #17273]
28663 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28664 and tabs from buffer before parsing fstab entry.
28665 * misc/tst-mntent.c (main): Add test for mount entry with
28666 trailing spaces and tabs.
28667
28668 2015-01-06 Joseph Myers <joseph@codesourcery.com>
28669
28670 [BZ #17748]
28671 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
28672 * math/fesetround.c (fesetround): Rename to __fesetround and
28673 define as weak alias of __fesetround. Use libm_hidden_weak.
28674 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28675 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28676 * sysdeps/arm/fesetround.c (fesetround): Likewise.
28677 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28678 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28679 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28680 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28681 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28682 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28683 __fesetround_inline.
28684 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28685 __fesetround_inline instead of __fesetround.
28686 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28687 __fesetround and define as weak alias of __fesetround. Use
28688 libm_hidden_weak. Call __fesetround_inline instead of
28689 __fesetround.
28690 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28691 __fesetround and define as weak alias of __fesetround. Use
28692 libm_hidden_weak.
28693 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28694 Likewise.
28695 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28696 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28697 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28698 * sysdeps/tile/math_private.h (__fesetround): New inline function.
28699 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28700 __fesetround and define as weak alias of __fesetround. Use
28701 libm_hidden_weak.
28702 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28703 __fesetround instead of fesetround.
28704 (default_libc_feholdexcept_setround): Likewise.
28705 (libc_feholdsetround_ctx): Likewise.
28706 (libc_feholdsetround_noex_ctx): Likewise.
28707
28708 [BZ #17748]
28709 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28710 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28711 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28712 and define as weak alias of __fesetenv. Use libm_hidden_weak.
28713 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28714 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28715 define as weak alias of __fesetenv. Use libm_hidden_weak.
28716 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28717 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28718 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28719 define as weak alias of __fesetenv. Use libm_hidden_weak.
28720 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28721 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28722 define as weak alias of __fesetenv. Use libm_hidden_weak.
28723 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28724 libm_hidden_def.
28725 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28726 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28727 Likewise.
28728 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28729 define as weak alias of __fesetenv. Use libm_hidden_weak.
28730 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28731 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28732 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28733 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28734 and define as weak alias of __fesetenv. Use libm_hidden_weak.
28735 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28736 __fesetenv instead of fesetenv.
28737 (libc_feresetround_noex_ctx): Likewise.
28738 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28739 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28740 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28741 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28742 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28743 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28744 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28745 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28746 (__feupdateenv): Likewise.
28747 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28748 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28749 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28750 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28751
28752 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
28753
28754 [BZ #17806]
28755 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28756 addresses have been freed.
28757
28758 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
28759
28760 * resolv/res_init.c (__res_vinit): Improve comments about nserv
28761 and nservall.
28762
28763 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
28764
28765 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28766 Clean up check_pf allocation pattern. addresses
28767
28768 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28769
28770 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28771 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28772 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28773 * nptl/pthread_exit.c (__pthread_exit): Likewise.
28774 * nptl/pthread_join.c (pthread_join): Likewise.
28775 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28776 * sysdeps/posix/waitid.c (__waitid): Likewise.
28777 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28778 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28779 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28780 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28781 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28782 Likewise.
28783 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28784 (__libc_pread64): Likewise.
28785 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28786 (__libc_pwrite): Likewise.
28787 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28788 (__libc_pwrite64): Likewsie.
28789 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28790 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28791 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28792 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28793 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28794 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28795 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28797 Likewise.
28798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28799 (__libc_pread64): Likewise.
28800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28801 Likewise.
28802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28803 (__libc_pwrite64): Likewise.
28804 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28805 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28806 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28807 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28808 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28809 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28810 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28811 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28812 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28813 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28814 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28815 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28816 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28817 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28818 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28819 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28820 Likewise.
28821
28822 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
28823
28824 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28825 (CFLAGS-test-double.c): Likewise.
28826 (CFLAGS-test-ldouble.c): Likewise.
28827 (CPPFLAGS-test-ifloat.c): Likewise.
28828 (CPPFLAGS-test-idouble.c): Likewise.
28829 (CPPFLAGS-test-ildoubl.c): Likewise.
28830 (CFLAGS-test-test-fenv.c): Remove variable.
28831 (CFLAGS-test-misc.c): Likewise.
28832
28833 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
28834
28835 [BZ #17797]
28836 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28837 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28838 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28839 CLOCKS_PER_SEC == 1000000.
28840 * time/clocktest.c (main): Replace %ld with %jd and cast to
28841 intmax_t.
28842
28843 2015-01-05 Roland McGrath <roland@hack.frob.com>
28844
28845 * sysdeps/generic/unwind-resume.h: New file.
28846 * sysdeps/gnu/unwind-resume.c: Include it.
28847 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28848 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28849 argument list.
28850 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28851 global rather than static.
28852 (_Unwind_Resume): Update user.
28853 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28854 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
28855 rather than static. Add __attribute__ ((cold)).
28856 (_Unwind_Resume, __gcc_personality_v0): Update callers.
28857 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28858 * sysdeps/arm/arm-unwind-resume.S: New file.
28859 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28860 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28861 * sysdeps/arm/Makefile [$(subdir) = csu]
28862 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28863 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28864 Add rt-arm-unwind-resume.
28865 [$(subdir) = nptl]
28866 (libpthread-sysdep_routines, libpthread-shared-only-routines):
28867 Add pt-arm-unwind-resume.
28868 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28869 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28870
28871 2015-01-05 Joseph Myers <joseph@codesourcery.com>
28872
28873 [BZ #17748]
28874 * include/fenv.h (__feholdexcept): Declare. Use
28875 libm_hidden_proto.
28876 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28877 define as weak alias of __feholdexcept. Use libm_hidden_weak.
28878 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28879 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28880 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28881 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28882 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28883 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28884 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28885 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28886 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28887 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28888 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28889 (feholdexcept): Likewise.
28890 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28891 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28892 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28893 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28894 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28895 __feholdexcept instead of feholdexcept.
28896 (default_libc_feholdexcept_setround): Likewise.
28897
28898 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
28899
28900 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28901 to avoid using stl/str to align destination.
28902
28903 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
28904
28905 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28906
28907 2015-01-05 Joseph Myers <joseph@codesourcery.com>
28908
28909 [BZ #17796]
28910 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28911 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28912 Define as weak alias not strong alias.
28913
28914 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
28915
28916 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28917 bltzal with addiupc.
28918 (RTLD_START): Ditto.
28919
28920 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
28921
28922 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28923 for __vdso_* functions in declarations.
28924 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28925 definitions.
28926 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28927 INTERNAL_VSYSCALL): Use struct return types to check for error.
28928
28929 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28930 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28931 function with cast from llround().
28932 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28933 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28934 Define.
28935
28936 2015-01-05 Joseph Myers <joseph@codesourcery.com>
28937
28938 [BZ #17793]
28939 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28940 Define as weak alias not strong alias.
28941
28942 [BZ #17635]
28943 * ctype/ctype-c99.c: New file. isblank implementation moved from
28944 ...
28945 * ctype/ctype-extn.c: ... here.
28946 (__isblank_l): Move to ...
28947 * ctype/ctype-c99_l.c: ... here. New file.
28948 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28949 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28950 Remove variable.
28951 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28952 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28953 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28954 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28955 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28956
28957 [BZ #17777]
28958 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28959 (posix_fadvise64): Define as weak alias not strong alias.
28960 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28961 (posix_fallocate64): Likewise.
28962 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28963 Remove variable.
28964 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28965 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28966 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28967 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28968 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28969
28970 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
28971
28972 [BZ #16191]
28973 * NEWS: Mention bug fix.
28974 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28975 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28976 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28977 (HOST_STACK_END_ADDR): Likewise.
28978
28979 2015-01-02 Joseph Myers <joseph@codesourcery.com>
28980
28981 [BZ #17748]
28982 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
28983 * math/fegetround.c (fegetround): Rename to __fegetround and
28984 define as weak alias of __fegetround. Use libm_hidden_weak.
28985 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28986 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28987 * sysdeps/arm/fegetround.c (fegetround): Likewise.
28988 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28989 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28990 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28991 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28992 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28993 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28994 Undefine after rather than before function definition; use
28995 parentheses around function name in definition.
28996 (__fegetround): Also undefine macro after function definition.
28997 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28998 __fegetround and define as weak alias of __fegetround. Use
28999 libm_hidden_weak. Do not undefine as macro.
29000 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29001 Likewise.
29002 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
29003 __fegetround and define as weak alias of __fegetround. Use
29004 libm_hidden_weak.
29005 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29006 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29007 * sysdeps/tile/math_private.h (__fegetround): New inline function.
29008 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
29009 __fegetround and define as weak alias of __fegetround. Use
29010 libm_hidden_weak.
29011 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
29012 __fegetround instead of fegetround.
29013
29014 [BZ #17782]
29015 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
29016 Condition macro definition on [__USE_MISC].
29017
29018 [BZ #17781]
29019 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
29020 (struct sigaction): Change type of sa_flags field to int.
29021
29022 [BZ #17780]
29023 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
29024 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
29025 __glibc_reserved0.
29026
29027 * nptl/version.c (banner): Use single year in copyright notice.
29028
29029 * NEWS: Update copyright dates.
29030 * catgets/gencat.c (print_version): Likewise.
29031 * csu/version.c (banner): Likewise.
29032 * debug/catchsegv.sh: Likewise.
29033 * debug/pcprofiledump.c (print_version): Likewise.
29034 * debug/xtrace.sh (do_version): Likewise.
29035 * elf/ldconfig.c (print_version): Likewise.
29036 * elf/ldd.bash.in: Likewise.
29037 * elf/pldd.c (print_version): Likewise.
29038 * elf/sotruss.sh: Likewise.
29039 * elf/sprof.c (print_version): Likewise.
29040 * iconv/iconv_prog.c (print_version): Likewise.
29041 * iconv/iconvconfig.c (print_version): Likewise.
29042 * locale/programs/locale.c (print_version): Likewise.
29043 * locale/programs/localedef.c (print_version): Likewise.
29044 * login/programs/pt_chown.c (print_version): Likewise.
29045 * malloc/memusage.sh (do_version): Likewise.
29046 * malloc/memusagestat.c (print_version): Likewise.
29047 * malloc/mtrace.pl: Likewise.
29048 * manual/libc.texinfo: Likewise.
29049 * nptl/version.c (banner): Likewise.
29050 * nscd/nscd.c (print_version): Likewise.
29051 * nss/getent.c (print_version): Likewise.
29052 * nss/makedb.c (print_version): Likewise.
29053 * posix/getconf.c (main): Likewise.
29054 * scripts/test-installation.pl: Likewise.
29055 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
29056
29057 2015-01-02 Will Newton <will.newton@linaro.org>
29058
29059 * sysdeps/arm/armv7/configure: Removed.
29060 * sysdeps/arm/armv7/configure.ac: Likewise.
29061
29062 2015-01-02 Joseph Myers <joseph@codesourcery.com>
29063
29064 * All files with FSF copyright notices: Update copyright dates
29065 using scripts/update-copyrights.
29066 * intl/plural.c: Regenerated.
29067 * locale/programs/charmap-kw.h: Likewise.
29068 * locale/programs/locfile-kw.h: Likewise.
29069
29070 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29071
29072 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
29073
29074 2014-12-31 Joseph Myers <joseph@codesourcery.com>
29075
29076 [BZ #17748]
29077 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
29078 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
29079 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
29080 and define as weak alias of __fegetenv. Use libm_hidden_weak.
29081 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29082 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
29083 define as weak alias of __fegetenv. Use libm_hidden_weak.
29084 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
29085 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29086 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29087 define as weak alias of __fegetenv. Use libm_hidden_weak.
29088 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29089 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29090 define as weak alias of __fegetenv. Use libm_hidden_weak.
29091 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
29092 libm_hidden_def.
29093 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
29094 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
29095 Likewise.
29096 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29097 define as weak alias of __fegetenv. Use libm_hidden_weak.
29098 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29099 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29100 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
29101 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
29102 and define as weak alias of __fegetenv. Use libm_hidden_weak.
29103 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
29104 __fegetenv instead of fegetenv.
29105 (libc_feholdsetround_noex_ctx): Likewise.
29106
29107 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
29108
29109 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
29110 (Elf_MIPS_ABIFlags_v0): New structure.
29111 (EF_MIPS_FP64): Define.
29112 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
29113 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
29114 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
29115 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
29116 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
29117 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
29118 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
29119 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
29120 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
29121 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
29122 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
29123 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
29124 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
29125 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
29126 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
29127 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
29128 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
29129 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
29130 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
29131 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
29132 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
29133 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
29134 field.
29135 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
29136 EF_MIPS_FP64.
29137 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
29138 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
29139 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
29140 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
29141 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
29142 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
29143 * sysdeps/mips/tst-abi-interlink.c: Likewise.
29144 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
29145 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
29146 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
29147 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
29148 record the current FP ABI extension.
29149 (mips-mode-switch): Define to show if kernel headers support mode
29150 switching.
29151 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
29152 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
29153 supported SYSV ABI version to 3.
29154 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
29155 feature.
29156
29157 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29158 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29159
29160 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
29161 path.
29162 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
29163
29164 2014-12-31 Joseph Myers <joseph@codesourcery.com>
29165
29166 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
29167 __fegetround and redefine to call __fegetround. Remove condition
29168 on [!__NO_MATH_INLINES].
29169 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
29170 function.
29171 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
29172 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29173 Remove macro.
29174 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
29175 instead of <fenv_libc.h>.
29176 (__llrintl): Call fegetround instead of __fegetround.
29177 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
29178 instead of <fenv_libc.h>.
29179 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29180 (__lrintl): Call fegetround instead of __fegetround.
29181 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
29182 instead of <fenv_libc.h>.
29183 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29184 (__rintl): Call fegetround instead of __fegetround.
29185
29186 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29187
29188 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
29189 arrays.
29190
29191 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
29192
29193 [BZ #17775]
29194 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
29195 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
29196 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
29197
29198 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
29199
29200 * sysdeps/i386/tls-macros.h: Include <features.h>.
29201 (TLS_LE): Use non-PIC version for GCC >= 5.0.
29202 (TLS_IE): Likewise.
29203 (TLS_LD): Likewise.
29204 (TLS_GD): Likewise.
29205 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
29206 define for GCC >= 5.0.
29207
29208 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
29209
29210 * math/test-fenv.c (test_single_exception, set_single_exc,
29211 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
29212 feexcp_mask_test, feenable_test, fe_single_test): Add
29213 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
29214 case where they are not used.
29215 * math/libm-test.inc: Likewise.
29216 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
29217 unused in the absence of FP rounding/exception support.
29218 * stdio-common/tst-printf-round.c: Likewise.
29219 * stdlib/tst-strtod-round.c: Likewise.
29220 * stdlib/tst-strtod-underflow.c: Likewise.
29221
29222 2014-12-30 Joseph Myers <joseph@codesourcery.com>
29223
29224 [BZ #17723]
29225 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
29226 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
29227 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29228 __feraiseexcept and define as weak alias of __feraiseexcept. Use
29229 libm_hidden_weak.
29230 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
29231 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
29232 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
29233 libm_hidden_def.
29234 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29235 __feraiseexcept and define as weak alias of __feraiseexcept. Use
29236 libm_hidden_weak.
29237 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
29238 Likewise.
29239 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
29240 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29241 __feraiseexcept and define as weak alias of __feraiseexcept. Use
29242 libm_hidden_weak.
29243 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
29244 libm_hidden_def.
29245 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29246 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
29247 (__feraiseexcept): Likewise.
29248 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29249 __feraiseexcept and define as weak alias of __feraiseexcept. Use
29250 libm_hidden_weak.
29251 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
29252 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
29253 libm_hidden_def.
29254 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
29255 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
29256 Use libm_hidden_def.
29257 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
29258 libm_hidden_def.
29259 (feraiseexcept): Define as weak not strong alias. Use
29260 libm_hidden_weak.
29261 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
29262 New inline function. Factored out of ...
29263 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
29264 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
29265 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
29266 feraiseexcept.
29267 * math/w_acos.c (__acos): Likewise.
29268 * math/w_asin.c (__asin): Likewise.
29269 * math/w_ilogb.c (__ilogb): Likewise.
29270 * math/w_j0.c (y0): Likewise.
29271 * math/w_j1.c (y1): Likewise.
29272 * math/w_jn.c (yn): Likewise.
29273 * math/w_log.c (__log): Likewise.
29274 * math/w_log10.c (__log10): Likewise.
29275 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
29276 * sysdeps/aarch64/fpu/math_private.h
29277 (libc_feupdateenv_test_aarch64): Likewise.
29278 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29279 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
29280 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
29281 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29282 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29283 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29284 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
29285 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29286 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29287 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29288
29289 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
29290
29291 [BZ #17732]
29292 * io/test-utime.c (main): Replace %ld with %jd and cast to
29293 intmax_t.
29294 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
29295 * nptl/tst-mutex5.c: Include <stdint.h>.
29296 (do_test): Replace %ld with %jd and cast to intmax_t.
29297 * posix/tst-regex.c (run_test): Likewise.
29298 (run_test_backwards): Likewise.
29299 * rt/tst-clock.c: Include <stdint.h>.
29300 (clock_test): Replace %ld with %jd and cast to intmax_t.
29301 * rt/tst-cpuclock1.c: Include <stdint.h>.
29302 (do_test): Replace %lu with %ju and cast to uintmax_t.
29303 * rt/tst-cpuclock2.c: Include <stdint.h>.
29304 (do_test): Replace %lu with %ju and cast to uintmax_t.
29305 * rt/tst-mqueue1.c: Include <stdint.h>.
29306 (check_attrs): Replace %ld with %jd and cast to intmax_t.
29307 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
29308 intmax_t.
29309 * rt/tst-mqueue4.c (do_test): Likewise.
29310 * rt/tst-timer4.c: Include <stdint.h>.
29311 (check_ts): Replace %ld with %jd and cast to intmax_t.
29312 (do_test): Likewise.
29313 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
29314 and cast to intmax_t.
29315 * sysdeps/pthread/tst-timer.c (main): Likewise.
29316 * time/clocktest.c (main): Likewise.
29317 * time/tst-posixtz.c (do_test): Likewise.
29318 * timezone/tst-timezone.c (main): Likewise.
29319
29320 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
29321 H.J. Lu <hongjiu.lu@intel.com>
29322
29323 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
29324 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
29325 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
29326 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
29327 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
29328 version if bit_Fast_Unaligned_Load is set.
29329 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29330 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29331 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29332 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29333 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29334 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29336 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
29337 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
29338 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
29339 to 4.
29340 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
29341 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
29342 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
29343 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
29344
29345 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
29346
29347 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
29348 instead of #if to avoid a Wundef warning.
29349 * stdlib/tst-limits.c (do_test): Likewise.
29350
29351 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
29352 parallel other exception macros.
29353 (fegetenv): Convert from macro to extern inline so that it applies
29354 retroactively to inline functions already seen by the compiler.
29355 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
29356
29357 * posix/Makefile (before-compile): Use $(objpfx) for
29358 posix-conf-vars-def.h.
29359
29360 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29361
29362 * posix/getconf.c (main): Use size_t for type of I.
29363 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
29364 NSPEC.
29365
29366 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
29367 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
29368 * posix/posix-envs.def: Likewise.
29369 * sysdeps/posix/sysconf.c: Likewise.
29370 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
29371 (specs): Remove array.
29372 * scripts/gen-posix-conf-vars.awk: Support generation of specs
29373 array.
29374
29375 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
29376 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
29377 (__sysconf): Use CONF_IS_* macros.
29378
29379 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
29380 ($(objpfx)posix-conf-vars-def.h): New target.
29381 * posix/posix-conf-vars.list: New file.
29382 * posix/posix-conf-vars.h: New file.
29383 * posix/confstr.c: Include posix-conf-vars.h.
29384 (confstr): Use CONF_IS_* macros.
29385 * posix/posix-envs.def: Include posix-conf-vars.h. Use
29386 CONF_IS_* macros.
29387 * scripts/gen-posix-conf-vars.awk: New file.
29388
29389 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
29390
29391 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
29392 fegetround): Add no-op macros to avoid linknamespace issues.
29393
29394 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
29395 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
29396
29397 * sysdeps/unix/sysv/linux/tile/sysdep.h
29398 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
29399 assembly-specific section to avoid a redefinition warning.
29400
29401 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
29402 long before casting to pointer to avoid a cast warning.
29403
29404 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
29405
29406 * sysdeps/tile/tilegx/Implies: New file.
29407
29408 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
29409
29410 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
29411
29412 2014-12-23 Florian Weimer <fweimer@redhat.com>
29413
29414 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
29415
29416 2014-12-22 Joseph Myers <joseph@codesourcery.com>
29417
29418 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
29419 not define.
29420 * sysdeps/unix/sysv/linux/utimes.c: Do not include
29421 <kernel-features.h>.
29422 (__utimes) [__NR_utimes]: Make code unconditional.
29423 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
29424 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29425 (__ASSUME_UTIMES): Do not undefine.
29426 * sysdeps/unix/sysv/linux/tile/kernel-features.h
29427 (__ASSUME_UTIMES): Likewise.
29428 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29429 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
29430 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
29431 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
29432
29433 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
29434
29435 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
29436
29437 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
29438
29439 [BZ #17747]
29440 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
29441 alias to weak alias for j0l, y0l.
29442 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
29443 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
29444
29445 [BZ #17746]
29446 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
29447 conversion.
29448
29449 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
29450
29451 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
29452 to zero if not already defined.
29453
29454 2014-12-22 Joseph Myers <joseph@codesourcery.com>
29455
29456 [BZ #17724]
29457 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
29458 (__kernel_standard_f): Remove. Moved to k_standardf.c.
29459 (__kernel_standard_l): Remove. Moved to k_standardl.c with
29460 (char *) casts added.
29461 * sysdeps/ieee754/k_standardf.c: New file.
29462 * sysdeps/ieee754/k_standardl.c: Likewise.
29463 * math/Makefile (libm-support): Remove k_standard.
29464 (libm-calls): Add k_standard.
29465
29466 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
29467
29468 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29469 Optimize to avoid an unnecessary FPCR read.
29470
29471 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
29472
29473 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29474 Optimize to reduce FPCR/FPSR accesses.
29475
29476 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
29477
29478 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
29479 Call libc_fetestexcept_aarch64.
29480
29481 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
29482
29483 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
29484 Call libc_fesetround_aarch64.
29485
29486 2014-12-22 Joseph Myers <joseph@codesourcery.com>
29487
29488 [BZ #17733]
29489 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
29490 (__bind): Do not define as weak alias.
29491 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
29492 define.
29493 (__getsockname): Do not define as weak alias.
29494
29495 2014-12-22 Will Newton <will.newton@linaro.org>
29496
29497 * manual/install.texi: Document that we require bison 2.7
29498 or above.
29499 * INSTALL: Regenerate.
29500 * configure.ac: Use AC_CHECK_PROG_VER instead of
29501 AC_PATH_PROG when checking for bison and check for
29502 version 2.7 or above.
29503 * configure: Regenerate.
29504
29505 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
29506
29507 [BZ #17745]
29508 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
29509 * sysdeps/tile/ffsll.c (ffsll): To here.
29510
29511 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
29512
29513 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
29514
29515 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
29516 if not defined.
29517 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
29518 definition.
29519 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29520 hidden ___tls_get_addr.
29521 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29522 hidden __tls_get_addr.
29523 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
29524 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
29525 Likewise.
29526
29527 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
29528
29529 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
29530 _dl_init call.
29531
29532 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
29533
29534 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
29535 from "call _dl_init@PLT".
29536 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
29537
29538 2014-12-21 Anders Kaseorg <andersk@mit.edu>
29539
29540 * manual/search.texi: (Array Sort Function): Clarify stable sorting
29541 guarantees.
29542
29543 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
29544
29545 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
29546
29547 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
29548
29549 [BZ #17744]
29550 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
29551 strnlen.
29552
29553 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
29554
29555 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
29556 of multu on MIPSr6.
29557 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
29558 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
29559 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
29560 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
29561 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
29562
29563 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
29564
29565 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
29566 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
29567 (PTR_SUBU): Use subu for mips32r6/mips64r6.
29568 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
29569 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
29570 mips32r6/mips64r6.
29571 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
29572
29573 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
29574
29575 * string/strncat.c (STRNCAT): Simplify implementation.
29576
29577 2014-12-19 David S. Miller <davem@davemloft.net>
29578
29579 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29580 access the quad as both a long double and as a series of 4 words.
29581
29582 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29583 link_map->l_info array access.
29584
29585 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
29586
29587 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29588
29589 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29590 * math/atest-exp2.c (TIMEOUT): Likewise.
29591 * math/atest-sincos.c (TIMEOUT): Likewise.
29592
29593 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
29594
29595 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29596 -Wno-error with -fno-builtin-lround.
29597
29598 2014-12-19 Torvald Riegel <triegel@redhat.com>
29599
29600 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29601 Contains futex constants and functions moved over from ...
29602 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
29603 <lowlevellock-futex.h>.
29604 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29605 (lll_timedwait_tid): Add comments and parentheses around macro
29606 arguments.
29607
29608 2014-12-19 Torvald Riegel <triegel@redhat.com>
29609
29610 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29611 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
29612 (__lll_private_flag): Remove.
29613 (lll_futex_wait): Likewise.
29614 (lll_futex_timed_wait): Likewise.
29615 (lll_futex_wake): Likewise.
29616 (lll_futex_requeue): Likewise.
29617 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29618 (__lll_timedwait_tid): Spell out argument names.
29619 (lll_timedwait_tid): Add comments and parentheses around macro
29620 arguments.
29621 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29622 LLL_SHARED and LLL_PRIVATE usable from assembly code.
29623
29624 2014-12-19 Torvald Riegel <triegel@redhat.com>
29625
29626 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29627 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29628 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29629 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29630 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29631 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29632 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29633 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29634 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29635 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29636 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29637 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29638 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29639 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29640 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29641 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29642 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29643 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29644 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29645
29646 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
29647
29648 * sysdeps/x86_64/x32/Makefile: New file.
29649
29650 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
29651
29652 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29653 1L with (mp_limb_t) 1.
29654
29655 2014-12-17 Roland McGrath <roland@hack.frob.com>
29656
29657 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29658 * nptl/libc_pthread_init.c: ... here.
29659 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29660 * nptl/register-atfork.c: ... here.
29661
29662 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29663 Use pthread_sigmask rather than INTERNAL_SYSCALL.
29664 Use assert_perror to check its return value.
29665 (__gai_create_helper_thread): Likewise.
29666
29667 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29668
29669 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29670
29671 2014-12-17 Joseph Myers <joseph@codesourcery.com>
29672
29673 [BZ #17725]
29674 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29675 __profil_counter.
29676 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29677 Likewise.
29678 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29679 Likewise.
29680 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29681 Likewise.
29682 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29683 (profil_counter): Likewise.
29684 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29685 (profil_counter): Likewise.
29686 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29687 Likewise.
29688 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29689 Likewise.
29690 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29691 (profil_counter): Likewise.
29692 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29693 Likewise.
29694 [!__profil_counter] (profil_counter): Define as weak alias of
29695 __profil_counter.
29696 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29697 (profil_counter): Rename to __profil_counter.
29698 [!__profil_counter] (profil_counter): Define as weak alias of
29699 __profil_counter.
29700 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29701 (profil_counter): Rename to __profil_counter.
29702 [!__profil_counter] (profil_counter): Define as weak alias of
29703 __profil_counter.
29704 * sysdeps/posix/profil.c: Update comment referring to
29705 profil_counter.
29706 (__profil): Use __profil_counter instead of profil_counter.
29707 * sysdeps/posix/sprofil.c (profil_counter): Rename to
29708 __profil_counter. Use __profil_counter_ushort and
29709 __profil_counter_uint in definitions.
29710 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29711 instead of profil_counter_uint and profil_counter_ushort.
29712
29713 [BZ #17722]
29714 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29715 define as weak alias of __inet_makeaddr.
29716 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29717 as weak alias of __inet_addr.
29718 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29719 as weak alias of __inet_pton. Use libc_hidden_weak.
29720 * include/arpa/inet.h (__inet_pton): Declare. Use
29721 libc_hidden_proto.
29722 (inet_makeaddr): Don't use libc_hidden_proto.
29723 (__inet_makeaddr): Declare. Use libc_hidden_proto.
29724 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29725 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
29726 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29727 Remove variable.
29728 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29729 (test-xfail-POSIX/time.h/linknamespace): Likewise.
29730
29731 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
29732
29733 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29734
29735 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
29736
29737 * stdio-common/bug-vfprintf-nargs.c (do_test):
29738 Cast value to intptr_t to avoid format warning
29739 for usage with PRIdPTR printing macro.
29740
29741 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
29742
29743 * libio/tst-widetext.c (do_test):
29744 Use format type %td instead of %Zd for ptrdiff_t
29745 in order to avoid format warning.
29746
29747 2014-12-17 Andreas Schwab <schwab@suse.de>
29748
29749 * nscd/mem.c (gc): Add size_t cast to match printf format.
29750
29751 2014-12-16 Roland McGrath <roland@hack.frob.com>
29752
29753 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29754 (init): Apply PTR_MANGLE to pointers before storing them.
29755 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29756 before using them.
29757
29758 2014-12-16 Joseph Myers <joseph@codesourcery.com>
29759
29760 [BZ #17719]
29761 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29762 define as weak alias of __memrchr.
29763 (__memrchr): Do not define as strong alias of memrchr.
29764 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29765 Remove variable.
29766 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29767 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29768 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29769
29770 [BZ #17717]
29771 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29772 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
29773 (if_indextoname): Rename to __if_indextoname and define as weak
29774 alias of __if_indextoname. Use libc_hidden_weak.
29775 (if_freenameindex): Rename to __if_freenameindex and define as
29776 weak alias of __if_freenameindex.
29777 (if_nameindex): Rename to __if_nameindex and define as weak alias
29778 of __if_nameindex.
29779 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29780 __if_nametoindex and define as weak alias of __if_nametoindex.
29781 Use libc_hidden_weak.
29782 (if_freenameindex): Rename to __if_freenameindex and define as
29783 weak alias of __if_freenameindex.
29784 (if_nameindex): Rename to __if_nameindex and define as weak alias
29785 of __if_nameindex.
29786 (if_indextoname): Rename to __if_indextoname and define as weak
29787 alias of __if_indextoname. Use libc_hidden_weak.
29788 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29789 __if_nametoindex and define as weak alias of __if_nametoindex.
29790 Use libc_hidden_weak.
29791 (if_freenameindex): Rename to __if_freenameindex and define as
29792 weak alias of __if_freenameindex. Use libc_hidden_weak.
29793 (if_nameindex_netlink): Use __if_freenameindex instead of
29794 if_freenameindex.
29795 (if_nameindex): Rename to __if_nameindex and define as weak alias
29796 of __if_nameindex. Use libc_hidden_weak.
29797 (if_indextoname): Rename to __if_indextoname and define as weak
29798 alias of __if_indextoname. Use libc_hidden_weak.
29799 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29800 libc_hidden_proto.
29801 [!_ISOMAC] (__if_freenameindex): Likewise.
29802 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29803 if_nametoindex.
29804 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29805 variable.
29806 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29807 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29808 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29809 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29810 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29811 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29812 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29813
29814 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29815 Remove variable.
29816 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29817 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29818
29819 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29820
29821 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29822 subscript above bounds'
29823
29824 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29825 bounds.
29826
29827 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
29828
29829 * libio/tst-fopenloc.c: Use test-skeleton.c.
29830
29831 * stdlib/tst-bsearch.c: Use test-skeleton.c.
29832 (entry): Rename to ITEM.
29833 (do_test, comp): Adjust.
29834
29835 * stdio-common/tst-fseek.c: Use test-skeleton.c.
29836
29837 2014-12-16 Torvald Riegel <triegel@redhat.com>
29838
29839 * string/tester.c: Include <libc-internal.h>.
29840 (test_memset): Ignore -Wmemset-transposed-args.
29841
29842 2014-12-16 Torvald Riegel <triegel@redhat.com>
29843
29844 * misc/tst-mntent2.c (do_test): Fix warning.
29845
29846 2014-12-16 Torvald Riegel <triegel@redhat.com>
29847
29848 * elf/tst-unique4lib.cc(a): Mark as used.
29849
29850 2014-12-16 Florian Weimer <fweimer@redhat.com>
29851
29852 [BZ #17630]
29853 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29854 names.
29855
29856 2014-12-16 Allan McRae <allan@archlinux.org>
29857
29858 * stdio-common/Makefile (tests): Re-add bug26.
29859
29860 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
29861
29862 [BZ #17657]
29863 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29864 static array.
29865
29866 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
29867
29868 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29869 (__lll_lock_wait): Likewise.
29870 (__lll_timedlock_wait): Likewise.
29871 (__lll_timedwait_tid): Likewise.
29872 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29873 (__lll_robust_timedlock_wait): Likewise.
29874 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29875 (lll_cond_trylock): Likewise.
29876 (__lll_lock): Likewise.
29877 (__lll_robust_lock): Likewise.
29878 (__lll_cond_lock): Likewise.
29879 (lll_robust_cond_lock): Likewise.
29880 (__lll_timedlock): Likewise.
29881 (__lll_robust_timedlock): Likewise.
29882 (__lll_unlock): Likewise.
29883 (__lll_robust_unlock): Likewise.
29884 (lll_wait_tid): Likewise.
29885 (lll_timedwait_tid): Likewise.
29886
29887 2014-12-15 Torvald Riegel <triegel@redhat.com>
29888
29889 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29890
29891 2014-12-15 Torvald Riegel <triegel@redhat.com>
29892
29893 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29894
29895 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
29896
29897 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29898 * stdio-common/tst-sprintf.c: Likewise.
29899
29900 2014-12-15 Torvald Riegel <triegel@redhat.com>
29901
29902 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29903
29904 2014-12-15 Jeff Law <law@redhat.com>
29905
29906 [BZ #16617]
29907 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29908 on the heap. (CVE-2012-3406)
29909 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29910 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
29911 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29912
29913 2014-12-15 Will Newton <will.newton@linaro.org>
29914
29915 * manual/install.texi: Bump required version of texinfo
29916 to 4.7 from 4.5.
29917 * INSTALL: Regenerated.
29918 * configure.ac: Check for makeinfo version 4.7 and above.
29919 * configure: Regenerated.
29920
29921 2014-12-12 Roland McGrath <roland@hack.frob.com>
29922
29923 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29924 PREFIX, string constant to insert between directory and name.
29925 * sysdeps/posix/shm_open.c: Update caller.
29926 * sysdeps/posix/shm_unlink.c: Likewise.
29927 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29928 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29929 (SEM_SHM_PREFIX): New macro.
29930 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29931 [$(have-thread-library) = no].
29932 * nptl/Makefile (libpthread-routines): Add shm-directory.
29933 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29934 * sysdeps/nptl/shm-directory.h: New file.
29935 * sysdeps/posix/shm-directory.c
29936 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29937 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29938 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29939 INTERNAL_SYSCALL.
29940 (__where_is_shmfs): Function removed.
29941 (mountpoint, defaultmount, defaultdir, __namedsem_once):
29942 Variables removed.
29943 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29944 Use SHM_GET_NAME.
29945 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
29946
29947 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29948 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29949 unconditional for use inside libpthread.
29950 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29951
29952 2014-12-12 Roland McGrath <roland@hack.frob.com>
29953
29954 * nptl/pthread_getaffinity.c: New file.
29955 * nptl/pthread_setaffinity.c: New file.
29956 * nptl/pthread_getname.c: New file.
29957 * nptl/pthread_setname.c: New file.
29958
29959 * nptl/pthread_create.c (START_THREAD_DEFN)
29960 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29961
29962 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
29963 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29964
29965 * resolv/res_send.c (send_vc): Disable warning resplen may
29966 be used uninitialized.
29967
29968 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
29969
29970 * nptl/tst-mutex6.c
29971 (ATTR_NULL): New define checks ATTR against NULL.
29972 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29973 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29974
29975 2014-12-11 James Lemke <jwlemke@codesourcery.com>
29976
29977 [BZ #17581]
29978 * malloc/hooks.c
29979 (mem2mem_check): Revert my previous change.
29980 (malloc_check_get_size): Revert my previous change.
29981 (mem2chunk_check): Revert my previous change.
29982
29983 2014-12-11 Roland McGrath <roland@hack.frob.com>
29984
29985 * sysdeps/posix/shm-directory.c: New file.
29986 * sysdeps/posix/shm-directory.h: New file.
29987 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29988 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29989 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
29990 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29991 Transmute EPERM to EACCES.
29992 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29993 from ...
29994 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
29995 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29996
29997 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29998
29999 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
30000 pointer and cast to uintptr_t.
30001 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
30002 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
30003 Add cast to avoid warning.
30004 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
30005
30006 2014-12-11 Joseph Myers <joseph@codesourcery.com>
30007
30008 * nptl/semaphore.h: Move to ...
30009 * sysdeps/pthread/semaphore.h: ... here.
30010 * Makefile (installed-headers): Change nptl/semaphore.h to
30011 sysdeps/pthread/semaphore.h.
30012
30013 2014-12-11 Roland McGrath <roland@hack.frob.com>
30014
30015 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
30016 generated error format strings.
30017
30018 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
30019 -Wformat-extra-args warnings for scanf formats.
30020 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
30021 test of zero-length format (duh).
30022 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
30023 corner-case scanf format test.
30024 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
30025 generated fprintf format string.
30026 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
30027 corner-case sprintf format tests.
30028 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
30029 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
30030 -Wformat-extra-args warnings throughout.
30031 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
30032 (CFLAGS-scanf4.c): Likewise.
30033 (CFLAGS-scanf7.c): Likewise.
30034 (CFLAGS-tst-sprintf.c): Likewise.
30035 (CFLAGS-tst-printf.c): Likewise.
30036 (CFLAGS-tst-printfsz.c): Likewise.
30037
30038 2014-12-11 Joseph Myers <joseph@codesourcery.com>
30039
30040 * include/cpio.h: New file.
30041 * include/fmtmsg.h: Likewise.
30042
30043 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
30044 corresponding format argument to size_t.
30045 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
30046 arguments.
30047 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
30048 corresponding format argument to size_t.
30049 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
30050 arguments.
30051 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
30052 corresponding format argument to size_t.
30053 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
30054 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
30055 (CFLAGS-tst-mbswcs2.c): Likewise.
30056 (CFLAGS-tst-mbswcs3.c): Likewise.
30057 (CFLAGS-tst-mbswcs4.c): Likewise.
30058 (CFLAGS-tst-mbswcs5.c): Likewise.
30059 (CFLAGS-tst-trans.c): Likewise.
30060
30061 2014-12-11 Roland McGrath <roland@hack.frob.com>
30062
30063 * posix/regexbug1.c (main): Use "%s" format with regerror results,
30064 rather than assuming they won't contain any '%'s.
30065
30066 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
30067
30068 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
30069 inhibit_loop_to_libcall to avoid recursive calls.
30070 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
30071 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
30072
30073 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
30074
30075 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
30076 prototype.
30077
30078 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
30079
30080 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
30081 integer value instead of boolean.
30082
30083 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
30084
30085 * malloc/malloc.c: Fix powerof2 check.
30086
30087 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
30088
30089 * locale/programs/locfile.h (maybe_swap_uint32):
30090 Remove inline and add unused attribute.
30091
30092 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
30093
30094 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30095 Truncating assembler expression to a .long expression.
30096
30097 2014-12-11 Andreas Schwab <schwab@suse.de>
30098
30099 * elf/rtld.c (struct map_args): Constify str member.
30100 (do_preload): Constify fname argument.
30101
30102 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30103
30104 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
30105 constants definition.
30106
30107 2014-12-11 Andreas Schwab <schwab@suse.de>
30108
30109 [BZ #16657]
30110 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
30111 FORCE_ELISION instead of DO_ELISION.
30112 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
30113 Remove.
30114 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
30115 Likewise.
30116
30117 * iconvdata/gconv-modules: Remove duplicate entry.
30118
30119 2014-12-11 Will Newton <will.newton@linaro.org>
30120
30121 Merge gettext 0.19.3 into intl/.
30122
30123 This involves a number of cosmetic changes to comments
30124 and ANSI function definitions and prototypes throughout
30125 all the files. The gettext copyright header is used but
30126 with the date ranges taken from the glibc copy.
30127
30128 * NEWS: Add gettext merge to 2.21.
30129 * intl/bindtextdom.c: Switch to gettext copyright.
30130 Use ANSI definitions and prototypes.
30131 Use gl_* locking primitives rather than __libc_* ones.
30132 Use __builtin_expect rather than __glibc_likely/unlikely.
30133 * intl/dcgettext.c: Switch to gettext copyright.
30134 Use ANSI definitions and prototypes.
30135 * intl/dcigettext.c: Switch to gettext copyright.
30136 Use ANSI definitions and prototypes.
30137 (INTDIV0_RAISES_SIGFPE): New define.
30138 Use gl_* locking primitives rather than __libc_* ones.
30139 Include eval-plural.h instead of plural-eval.c.
30140 Use __builtin_expect rather than __glibc_likely/unlikely.
30141 * intl/dcngettext.c: Switch to gettext copyright.
30142 Use ANSI definitions and prototypes.
30143 * intl/dgettext.c: Likewise.
30144 * intl/dngettext.c: Likewise.
30145 * intl/plural-eval.c: Renamed to...
30146 * intl/eval-plural.h: ...this.
30147 * intl/explodename.c: Switch to gettext copyright.
30148 Use ANSI definitions and prototypes.
30149 (_nl_explode_name): Use strchr instead of __rawmemchr.
30150 * intl/finddomain.c: Switch to gettext copyright.
30151 Use ANSI definitions and prototypes.
30152 Use gl_* locking primitives rather than __libc_* ones.
30153 (_nl_find_domain): Use malloc rather than alloca for
30154 allocation of temporary locale name.
30155 * intl/gettext.c: Switch to gettext copyright.
30156 Use ANSI definitions and prototypes.
30157 * intl/gettextP.h: Switch to gettext copyright.
30158 Use ANSI definitions and prototypes.
30159 Use gl_* locking primitives rather than __libc_* ones.
30160 * intl/gmo.h: Switch to gettext copyright.
30161 (struct sysdep_string): Move struct segment_pair outside of
30162 struct definition.
30163 * intl/hash-string.c: Use ANSI definitions and prototypes.
30164 * intl/hash-string.h: Switch to gettext copyright.
30165 Use ANSI definitions and prototypes.
30166 * intl/l10nflist.c: Switch to gettext copyright.
30167 Use ANSI definitions and prototypes.
30168 (_nl_normalize_codeset): Avoid integer overflow.
30169 * intl/loadinfo.h: Switch to gettext copyright.
30170 Use ANSI definitions and prototypes.
30171 (LIBINTL_DLL_EXPORTED): New define.
30172 (PATH_SEPARATOR): New define.
30173 * intl/loadmsgcat.c: Switch to gettext copyright.
30174 * intl/localealias.c: Switch to gettext copyright.
30175 Use ANSI definitions and prototypes.
30176 (_nl_expand_alias): Use PATH_SEPARATOR.
30177 * intl/ngettext.c: Switch to gettext copyright.
30178 Use ANSI definitions and prototypes.
30179 * intl/plural-exp.c: Likewise.
30180 * intl/plural-exp.h: Switch to gettext copyright.
30181 Use ANSI definitions and prototypes.
30182 (struct expression): Move definition of enum operator outside
30183 of struct definition.
30184 * intl/plural.c: Regenerate.
30185 * intl/plural.y: Switch to gettext copyright.
30186 Use ANSI definitions and prototypes.
30187 Port to bison 3.0.
30188 * intl/textdomain.c: Switch to gettext copyright.
30189 Use ANSI definitions and prototypes.
30190 Use gl_* locking primitives rather than __libc_* ones.
30191
30192 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
30193
30194 * debug/warning-nop.c: Add used atrribute.
30195
30196 2014-12-10 Joseph Myers <joseph@codesourcery.com>
30197
30198 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
30199
30200 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
30201 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
30202 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
30203
30204 2014-12-10 Joseph Myers <joseph@codesourcery.com>
30205 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30206
30207 [BZ #17634]
30208 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
30209 Undefine after defining function. Define as weak alias of
30210 __wcschr. Use libc_hidden_weak.
30211 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
30212 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
30213 (libc_hidden_def): Also define __GI___wcschr alias.
30214 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
30215 __wcschr and define as weak alias of __wcschr.
30216 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
30217 __wcschr.
30218 [!WCSCHR] (DEFAULT_WCSCHR): Define.
30219 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
30220 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
30221 libc_hidden_weak. Do not use libc_hidden_def.
30222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
30223 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
30224 __GI___wcschr alias.
30225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
30226 [IS_IN (libc)] (wcschr): Define as macro expanding to
30227 __redirect_wcschr.
30228 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
30229 [IS_IN (libc)] (__wcschr_power6): Likewise.
30230 [IS_IN (libc)] (__wcschr_power7): Likewise.
30231 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
30232 instead of wcschr.
30233 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
30234 __libc_wcschr.
30235 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
30236 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
30237 __wcschr and define as weak alias of __wcschr. Use
30238 libc_hidden_builtin_def.
30239 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
30240 as weak alias of __wcschr. Use libc_hidden_weak.
30241 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
30242 wcschr.
30243 * time/era.c (_nl_init_era_entries): Likewise.
30244 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
30245 variable.
30246 (test-xfail-XPG3/time.h/linknamespace): Likewise.
30247 (test-xfail-XPG4/time.h/linknamespace): Likewise.
30248
30249 2014-12-10 Joseph Myers <joseph@codesourcery.com>
30250
30251 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
30252 format for long int variable.
30253
30254 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
30255
30256 [BZ #10672]
30257 * manual/search.texi: (Array Sort Function): Remove claim how to make
30258 qsort stable.
30259
30260 2014-12-10 Andreas Schwab <schwab@suse.de>
30261
30262 [BZ #12847]
30263 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
30264 user-controlled locks.
30265
30266 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
30267
30268 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
30269 register.
30270
30271 2014-12-10 Joseph Myers <joseph@codesourcery.com>
30272
30273 * configure.ac (--disable-werror): New configure option.
30274 (enable_werror): New AC_SUBST.
30275 * configure: Regenerated.
30276 * config.make.in (enable-werror): New variable.
30277 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
30278 -Wno-error=undef.
30279 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
30280 * manual/install.texi (Configuring and compiling): Document
30281 --disable-werror.
30282 * INSTALL: Regenerated.
30283 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
30284 (CFLAGS-tst-chk2.c): Likewise.
30285 (CFLAGS-tst-chk3.c): Likewise.
30286 (CFLAGS-tst-chk4.cc): Likewise.
30287 (CFLAGS-tst-chk5.cc): Likewise.
30288 (CFLAGS-tst-chk6.cc): Likewise.
30289 (CFLAGS-tst-lfschk1.c): Likewise.
30290 (CFLAGS-tst-lfschk2.c): Likewise.
30291 (CFLAGS-tst-lfschk3.c): Likewise.
30292 (CFLAGS-tst-lfschk4.cc): Likewise.
30293 (CFLAGS-tst-lfschk5.cc): Likewise.
30294 (CFLAGS-tst-lfschk6.cc): Likewise.
30295
30296 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
30297 (main): Disable -Wdeprecated-declarations around calls to
30298 register_printf_function.
30299
30300 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
30301 (do_test): Disable -Wdiv-by-zero around some calls to
30302 fwrite_unlocked and fread_unlocked.
30303
30304 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
30305 (DIAG_POP_NEEDS_COMMENT): Likewise.
30306 (_DIAG_STR1): Likewise.
30307 (_DIAG_STR): Likewise.
30308 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
30309 * stdio-common/bug21.c: Include <libc-internal.h>.
30310 (do_test): Disable -Wformat around call to sscanf.
30311 * stdio-common/scanf14.c: Include <libc-internal.h>.
30312 (main): Disable -Wformat around some calls to scanf functions.
30313
30314 2014-12-09 Torvald Riegel <triegel@redhat.com>
30315
30316 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
30317
30318 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30319
30320 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
30321 stack variable alignment.
30322
30323 2014-12-06 Joseph Myers <joseph@codesourcery.com>
30324
30325 [BZ #17682]
30326 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
30327 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
30328 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
30329 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
30330 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
30331 __getrlimit instead of getrlimit.
30332 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
30333 __gettimeofday instead of gettimeofday.
30334 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30335 Likewise.
30336 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30337 Likewise.
30338 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30339 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
30340 Remove variable.
30341 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30342 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30343
30344 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30345
30346 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
30347 for wide-character tests.
30348
30349 2014-12-04 Roland McGrath <roland@hack.frob.com>
30350
30351 * io/openat64.c: #include <libc-internal.h>
30352 (__openat64): Prototypify. Use ignore_value on MODE.
30353 * io/openat.c: Likewise.
30354 * misc/reboot.c: #include <libc-internal.h>
30355 (reboot): Prototypify. Use ignore_value on HOWTO.
30356 * misc/ptrace.c: #include <libc-internal.h>
30357 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
30358
30359 2014-12-04 Joseph Myers <joseph@codesourcery.com>
30360
30361 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
30362 XPG4, UNIX98 and XOPEN2K.
30363 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
30364 Remove variable.
30365 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30366
30367 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30368
30369 * libio/fileops.c: Use ISO C style for function definitions.
30370 * libio/iofopen.c: Likewise.
30371 * libio/wfileops.c: Likewise.
30372
30373 [BZ #17653]
30374 * libio/fileops.c (_IO_new_file_underflow): Unset cached
30375 offset on EOF.
30376 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
30377 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
30378 (fgets_func): Function pointer to fgets and fgetws.
30379 (do_ftell_test): Add test to verify ftell value after read
30380 EOF.
30381 (do_test): Set fgets_func.
30382
30383 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
30384 O_TRUNC flag for w and w+ modes.
30385 (do_rewind_test): Likewise.
30386 (do_ftell_test): Likewise.
30387 (do_write_test): Likewise.
30388
30389 [BZ #17647]
30390 * libio/fileops.c (do_ftell): Seek only when there are
30391 unflushed writes.
30392 * libio/wfileops.c (do_ftell_wide): Likewise.
30393 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
30394 test case.
30395 (do_one_test): Call it.
30396
30397 2014-12-03 Joseph Myers <joseph@codesourcery.com>
30398
30399 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
30400 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
30401 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
30402 Remove variable.
30403 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30404 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30405 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30406
30407 2014-12-02 Joseph Myers <joseph@codesourcery.com>
30408
30409 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
30410 Remove variable.
30411 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30412
30413 [BZ #17668]
30414 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
30415 as weak alias of __getifaddrs. Use libc_hidden_weak.
30416 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30417 __freeifaddrs. Use libc_hidden_weak.
30418 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
30419 define as weak alias of __getifaddrs. Use libc_hidden_weak.
30420 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30421 __freeifaddrs. Use libc_hidden_weak.
30422 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
30423 __getifaddrs and define as weak alias of __getifaddrs. Use
30424 libc_hidden_weak.
30425 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30426 __freeifaddrs. Use libc_hidden_weak.
30427 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
30428 Remove variable.
30429 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30430 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30431
30432 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
30433
30434 [BZ #17601]
30435 * sysdeps/mips/start.S (__start): Use indirect jump to call
30436 __libc_start_main.
30437
30438 2014-12-02 Joseph Myers <joseph@codesourcery.com>
30439
30440 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
30441
30442 * nptl/tst-mutex1.c: Include <stdbool.h>.
30443 [!ATTR] (ATTR_NULL): New macro.
30444 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
30445 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
30446 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
30447
30448 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
30449 to char *.
30450
30451 [BZ #17665]
30452 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
30453 Change conditional to [__USE_MISC].
30454
30455 [BZ #17664]
30456 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
30457 fgets_unlocked.
30458 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
30459 __fgets_unlocked.
30460 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
30461 fgets_unlocked.
30462 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
30463 Remove variable.
30464 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30465 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30466 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30467 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30468 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30469 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30470 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30471 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30472 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30473
30474 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
30475
30476 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30477
30478 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30479 Remove strpbrk objects.
30480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30481 (__libc_ifunc_impl_list): Remove strpbrk implementation.
30482 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
30483 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
30484 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
30485 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
30486
30487 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30488 Remove strcspn objects.
30489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30490 (__libc_ifunc_impl_list): Remove strcspn implementation.
30491 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
30492 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
30493 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
30494 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
30495
30496 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30497 Remove strspn objetcs.
30498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30499 (__libc_ifunc_impl_list): Remove strspn implementation.
30500 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
30501 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30502 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
30503 * sysdeps/powerpc/powerpc64/strspn.S: New file.
30504
30505 2014-12-01 James Lemke <jwlemke@codesourcery.com>
30506
30507 [BZ #17581]
30508 * malloc/hooks.c
30509 (mem2mem_check): Add a terminator to the chain of checking blocks.
30510 (malloc_check_get_size): Use it here.
30511 (mem2chunk_check): Ditto.
30512
30513 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30514
30515 * sysdeps/powerpc/powerpc64/strtok.S: New file.
30516 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
30517
30518 2014-11-29 Carlos O'Donell <carlos@redhat.com>
30519
30520 * bits/ioctl-types.h: Indent preprocessor directives correctly.
30521
30522 * nptl/nptl-init.c: Include libc-internal.h.
30523 (__pthread_initialize_minimal_internal): Use ROUND_UP.
30524
30525 * elf/ldconfig.c (search_dir): Expand comment.
30526
30527 2014-11-29 Joseph Myers <joseph@codesourcery.com>
30528
30529 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
30530 variable.
30531 (linknamespace-symlist-stdlibs-tests): Likewise.
30532 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
30533 instead of $(objpfx)symlist-stdlibs.
30534 (linknamespace-libs-isoc): New variable.
30535 (linknamespace-libs): Use $(linknamespace-libs-isoc).
30536 (linknamespace-libs-ISO): New variable.
30537 (linknamespace-libs-ISO99): Likewise.
30538 (linknamespace-libs-ISO11): Likewise.
30539 (linknamespace-libs-XPG3): Likewise.
30540 (linknamespace-libs-XPG4): Likewise.
30541 (linknamespace-libs-POSIX): Likewise.
30542 (linknamespace-libs-UNIX98): Likewise.
30543 (linknamespace-libs-XOPEN2K): Likewise.
30544 (linknamespace-libs-POSIX2008): Likewise.
30545 (linknamespace-libs-XOPEN2K8): Likewise.
30546 ($(objpfx)symlist-stdlibs): Replace by
30547 $(linknamespace-symlist-stdlibs-tests). Use
30548 $(linknamespace-libs-$*) as set of libraries.
30549 ($(linknamespace-header-tests)): Update dependencies. Use
30550 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
30551 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
30552 * conform/linknamespace.pl: Remove comment about considering
30553 definitions of symbols from irrelevant libraries.
30554
30555 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
30556
30557 [BZ #13862]
30558 * elf/dl-tls.c: Include <atomic.h>.
30559 (oom): Remove #ifdef SHARED/#endif.
30560 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
30561 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
30562 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
30563 big enough.
30564 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
30565 * nptl/Makefile (tests): Add tst-stack4.
30566 (modules-names): Add tst-stack4mod.
30567 ($(objpfx)tst-stack4): New.
30568 (tst-stack4mod.sos): Likewise.
30569 ($(objpfx)tst-stack4.out): Likewise.
30570 ($(tst-stack4mod.sos)): Likewise.
30571 (clean): Likewise.
30572 * nptl/tst-stack4.c: New file.
30573 * nptl/tst-stack4mod.c: Likewise.
30574
30575 2014-11-27 J. Brown <jb999@gmx.de>
30576
30577 * sysdeps/x86/bits/string.h: Add recent CPUs.
30578
30579 2014-11-27 Joseph Myers <joseph@codesourcery.com>
30580
30581 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30582 sigblock.
30583
30584 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30585 feof.
30586
30587 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30588 variable.
30589
30590 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
30591
30592 * nscd/connections.c: Include libc-internal.h because of macro
30593 usage ignore_value.
30594
30595 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30596
30597 * string/bits/string3.h (__warn_memset_zero_len): Don't
30598 declare for gcc newer than 5.0.
30599 (memset): Don't test for zero-length __LEN for gcc newer than
30600 5.0.
30601
30602 2014-11-27 Joseph Myers <joseph@codesourcery.com>
30603
30604 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30605 size_t for %zu format.
30606
30607 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30608 difference, not %ju.
30609
30610 2014-11-26 Joseph Myers <joseph@codesourcery.com>
30611
30612 * include/libc-internal.h (ignore_value): New macro.
30613 * nscd/connections.c (restart): Wrap calls to setuid and setgid
30614 with ignore_value.
30615
30616 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30617 definition.
30618
30619 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30620 pthread_cleanup_push to void *.
30621
30622 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30623 Undefine.
30624
30625 [BZ #16619]
30626 [BZ #16740]
30627 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30628 instead of 1L << 52.
30629
30630 * libio/bug-rewind.c (do_test): Check fwscanf return values.
30631 * libio/bug-rewind2.c (do_test): Likewise.
30632
30633 * debug/test-stpcpy_chk-ifunc.c: Remove file.
30634 * debug/test-strcpy_chk-ifunc.c: Likewise.
30635 * wcsmbs/test-wcschr-ifunc.c: Likewise.
30636 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30637 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30638 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30639 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30640 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30641 * Rules [$(multi-arch) = no] (tests): Do not filter out
30642 $(tests-ifunc).
30643 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30644 * debug/Makefile (tests-ifunc): Remove variable.
30645 (tests): Do not add $(tests-ifunc).
30646 * wcsmbs/Makefile (tests-ifunc): Remove variable.
30647 (tests): Do not add $(tests-ifunc).
30648 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30649 [TEST_IFUNC]: Remove conditionals.
30650 * string/test-string.h (TEST_IFUNC): Remove macro.
30651 [TEST_IFUNC]: Remove conditionals.
30652
30653 * string/test-strchr.c [!WIDE] (L): New macro.
30654 [WIDE] (L): Likewise.
30655 (check1): Use CHAR instead of char. Use L on string and character
30656 constants.
30657
30658 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
30659
30660 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30661 tests.
30662 * sysdeps/powerpc/bits/atomic.h
30663 (__arch_atomic_exchange_and_add_32_acq): Add definition.
30664 (__arch_atomic_exchange_and_add_32_rel): Likewise.
30665 (atomic_exchange_and_add_acq): Likewise.
30666 (atomic_exchange_and_add_rel): Likewise.
30667 * sysdeps/powerpc/powerpc32/bits/atomic.h
30668 (__arch_atomic_exchange_and_add_64_acq): Add definition.
30669 (__arch_atomic_exchange_and_add_64_rel): Likewise.
30670 * sysdeps/powerpc/powerpc64/bits/atomic.h
30671 (__arch_atomic_exchange_and_add_64_acq): Add definition.
30672 (__arch_atomic_exchange_and_add_64_rel): Likewise.
30673
30674 2014-11-26 Torvald Riegel <triegel@redhat.com>
30675
30676 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30677 Change synchronization of __sched_fifo_min_prio and
30678 __sched_fifo_max_prio.
30679 * nptl/pthread_mutexattr_getprioceiling.c
30680 (pthread_mutexattr_getprioceiling): Likewise.
30681 * nptl/pthread_mutexattr_setprioceiling.c
30682 (pthread_mutexattr_setprioceiling): Likewise.
30683 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30684 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30685 Likewise.
30686
30687 2014-11-26 Joseph Myers <joseph@codesourcery.com>
30688
30689 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30690 void.
30691
30692 2014-11-25 Joseph Myers <joseph@codesourcery.com>
30693
30694 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30695 third argument const.
30696
30697 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
30698
30699 fnmatch: work around GCC compiler warning bug with uninit var
30700 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30701 This works around a bug with x86-64 GCC 4.9.2 and earlier
30702 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30703 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30704 used uninitialized in this function [-Wmaybe-uninitialized]".
30705
30706 2014-11-25 Joseph Myers <joseph@codesourcery.com>
30707
30708 * posix/bug-regex31.c (main): Return RES not 0.
30709
30710 2014-11-25 Anton Blanchard <anton@samba.org>
30711
30712 * sysdeps/powerpc/bits/atomic.h
30713 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30714
30715 2014-11-24 Sterling Augustine <saugustine@google.com>
30716
30717 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30718
30719 2014-11-24 Ryan Cumming <etaoins@gmail.com>
30720
30721 [BZ #17608]
30722 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30723
30724 2014-11-24 Joseph Myers <joseph@codesourcery.com>
30725
30726 [BZ #17633]
30727 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30728 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30729 variable.
30730 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30731 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30732
30733 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
30734
30735 * string/strncpy.c (strncpy): Improve performance by using memset.
30736
30737 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
30738
30739 * string/strcpy.c (strcpy):
30740 Improve performance by using strlen and memcpy.
30741
30742 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
30743
30744 * string/strcoll_l.c (get_next_seq): __always_inline.
30745 * string/strcoll_l.c (do_compare): __always_inline.
30746
30747 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30748
30749 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30750 defined.
30751 * include/mqueue.h: Likewise.
30752 * include/stdlib.h: Likewise.
30753
30754 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30755 (get_null_defines): Adjust.
30756 * sunrpc/Makefile: Adjust comment.
30757 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30758 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30759 (CFLAGS-interp.c): Likewise.
30760 (CFLAGS-ldconfig.c): Likewise.
30761 (CPPFLAGS-.os): Likewise.
30762 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30763 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30764 * extra-modules.mk (extra-modules.mk): Likewise.
30765 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30766 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30767 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30768 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30769 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30770 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30771 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30772 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30773 * iconvdata/Makefile (CPPFLAGS): Likewise.
30774 (cpp-srcs-left): Add libof for all iconvdata routines.
30775 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30776 * include/assert.h: Likewise.
30777 * include/ctype.h: Likewise.
30778 * include/errno.h: Likewise.
30779 * include/libc-symbols.h: Likewise.
30780 * include/math.h: Likewise.
30781 * include/netdb.h: Likewise.
30782 * include/resolv.h: Likewise.
30783 * include/stdio.h: Likewise.
30784 * include/stdlib.h: Likewise.
30785 * include/string.h: Likewise.
30786 * include/sys/stat.h: Likewise.
30787 * include/wctype.h: Likewise.
30788 * intl/l10nflist.c: Likewise.
30789 * libidn/idn-stub.c: Likewise.
30790 * libio/libioP.h: Likewise.
30791 * nptl/libc_multiple_threads.c: Likewise.
30792 * nptl/pthreadP.h: Likewise.
30793 * posix/regex_internal.h: Likewise.
30794 * resolv/res_hconf.c: Likewise.
30795 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30796 * sysdeps/arm/memmove.S: Likewise.
30797 * sysdeps/arm/sysdep.h: Likewise.
30798 * sysdeps/generic/_itoa.h: Likewise.
30799 * sysdeps/generic/symbol-hacks.h: Likewise.
30800 * sysdeps/gnu/errlist.awk: Likewise.
30801 * sysdeps/gnu/errlist.c: Likewise.
30802 * sysdeps/i386/i586/memcpy.S: Likewise.
30803 * sysdeps/i386/i586/memset.S: Likewise.
30804 * sysdeps/i386/i686/memcpy.S: Likewise.
30805 * sysdeps/i386/i686/memmove.S: Likewise.
30806 * sysdeps/i386/i686/mempcpy.S: Likewise.
30807 * sysdeps/i386/i686/memset.S: Likewise.
30808 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30809 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30810 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30811 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30812 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30813 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30814 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30815 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30816 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30817 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30818 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30819 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30820 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30821 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30822 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30823 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30824 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30825 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30826 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30827 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30828 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30829 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30830 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30831 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30832 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30833 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30834 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30835 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30836 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30837 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30838 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30839 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30840 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30841 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30842 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30844 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30845 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30846 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30847 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30848 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30849 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30850 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30851 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30852 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30853 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30854 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30855 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30856 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30857 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30858 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30859 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30860 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30861 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30862 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30863 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30864 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30865 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30866 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30867 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30868 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30869 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30870 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30871 * sysdeps/nptl/bits/libc-lock.h: Likewise.
30872 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30873 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30874 * sysdeps/posix/closedir.c: Likewise.
30875 * sysdeps/posix/opendir.c: Likewise.
30876 * sysdeps/posix/readdir.c: Likewise.
30877 * sysdeps/posix/rewinddir.c: Likewise.
30878 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30879 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30880 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30881 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30882 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30883 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30884 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30885 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30886 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30887 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30888 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30889 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30890 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30891 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30892 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30893 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30894 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30895 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30896 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30897 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30898 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30899 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30900 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30901 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30902 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30903 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30904 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30905 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30906 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30913 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30914 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30915 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30916 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30917 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30918 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30919 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30920 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30921 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30922 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30923 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30924 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30925 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30926 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30927 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30928 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30929 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30930 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30931 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30932 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30933 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30934 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30935 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30936 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30937 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30938 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30939 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30940 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30941 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30942 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30943 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30944 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30945 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30946 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30947 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30948 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30949 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30950 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30951 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30952 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30953 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30954 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30955 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30956 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30957 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30958 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30959 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30960 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30961 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30962 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30963 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30964 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30965 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30966 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30967 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30968 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30969 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30970 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30971 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30972 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30973 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30974 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30976 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30977 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30978 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30979 * sysdeps/unix/alpha/sysdep.S: Likewise.
30980 * sysdeps/unix/alpha/sysdep.h: Likewise.
30981 * sysdeps/unix/make-syscalls.sh: Likewise.
30982 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30983 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30984 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30985 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30986 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30987 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30988 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30989 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30990 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30991 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30992 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30993 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30994 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30995 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30996 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30997 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30998 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30999 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
31000 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
31001 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31002 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
31003 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31004 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31005 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31006 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31007 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31008 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
31010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31011 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
31012 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31014 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31015 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31016 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31017 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31020 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31021 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31022 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31023 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31024 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31025 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31026 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31029 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31032 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31033 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31034 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31035 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31036 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
31037 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31038 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31040 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
31041 * sysdeps/x86_64/memcpy.S: Likewise.
31042 * sysdeps/x86_64/memmove.c: Likewise.
31043 * sysdeps/x86_64/memset.S: Likewise.
31044 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
31045 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31046 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31047 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
31048 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
31049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31051 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31052 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31053 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31054 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31055 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31056 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
31057 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31058 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31059 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
31060 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31061 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31062 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31063 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31064 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
31065 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31066 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31067 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31068 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31069 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31070 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31071 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
31072 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31073 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31074 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
31075 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31076 * sysdeps/x86_64/strcmp.S: Likewise.
31077
31078 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
31079
31080 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
31081 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
31082 * elf/rtld-Rules: Likewise.
31083 * elf/setup-vdso.h: Likewise.
31084 * include/assert.h: Likewise.
31085 * include/bits/stdlib-float.h: Likewise.
31086 * include/errno.h: Likewise.
31087 * include/sys/stat.h: Likewise.
31088 * include/unistd.h: Likewise.
31089 * sysdeps/aarch64/setjmp.S: Likewise.
31090 * sysdeps/alpha/setjmp.S: Likewise.
31091 * sysdeps/arm/__longjmp.S: Likewise.
31092 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
31093 * sysdeps/arm/setjmp.S: Likewise.
31094 * sysdeps/arm/sysdep.h: Likewise.
31095 * sysdeps/generic/_itoa.h: Likewise.
31096 * sysdeps/generic/dl-sysdep.h: Likewise.
31097 * sysdeps/generic/ldsodefs.h: Likewise.
31098 * sysdeps/i386/dl-tls.h: Likewise.
31099 * sysdeps/i386/setjmp.S: Likewise.
31100 * sysdeps/m68k/setjmp.c: Likewise.
31101 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
31102 * sysdeps/mach/hurd/opendir.c: Likewise.
31103 * sysdeps/posix/getcwd.c: Likewise.
31104 * sysdeps/posix/opendir.c: Likewise.
31105 * sysdeps/posix/profil.c: Likewise.
31106 * sysdeps/powerpc/dl-procinfo.h: Likewise.
31107 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31108 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31109 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
31110 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31111 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
31112 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31113 * sysdeps/s390/dl-tls.h: Likewise.
31114 * sysdeps/s390/s390-32/setjmp.S: Likewise.
31115 * sysdeps/s390/s390-64/setjmp.S: Likewise.
31116 * sysdeps/sh/sh3/setjmp.S: Likewise.
31117 * sysdeps/sh/sh4/setjmp.S: Likewise.
31118 * sysdeps/unix/alpha/sysdep.h: Likewise.
31119 * sysdeps/unix/arm/sysdep.S: Likewise.
31120 * sysdeps/unix/i386/sysdep.S: Likewise.
31121 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31122 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31123 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31124 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31125 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31126 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
31127 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31128 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31129 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
31130 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
31131 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31132 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31133 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31136 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31139 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31140 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31141 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31144 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31145 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31146 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31148 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31149 * sysdeps/x86_64/setjmp.S: Likewise.
31150
31151 * include/math.h: Use IS_IN instead of IS_IN_libm.
31152 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
31153 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31154 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31155 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
31156 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31157 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31158 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31159 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31160 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31161 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31162 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
31163 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
31164 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
31165 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
31166 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
31167 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
31168 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31169 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
31170 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31171 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
31172 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
31173 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
31174 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
31175 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
31176 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
31177 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
31179 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31180 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31181 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
31182 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
31183 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31184 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
31186 Likewise.
31187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
31188 Likewise.
31189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
31190 Likewise.
31191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
31192 Likewise.
31193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
31194 Likewise.
31195 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31196 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
31197 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31199 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31200 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
31202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
31203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
31204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
31205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
31206 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
31207 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
31208 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31209 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31210 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31211 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31212 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31213 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31214 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31215 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
31216 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
31217 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
31218 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
31219 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
31220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31221 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
31222
31223 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
31224 * nptl/pthreadP.h: Likewise.
31225 * nptl_db/structs.def: Likewise.
31226 * sysdeps/arm/sysdep.h: Likewise.
31227 * sysdeps/nptl/bits/libc-lock.h: Likewise.
31228 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
31229 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
31230 * sysdeps/unix/alpha/sysdep.h: Likewise.
31231 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31232 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31233 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31234 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31235 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31236 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31237 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31238 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31239 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31240 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31241 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31242 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31243 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31244 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
31246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31249 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31251 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31252 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31253 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31254 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31255 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
31256 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31257
31258 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
31259 * nptl/pthreadP.h: Likewise.
31260 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31261 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31262 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31263 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31264 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31265 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31266 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31267 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31268 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31269 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31270 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31271 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31273 Likewise.
31274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31275 Likewise.
31276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31278 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31281 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31282 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31283 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31284
31285 * dlfcn/dladdr.c: Use IS_IN.
31286 * dlfcn/dladdr1.c: Likewise.
31287 * dlfcn/dlclose.c: Likewise.
31288 * dlfcn/dlerror.c: Likewise.
31289 * dlfcn/dlinfo.c: Likewise.
31290 * dlfcn/dlmopen.c: Likewise.
31291 * dlfcn/dlopen.c: Likewise.
31292 * dlfcn/dlsym.c: Likewise.
31293 * dlfcn/dlvsym.c: Likewise.
31294
31295 * include/ifaddrs.h: Use IS_IN.
31296 * inet/check_pf.c: Likewise.
31297 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31298 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
31299
31300 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
31301 IS_IN_ldconfig.
31302 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
31303 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
31304
31305 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
31306 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
31307 IS_IN (libc).
31308
31309 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
31310
31311 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
31312 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31313 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31314 * include/libc-symbols.h (IS_IN_LIB): New macro.
31315 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
31316 * include/netdb.h: Likewise.
31317 * include/stap-probe.h: Remove all uses of IN_LIB.
31318
31319 * Makeconfig (module-cppflags-real): Define MODULE_NAME
31320 instead of IN_MODULE.
31321 * include/libc-symbols.h (IN_MODULE): Define using
31322 MODULE_NAME.
31323 (PASTE_NAME, PASTE_NAME1): New macros.
31324 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
31325 of IN_LIB.
31326 (STAP_PROBE_ASM): Likewise.
31327
31328 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
31329
31330 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
31331 __mach_init in dlopened libc.
31332
31333 2014-11-22 Mike Frysinger <vapier@gentoo.org>
31334
31335 * sysdeps/arm/preconfigure.ac: Delete EABI check.
31336 * sysdeps/arm/preconfigure: Regenerate.
31337
31338 2014-11-21 Roland McGrath <roland@hack.frob.com>
31339
31340 * nptl/pthread_create.c (__pthread_create_2_1): Set
31341 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
31342 when copying values from IATTR into PD.
31343
31344 2014-11-21 Will Newton <will.newton@linaro.org>
31345 Andrew Pinski <andrew.pinski@caviumnetworks.com>
31346
31347 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
31348 Refactor inline-asm. Also add comment.
31349
31350 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
31351 ElfW macro instead of hardcoded Elf64 types.
31352 (la_aarch64_gnu_pltenter): Likewise.
31353 * sysdeps/aarch64/dl-machine.h
31354 (elf_machine_runtime_setup): Use ElfW(Addr).
31355
31356 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
31357 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
31358 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
31359 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
31360 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
31361 (R_AARCH64_TLS_DTPMOD64): Rename to ..
31362 (R_AARCH64_TLS_DTPMOD): This.
31363 (R_AARCH64_TLS_DTPREL64): Rename to ...
31364 (R_AARCH64_TLS_DTPREL): This.
31365 (R_AARCH64_TLS_TPREL64): Rename to ...
31366 (R_AARCH64_TLS_TPREL): This.
31367 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
31368 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
31369 R_AARCH64_TLS_TPREL64.
31370 (elf_machine_rela): Likewise.
31371
31372 2014-11-21 Torvald Riegel <triegel@redhat.com>
31373
31374 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
31375 by setting it to 0. 64b atomics are not supported currently.
31376
31377 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
31378
31379 [BZ #16469]
31380 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
31381 search domain names.
31382
31383 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
31384
31385 [BZ #16469]
31386 * NEWS: Update.
31387 * resolv/res_query.c (__libc_res_nquerydomain): Retain
31388 trailing dot.
31389 * posix/tst-getaddrinfo5.c: New.
31390 * posix/Makefile (tests): Add it.
31391
31392 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
31393
31394 [BZ #14498]
31395 * NEWS: Fixed.
31396 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
31397 after parsing line but before break_if_match.
31398 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
31399 if there is a protocol mismatch.
31400
31401 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
31402
31403 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
31404 because the potential race is on the user-supplied stream.
31405
31406 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
31407
31408 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
31409 string literal if not passed a buffer.
31410 * manual/job.texi (ctermid): Update reasoning, note deviation
31411 from posix, suggest mtasurace when not passed a buffer, for
31412 future non-preliminary safety notes.
31413
31414 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
31415
31416 * manual/users.texi (cuserid): Fix MT-Safety note for the case
31417 of not passing it a buffer.
31418 Reported by Peng Haitao.
31419
31420 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
31421
31422 * manual/Makefile ($(objpfx)stamp-summary): Require
31423 check-safety.sh to pass.
31424 * manual/check-safety.sh: Wish for verification that every
31425 @deftypefn and @deftypefun is followed by a @safety remark.
31426
31427 2014-11-20 Roland McGrath <roland@hack.frob.com>
31428
31429 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
31430
31431 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
31432 PTHREAD_CANCEL_ASYNCHRONOUS.
31433 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
31434 send SIGCANCEL.
31435
31436 * nptl/default-sched.h: New file.
31437 * sysdeps/unix/sysv/linux/default-sched.h: New file.
31438 * nptl/pthread_create.c: Include it.
31439 (__pthread_create_2_1): Use collect_default_sched instead of making
31440 Linux syscalls here directly.
31441
31442 2014-11-20 Torvald Riegel <triegel@redhat.com>
31443
31444 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
31445 __pthread_once): Use C11 atomics.
31446
31447 2014-11-20 Torvald Riegel <triegel@redhat.com>
31448
31449 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
31450
31451 2014-11-20 Torvald Riegel <triegel@redhat.com>
31452
31453 * include/atomic.h (__atomic_link_error, __atomic_check_size,
31454 atomic_thread_fence_acquire, atomic_thread_fence_release,
31455 atomic_thread_fence_seq_cst, atomic_load_relaxed,
31456 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
31457 atomic_compare_exchange_weak_relaxed,
31458 atomic_compare_exchange_weak_acquire,
31459 atomic_compare_exchange_weak_release,
31460 atomic_exchange_acquire, atomic_exchange_release,
31461 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
31462 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
31463 atomic_fetch_and_acquire,
31464 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
31465
31466 2014-11-20 Torvald Riegel <triegel@redhat.com>
31467
31468 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
31469 USE_ATOMIC_COMPILER_BUILTINS): Define.
31470 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
31471 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31472 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
31473 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31474 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
31475 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31476 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
31477 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31478 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
31479 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31480 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
31481 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31482 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
31483 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31484 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
31485 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31486 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31487 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31488 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31489 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31490 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
31491 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31492 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31493 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31494 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
31495 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31496 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31497 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31498 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
31499 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31500 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
31501 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31502 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
31503 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31504 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31505 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31506 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
31507 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31508 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
31509 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31510
31511 2014-11-19 Roland McGrath <roland@hack.frob.com>
31512
31513 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
31514 the sched_priority value here. It was already checked when the user
31515 called pthread_attr_setschedparam.
31516
31517 * nptl/tst-bad-schedattr.c: New file.
31518 * nptl/Makefile (tests): Add it.
31519
31520 2014-11-19 Carlos O'Donell <carlos@redhat.com>
31521 Florian Weimer <fweimer@redhat.com>
31522 Joseph Myers <joseph@codesourcery.com>
31523 Adam Conrad <adconrad@0c3.net>
31524 Andreas Schwab <schwab@suse.de>
31525 Brooks <bmoses@google.com>
31526
31527 [BZ #17625]
31528 * wordexp-test.c (__dso_handle): Add prototype.
31529 (__register_atfork): Likewise.
31530 (__app_register_atfork): New function.
31531 (registered_forks): New global.
31532 (register_fork): New function.
31533 (test_case): Add 3 new tests for WRDE_CMDSUB.
31534 (main): Call __app_register_atfork.
31535 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
31536 fork count is non-zero fail the test.
31537 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
31538 is set.
31539 (parse_dollars): Remove check for WRDE_NOCMD.
31540 (parse_dquote): Likewise.
31541
31542 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31543
31544 * Makeconfig (built-modules): List non-library modules to be
31545 built.
31546 (module-cppflags): Include libc-modules.h for
31547 everything except shlib-versions.v.i.
31548 (CPPFLAGS): Use it.
31549 (before-compile): Add libc-modules.h.
31550 ($(common-objpfx)libc-modules.h,
31551 $(common-objpfx)libc-modules.stmp): New targets.
31552 (common-generated): Add libc-modules.h and libc-modules.stmp.
31553 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
31554 * include/libc-symbols.h: Don't include libc-modules.h.
31555 * include/libc-modules.h: Remove file.
31556 * scripts/gen-libc-modules.awk: New script to generate
31557 libc-modules.h.
31558 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
31559 Depend on libc-modules.stmp.
31560
31561 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
31562
31563 * Makeconfig (in-module): Get value of libof set for the
31564 translation unit.
31565 (CPPFLAGS): Use $(in-module).
31566 * Makerules: Don't suffix routine names for nonlib.
31567 * include/libc-modules.h: New file.
31568 * include/libc-symbols.h: Include libc-modules.h
31569 (IS_IN): New macro to replace IS_IN_* macros.
31570 * elf/Makefile: Set libof-* for each routine.
31571 * elf/rtld-Rules: Likewise.
31572 * extra-modules.mk: Likewise.
31573 * iconv/Makefile: Likewise.
31574 * iconvdata/Makefile: Likewise.
31575 * locale/Makefile: Likewise.
31576 * malloc/Makefile: Likewise.
31577 * nss/Makefile: Likewise.
31578 * sysdeps/gnu/Makefile: Likewise.
31579 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31580 * sysdeps/unix/sysv/linux/Makefile: Likewise.
31581 * sysdeps/s390/s390-64/Makefile: Likewise.
31582 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
31583 CPPFLAGS for nscd instead of nonlib.
31584
31585 2014-11-18 Roland McGrath <roland@hack.frob.com>
31586
31587 * nptl/createthread.c: New file.
31588
31589 * nptl/createthread.c: Moved ...
31590 * sysdeps/unix/sysv/linux/createthread.c: ... here.
31591
31592 * nptl/createthread.c: Add proper top-line comment.
31593 (do_clone): Folded into ...
31594 (create_thread): ... here. Take new arguments STOPPED_START and
31595 THREAD_RAN. Always set PD->stopped_start to something here. Don't
31596 increment __nptl_threads, do event-reporting logic, do
31597 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31598 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
31599 resource cleanup if sched_setaffinity or sched_setscheduler fails,
31600 just send SIGCANCEL.
31601 * nptl/pthread_create.c: Forward-declare create_thread before
31602 including createthread.c.
31603 (start_thread): Use new macro START_THREAD_DEFN to replace defining
31604 declaration, and new macro START_THREAD_SELF to replace argument.
31605 Remove return statement.
31606 (report_thread_creation): New function.
31607 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
31608 synchronization logic, and __nptl_nthreads increment here, around
31609 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
31610 PD->parent_cancelhandling here, before create_thread. When
31611 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31612 __deallocate_stack, and ENOMEM translation here.
31613
31614 2014-11-18 Joseph Myers <joseph@codesourcery.com>
31615
31616 [BZ #17616]
31617 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31618 (mptwo): Rename to __mptwo.
31619 (__inv): Use __mptwo instead of mptwo.
31620 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31621 (mptwo): Rename to __mptwo.
31622 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31623 of mpone and __mptwo instead of mptwo.
31624 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31625 instead of mpone.
31626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31627 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31628 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31629 of mpone and __mptwo instead of mptwo.
31630 (__mpranred): Use __mpone instead of mpone.
31631 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31632 variable.
31633 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31634 (test-xfail-ISO99/math.h/linknamespace): Likewise.
31635 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31636 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31637 (test-xfail-ISO11/math.h/linknamespace): Likewise.
31638 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31639 (test-xfail-XPG3/math.h/linknamespace): Likewise.
31640 (test-xfail-XPG4/math.h/linknamespace): Likewise.
31641 (test-xfail-POSIX/math.h/linknamespace): Likewise.
31642 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31643 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31644 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31645 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31646 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31647 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31648 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31649 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31650 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31651 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31652
31653 2014-11-18 Tom de Vries <tom@codesoucery.com>
31654
31655 * manual/signal.texi (Primitives Interrupted by Signals): In section,
31656 replace BSD Handler xref with BSD Signal Handling.
31657
31658 2014-11-17 Richard Henderson <rth@redhat.com>
31659
31660 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31661 (_FP_PACK_RAW_2): Remove.
31662 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31663 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31664 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31665 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31666 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31667 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31668 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31669 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31670 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31671 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31672 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31673 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31674 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31675 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31676 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31677 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31678
31679 2014-11-14 Roland McGrath <roland@hack.frob.com>
31680
31681 * signal/signal.h [__USE_MISC]
31682 (struct sigvec): Remove type.
31683 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31684 (sigvec): Remove declaration.
31685 * sysdeps/posix/sigvec.c: Moved ...
31686 * signal/sigvec.c: ... here, replacing old file.
31687 (struct sigvec): New type, copied from old signal.h definition.
31688 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31689 (__sigvec): Convert definition to prototype.
31690 (sigvec): Replace weak_alias with compat_symbol.
31691 * signal/Versions (libc: GLIBC_2.21): New version set.
31692 * include/signal.h: Remove __sigvec declaration.
31693 * sysdeps/unix/bsd/sigvec.c: Remove file.
31694 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31695 * manual/signal.texi (BSD Handler): Remove subsection.
31696 Move siginterrupt up to ...
31697 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
31698 (Blocking in BSD): Fold subsection into its parent.
31699 * NEWS: Mention sigvec removal.
31700
31701 2014-11-14 Joseph Myers <joseph@codesourcery.com>
31702
31703 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31704 (DLA_FMS): Make definition conditional only on [__FMA4__].
31705 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31706 definition.
31707
31708 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31709 Make definition conditional only on [PROF].
31710 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31711 definition.
31712 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31713 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31714
31715 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31716 !__GNUC__].
31717 * include/signal.h (__sigpause): Move declaration above call to
31718 libc_hidden_proto.
31719 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31720 variable.
31721 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31722 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31723
31724 2014-11-14 David S. Miller <davem@davemloft.net>
31725
31726 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31727 Define before including <string/memcpy.c> and <string/mempcpy.c>.
31728
31729 2014-11-14 Joseph Myers <joseph@codesourcery.com>
31730
31731 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31732 * configure: Regenerated.
31733 * manual/install.texi (Tools for Compilation): Document a
31734 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31735 compiler verified to work.
31736 * INSTALL: Regenerated.
31737
31738 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31739 redeclare with asm name.
31740 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31741 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31742 including <string.h>.
31743 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31744 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31745 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31746 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31747 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31748 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31749 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31750
31751 2014-11-13 Joseph Myers <joseph@codesourcery.com>
31752
31753 * stdlib/strtol.c (__strtol): Use prototype definition.
31754
31755 [BZ #17594]
31756 * stdlib/strtol.c (SYM__): New macro.
31757 (SYM__1): Likewise.
31758 (__strtol): Likewise.
31759 (strtol): Rename to __strtol and define as weak alias of
31760 __strtol. Use libc_hidden_weak.
31761
31762 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
31763
31764 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31765 Use numbered labels in inline assembly.
31766
31767 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
31768
31769 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31770 Add setjmp LIBC_PROBE.
31771 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31772 Likewise.
31773 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31774 Add longjmp, longjmp_target LIBC_PROBE.
31775 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31776 Likewise.
31777
31778 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
31779
31780 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31781 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31782 to get rid of unused variable warning.
31783
31784 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
31785
31786 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31787 Check for unwind_backtrace == NULL only in SHARED case.
31788 (__backchain_backtrace): Compile only in SHARED case.
31789 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31790 Likewise.
31791 (__backchain_backtrace): Declare as static.
31792
31793 2014-11-12 Roland McGrath <roland@hack.frob.com>
31794
31795 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31796 (__libc_multiple_threads_ptr): Variable moved ...
31797 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31798
31799 2014-11-12 Joseph Myers <joseph@codesourcery.com>
31800
31801 * conform/GlibcConform.pm: New file.
31802 * conform/conformtest.pl: Use GlibcConform module.
31803 * conform/linknamespace.pl: New file.
31804 * conform/list-header-symbols.pl: Likewise.
31805 * conform/Makefile (linknamespace-symlists-base): New variable.
31806 (linknamespace-symlists-tests): Likewise.
31807 (linknamespace-header-base): Likewise.
31808 (linknamespace-header-tests): Likewise.
31809 (tests-special): Add new tests.
31810 ($(linknamespace-symlists-tests)): New rule.
31811 (linknamespace-libs): New variable.
31812 ($(objpfx)symlist-stdlibs): New rule.
31813 ($(linknamespace-header-tests)): Likewise.
31814 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31815 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31816 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31817 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31818 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31819 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31820 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31821 (test-xfail-ISO/math.h/linknamespace): Likewise.
31822 (test-xfail-ISO/signal.h/linknamespace): Likewise.
31823 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31824 (test-xfail-ISO/time.h/linknamespace): Likewise.
31825 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31826 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31827 (test-xfail-ISO99/math.h/linknamespace): Likewise.
31828 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31829 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31830 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31831 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31832 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31833 (test-xfail-ISO11/math.h/linknamespace): Likewise.
31834 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31835 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31836 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31837 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31838 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31839 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31840 (test-xfail-XPG3/math.h/linknamespace): Likewise.
31841 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31842 (test-xfail-XPG3/search.h/linknamespace): Likewise.
31843 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31844 (test-xfail-XPG3/time.h/linknamespace): Likewise.
31845 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31846 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31847 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31848 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31849 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31850 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31851 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31852 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31853 (test-xfail-XPG4/math.h/linknamespace): Likewise.
31854 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31855 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31856 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31857 (test-xfail-XPG4/search.h/linknamespace): Likewise.
31858 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31859 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31860 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31861 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31862 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31863 (test-xfail-XPG4/time.h/linknamespace): Likewise.
31864 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31865 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31866 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31867 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31868 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31869 (test-xfail-POSIX/math.h/linknamespace): Likewise.
31870 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31871 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31872 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31873 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31874 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31875 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31876 (test-xfail-POSIX/time.h/linknamespace): Likewise.
31877 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31878 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31879 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31880 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31881 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31882 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31883 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31884 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31885 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31886 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31887 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31888 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31889 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31890 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31891 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31892 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31893 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31894 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31895 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31896 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31897 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31898 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31899 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31900 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31901 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31902 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31903 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31904 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31905 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31906 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31907 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31908 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31909 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31910 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31911 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31912 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31913 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31914 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31915 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31916 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31917 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31918 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31919 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31920 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31921 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31922 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31923 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31924 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31925 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31926 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31927 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31928 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31929 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31930 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31931 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31932 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31933 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31934 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31935 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31936 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31937 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31938 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31939 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31940 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31941 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31942 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31943 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31944 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31945 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31946 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31947 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31948 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31949 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31950 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31951 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31952 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31953 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31954 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31955 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31956 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31957 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31958 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31959 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31960 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31961 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31962 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31963 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31964 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31965 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31966 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31967 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31968 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31969 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31970 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31971 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31972 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31973 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31974 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31975
31976 [BZ #17589]
31977 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31978 of fgets_unlocked.
31979
31980 [BZ #17585]
31981 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31982 (memmem): Rename to __memmem and define as weak alias of
31983 __memmem. Use libc_hidden_weak.
31984 (__memmem): Use libc_hidden_def.
31985 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
31986 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31987 memmem.
31988
31989 [BZ #17582]
31990 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31991 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
31992 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31993 and define as weak alias of __fgets_unlocked. Use
31994 libc_hidden_weak.
31995 (__fgets_unlocked): Use libc_hidden_def.
31996 * include/stdio.h (__fgets_unlocked): Declare. Use
31997 libc_hidden_proto.
31998 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31999 __fgets_unlocked instead of fgets_unlocked.
32000 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
32001 (GET_NPROCS_CONF_PARSER): Likewise.
32002 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
32003 (GET_NPROCS_CONF_PARSER): Likewise.
32004
32005 [BZ #17574]
32006 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
32007 weak alias of __wmemset. Use libc_hidden_weak.
32008 (__wmemset): Use libc_hidden_def.
32009 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
32010 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
32011 of wmemset.
32012
32013 [BZ #17573]
32014 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
32015 with asm name __mempcpy.
32016 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
32017
32018 [BZ #17572]
32019 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
32020 and define as weak alias of __rawmemchr.
32021 (__rawmemchr): Do not define as strong alias of rawmemchr.
32022
32023 [BZ #17571]
32024 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
32025 alias of __qsort_r.
32026 (qsort): Call __qsort_r instead of qsort_r.
32027 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
32028 (__qsort_r): Declare. Call libc_hidden_proto.
32029 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
32030 instead of qsort_r.
32031 * nscd/gai.c (__qsort_r): Define to qsort_r.
32032 * posix/tst-rfc3484.c (__qsort_r): Likewise.
32033 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
32034 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
32035
32036 [BZ #17570]
32037 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
32038 define as weak alias of __malloc_info.
32039
32040 [BZ #17584]
32041 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
32042 as weak alias of __rewinddir. Don't use libc_hidden_def.
32043 (__rewinddir): Use libc_hidden_def.
32044 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
32045 as weak alias of __rewinddir. Don't use libc_hidden_def.
32046 (__rewinddir): Use libc_hidden_def.
32047 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
32048 weak alias of __rewinddir. Don't use libc_hidden_def.
32049 (__rewinddir): Use libc_hidden_def.
32050 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
32051 (__rewinddir): Use libc_hidden_proto.
32052 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
32053 rewinddir.
32054 (__getcwd): Use __rewinddir instead of rewinddir.
32055
32056 [BZ #17583]
32057 * libio/fileno.c (fileno): Rename to __fileno and define as weak
32058 alias of __fileno. Use libc_hidden_weak.
32059 (__fileno): Use libc_hidden_def.
32060 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
32061 * libio/ftello.c (ftello): Rename to __ftello and define as weak
32062 alias of __ftello.
32063 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
32064 __ftello.
32065 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
32066 (__fread_unlocked): Define as strong alias of _IO_fread. Use
32067 libc_hidden_def.
32068 (fread_unlocked): Don't use libc_hidden_ver.
32069 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
32070 and define as weak alias of __fread_unlocked. Don't use
32071 libc_hidden_def.
32072 (__fread_unlocked): Use libc_hidden_def.
32073 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
32074 (ftello): Don't use libc_hidden_proto.
32075 (__ftello): Declare. Use libc_hidden_proto.
32076 (fread_unlocked): Don't use libc_hidden_proto.
32077 (__fread_unlocked): Declare. Use libc_hidden_proto.
32078 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
32079 and __ftello instead of fileno, fread_unlocked and ftello.
32080
32081 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32082
32083 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
32084 GOT12.
32085 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32086 Likewise.
32087 (_dl_start_user): Likewise.
32088 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
32089
32090 2014-11-12 Carlos O'Donell <carlos@redhat.com>
32091 Siddhesh Poyarekar <siddhesh@redhat.com>
32092
32093 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
32094 Move argv and envp down instead of moving argc up.
32095 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
32096
32097 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
32098
32099 [BZ #17506]
32100 * test-skeleton.c (main): Return successful if one of
32101 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
32102 * string/tst-strcoll-overflow.c: Define expected status.
32103
32104 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
32105
32106 [BZ #17475]
32107 * locale/iso-639.def: Define Bhili and Tulu language codes.
32108
32109 2014-11-11 Alan Hayward <alan.hayward@arm.com>
32110
32111 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
32112
32113 2014-11-10 Renlin Li <Renlin.Li@arm.com>
32114
32115 [BZ #17555]
32116 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
32117
32118 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
32119
32120 * configure.ac: Updated check of minimal required version to
32121 2.22.
32122 * manual/install.texi (Tools for Compilation): Updated version
32123 number.
32124 * configure: Regenerated.
32125 * INSTALL: Likewise.
32126
32127 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
32128
32129 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
32130 __tls_get_addr.
32131
32132 2014-11-07 Joseph Myers <joseph@codesourcery.com>
32133
32134 * include/sys/wait.h (__libc_waitpid): Remove declaration.
32135 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
32136 (__waitpid): Don't define as alias. Use libc_hidden_def not
32137 libc_hidden_weak.
32138 (waitpid): Define as alias of __waitpid.
32139 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
32140 __waitpid.
32141 (__waitpid): Don't define as alias. Use libc_hidden_def not
32142 libc_hidden_weak.
32143 (waitpid): Define as alias of __waitpid.
32144 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
32145 __libc_waitpid alias.
32146 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
32147 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
32148 Likewise.
32149 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
32150 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
32151 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
32152 alias.
32153 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
32154 __waitpid.
32155 (__waitpid): Don't define as alias. Use libc_hidden_def not
32156 libc_hidden_weak.
32157 (waitpid): Define as alias of __waitpid.
32158
32159 2014-11-06 Carlos O'Donell <carlos@redhat.com>
32160
32161 * manual/llio.texi: Add comment that write safety has been
32162 fixed in Linux.
32163
32164 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
32165 (localplt-build-dso): Add elf/ld.so.
32166 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
32167 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
32168 and free for ld.so.
32169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
32170 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
32171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
32172 Likewise.
32173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32174 Likewise.
32175 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
32176 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
32177 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
32178 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
32179 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
32180 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
32181 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
32182 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
32183 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
32184 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
32185 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32186
32187 2014-11-05 Joseph Myers <joseph@codesourcery.com>
32188
32189 [BZ #14132]
32190 * include/libc-symbols.h (INTUSE): Remove macro.
32191 (INTDEF): Likewise.
32192 (INTVARDEF): Likewise.
32193 (_INTVARDEF): Likewise.
32194 (INTDEF2): Likewise.
32195 (INTVARDEF2): Likewise.
32196 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
32197 rtld_hidden_def instead of INTVARDEF.
32198 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
32199 (_dl_starting_up_internal): Remove declaration.
32200 (_dl_starting_up): Use rtld_hidden_proto.
32201 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
32202 declaration.
32203 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
32204 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
32205 _dl_starting_up.
32206 * elf/dl-writev.h (_dl_writev): Likewise.
32207 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
32208 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
32209 _dl_starting_up_internal.
32210
32211 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32212
32213 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32214 test-skeleton.c.
32215
32216 2014-11-05 Will Newton <will.newton@linaro.org>
32217
32218 * benchtests/Makefile: (bench-malloc): Add malloc thread
32219 scalability benchmark.
32220 * benchtests/bench-malloc-threads.c: New file.
32221
32222 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
32223
32224 * sysdeps/aarch64/strchrnul.S: New file.
32225
32226 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32227
32228 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
32229 definition.
32230 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32231 Likwise.
32232 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32233 Likewise.
32234 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32235 Likewise.
32236 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32237 Likewise.
32238 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32239 Likewise.
32240
32241 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
32242
32243 * catgets/test-gencat.c: Use test-skeleton.c.
32244 * catgets/tst-catgets.c: Likewise.
32245 * csu/tst-empty.c: Likewise.
32246 * elf/tst-audit2.c: Likewise.
32247 * elf/tst-global1.c: Likewise.
32248 * elf/tst-pathopt.c: Likewise.
32249 * elf/tst-piemod1.c: Likewise.
32250 * elf/tst-tls10.c: Likewise.
32251 * elf/tst-tls11.c: Likewise.
32252 * elf/tst-tls12.c: Likewise.
32253 * gnulib/tst-gcc.c: Likewise.
32254 * iconvdata/tst-e2big.c: Likewise.
32255 * iconvdata/tst-loading.c: Likewise.
32256 * iconv/tst-iconv1.c: Likewise.
32257 * iconv/tst-iconv2.c: Likewise.
32258 * inet/test-inet6_opt.c: Likewise.
32259 * inet/tst-gethnm.c: Likewise.
32260 * inet/tst-network.c: Likewise.
32261 * inet/tst-ntoa.c: Likewise.
32262 * intl/tst-codeset.c: Likewise.
32263 * intl/tst-gettext2.c: Likewise.
32264 * intl/tst-gettext3.c: Likewise.
32265 * intl/tst-ngettext.c: Likewise.
32266 * intl/tst-translit.c: Likewise.
32267 * io/test-stat.c: Likewise.
32268 * libio/test-fmemopen.c: Likewise.
32269 * libio/tst-freopen.c: Likewise.
32270 * libio/tst-sscanf.c: Likewise.
32271 * libio/tst-ungetwc1.c: Likewise.
32272 * libio/tst-ungetwc2.c: Likewise.
32273 * libio/tst-widetext.c: Likewise.
32274 * localedata/tst-ctype.c: Likewise.
32275 * localedata/tst-digits.c: Likewise.
32276 * localedata/tst-leaks.c: Likewise.
32277 * localedata/tst-mbswcs1.c: Likewise.
32278 * localedata/tst-mbswcs2.c: Likewise.
32279 * localedata/tst-mbswcs3.c: Likewise.
32280 * localedata/tst-mbswcs4.c: Likewise.
32281 * localedata/tst-mbswcs5.c: Likewise.
32282 * localedata/tst-setlocale.c: Likewise.
32283 * localedata/tst-trans.c: Likewise.
32284 * localedata/tst-wctype.c: Likewise.
32285 * localedata/tst-xlocale1.c: Likewise.
32286 * login/tst-grantpt.c: Likewise.
32287 * malloc/tst-calloc.c: Likewise.
32288 * malloc/tst-malloc.c: Likewise.
32289 * malloc/tst-mallocstate.c: Likewise.
32290 * malloc/tst-mcheck.c: Likewise.
32291 * malloc/tst-mtrace.c: Likewise.
32292 * malloc/tst-obstack.c: Likewise.
32293 * math/atest-exp2.c: Likewise.
32294 * math/atest-exp.c: Likewise.
32295 * math/atest-sincos.c: Likewise.
32296 * math/test-matherr.c: Likewise.
32297 * math/test-misc.c: Likewise.
32298 * math/test-powl.c: Likewise.
32299 * math/tst-definitions.c: Likewise.
32300 * misc/tst-dirname.c: Likewise.
32301 * misc/tst-efgcvt.c: Likewise.
32302 * misc/tst-fdset.c: Likewise.
32303 * misc/tst-hsearch.c: Likewise.
32304 * misc/tst-mntent2.c: Likewise.
32305 * nptl/tst-sem7.c: Likewise.
32306 * nptl/tst-sem8.c: Likewise.
32307 * nptl/tst-sem9.c: Likewise.
32308 * nss/test-netdb.c: Likewise.
32309 * posix/tst-fnmatch.c: Likewise.
32310 * posix/tst-getlogin.c: Likewise.
32311 * posix/tst-gnuglob.c: Likewise.
32312 * posix/tst-mmap.c: Likewise.
32313 * pwd/tst-getpw.c: Likewise.
32314 * resolv/tst-inet_ntop.c: Likewise.
32315 * rt/tst-timer.c: Likewise.
32316 * stdio-common/test-fseek.c: Likewise.
32317 * stdio-common/test-popen.c: Likewise.
32318 * stdio-common/test-vfprintf.c: Likewise.
32319 * stdio-common/tst-cookie.c: Likewise.
32320 * stdio-common/tst-fileno.c: Likewise.
32321 * stdio-common/tst-gets.c: Likewise.
32322 * stdio-common/tst-obprintf.c: Likewise.
32323 * stdio-common/tst-perror.c: Likewise.
32324 * stdio-common/tst-sprintf2.c: Likewise.
32325 * stdio-common/tst-sprintf3.c: Likewise.
32326 * stdio-common/tst-sprintf.c: Likewise.
32327 * stdio-common/tst-swprintf.c: Likewise.
32328 * stdio-common/tst-tmpnam.c: Likewise.
32329 * stdio-common/tst-unbputc.c: Likewise.
32330 * stdio-common/tst-wc-printf.c: Likewise.
32331 * stdlib/tst-environ.c: Likewise.
32332 * stdlib/tst-fmtmsg.c: Likewise.
32333 * stdlib/tst-limits.c: Likewise.
32334 * stdlib/tst-rand48-2.c: Likewise.
32335 * stdlib/tst-rand48.c: Likewise.
32336 * stdlib/tst-random2.c: Likewise.
32337 * stdlib/tst-random.c: Likewise.
32338 * stdlib/tst-strtol.c: Likewise.
32339 * stdlib/tst-strtoll.c: Likewise.
32340 * stdlib/tst-tls-atexit.c: Likewise.
32341 * stdlib/tst-xpg-basename.c: Likewise.
32342 * string/test-ffs.c: Likewise.
32343 * string/tst-bswap.c: Likewise.
32344 * string/tst-inlcall.c: Likewise.
32345 * string/tst-strtok.c: Likewise.
32346 * string/tst-strxfrm.c: Likewise.
32347 * sysdeps/x86_64/tst-audit10.c: Likewise.
32348 * sysdeps/x86_64/tst-audit3.c: Likewise.
32349 * sysdeps/x86_64/tst-audit4.c: Likewise.
32350 * sysdeps/x86_64/tst-audit5.c: Likewise.
32351 * time/tst-ftime_l.c: Likewise.
32352 * time/tst-getdate.c: Likewise.
32353 * time/tst-mktime3.c: Likewise.
32354 * time/tst-mktime.c: Likewise.
32355 * time/tst-posixtz.c: Likewise.
32356 * time/tst-strptime2.c: Likewise.
32357 * time/tst-strptime3.c: Likewise.
32358 * wcsmbs/tst-btowc.c: Likewise.
32359 * wcsmbs/tst-mbrtowc.c: Likewise.
32360 * wcsmbs/tst-mbsrtowcs.c: Likewise.
32361 * wcsmbs/tst-wchar-h.c: Likewise.
32362 * wcsmbs/tst-wcpncpy.c: Likewise.
32363 * wcsmbs/tst-wcrtomb.c: Likewise.
32364 * wcsmbs/tst-wcsnlen.c: Likewise.
32365 * wcsmbs/tst-wcstof.c: Likewise.
32366
32367 2014-11-04 Joseph Myers <joseph@codesourcery.com>
32368
32369 [BZ #14132]
32370 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
32371 INTDEF.
32372 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
32373 declaration.
32374 (_dl_mcount): Use rtld_hidden_proto.
32375 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
32376 _dl_mcount.
32377 * elf/rtld.c (_rtld_global_ro): Likewise.
32378
32379 [BZ #14132]
32380 * elf/dl-init.c (_dl_init): Don't use INTDEF.
32381 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
32382 of _dl_init_internal.
32383 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
32384 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
32385 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
32386 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
32387 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
32388 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
32389 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
32390 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
32391 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
32392 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
32393 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
32394 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
32395 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32396 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32397 * sysdeps/tile/dl-start.S (_start): Likewise.
32398 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
32399 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
32400
32401 [BZ #14132]
32402 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
32403 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
32404 (rtld_progname): Make macro definition unconditional.
32405 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
32406 INTDEF.
32407 (dlmopen_doit): Do not use INTUSE with _dl_argv.
32408 (dl_main): Likewise.
32409 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32410 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
32411 instead of _dl_argv_internal.
32412 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32413 __GI__dl_argv instead of INTUSE(_dl_argv).
32414 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
32415 __GI__dl_argv instead of _dl_argv_internal.
32416
32417 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
32418 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
32419 macro.
32420 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
32421 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
32422 New macro.
32423 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
32424 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
32425 macro.
32426 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
32427 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
32428
32429 2014-11-04 Andreas Schwab <schwab@suse.de>
32430
32431 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
32432
32433 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32434
32435 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
32436 mtvsrd instruction in binary form.
32437
32438 2014-11-03 Andreas Schwab <schwab@suse.de>
32439
32440 [BZ #17522]
32441 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
32442 for less than MB_LEN_MAX use a local buffer of that size.
32443 * libio/tst-fputws.c: New file.
32444 * libio/Makefile (tests): Add tst-fputws.
32445
32446 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
32447
32448 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
32449 the size of the fpu_fr.fpu_dregs[] array.
32450
32451 2014-11-01 Joseph Myers <joseph@codesourcery.com>
32452
32453 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
32454 (__nanosleep): Do not define as alias.
32455 (nanosleep): Define as alias of __nanosleep.
32456 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
32457 __libc_nanosleep name.
32458
32459 2014-10-31 Joseph Myers <joseph@codesourcery.com>
32460
32461 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
32462 install.texi in comment.
32463
32464 2014-10-31 Torvald Riegel <triegel@redhat.com>
32465
32466 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
32467 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
32468 ... add here and use lwsync or sync ...
32469 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
32470 ... and add here using lwsync.
32471
32472 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
32473
32474 * elf/dl-machine-reject-phdr.h: New file.
32475 * elf/dl-load.c: #include that.
32476 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
32477 if that returned true.
32478
32479 2014-10-31 Roland McGrath <roland@hack.frob.com>
32480
32481 [BZ #17496]
32482 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
32483 gen-as-const-headers chunk. Add a big scare comment after the last
32484 safe place to touch before-compile.
32485
32486 2014-10-31 Joseph Myers <joseph@codesourcery.com>
32487
32488 * manual/install.texi (Tools for Compilation): Update autoconf
32489 version requirements.
32490 * INSTALL: Regenerated.
32491
32492 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
32493 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
32494 (__libc_pselect): Likewise.
32495
32496 [BZ #14138]
32497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
32498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32501
32502 2014-10-31 Torvald Riegel <triegel@redhat.com>
32503
32504 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
32505 correct barrier instruction.
32506 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
32507 Likewise.
32508 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
32509 Likewise.
32510
32511 2014-10-30 Roland McGrath <roland@hack.frob.com>
32512
32513 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
32514 after defining inlines. Instead, just use parens to defeat macro
32515 expansion of __isctype in its declaration.
32516
32517 2014-10-30 Joseph Myers <joseph@codesourcery.com>
32518
32519 * include/sys/uio.h (__libc_readv): Remove declaration.
32520 (__libc_writev): Likewise.
32521 * misc/readv.c (__libc_readv): Rename to __readv.
32522 (__readv): Do not define as alias.
32523 (readv): Define as alias of __readv.
32524 * misc/writev.c (__libc_writev): Rename to __writev.
32525 (__writev): Do not define as alias.
32526 (writev): Define as alias of __writev.
32527 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
32528 (__readv): Do not define as alias.
32529 (readv): Define unconditionally as alias of __readv.
32530 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
32531 (__writev): Do not define as alias.
32532 (writev): Define unconditionally as alias of __writev.
32533 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
32534 name.
32535 (writev): Do not define __libc_writev name.
32536
32537 2014-10-30 Roland McGrath <roland@hack.frob.com>
32538
32539 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
32540 (convert_charseq): New function, broken out of ...
32541 (use_from_charmap): ... here. Call it.
32542 (use_to_charmap): Use convert_charseq and free instead of duplicating
32543 its code with a variable-length stack struct.
32544
32545 2014-10-30 Joseph Myers <joseph@codesourcery.com>
32546
32547 * include/fcntl.h (__libc_creat): Remove declaration.
32548 * io/creat.c (__libc_creat): Rename to creat.
32549 (creat): Do not define as alias.
32550 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
32551 of creat instead of __libc_creat.
32552 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
32553 to creat.
32554 (creat): Do not define as alias.
32555 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
32556 __libc_creat.
32557 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
32558 __libc_creat name.
32559 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
32560 Likewise.
32561
32562 2014-10-29 Carlos O'Donell <carlos@redhat.com>
32563
32564 * manual/llio.texi: Add comments discussing why write() may be
32565 considered MT-unsafe on Linux.
32566
32567 2014-10-28 Carlos O'Donell <carlos@redhat.com>
32568
32569 * dl-load.c (local_strdup): Remove.
32570 (expand_dynamic_string_token): Use __strdup.
32571 (decompose_rpath): Likewise.
32572 (_dl_map_object): Likewise.
32573
32574 2014-10-28 Joseph Myers <joseph@codesourcery.com>
32575
32576 [BZ #14132]
32577 * sysdeps/generic/unwind-dw2-fde.c
32578 (__register_frame_info_bases_internal): Do not declare.
32579 (__register_frame_info_table_bases_internal): Likewise.
32580 (__deregister_frame_info_bases_internal): Likewise.
32581 (__register_frame_info_bases): Declare and use hidden_proto before
32582 definition. Use hidden_def instead of INTDEF.
32583 (__register_frame_info_table_bases): Likewise.
32584 (__deregister_frame_info_bases): Likewise.
32585 (__register_frame_info): Do not use INTUSE.
32586 (__register_frame): Likewise.
32587 (__register_frame_info_table): Likewise.
32588 (__register_frame_table): Likewise.
32589 (__deregister_frame_info): Likewise.
32590 (__deregister_frame): Likewise.
32591
32592 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
32593
32594 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32595 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32596 not undefine.
32597 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32598 Likewise.
32599 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32600 Likewise.
32601
32602 2014-10-27 Joseph Myers <joseph@codesourcery.com>
32603
32604 [BZ #14138]
32605 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32606 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32607 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32608 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32609 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32610 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32611 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32612 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32613 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32614 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32615 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32616 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32617 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32618 syscall.
32619 (setfsuid): Likewise.
32620 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32621 (setfsuid): Likewise.
32622 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32623 (setfsuid): Likewise.
32624 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32625 Likewise.
32626 (setfsuid): Likewise.
32627 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32628 (setfsuid): Likewise.
32629 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32630 Likewise.
32631 (setfsuid): Likewise.
32632
32633 2014-10-27 Andreas Schwab <schwab@suse.de>
32634
32635 [BZ #17501]
32636 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32637 check for Slow_SSE4_2 feature bit.
32638 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32639 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32640 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32641 Likewise. Fix check for Fast_Unaligned_Load feature bit.
32642
32643 2014-10-24 Roland McGrath <roland@hack.frob.com>
32644
32645 * configure.ac: Validate compiler version with a empirical test of
32646 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32647 $CC -v output.
32648 * configure: Regenerated.
32649
32650 * inet/htons.c (htons): Prototypify.
32651 * inet/htonl.c (htonl): Likewise.
32652
32653 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
32654
32655 * string/strncat.c (strncat): Improve performance by using strlen.
32656
32657 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
32658
32659 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32660
32661 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
32662
32663 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32664 Call libc_fetestexcept_aarch64.
32665
32666 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
32667
32668 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32669 Call libc_feholdexcept_aarch64.
32670
32671 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
32672
32673 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32674 Call get_rounding_mode.
32675
32676 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
32677
32678 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32679 Simplify logic.
32680
32681 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
32682
32683 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32684 Simplify logic.
32685
32686 2014-10-24 Joseph Myers <joseph@codesourcery.com>
32687
32688 [BZ #14138]
32689 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32690 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32691 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32692 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32693 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32694 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32695 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32696 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32697 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32698 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32699 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32700 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32701 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32702 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32703 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32704 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32705 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32706 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32707 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32708 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32709 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32710 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32711 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32712 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32713 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32714 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32715 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32716 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32717 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32718 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32719 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32720 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32721 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32722 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32723 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32724 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32725 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32726 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32727 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32728 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32729 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32730 syscall.
32731 (geteuid): Likewise.
32732 (getgid): Likewise.
32733 (getuid): Likewise.
32734 (getresgid): Likewise.
32735 (getresuid): Likewise.
32736 (getgroups): Likewise.
32737 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32738 (geteuid): Likewise.
32739 (getgid): Likewise.
32740 (getuid): Likewise.
32741 (getresgid): Likewise.
32742 (getresuid): Likewise.
32743 (getgroups): Likewise.
32744 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32745 (geteuid): Likewise.
32746 (getgid): Likewise.
32747 (getuid): Likewise.
32748 (getresgid): Likewise.
32749 (getresuid): Likewise.
32750 (getgroups): Likewise.
32751 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32752 Likewise.
32753 (geteuid): Likewise.
32754 (getgid): Likewise.
32755 (getuid): Likewise.
32756 (getresgid): Likewise.
32757 (getresuid): Likewise.
32758 (getgroups): Likewise.
32759 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32760 (geteuid): Likewise.
32761 (getgid): Likewise.
32762 (getuid): Likewise.
32763 (getresgid): Likewise.
32764 (getresuid): Likewise.
32765 (getgroups): Likewise.
32766 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32767 Likewise.
32768 (geteuid): Likewise.
32769 (getgid): Likewise.
32770 (getuid): Likewise.
32771 (getgroups): Likewise.
32772
32773 [BZ #14138]
32774 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32775 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32776 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32777 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32778 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32779 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32780 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32781 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32782 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32783 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32784 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32785 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32786 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32787 __chown.
32788 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32789 (lchown): Likewise.
32790 (fchown): Likewise.
32791 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32792 Likewise.
32793 (lchown): Likewise.
32794 (fchown): Likewise.
32795 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32796 (lchown): Likewise.
32797 (fchown): Likewise.
32798 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32799 Likewise.
32800 (lchown): Likewise.
32801 (fchown): Likewise.
32802
32803 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
32804
32805 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32806 Simplify logic.
32807
32808 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
32809
32810 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32811 Cleanup logic.
32812
32813 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
32814
32815 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32816 Remove unused include.
32817
32818 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
32819
32820 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32821 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32822 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32823 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32824
32825 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
32826 Helge Deller <deller@gmx.de>
32827
32828 [BZ #17508]
32829 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32830 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32831 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32832
32833 2014-10-23 Joseph Myers <joseph@codesourcery.com>
32834
32835 [BZ #14132]
32836 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32837 Remove macro definition.
32838 (__ashrdi3_v_glibc20): Likewise.
32839 (__lshrdi3_v_glibc20): Likewise.
32840 (__cmpdi2_v_glibc20): Likewise.
32841 (__ucmpdi2_v_glibc20): Likewise.
32842 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32843 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32844 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32845 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32846 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32847 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32848
32849 2014-10-22 Roland McGrath <roland@hack.frob.com>
32850
32851 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32852 old GNU extension [0] syntax.
32853 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32854 alloca rather than an array member with variable length.
32855 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32856 * nscd/nscd.c (invalidate_db): New function, broken out of ...
32857 (parse_opt): ... here. Likewise use alloca there.
32858 Validate the -i argument before checking for rootness.
32859 (send_shutdown): New function, broken out of ...
32860 (parse_opt): ... here.
32861
32862 2014-10-22 Roland McGrath <roland@hack.frob.com>
32863
32864 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32865 macro to get at the _rt_local_ro field.
32866 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32867 ([PIC] case) or _dl_hwcap ([!PIC] case).
32868 * sysdeps/arm/setjmp.S: Likewise.
32869
32870 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32871 * sysdeps/arm/configure.ac: New check to define it.
32872 * sysdeps/arm/configure: Regenerated.
32873 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32874 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32875 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32876 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32877 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32878 Use move/movt pair instead of a load.
32879 (LDST_GLOBAL): Macro removed.
32880 (LDR_GLOBAL): New macro replaces it.
32881 (LDR_HIDDEN): New macro.
32882 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32883 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32884
32885 * setjmp/tst-setjmp-static.c: New file.
32886 * setjmp/Makefile (tests): Add it.
32887 (tests-static): New variable.
32888
32889 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
32890
32891 [BZ #17485]
32892 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32893
32894 2014-10-21 Joseph Myers <joseph@codesourcery.com>
32895
32896 [BZ #14132]
32897 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32898
32899 2014-10-21 Roland McGrath <roland@hack.frob.com>
32900
32901 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32902
32903 2014-10-20 Roland McGrath <roland@hack.frob.com>
32904
32905 * io/fts.c (dirent_not_directory): New function.
32906 (fts_build): Call it.
32907
32908 2014-10-20 Roland McGrath <roland@hack.frob.com>
32909
32910 * nptl/version.c (__nptl_main): Use normal __write rather than
32911 INTERNAL_SYSCALL.
32912 (banner): Update copyright years.
32913
32914 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32915 gettimeofday.
32916 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32917 * nptl/pthread_cond_timedwait.c: Likewise.
32918 * nptl/pthread_mutex_timedlock.c: Likewise.
32919 * nptl/sem_timedwait.c: Likewise.
32920
32921 * sysdeps/nptl/bits/libc-lock.h
32922 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32923 (__libc_lock_init_recursive): Return void, not 0.
32924 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32925 (__libc_rwlock_init): Likewise.
32926 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32927
32928 2014-10-20 Torvald Riegel <triegel@redhat.com>
32929
32930 [BZ #15215]
32931 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32932 (__pthread_once_slow): ... here.
32933 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32934 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32935
32936 2014-10-20 Torvald Riegel <triegel@redhat.com>
32937
32938 [BZ #15215]
32939 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32940 __PTHREAD_ONCE_FORK_GEN_INCR): New.
32941 * sysdeps/nptl/fork.c (__libc_fork): Use them.
32942 * nptl/pthread_once.c (__pthread_once): Likewise.
32943 Update comments.
32944
32945 2014-10-20 Joseph Myers <joseph@codesourcery.com>
32946
32947 [BZ #14138]
32948 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32949 name.
32950 (writev): Use __libc_writev as strong name.
32951 * sysdeps/unix/sysv/linux/readv.c: Remove file.
32952 * sysdeps/unix/sysv/linux/writev.c: Likewise.
32953
32954 2014-10-17 Roland McGrath <roland@hack.frob.com>
32955
32956 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32957
32958 * sysdeps/i386/nptl/tls.h
32959 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32960 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32961 New macros.
32962 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32963 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32964 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32965 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32966 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32967 Call CHECK_THREAD_SYSINFO instead of doing an assert.
32968
32969 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32970 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32971 on [__NR_futex].
32972 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32973 broken out of ...
32974 (__pthread_mutex_init): ... here. Call it.
32975 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32976 Conditionalize PI cases on [__NR_futex].
32977 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32978 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32979 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32980
32981 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32982 conditional on [SIGSETXID].
32983 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32984 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32985 is defined. Likewise for SIGSETXID.
32986 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32987 Conditionalize definitions on [SIGSETXID].
32988 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32989 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32990 unblocking on [SIGCANCEL].
32991
32992 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32993 [__NR_set_robust_list].
32994
32995 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32996
32997 * string/strcoll_l.c (get_next_seq): Fix up formatting.
32998 (do_compare): Likewise.
32999
33000 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
33001
33002 [BZ #15884]
33003 * string/strcoll_l.c: Don't include stdio.h.
33004 (coll_seq): Remove members idxarr and rulearr.
33005 (get_next_seq_cached): Remove function.
33006 (get_next_seq): Likewise.
33007 (get_next_seq_nocache): Rename to get_next_seq.
33008 (do_compare): Remove function.
33009 (do_compare_nocache): Rename to do_compare.
33010 (STRCOLL): Remove weight and rules cache.
33011
33012 2014-10-16 Roland McGrath <roland@hack.frob.com>
33013
33014 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
33015 * sysdeps/arm/sfp-machine.h: ... to here.
33016 * sysdeps/arm/Implies: Remove arm/soft-fp.
33017
33018 2014-10-14 Joseph Myers <joseph@codesourcery.com>
33019
33020 * conform/data/sys/utsname.h-data (*_t): Allow.
33021 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
33022 [POSIX] (WEXITED): Do not expect constant.
33023 [POSIX] (WSTOPPED): Likewise.
33024 [POSIX] (WNOHANG): Likewise.
33025 [POSIX] (WNOWAIT): Likewise.
33026 [POSIX] (siginfo_t): Do not expect type or elements.
33027 [POSIX] (pid_t): Do not expect type.
33028 [POSIX] (signal.h): Do not allow header.
33029 [POSIX] (sys/resource.h): Likewise.
33030 [POSIX] (si_*): Do not allow pattern.
33031 [POSIX] (W*): Likewise.
33032 [POSIX] (P_*): Likewise.
33033 [POSIX] (BUS_*): Likewise.
33034 [POSIX] (CLD_*): Likewise.
33035 [POSIX] (FPE_*): Likewise.
33036 [POSIX] (ILL_*): Likewise.
33037 [POSIX] (POLL_*): Likewise.
33038 [POSIX] (SEGV_*): Likewise.
33039 [POSIX] (SI_*): Likewise.
33040 [POSIX] (TRAP_*): Likewise.
33041 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
33042 variable.
33043
33044 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
33045
33046 [BZ #12926]
33047 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
33048 infinite loop when __recvmsg returns 0.
33049
33050 2014-10-10 Joseph Myers <joseph@codesourcery.com>
33051
33052 * CANCEL-FCT-WAIVE: Remove file.
33053 * CANCEL-FILE-WAIVE: Likewise.
33054
33055 [BZ #14132]
33056 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
33057 instead of INTVARDEF.
33058 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
33059 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
33060 rtld_hidden_data_def instead of INTVARDEF.
33061 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
33062 * elf/dl-deps.c (expand_dst): Likewise.
33063 * elf/dl-load.c (_dl_dst_count): Likewise.
33064 (_dl_dst_substitute): Likewise.
33065 (decompose_rpath): Likewise.
33066 (_dl_init_paths): Likewise.
33067 (open_path): Likewise.
33068 (_dl_map_object): Likewise.
33069 * elf/rtld.c (dl_main): Likewise.
33070 (process_dl_audit): Likewise.
33071 (process_envvars): Likewise.
33072 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
33073 Remove declaration.
33074 (__libc_enable_secure): Use rtld_hidden_proto.
33075
33076 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
33077
33078 * elf/dl-load.c
33079 (add_path): New function broken out of _dl_rtld_di_serinfo.
33080 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
33081
33082 2014-10-09 Joseph Myers <joseph@codesourcery.com>
33083
33084 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
33085 parentheses around macro arguments.
33086 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
33087 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
33088 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
33089 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
33090 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
33091 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
33092 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
33093 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
33094 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
33095 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
33096 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
33097 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
33098 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
33099 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
33100 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
33101 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
33102 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
33103 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
33104 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
33105 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
33106 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
33107 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
33108 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
33109 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
33110 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
33111 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
33112 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
33113 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
33114 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
33115 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
33116 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
33117 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
33118 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
33119 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
33120 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
33121 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
33122 Likewise.
33123 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
33124 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
33125 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
33126 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
33127 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
33128 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
33129 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
33130 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
33131 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
33132 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
33133 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
33134 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
33135 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
33136 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
33137 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
33138 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
33139 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
33140 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
33141 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
33142 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
33143 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
33144 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
33145 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
33146 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
33147 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
33148 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
33149 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
33150 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
33151 (_FP_FRAC_SRS_1): Likewise.
33152 (_FP_FRAC_CLZ_1): Likewise.
33153 (_FP_MUL_MEAT_1_imm): Likewise.
33154 (_FP_MUL_MEAT_1_wide): Likewise.
33155 (_FP_MUL_MEAT_1_hard): Likewise.
33156 (_FP_SQRT_MEAT_1): Likewise.
33157 (_FP_FRAC_ASSEMBLE_1): Likewise.
33158 (_FP_FRAC_DISASSEMBLE_1): Likewise.
33159 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
33160 (__FP_CLZ_2): Likewise.
33161 (_FP_MUL_MEAT_2_wide): Likewise.
33162 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33163 (_FP_MUL_MEAT_2_gmp): Likewise.
33164 (_FP_MUL_MEAT_2_120_240_double): Likewise.
33165 (_FP_SQRT_MEAT_2): Likewise.
33166 (_FP_FRAC_ASSEMBLE_2): Likewise.
33167 (_FP_FRAC_DISASSEMBLE_2): Likewise.
33168 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
33169 (_FP_FRAC_CLZ_4): Likewise.
33170 (_FP_MUL_MEAT_4_wide): Likewise.
33171 (_FP_MUL_MEAT_4_gmp): Likewise.
33172 (_FP_SQRT_MEAT_4): Likewise.
33173 (_FP_FRAC_ASSEMBLE_4): Likewise.
33174 (_FP_FRAC_DISASSEMBLE_4): Likewise.
33175 * soft-fp/op-common.h (_FP_CMP): Likewise.
33176 (_FP_CMP_EQ): Likewise.
33177 (_FP_CMP_UNORD): Likewise.
33178 (_FP_TO_INT): Likewise.
33179 (_FP_FROM_INT): Likewise.
33180 [!__FP_CLZ] (__FP_CLZ): Likewise.
33181 (_FP_DIV_HELP_imm): Likewise.
33182 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
33183 Likewise.
33184 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
33185 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
33186 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
33187 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
33188 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
33189 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
33190 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
33191 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
33192 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
33193 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
33194 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
33195 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
33196 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
33197 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
33198 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
33199 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
33200 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
33201 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
33202 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
33203 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
33204 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
33205 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
33206 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
33207 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
33208 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
33209 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
33210 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
33211 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
33212 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
33213 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
33214 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
33215 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
33216 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
33217 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
33218 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
33219 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
33220 (FP_UNPACK_RAW_SP): Likewise.
33221 (FP_PACK_RAW_S): Likewise.
33222 (FP_PACK_RAW_SP): Likewise.
33223 (FP_UNPACK_S): Likewise.
33224 (FP_UNPACK_SP): Likewise.
33225 (FP_UNPACK_SEMIRAW_S): Likewise.
33226 (FP_UNPACK_SEMIRAW_SP): Likewise.
33227 (FP_PACK_S): Likewise.
33228 (FP_PACK_SP): Likewise.
33229 (FP_PACK_SEMIRAW_S): Likewise.
33230 (FP_PACK_SEMIRAW_SP): Likewise.
33231 (_FP_SQRT_MEAT_S): Likewise.
33232 (FP_CMP_S): Likewise.
33233 (FP_CMP_EQ_S): Likewise.
33234 (FP_CMP_UNORD_S): Likewise.
33235 (FP_TO_INT_S): Likewise.
33236 (FP_FROM_INT_S): Likewise.
33237
33238 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
33239
33240 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
33241 (FP_EX_INVALID_IMZ): Likewise.
33242 (FP_EX_INVALID_IMZ_FMA): Likewise.
33243 (FP_EX_INVALID_ISI): Likewise.
33244 (FP_EX_INVALID_ZDZ): Likewise.
33245 (FP_EX_INVALID_IDI): Likewise.
33246 (FP_EX_INVALID_SQRT): Likewise.
33247 (FP_EX_INVALID_CVI): Likewise.
33248 (FP_EX_INVALID_VC): Likewise.
33249 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
33250 "invalid" exceptions.
33251 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
33252 (_FP_ADD_INTERNAL): Likewise.
33253 (_FP_MUL): Likewise.
33254 (_FP_FMA): Likewise.
33255 (_FP_DIV): Likewise.
33256 (_FP_CMP_CHECK_NAN): Likewise.
33257 (_FP_SQRT): Likewise.
33258 (_FP_TO_INT): Likewise.
33259 (FP_EXTEND): Likewise.
33260
33261 2014-10-09 Allan McRae <allan@archlinux.org>
33262
33263 * po/fr.po: Update French translation from translation project.
33264
33265 2014-10-09 Joseph Myers <joseph@codesourcery.com>
33266
33267 [BZ #14132]
33268 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
33269 of INTDEF.
33270 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
33271 (__cxa_atexit): Use libc_hidden_proto.
33272 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
33273
33274 [BZ #14132]
33275 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
33276 declaration.
33277 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
33278 [!_ISOMAC] (__iswspace_l_internal): Likewise.
33279 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
33280 [!_ISOMAC] (__iswctype_internal): Likewise.
33281 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
33282 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
33283 alias.
33284 (fcntl): Remove __fcntl_internal alias.
33285 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
33286 __connect_internal alias.
33287 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
33288 Likewise.
33289
33290 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
33291 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
33292 FP_DENORM_ZERO.
33293 (_FP_CHECK_FLUSH_ZERO): New macro.
33294 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
33295 (_FP_CMP): Likewise.
33296 (_FP_CMP_EQ): Likewise.
33297 (_FP_TO_INT): Do not set inexact for subnormal arguments if
33298 FP_DENORM_ZERO.
33299 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
33300 (FP_TRUNC): Likewise.
33301
33302 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
33303 treated as invalid conversion, not as normal exponent.
33304
33305 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
33306 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
33307 (_FP_CMP_EQ): Likewise.
33308 (_FP_CMP_UNORD): Likewise.
33309 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
33310 (FP_CMP_EQ_D): Likewise.
33311 (FP_CMP_UNORD_D): Likewise.
33312 * soft-fp/extended.h (FP_CMP_E): Likewise.
33313 (FP_CMP_EQ_E): Likewise.
33314 (FP_CMP_UNORD_E): Likewise.
33315 * soft-fp/quad.h (FP_CMP_Q): Likewise.
33316 (FP_CMP_EQ_Q): Likewise.
33317 (FP_CMP_UNORD_Q): Likewise.
33318 * soft-fp/single.h (FP_CMP_S): Likewise.
33319 (FP_CMP_EQ_S): Likewise.
33320 (FP_CMP_UNORD_S): Likewise.
33321 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
33322 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
33323 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
33324 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
33325 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
33326 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
33327 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
33328 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
33329 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
33330 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
33331 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
33332 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
33333 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
33334 to FP_CMP_Q.
33335 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
33336 FP_CMP_Q.
33337 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
33338 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
33339 FP_CMP_EQ_Q.
33340 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
33341 FP_CMP_Q.
33342 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
33343 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
33344 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
33345 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
33346 FP_CMP_EQ_Q.
33347 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
33348 FP_CMP_Q.
33349 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
33350 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
33351 FP_CMP_EQ_Q.
33352 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
33353 FP_CMP_Q.
33354 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
33355 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
33356 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
33357 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
33358 FP_CMP_EQ_Q.
33359
33360 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
33361 a subnormal result, set the underflow exception if trapping on
33362 underflow is enabled.
33363 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
33364 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
33365 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
33366 redefine to 0.
33367 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
33368 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
33369 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
33370 * soft-fp/extendxftf2.c (__extendxftf2): Use
33371 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
33372
33373 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
33374 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
33375 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33376 FP_HANDLE_EXCEPTIONS.
33377 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
33378 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33379 FP_HANDLE_EXCEPTIONS.
33380 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
33381 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33382 FP_HANDLE_EXCEPTIONS.
33383 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
33384 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33385 FP_HANDLE_EXCEPTIONS.
33386
33387 2014-10-08 Joseph Myers <joseph@codesourcery.com>
33388
33389 [BZ #14132]
33390 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
33391 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
33392 use INTUSE.
33393 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
33394 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
33395 Remove alias.
33396 (__adjtimex): Define using libc_hidden_ver.
33397 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
33398 Remove declaration.
33399 (ntp_gettime): Call __adjtimex directly.
33400 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
33401 Remove declaration.
33402 (ntp_gettimex): Call __adjtimex directly.
33403 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
33404 __adjtimex_internal alias.
33405
33406 2014-10-08 Roland McGrath <roland@hack.frob.com>
33407
33408 [BZ #17460]
33409 * nscd/nscd.c (more_help): Rewrite list of tables collection
33410 using xstrdup and asprintf.
33411
33412 * nscd/nscd_conf.c: Remove local xstrdup declaration.
33413
33414 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
33415 Roland McGrath <roland@hack.frob.com>
33416
33417 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
33418 (do_lookup_unique): ... local function 'enter' here; update callers.
33419
33420 2014-10-06 Joseph Myers <joseph@codesourcery.com>
33421
33422 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
33423 compat_symbol calls on [SHARED].
33424 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
33425 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
33426 Remove.
33427 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33428 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
33429 (oldsetrlimit): Remove.
33430 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33432 (lchown): New syscall entry.
33433 (oldsetrlimit): Remove.
33434 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33435 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
33436 (oldsetrlimit): Remove.
33437 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33438
33439 [BZ #14138]
33440 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
33441 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
33442 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
33443 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
33444 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33445 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
33446 (fchown): Likewise.
33447 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
33448 (fchown): Likewise.
33449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
33450 Likewise.
33451
33452 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33453
33454 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
33455 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
33456 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
33457 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
33458 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
33459 Likewise.
33460 (__old_sem_post): Likewise.
33461
33462 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
33463
33464 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
33465 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
33466 HAVE_CLOCK_GETTIME_VSYSCALL macros.
33467 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
33468 Use INLINE_VSYSCALL macro.
33469 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
33470 __vdso_clock_gettime.
33471 * sysdeps/unix/sysv/linux/tile/init-first.c
33472 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
33473 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
33474 __vdso_clock_gettime.
33475
33476 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
33477 to set up frame more cleanly.
33478
33479 * sysdeps/tile/memcmp.c: New file.
33480
33481 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
33482
33483 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
33484 * sysdeps/tile/tilegx/strcasestr.c: New file.
33485 * sysdeps/tile/tilegx/strnlen.c: New file.
33486 * sysdeps/tile/tilegx/strstr.c: New file.
33487
33488 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
33489
33490 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
33491
33492 * nptl/tst-setuid3.c: Write errors to stdout.
33493
33494 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
33495
33496 * elf/dl-deps.c
33497 (preload): New functions broken out of _dl_map_object_deps.
33498 (_dl_map_object_deps): Remove a nested function. Update call sites.
33499
33500 2014-10-01 Joseph Myers <joseph@codesourcery.com>
33501
33502 [BZ #14138]
33503 * sysdeps/unix/sysv/linux/execve.c: Remove file.
33504 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
33505
33506 2014-10-01 Steve Ellcey <sellcey@mips.com>
33507
33508 * sysdeps/mips/strcmp.S: New.
33509
33510 2014-09-30 Joseph Myers <joseph@codesourcery.com>
33511
33512 [BZ #14138]
33513 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
33514 (linkat): Likewise.
33515 (mkdirat): Likewise.
33516 (readlinkat): Likewise.
33517 (renameat): Likewise.
33518 (symlinkat): Likewise.
33519 (unlinkat): Likewise.
33520 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
33521 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
33522 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
33523 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
33524 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
33525 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33526 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
33527
33528 2014-09-30 Will Newton <will.newton@linaro.org>
33529
33530 * math/math.h: Define long double math functions if
33531 _LIBC_TEST is defined.
33532 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
33533
33534 * localedata/Makefile: Move assignment to tests-special
33535 into an ifdef testing run-built-tests.
33536 * timezone/Makefile: Likewise.
33537
33538 2014-09-29 Joseph Myers <joseph@codesourcery.com>
33539
33540 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
33541 with $(BASH) not $(SHELL).
33542
33543 2014-09-29 Carlos O'Donell <carlos@redhat.com>
33544 Matthew LeGendre <legendre1@llnl.gov>
33545
33546 [BZ #17411]
33547 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
33548 l_reloc_result.
33549
33550 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
33551
33552 * stdio-common/printf_fp.c
33553 (hack_digit): New function, broken out of ...
33554 (__printf_fp): ... local function here. Update call sites.
33555 hack_digit now takes an additional parameter that is a pointer
33556 to a struct of the referenced locals. Those locals moved inside
33557 the struct and references updated.
33558
33559 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
33560
33561 * aclocal.m4: Require autoconf 2.69.
33562 * configure: Regenerated.
33563 * sysdeps/aarch64/configure: Likewise.
33564 * sysdeps/alpha/configure: Likewise.
33565 * sysdeps/arm/armv7/configure: Likewise.
33566 * sysdeps/arm/configure: Likewise.
33567 * sysdeps/ia64/configure: Likewise.
33568 * sysdeps/mach/configure: Likewise.
33569 * sysdeps/mips/configure: Likewise.
33570 * sysdeps/s390/configure: Likewise.
33571 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
33572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
33573
33574 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33575 file.
33576 * sysdeps/ia64/configure.ac: Likewise.
33577
33578 2014-09-26 Joseph Myers <joseph@codesourcery.com>
33579
33580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33581 specify symbol version for ld.so. Do not include entry for
33582 libpthread.
33583 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33584 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33585 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33586
33587 [BZ #14171]
33588 * Makeconfig [$(build-shared) = yes]
33589 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33590 makefiles.
33591 [$(build-shared) = yes && $(soversions.mk-done) = t]
33592 ($(common-objpfx)gnu/lib-names.h): Remove rule.
33593 [$(build-shared) = yes && $(soversions.mk-done) = t]
33594 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
33595 to Makerules.
33596 [$(build-shared) = yes && $(soversions.mk-done) = t]
33597 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33598 here.
33599 [$(build-shared) = yes && $(soversions.mk-done) = t]
33600 (common-generated): Don't append gnu/lib-names.h and
33601 gnu/lib-names.stmp here.
33602 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33603 (lib-names-h-abi): New variable.
33604 [$(build-shared) = yes && $(soversions.mk-done) = t]
33605 (lib-names-stmp-abi): Likewise.
33606 [$(build-shared) = yes && $(soversions.mk-done) = t &&
33607 abi-variants] (before-compile): Append
33608 $(common-objpfx)$(lib-names-h-abi).
33609 [$(build-shared) = yes && $(soversions.mk-done) = t &&
33610 abi-variants] (common-generated): Append gnu/lib-names.h.
33611 [$(build-shared) = yes && $(soversions.mk-done) = t &&
33612 abi-variants] (install-others-nosubdir): Depend on
33613 $(inst_includedir)/$(lib-names-h-abi).
33614 [$(build-shared) = yes && $(soversions.mk-done) = t &&
33615 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33616 [$(build-shared) = yes && $(soversions.mk-done) = t]
33617 ($(common-objpfx)$(lib-names-h-abi)): New rule.
33618 [$(build-shared) = yes && $(soversions.mk-done) = t]
33619 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33620 [$(build-shared) = yes && $(soversions.mk-done) = t]
33621 (common-generated): Append $(lib-names-h-abi) and
33622 $(lib-names-stmp-abi).
33623 * scripts/lib-names.awk: Do not handle multi being set.
33624 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33625 Remove variable.
33626 (abi-lp64_be-ld-soname): Likewise.
33627 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33628 Likewise.
33629 (abi-hard-ld-soname): Likewise.
33630 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33631 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33632 Remove variable.
33633 (abi-o32_hard-ld-soname): Likewise.
33634 (abi-o32_soft_2008-ld-soname): Likewise.
33635 (abi-o32_hard_2008-ld-soname): Likewise.
33636 (abi-n32_soft-ld-soname): Likewise.
33637 (abi-n32_hard-ld-soname): Likewise.
33638 (abi-n32_soft_2008-ld-soname): Likewise.
33639 (abi-n32_hard_2008-ld-soname): Likewise.
33640 (abi-n64_soft-ld-soname): Likewise.
33641 (abi-n64_hard-ld-soname): Likewise.
33642 (abi-n64_soft_2008-ld-soname): Likewise.
33643 (abi-n64_hard_2008-ld-soname): Likewise.
33644 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33645 Likewise.
33646 (abi-64-v2-ld-soname): Likewise.
33647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33648 ld.so entries.
33649 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33650 variable.
33651 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33652 entry.
33653 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33654 variable.
33655 (abi-64-ld-soname): Likewise.
33656 (abi-x32-ld-soname): Likewise.
33657 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33658 entry.
33659 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33660
33661 2014-09-23 Joseph Myers <joseph@codesourcery.com>
33662
33663 [BZ #14138]
33664 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33665 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33666 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33667 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33668 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33669 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33670 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33671 syscall entry for GLIBC_2.2 symbol version.
33672 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33673 Likewise.
33674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33675 (setrlimit): Likewise.
33676 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33677 Likewise.
33678
33679 2014-09-23 Will Newton <will.newton@linaro.org>
33680
33681 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33682 _LINUX_ARM_SYSDEP_H include guard too.
33683 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33684 define.
33685
33686 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
33687
33688 * sysdeps/unix/sysv/linux/eventfd.c:
33689 Make first argument unsigned.
33690 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33691 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33692
33693 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
33694
33695 [BZ #16852]
33696 * socket/recvmmsg.c (recvmmsg): Drop const argument.
33697 * socket/sys/socket.h: Likewise.
33698 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33699
33700 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33701
33702 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33703
33704 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
33705
33706 * time/tst-ftime.c: New test.
33707 * time/Makefile (tests): Add tst-ftime.
33708
33709 2014-09-17 Joseph Myers <joseph@codesourcery.com>
33710
33711 * soft-fp/extended.h: Fix comment formatting.
33712 * soft-fp/op-1.h: Likewise.
33713 * soft-fp/op-2.h: Likewise.
33714 * soft-fp/op-4.h: Likewise.
33715 * soft-fp/op-8.h: Likewise.
33716 * soft-fp/op-common.h: Likewise.
33717 * soft-fp/soft-fp.h: Likewise.
33718
33719 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33720
33721 2014-09-16 Joseph Myers <joseph@codesourcery.com>
33722
33723 [BZ #6652]
33724 * Makeconfig (soversions-default-setname): Remove variable.
33725 ($(common-objpfx)soversions.i): Don't pass default_setname to
33726 soversions.awk.
33727 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33728 oldest_abi to abi-versions.awk.
33729 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33730 * config.make.in (oldest-abi): Remove variable.
33731 * configure.ac (--enable-oldest-abi): Remove configure option.
33732 * configure: Regenerated.
33733 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33734 text.
33735 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33736 * scripts/soversions.awk: Do not handle default_setname variable.
33737 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33738 variable.
33739 * sysdeps/mach/hurd/configure: Regenerated.
33740 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33741 variable.
33742 * sysdeps/unix/sysv/linux/configure: Regenerated.
33743
33744 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33745
33746 * elf/Makefile (CFLAGS-interp.c): Remove.
33747 ($(elf-objpfx)runtime-linker.h): Generate header with linker
33748 path string.
33749 * elf/interp.c: Include generated runtime-linker.h
33750
33751 * Makerules (lib%.so): Don't include $(+interp) in
33752 prerequisites.
33753 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33754 * dlfcn/eval.c: Remove file.
33755
33756 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33757 macros.
33758
33759 [BZ #17266]
33760 * misc/sys/cdefs.h: Define __extern_always_inline for clang
33761 4.2 and newer.
33762
33763 [BZ #17370]
33764 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33765
33766 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33767 Jakub Jelinek <jakub@redhat.com>
33768
33769 [BZ #17266]
33770 * libio/stdio.h: Check definition of __fortify_function
33771 instead of __extern_always_inline to include bits/stdio2.h.
33772 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33773 check if __extern_always_inline is defined.
33774 [__USE_MISC || __USE_XOPEN]: Likewise.
33775 [__USE_ISOC99] Likewise.
33776 * misc/sys/cdefs.h (__fortify_function): Define only if
33777 __extern_always_inline is defined.
33778 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33779 __extern_always_inline and __extern_inline only for g++-4.3
33780 and newer or a compatible gcc.
33781
33782 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
33783
33784 [BZ #17371]
33785 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33786 last change to handle zero prefix length.
33787
33788 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33789
33790 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33791 _SC_REGEX_VERSION.
33792
33793 * posix/getconf.c (vars): Add _POSIX_IPV6 and
33794 _POSIX_RAW_SOCKETS.
33795
33796 2014-09-13 Allan McRae <allan@archlinux.org>
33797
33798 * po/ru.po: Update Russian translation from translation project.
33799
33800 2014-09-12 Roland McGrath <roland@hack.frob.com>
33801
33802 * locale/programs/locale.c (show_locale_vars): Inline local function
33803 into its sole call site. Clean up some style nits.
33804 (print_item): New function, broken out of ...
33805 (show_info): ... local function here. Clean up style nits.
33806
33807 * locale/programs/ld-ctype.c (set_one_default): New function, broken
33808 out of ...
33809 (set_class_defaults): ... local function set_default here.
33810 Define set_default as a macro locally to pass constant parameters.
33811 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33812 rather than a shared local.
33813
33814 * stdlib/rpmatch.c (try): New function, broken out of ...
33815 (rpmatch): ... local function here. Also, prototypify definition.
33816
33817 2014-09-12 Joseph Myers <joseph@codesourcery.com>
33818
33819 * scripts/soversions.awk: Do not handle configuration names.
33820 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33821 vendor and os variables to soversions.awk.
33822 * configure.ac: Do not modify gnu-* host_os.
33823 * configure: Regenerated
33824 * shlib-versions: Remove first column with configuration names.
33825 * nptl/shlib-versions: Likewise.
33826 * nptl_db/shlib-versions: Likewise.
33827 * sysdeps/hppa/shlib-versions: Likewise.
33828 * sysdeps/m68k/shlib-versions: Likewise.
33829 * sysdeps/mach/hurd/shlib-versions: Likewise.
33830 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33831 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33832 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33833 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33834 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33835 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33836 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33837 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33839 Likewise.
33840 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33841 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33842 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33843 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33844 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33845 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33846 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33847 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33848
33849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33850 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33852 Regenerated.
33853 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33855 Condition symbol version definitions on [HAVE_ELFV2_ABI].
33856
33857 * shlib-versions: Remove OS-specific entries. Moved to files in
33858 sysdeps.
33859 * sysdeps/mach/hurd/shlib-versions: New file.
33860 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33861
33862 * nptl/shlib-versions: Remove architecture-specific entries.
33863 Moved to files in sysdeps.
33864 * shlib-versions: Likewise.
33865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33866 file.
33867 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33868 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33869 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33870 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33871
33872 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33873 (UDP_NO_CHECK6_RX): Likewise.
33874
33875 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33876
33877 * sysdeps/posix/sysconf.c (__sysconf): Spell
33878 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33879
33880 2014-08-12 Florian Weimer <fweimer@redhat.com>
33881
33882 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33883 loading.
33884 * iconv/Versions (__gconv_transliterate): Export for use from
33885 gconv modules.
33886 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33887 (struct __gconv_trans_data, __gconv_trans_fct,
33888 __gconv_trans_context_fct, __gconv_trans_query_fct,
33889 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33890 definitions.
33891 (struct __gconv_step_data): Remove __trans member.
33892 (__gconv_transliterate): Declaration moved from gconv_int.h. No
33893 longer hidden. Remove unused trans_data argument.
33894 * iconv/gconv_int.h (struct trans_struct): Remove definition.
33895 (__gconv_translit_find): Remove declaration.
33896 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
33897 prototype.
33898 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33899 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33900 trans_data argument. Add hidden definition.
33901 (__gconv_translit_find): Remove.
33902 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33903 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33904 * iconv/skeleton.c: Remove transliteration initialization.
33905 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33906 __gconv_step_data initialization.
33907 * libio/iofwide.c (__libio_translit_): Remove.
33908 (_IO_fwide): Adjust struct __gconv_step_data initialization.
33909 * wcsmbs/btowc.c (__btowc): Likewise.
33910 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33911 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33912 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33913 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33914 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33915 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33916 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33917 * wcsmbs/wctob.c (wctob): Likewise.
33918
33919 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33920
33921 [BZ #16194]
33922 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33923 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
33924 register usage.
33925 * sysdeps/x86/Makefile: Adjust.
33926
33927 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
33928 Roland McGrath <roland@hack.frob.com>
33929
33930 * locale/weight.h: Add include guard.
33931 (findidx): Make static rather than auto; take new parameters
33932 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33933 * locale/weightwc.h: Likewise.
33934 * posix/fnmatch_loop.c
33935 (FCT): Change type of EXTRA from int32_t to wint_t.
33936 Don't include either header inside the function.
33937 Call FINDIDX rather than findidx, and pass new arguments.
33938 #undef FINDIDX at the end of the file.
33939 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33940 FINDIDX before including fnmatch_loop.c for the non-wide version.
33941 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33942 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33943 for the wide version.
33944 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33945 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33946 Pass new arguments to findidx.
33947 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33948 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33949 Don't #include it inside the function. Pass new arguments to findidx.
33950 * posix/regex_internal.h
33951 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33952 (re_string_elem_size_at): Don't #include it inside the function.
33953 Pass new arguments to findidx.
33954 * string/strcoll_l.c: #include WEIGHT_H at top level.
33955 (get_next_seq): Don't #include it inside the function.
33956 Pass new arguments to findidx.
33957 (get_next_seq_nocache): Likewise.
33958 * string/strxfrm_l.c: #include WEIGHT_H at top level.
33959 (STRXFRM): Don't #include it inside the function.
33960 Pass new arguments to findidx.
33961
33962 2014-09-11 Florian Weimer <fweimer@redhat.com>
33963
33964 [BZ #17344]
33965 * malloc/malloc.c (unlink): Turn asserts into a call to
33966 malloc_printerr.
33967
33968 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
33969
33970 [BZ #17370]
33971 * libio/wfileops (do_ftell_wide): Free OUT.
33972
33973 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
33974
33975 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33976
33977 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33978
33979 [BZ #17363]
33980 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33981 group if the current group is empty.
33982
33983 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33984
33985 * benchtests/bench-memset.c (test_main): Add more test from size
33986 from 32 to 512 bytes.
33987 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33988 Add POWER8 memset object.
33989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33990 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33991 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33992 implementation.
33993 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33994 Likewise.
33995 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33996 multiarch POWER8 memset optimization.
33997 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33998 POWER8 memset optimization.
33999
34000 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34001 Remove bzero multiarch objects.
34002 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
34003 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
34004 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
34005 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
34006 Remove define.
34007 [__bzero]: Redefine to specific name.
34008 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
34009 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
34010 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
34011 define.
34012 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34013 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
34014
34015 2014-09-10 Florian Weimer <fweimer@redhat.com>
34016
34017 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
34018 warnings into errors.
34019
34020 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
34021 __cxa_thread_atexit_impl prototype.
34022
34023 2014-09-09 Steve Ellcey <sellcey@mips.com>
34024
34025 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
34026 Fix capitalization of error message.
34027
34028 2014-09-09 Steve Ellcey <sellcey@mips.com>
34029
34030 * sysdeps/mips/preconfigure: Modify ABI tests.
34031
34032 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
34033
34034 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
34035
34036 2014-09-07 Roland McGrath <roland@hack.frob.com>
34037 Carlos O'Donell <carlos@systemhalted.org>
34038
34039 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
34040 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
34041 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
34042 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
34043 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
34044 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
34045 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
34046 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
34047 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
34048 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
34049 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
34050 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
34051 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
34052 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
34053 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
34054 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
34055 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
34056 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
34057 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
34058 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
34059 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
34060 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
34061 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
34062 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
34063 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
34064 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
34065 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
34066 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
34067 Deconditionalize the code that was previously under [RESET_PID].
34068 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
34069 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
34070 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
34071 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
34072 include sysdep.h.
34073
34074 2014-09-08 Allan McRae <allan@archlinux.org>
34075
34076 * version.h (RELEASE): Set to "development".
34077 (VERSION): Set to "2.20.90"
34078
34079 2014-09-07 Allan McRae <allan@archlinux.org
34080
34081 * version.h (RELEASE): Set to "stable".
34082 (VERSION): Set to "2.20"
34083 * include/features.h (__GLIBC_MINOR__): Set to 20.
34084
34085 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
34086 Liebler.
34087
34088 * po/ko.po: Update Korean translation from translation project.
34089
34090 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
34091
34092 [BZ #17354]
34093 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
34094 macro for handling signed relocations.
34095
34096 2014-09-03 Florian Weimer <fweimer@redhat.com>
34097
34098 [BZ #17325]
34099 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
34100 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
34101 assert.
34102 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
34103 * iconvdata/ibm935.c (BODY): Likewise.
34104 * iconvdata/ibm937.c (BODY): Likewise.
34105 * iconvdata/ibm939.c (BODY): Likewise.
34106 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
34107 assert.
34108 * iconvdata/Makefile (iconv-test.out): Pass module list to test
34109 script.
34110 * iconvdata/run-iconv-test.sh: New test loop for checking for
34111 decoder crashers.
34112
34113 2014-09-02 Khem Raj <raj.khem@gmail.com>
34114
34115 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
34116 libm_hidden_ver.
34117
34118 2014-09-01 Allan McRae <allan@archlinux.org>
34119
34120 * po/eo.po: Update Esperanto translation from translation project.
34121
34122 * po/ca.po: Update Catalan translation from translation project.
34123
34124 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
34125
34126 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
34127 __proc_dostop call.
34128
34129 2014-08-27 Mark Wielaard <mjw@redhat.com>
34130
34131 [BZ #17319]
34132 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
34133 to call set_thread_area instead of hand written asm.
34134 (__NR_set_thread_area): Removed define.
34135 (TLS_FLAG_WRITABLE): Likewise.
34136 (__ASSUME_SET_THREAD_AREA): Remove check.
34137 (TLS_EBX_ARG): Remove define.
34138 (TLS_LOAD_EBX): Likewise.
34139
34140 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
34141
34142 Simplify atomicity of socket creation in bind.
34143
34144 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
34145 looking up the name after linking the file.
34146
34147 2014-08-27 Allan McRae <allan@archlinux.org>
34148
34149 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34150
34151 2014-08-26 Florian Weimer <fweimer@redhat.com>
34152
34153 [BZ #17187]
34154 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
34155 trans_compare, open_translit, __gconv_translit_find):
34156 Remove module loading code.
34157
34158 2014-08-26 Allan McRae <allan@archlinux.org>
34159
34160 * po/vi.po: Update Vietnamese translation from translation project.
34161
34162 * po/uk.po: Update Ukrainian translation from translation project.
34163
34164 * po/fr.po: Update French translation from translation project.
34165
34166 * po/ru.po: Update Russian translation from translation project.
34167
34168 * po/pl.po: Update Polish translation from translation project.
34169
34170 * po/cs.po: Update Czech translation from translation project.
34171
34172 * po/de.po: Update German translation from translation project.
34173
34174 * po/bg.po: Update Bulgarian translation from translation project.
34175
34176 * po/sv.po: Update Sweedish translation from translation project.
34177
34178 * po/nl.po: Update Dutch translation from translation project.
34179
34180 * po/es.po: Update Spanish translation from translation project.
34181
34182 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34183
34184 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
34185
34186 * catgets/Makefile (CPPFLAGS-gencat): Remove.
34187 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
34188 (CPPFLAGS-iconvconfig): Likewise.
34189 * timezone/Makefile (CPPFLAGS-zic): Likewise.
34190
34191 * include/libc-symbols.h: Remove unnecessary check for
34192 NOT_IN_libc.
34193 * nptl/pthreadP.h: Likewise.
34194 * sysdeps/aarch64/setjmp.S: Likewise.
34195 * sysdeps/alpha/setjmp.S: Likewise.
34196 * sysdeps/arm/sysdep.h: Likewise.
34197 * sysdeps/i386/setjmp.S: Likewise.
34198 * sysdeps/m68k/setjmp.c: Likewise.
34199 * sysdeps/posix/getcwd.c: Likewise.
34200 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34201 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34202 * sysdeps/s390/s390-32/setjmp.S: Likewise.
34203 * sysdeps/s390/s390-64/setjmp.S: Likewise.
34204 * sysdeps/sh/sh3/setjmp.S: Likewise.
34205 * sysdeps/sh/sh4/setjmp.S: Likewise.
34206 * sysdeps/unix/alpha/sysdep.h: Likewise.
34207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34208 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34209 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34210 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34213 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34214 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34215 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34218 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34220 * sysdeps/x86_64/setjmp.S: Likewise.
34221
34222 2014-08-13 Joseph Myers <joseph@codesourcery.com>
34223
34224 [BZ #17263]
34225 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
34226 <stdint.h>.
34227 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
34228 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
34229
34230 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34231
34232 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
34233
34234 [BZ #17262]
34235 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
34236 and __x86_64__ when disabling x87 inline functions.
34237
34238 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
34239
34240 [BZ #17259]
34241 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
34242 asm statement with __cpuid_count.
34243
34244 2014-08-12 Mike Frysinger <vapier@gentoo.org>
34245
34246 * configure.ac: Change __ehdr_start code to dereference the struct.
34247 Run readelf on the output to look for relocations.
34248 * configure: Regenerated.
34249
34250 2014-08-12 Joseph Myers <joseph@codesourcery.com>
34251
34252 [BZ #17261]
34253 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
34254 value to 0.
34255 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
34256
34257 2014-08-12 Roland McGrath <roland@hack.frob.com>
34258
34259 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
34260
34261 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
34262
34263 [BZ #16892]
34264 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
34265 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
34266
34267 2014-08-12 Sean Anderson <seanga2@gmail.com>
34268
34269 * malloc/malloc.c: Fix typo in comment.
34270
34271 2014-08-09 Allan McRae <allan@archlinux.org>
34272
34273 * Regenerate libc.po.
34274
34275 2014-08-08 Mike Frysinger <vapier@gentoo.org>
34276
34277 * intl/tst-gettext2.sh: Check every lang file for creation.
34278
34279 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
34280
34281 * sysdeps/aarch64/fpu/math_private.h
34282 (libc_feholdsetround_noex_aarch64_ctx): New function.
34283
34284 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
34285
34286 * sysdeps/arm/armv6/strcpy.S (strcpy):
34287 Fix performance issue in misaligned cases.
34288
34289 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34290
34291 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
34292 Move definition from termios.h.
34293 (struct termio): Likewise.
34294 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34295 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34296 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
34297 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34298 Likewise.
34299 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
34300 Move definition to ioctl-types.h
34301 (struct termio): Likewise.
34302 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34303 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34304 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
34305 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34306 Likewise.
34307
34308 2014-08-05 Richard Henderson <rth@redhat.com>
34309
34310 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
34311 exceptions.
34312 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
34313 Add fraiseexcpt.
34314 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
34315 Use __feraiseexcept.
34316 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
34317 Protect libm symbols with IS_IN_libm.
34318
34319 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
34320
34321 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
34322
34323 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
34324
34325 2014-08-04 Will Newton <will.newton@linaro.org>
34326
34327 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
34328 file.
34329
34330 2014-08-04 Mike Frysinger <vapier@gentoo.org>
34331
34332 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
34333 variants for each function.
34334
34335 2014-08-04 Roland McGrath <roland@hack.frob.com>
34336
34337 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
34338 appended ...
34339 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
34340 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
34341 appended ...
34342 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
34343 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
34344 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
34345 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
34346 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
34347 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
34348 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
34349 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
34350 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
34351 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
34352 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
34353 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
34354 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
34355 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
34356 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
34357 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
34358 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
34359 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
34360 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
34361 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
34362 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
34363 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
34364 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
34365 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
34366 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
34367 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
34368 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
34369 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
34370 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
34371 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
34372 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
34373 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
34374 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
34375 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
34376 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
34377 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
34378 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
34379 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
34380 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
34381 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
34382 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
34383 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
34384 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
34385 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
34386 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
34387 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
34388 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
34389 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
34390 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
34391 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
34392 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
34393 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
34394 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
34395 Update #include.
34396 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
34397 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
34398
34399 2014-08-04 Roland McGrath <roland@hack.frob.com>
34400
34401 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
34402 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
34403 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
34404 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
34405 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
34406 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
34407
34408 2014-08-04 Roland McGrath <roland@hack.frob.com>
34409
34410 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
34411 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
34412 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34413 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
34414
34415 2014-08-04 Roland McGrath <roland@hack.frob.com>
34416
34417 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
34418 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
34419 (__libc_vfork): Define function under this name.
34420 (__vfork): Define as an alias.
34421 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
34422 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
34423
34424 2014-08-04 Roland McGrath <roland@hack.frob.com>
34425
34426 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
34427 that was previously under [RESET_PID].
34428 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
34429
34430 2014-08-04 Andreas Schwab <schwab@suse.de>
34431
34432 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
34433
34434 2014-08-03 Mike Frysinger <vapier@gentoo.org>
34435
34436 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
34437 (main): Likewise.
34438
34439 2014-08-01 Roland McGrath <roland@hack.frob.com>
34440
34441 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
34442
34443 2014-08-01 Richard Henderon <rth@redhat.com>
34444
34445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
34446 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
34447 typo in exact zero test.
34448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34449 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34451
34452 2014-08-01 Roland McGrath <roland@hack.frob.com>
34453
34454 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
34455 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
34456 * sysdeps/arm/sysdep.h: ... here.
34457 [!__ASSEMBLER__]: Include <stdint.h>.
34458
34459 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34460
34461 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
34462 (HAVE_WCTYPE_H): Likewise.
34463 (HAVE_ISWCTYPE): Likewise.
34464 (ENABLE_NLS): Likewise.
34465 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
34466 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
34467
34468 * posix/regex_internal.c: Check if DEBUG is defined and is
34469 set.
34470
34471 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
34472 (HAVE_MBSRTOWCS): Likewise.
34473 * posix/fnmatch.c: Include string.h unconditionally.
34474
34475 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
34476
34477 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
34478 reversal.
34479
34480 2014-07-31 Roland McGrath <roland@hack.frob.com>
34481
34482 * sysdeps/generic/safe-fatal.h: New file.
34483 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
34484 * nptl/forward.c: Include it.
34485 (__pthread_unwind): Use __safe_fatal as default action, rather
34486 than a bogus use of INTERNAL_SYSCALL that could never work.
34487
34488 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
34489 * configure.ac (libc_cv_builtin_trap): New test.
34490 * configure: Regenerated.
34491 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34492 (ABORT_INSTRUCTION): Define using __builtin_trap.
34493
34494 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
34495 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
34496 * sysdeps/nptl/nptl-signals.h: New file.
34497 * nptl/pthreadP.h: Include <nptl-signals.h>.
34498
34499 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
34500
34501 * sysdeps/s390/s390-64/utf16-utf32-z9.c
34502 (ONE_DIRECTION): Define.
34503 * sysdeps/s390/s390-64/utf8-utf16-z9.c
34504 (ONE_DIRECTION): Define.
34505 * sysdeps/s390/s390-64/utf8-utf32-z9.c
34506 (ONE_DIRECTION): Define.
34507
34508 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
34509
34510 * sysdeps/s390/Makefile: Delete file.
34511 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
34512 * sysdeps/s390/__longjmp.c: Delete file.
34513 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
34514 Remove fields __flags and __reserved.
34515 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
34516 and add versioning.
34517 * sysdeps/s390/rtld-__longjmp.c: Delete file.
34518 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34519 * sysdeps/s390/rtld-setjmp.S: Likewise.
34520 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
34521 * sysdeps/s390/s390-32/__longjmp.c: ... here.
34522 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
34523 * sysdeps/s390/s390-32/setjmp.S: ... here.
34524 Add versioning.
34525 (__sigsetjmp): Remove setting __flags field.
34526 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
34527 * sysdeps/s390/s390-64/__longjmp.c: ... here.
34528 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
34529 * sysdeps/s390/s390-64/setjmp.S: ... here.
34530 Add versioning.
34531 (__sigsetjmp): Remove setting __flags field.
34532 * sysdeps/s390/setjmp.S: Delete file.
34533 * sysdeps/s390/sigjmp.c: Likewise.
34534 * sysdeps/s390/v1-longjmp.c: Likewise.
34535 * sysdeps/s390/v1-setjmp.h: Likewise.
34536 * sysdeps/s390/v1-sigjmp.c: Likewise.
34537 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
34538 Remove v1-longjmp_chk.
34539 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
34540 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
34541 Include debug/longjmp_chk.c and add versioning.
34542 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
34543 Include nptl/pt-longjmp.c and add versioning.
34544 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
34545 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
34546 Include __longjmp.c.
34547 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34548 Move to ...
34549 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
34550 (__getcontext): Remove setting __flags field.
34551 Add versioning.
34552 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34553 Don't restore upper high grps.
34554 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
34555 Likewise.
34556 (__swapcontext): Remove setting uc_flags field.
34557 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
34558 Delete file.
34559 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34560 Include __longjmp.c.
34561 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34562 Move to ...
34563 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
34564 (__getcontext): Remove setting __flags field.
34565 Add versioning.
34566 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
34567 (__swapcontext): Remove setting uc_flags field.
34568 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
34569 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
34570 Remove fields uc_high_gprs and __reserved.
34571 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
34572 New file with reverted content.
34573 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
34574 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
34575 Regenerated.
34576 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
34577 Regenerated.
34578
34579 2014-07-31 Andreas Schwab <schwab@suse.de>
34580
34581 * config.h.in (HAVE_IFUNC): Define to 0.
34582 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34583 definedness.
34584
34585 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
34586
34587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34588 memmove-avx-unaligned, memcpy-avx-unaligned and
34589 mempcpy-avx-unaligned.
34590 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34591 Add tests for AVX memcpy functions.
34592 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34593 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34594 memcpy_chk.
34595 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34596 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34597 memmove_chk.
34598 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34599 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34600 mempcpy_chk.
34601 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34602 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34603 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34604
34605 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34606
34607 [BZ #17213]
34608 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34609 powerpc64le.
34610
34611 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
34612
34613 [BZ #16839]
34614 * manual/llio.texi: Add section about open file description locks.
34615 * manual/examples/ofdlocks.c: Example of open file description
34616 lock usage.
34617 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34618 F_OFD_SETLK, and F_OFD_SETLKW.
34619
34620 2014-07-23 Allan McRae <allan@archlinux.org>
34621
34622 * po/es.po: Update Spanish translation from translation project.
34623
34624 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
34625
34626 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34627
34628 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
34629
34630 [BZ #17078]
34631 * sysdeps/arm/dl-machine.h (elf_machine_rela)
34632 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34633 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34634
34635 2014-07-17 Joseph Myers <joseph@codesourcery.com>
34636
34637 [BZ #17088]
34638 * math/fesetenv.c (__fesetenv)
34639 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34640 * math/feupdateenv.c (__feupdateenv)
34641 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34642
34643 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34644 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34645 (__ASSUME_SOCKETCALL): Do not define.
34646
34647 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34648 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34649 (__ASSUME_SOCKETCALL): Do not define.
34650 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34651 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34652 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34653 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34654 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34655 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34656 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34657 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34658
34659 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34660 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34661 (__ASSUME_SOCKETCALL): Do not define.
34662 (__ASSUME_IPC64): Define unconditionally.
34663 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34664 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34665 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34666 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34667 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34668 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34669 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34670 Likewise.
34671
34672 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34673 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34674 (__ASSUME_SOCKETCALL): Do not define.
34675 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34676 (__ASSUME_FUTEX_LOCK_PI): Likewise.
34677 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34678 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34679 (__ASSUME_REQUEUE_PI): Define unconditionally.
34680 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34681 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34682 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34683 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34684 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34685 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34686
34687 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34688 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34689 (__ASSUME_SOCKETCALL): Do not define.
34690 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34691 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34692 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34693 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34694 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34695 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34696
34697 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34698 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34699 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34700 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34701 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34702 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34703 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34704 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34705 (__ASSUME_GETCPU_SYSCALL): Likewise.
34706
34707 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34708 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
34709 cases for individual architectures.
34710 * sysdeps/gnu/configure: Regenerated.
34711 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34712 LIBC_SLIBDIR_RTLDDIR.
34713 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34714 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34715 LIBC_SLIBDIR_RTLDDIR.
34716 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34718 LIBC_SLIBDIR_RTLDDIR.
34719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34720 Regenerated.
34721 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34722 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34723 file.
34724 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34725 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34726 file.
34727 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34728 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34729 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34730 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34731
34732 * sysdeps/aarch64/shlib-versions: Move to ...
34733 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34734 * sysdeps/alpha/shlib-versions: Move to ...
34735 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34736 * sysdeps/arm/shlib-versions: Move to ...
34737 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34738 * sysdeps/hppa/shlib-versions: Move all contents except for
34739 libgcc_s entry to ...
34740 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
34741 entry from ...
34742 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
34743 * sysdeps/ia64/shlib-versions: Move to ...
34744 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
34745 entry from ...
34746 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
34747 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34748 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34749 * sysdeps/microblaze/shlib-versions: Move to ...
34750 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34751 * sysdeps/mips/shlib-versions: Move to ...
34752 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
34753 entry from ...
34754 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
34755 * sysdeps/tile/shlib-versions: Move to ...
34756 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34757 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34758 from ...
34759 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
34760 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34761 entry from ...
34762 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
34763
34764 2014-07-17 Will Newton <will.newton@linaro.org>
34765
34766 * sysdeps/arm/bits/atomic.h
34767 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34768 (__arch_compare_and_exchange_bool_16_int): Likewise.
34769 (__arch_compare_and_exchange_bool_64_int): Likewise.
34770
34771 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34772 into an #else block.
34773
34774 2014-07-16 Roland McGrath <roland@hack.frob.com>
34775
34776 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34777 just Linux configurations. Test empirically that the compiler sets
34778 __ARM_EABI__, rather than using the tuple to decide.
34779 * sysdeps/arm/preconfigure: Regenerated.
34780 * sysdeps/unix/sysv/linux/arm/configure: File removed.
34781 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34782 contents appended ...
34783 * sysdeps/arm/configure.ac: ... here.
34784 * sysdeps/arm/configure: Regenerated.
34785
34786 2014-07-15 Roland McGrath <roland@hack.frob.com>
34787
34788 * nptl/pthread_kill.c: New file.
34789 * nptl/pthread_sigmask.c: New file.
34790 * nptl/pthread_sigqueue.c: New file.
34791
34792 * sysdeps/nptl/lowlevellock.h: New file.
34793 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34794 * sysdeps/nptl/lowlevellock-futex.h: New file.
34795
34796 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34797 Remove dead declarations.
34798
34799 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
34800
34801 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34802 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34803 config-cflags-avx2.
34804 * sysdeps/x86_64/configure.ac: Likewise.
34805 * sysdeps/i386/configure: Regenerated.
34806 * sysdeps/x86_64/configure: Likewise.
34807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34808 memset-avx2 only if config-cflags-avx2 is yes.
34809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34810 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34811 defined.
34812 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34813 only if HAVE_AVX2_SUPPORT is defined.
34814 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34815
34816 2014-07-14 Alan Modra <amodra@gmail.com>
34817
34818 [BZ #17153]
34819 * elf/elf.h (DT_PPC64_NUM): Correct value.
34820 * NEWS: Add to fixed bug list.
34821
34822 2014-07-13 Jim Meyering <meyering@fb.com>
34823
34824 [BZ 17150]
34825 regex: don't deref NULL upon heap allocation failure
34826 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34827 failure in one more place.
34828 To trigger the segfault, configure grep -with-included-regex,
34829 build it, and run these commands:
34830 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34831
34832 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
34833
34834 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34835
34836 2014-07-11 Richard Henderson <rth@redhat.com>
34837
34838 * sysdeps/aarch64/libm-test-ulps: Update.
34839
34840 2014-07-10 Florian Weimer <fweimer@redhat.com>
34841
34842 [BZ #17135]
34843 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34844 * nptl/allocatestack.c (__nptl_setxid_error): New function.
34845 (__nptl_setxid): Initialize error member. Call
34846 __nptl_setxid_error.
34847 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34848 * nptl/descr.h (struct xid_command): Add error member.
34849 * nptl/tst-setuid3.c: New file.
34850 * nptl/Makefile (tests): Add it.
34851
34852 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34853
34854 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34855 New define.
34856 (__lll_trylock): Use __lll_base_trylock.
34857 (__lll_cond_trylock): Likewise.
34858
34859 2014-07-10 Roland McGrath <roland@hack.frob.com>
34860
34861 * nptl/pthread_create.c (start_thread): Use atomic_or and
34862 lll_futex_wake directly rather than lll_robust_dead.
34863 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34864 (lll_robust_dead): Macro removed.
34865 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34866 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34867 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34868 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34869 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34870 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34871 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34872 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34873 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34874 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34875 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34876 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34877 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34878 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34879 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34880
34881 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34882 Use atomic_compare_and_exchange_val_acq directly rather than
34883 lll_robust_trylock.
34884 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34885 (__lll_robust_trylock, lll_robust_trylock): Removed.
34886 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34887 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34888 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34889 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34890 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34891 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34892 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34893 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34894 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34895 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34896 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34897 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34898 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34899 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34900
34901 2014-07-02 Florian Weimer <fweimer@redhat.com>
34902
34903 * manual/locale.texi (Locale Names): New section documenting
34904 locale name syntax. Adjust menu and node chaining accordingly.
34905 (Choosing Locale): Reference Locale Names, Locale Categories.
34906 Mention setting LC_ALL=C. Reflect that name syntax is now
34907 documented.
34908 (Locale Categories): New section title. Reference Locale Names.
34909 LC_ALL is an environment variable, but not a category.
34910 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34911 description, now in Locale Name. Reference that section. Locale
34912 name syntax is now documented.
34913
34914 2014-07-02 Florian Weimer <fweimer@redhat.com>
34915
34916 [BZ #17137]
34917 * locale/findlocale.c (name_present, valid_locale_name): New
34918 functions.
34919 (_nl_find_locale): Use the loc_name variable to store name
34920 candidates. Call name_present and valid_locale_name to check and
34921 validate locale names. Return an error if the locale is invalid.
34922
34923 2014-07-02 Florian Weimer <fweimer@redhat.com>
34924
34925 * locale/setlocale.c (setlocale): Use strdup for allocating
34926 composite name copy.
34927
34928 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34929
34930 Sync up with gnulib.
34931 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34932 [!_LIBC && ENABLE_NLS]: Include gettext.h.
34933 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34934 and _GL_ARG_NONNULL.
34935 [USE_UNLOCKED_IO]: Include unlocked-io.h.
34936 [!_LIBC]: Include code for Windows and Cygwin.
34937 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34938 Include prototype for int strerror_r.
34939 [!_LIBC] (is_open): New function.
34940 (flush_stdout): New function.
34941 (print_errno_message): Use it.
34942 (error): Likewise.
34943 (error_at_line): Likewise.
34944 (error_tail) Add function attribute macros. Use
34945 __builtin_expect.
34946
34947 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34948
34949 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34950
34951 * io/ftw.c: Include sys/param.h unconditionally.
34952
34953 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34954
34955 [BZ #17125]
34956 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34957 libc_freeres_ptr.
34958 (freecache): New function to free CACHE on exit.
34959
34960 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34961 initialization.
34962
34963 2014-07-09 David S. Miller <davem@davemloft.net>
34964
34965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34966
34967 * sysdeps/sparc/nptl/internaltypes.h: Delete.
34968 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34969 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34970 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34971 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34972 * sysdeps/sparc/nptl/sem_init.c: Likewise.
34973 * sysdeps/sparc/nptl/sem_post.c: Likewise.
34974 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34975 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34976 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34977 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34978 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34979 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34980
34981 2014-07-09 Andreas Schwab <schwab@suse.de>
34982
34983 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34984 output.
34985 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34986 (do_test): Likewise.
34987
34988 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34989
34990 2014-07-09 Will Newton <will.newton@linaro.org>
34991
34992 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34993 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34994 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34995 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34996 * sysdeps/hppa/start.S (_start): Likewise.
34997
34998 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34999
35000 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
35001
35002 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
35003 defined.
35004
35005 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35006
35007 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
35008 after checking that it is non-NULL.
35009
35010 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
35011
35012 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35013
35014 * sysdeps/powerpc/memmove.c: Remove file.
35015 * sysdeps/powerpc/powerpc32/power4/memcopy.h
35016 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
35017 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35018 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
35019 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
35020 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
35021 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
35022 string memmove instead of removed powerpc one.
35023
35024 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35025 [weak_alias]: Fix compiler warning due trailing data.
35026 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
35027 [weak_alias]: Likewise.
35028 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
35029 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
35030
35031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35032 (__libc_ifunc_impl_list): Add memmove functions.
35033
35034 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35035
35036 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
35037 Remove code.
35038 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
35039 Likewise.
35040 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
35041 Likewise.
35042 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
35043 Likewise.
35044 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
35045 Likewise.
35046 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
35047 Likewise.
35048 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
35049 Likewise.
35050 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
35051 Likewise.
35052 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
35053 Likewise.
35054 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
35055 Likewise.
35056 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
35057 Likewise.
35058 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
35059 Likewise.
35060 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
35061 Likewise.
35062 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
35063 Likewise.
35064 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
35065 Likewise.
35066 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
35067 Likewise.
35068 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
35069 Likewise.
35070
35071 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35072
35073 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
35074 to avoid alignment traps in non-cacheable memory.
35075 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35076
35077 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
35078 multiarch objects.
35079 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
35080 file: multiarch power7 memmove.
35081 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
35082 multiarch default memmove.
35083 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
35084 multiarch memove for powerpc32/power4.
35085
35086 * string/bcopy.c: Use full path to include memmove.c.
35087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
35088 multiarch objects.
35089 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
35090 bcopy for powerpc64.
35091 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
35092 bcopy for powerpc64.
35093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
35094 and memmove implementations.
35095 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
35096 optimized multiarch memmove for POWER7/powerpc64.
35097 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
35098 default multiarch memmove for powerpc64.
35099 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
35100 multiarch for powerpc64.
35101 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
35102 for POWER7/powerpc64.
35103 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
35104 memmove for POWER7/powerpc64.
35105
35106 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
35107 glibc default one.
35108
35109 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
35110 __ELF_NATIVE_CLASS equal to 64.
35111
35112 2014-07-07 Roland McGrath <roland@hack.frob.com>
35113
35114 * sysdeps/nptl/lowlevellock.h: File removed.
35115
35116 * NEWS: NPTL is no longer an add-on!
35117 * nptl/internaltypes.h: Moved ...
35118 * sysdeps/nptl/internaltypes.h: ... here.
35119 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
35120 * sysdeps/nptl/fork.c: Likewise.
35121 * sysdeps/nptl/gai_misc.h: Likewise.
35122 * sysdeps/nptl/librt-cancellation.c: Likewise.
35123 * sysdeps/nptl/jmp-unwind.c: Likewise.
35124 * sysdeps/nptl/setxid.h: Likewise.
35125 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
35126 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
35127 * sysdeps/unix/sysv/linux/arm/Implies: New file.
35128 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
35129 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
35130 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
35131 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
35132 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
35133 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
35134 * sysdeps/unix/sysv/linux/mips/Implies: New file.
35135 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
35136 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
35137 * sysdeps/unix/sysv/linux/sh/Implies: New file.
35138 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
35139 * sysdeps/unix/sysv/linux/tile/Implies: New file.
35140 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
35141 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
35142 * nptl/Makeconfig: Moved ...
35143 * sysdeps/nptl/Makeconfig: ... here.
35144 * nptl/configure: File removed.
35145 * nptl/ANNOUNCE: File removed.
35146 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
35147 * sysdeps/unix/sysv/linux/configure: Regenerated.
35148
35149 * nptl/Makefile (routines): Add libc_pthread_init,
35150 libc_multiple_threads, register-atfork and unregister-atfork.
35151 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
35152 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
35153 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
35154 pthread-pi-defines.sym, structsem.sym.
35155 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
35156 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
35157 [$(subdir) = nptl] (tests): Add tst-setgetname.
35158 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
35159 * sysdeps/unix/sysv/linux/sigaction.c: Just include
35160 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
35161 [!LIBC_SIGACTION]: Remove aliases.
35162 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35163 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35164 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35165 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
35166 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35167 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
35168 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35169 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35170 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35171 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
35172 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
35173 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
35174 __libc_allocate_rtsig_private.
35175 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
35176 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
35177 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
35178 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
35179 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
35180 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
35181 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
35182 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
35183 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
35184 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
35185 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
35186 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
35187 * nptl/internaltypes.h: ... here.
35188 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
35189 * sysdeps/nptl/jmp-unwind.c: ... here.
35190 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
35191 * nptl/libc-lowlevellock.c: ... here.
35192 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
35193 * nptl/libc_multiple_threads.c: ... here.
35194 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
35195 * nptl/libc_pthread_init.c: ... here.
35196 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
35197 * nptl/lowlevelbarrier.sym: ... here.
35198 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
35199 * nptl/lowlevelcond.sym: ... here.
35200 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
35201 * nptl/lowlevellock.c: ... here.
35202 * nptl/lowlevellock.h: Moved ...
35203 * sysdeps/nptl/lowlevellock.h: ... here.
35204 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
35205 * nptl/lowlevelrobustlock.c: ... here.
35206 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
35207 * nptl/lowlevelrobustlock.sym: ... here.
35208 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
35209 * nptl/lowlevelrwlock.sym: ... here.
35210 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
35211 * nptl/pt-fork.c: ... here.
35212 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
35213 * nptl/pthread-pi-defines.sym: ... here.
35214 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
35215 * nptl/pthread_attr_getaffinity.c: ... here.
35216 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
35217 * nptl/pthread_attr_setaffinity.c: ... here.
35218 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
35219 * nptl/pthread_mutex_cond_lock.c: ... here.
35220 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35221 Update #include.
35222 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
35223 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
35224 * nptl/pthread_once.c: ... here, replacing old file.
35225 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
35226 * nptl/pthread_yield.c: ... here.
35227 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
35228 * nptl/register-atfork.c: ... here.
35229 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
35230 * nptl/sem_post.c: ... here.
35231 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
35232 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
35233 * nptl/sem_timedwait.c: ... here.
35234 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
35235 * nptl/sem_trywait.c: ... here.
35236 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
35237 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
35238 * nptl/sem_wait.c: ... here.
35239 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
35240 * nptl/structsem.sym: ... here.
35241 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
35242 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
35243 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
35244 * nptl/unregister-atfork.c: ... here.
35245 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
35246 * nptl/unwindbuf.sym: ... here.
35247 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
35248 * sysdeps/nptl/fork.c: ... here.
35249 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
35250 * sysdeps/nptl/fork.h: ... here.
35251 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
35252 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
35253 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
35254 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
35255 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
35256 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
35257 * sysdeps/unix/sysv/linux/getpid.c: ... here.
35258 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
35259 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
35260 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
35261 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
35262 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
35263 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
35264 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
35265 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
35266 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
35267 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
35268 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
35269 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
35270 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
35271 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
35272 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
35273 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
35274 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
35275 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
35276 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
35277 * sysdeps/unix/sysv/linux/raise.c: ... here.
35278 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
35279 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
35280 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
35281 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
35282 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
35283 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
35284 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
35285 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
35286 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
35287 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
35288 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
35289 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
35290 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
35291 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
35292 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
35293
35294 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35295
35296 * sysdeps/generic/memcopy.h: Add comment for
35297 MEMCPY_OK_FOR_FWD_MEMMOVE.
35298
35299 2014-07-04 Will Newton <will.newton@linaro.org>
35300
35301 * string/memchr.c: Merge from gnulib.
35302 [_LIBC]: Remove conditionals.
35303 (__ptr_t): Remove define.
35304 (LONG_MAX_32_BITS): Likewise.
35305 (LONG_MAX): Likewise.
35306 (MEMCHR): Use ANSI prototype and optimize algorithm.
35307
35308 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
35309
35310 2014-07-03 Roland McGrath <roland@hack.frob.com>
35311
35312 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
35313 (lll_futex_timed_wait_bitset): Fix syscall argument count.
35314
35315 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
35316 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
35317 in a bare environment with no <stdlib.h> installed.
35318 * sysdeps/nptl/configure: Regenerated.
35319
35320 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
35321
35322 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
35323 AC_EGREP_CPP for kernel header checks, so they only succeed if
35324 including <linux/version.h> actually works right.
35325 * sysdeps/unix/sysv/linux/configure: Regenerated.
35326
35327 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
35328 value so it's not diagnosed as unused.
35329
35330 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
35331 thing) with "ifeq ($(subdir),rt)".
35332
35333 2014-07-03 Richard Henderson <rth@redhat.com>
35334
35335 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
35336 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
35337 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
35338
35339 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
35340 (math_force_eval): New.
35341
35342 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
35343 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
35344
35345 * sysdeps/alpha/fpu/s_round.c: Remove file.
35346 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
35347
35348 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
35349 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
35350 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
35351 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
35352 (_dl_start, print_statistics): Likewise.
35353 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
35354 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
35355
35356 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35357 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35358 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35359 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35360 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35361 (HP_SMALL_TIMING_AVAIL): Define.
35362 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35363 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
35364 (HP_SMALL_TIMING_AVAIL): Define.
35365 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35366 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35367
35368 * sysdeps/aarch64/hp-timing.h: New file.
35369
35370 * sysdeps/generic/hp-timing.h: Remove dead comment.
35371 * sysdeps/generic/hp-timing-common.h: New file.
35372 * sysdeps/alpha/hp-timing.h: Include it.
35373 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
35374 * sysdeps/i386/i686/hp-timing.h: Likewise.
35375 * sysdeps/ia64/hp-timing.h: Likewise.
35376 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35377 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35378 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35379 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35380 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
35381 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
35382 (hp_timing_t): New.
35383
35384 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
35385 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
35386 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
35387 * elf/rtld.c (_dl_start_final): Likewise.
35388 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
35389 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35390 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35391 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35392 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35393 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35394 (HP_TIMING_DIFF_INIT): Remove.
35395 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35396 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
35397 (HP_TIMING_DIFF_INIT): Remove.
35398 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35399 * sysdeps/i386/i686/hp-timing.c: Remove file.
35400 * sysdeps/x86_64/hp-timing.c: Remove file.
35401 * sysdeps/ia64/hp-timing.c: Remove file.
35402 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
35403 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
35404 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
35405 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
35406
35407 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
35408 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
35409 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
35410 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35411 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35412 (HP_TIMING_ACCUM): Remove.
35413 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35414 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
35415 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35416
35417 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
35418 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
35419 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
35420 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
35421 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
35422 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35423 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
35424 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35425
35426 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
35427
35428 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
35429
35430 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
35431
35432 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35433
35434 Sync up with gettext.
35435 * intl/loadmsgcat.c: Define O_BINARY if not defined.
35436 [_MSC_VER]: Include malloc.h
35437 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
35438 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
35439 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
35440 TEMP_FAILURE_RETRY. Cast return of alloca.
35441 [!_LIBC] Call gl_rwlock_init.
35442 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
35443
35444 2014-07-02 Roland McGrath <roland@hack.frob.com>
35445
35446 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
35447 before checking its value.
35448
35449 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35450
35451 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
35452
35453 * debug/memcpy_chk.c: Don't include pagecopy.h.
35454 * debug/mempcpy_chk.c: Likewise.
35455 * string/memcpy.c: Likewise.
35456 * string/memmove.c: Likewise.
35457 * sysdeps/powerpc/memmove.c: Likewise.
35458 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
35459 definition of PAGE_COPY_FWD_MAYBE here...
35460 * sysdeps/generic/pagecopy.h: ... from here.
35461 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
35462
35463 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35464 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35465
35466 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
35467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
35468 optimizations.
35469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35470 (__libc_ifunc_impl_list): Likewise.
35471 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
35472 multiarch strcat for PPC64.
35473 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
35474 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
35475
35476 2014-07-02 Roland McGrath <roland@hack.frob.com>
35477
35478 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
35479
35480 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35481
35482 * intl/loadmsgcat.c: Remove declaration of
35483 get_sysdep_segment_value.
35484 (get_sysdep_segment_value): Use ISO C style.
35485 (_nl_load_domain): Use ISO C style. Get rid of redundant
35486 semicolon. Fix typo and formatting in comment.
35487 (_nl_unload_domain): Use ISO C style.
35488
35489 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
35490
35491 2014-07-02 Will Newton <will.newton@linaro.org>
35492
35493 * malloc/obstack.c: Merge from gnulib master.
35494 [HAVE_CONFIG_H]: Remove conditional code.
35495 [!_LIBC]: Include config.h.
35496 [!ELIDE_CODE]: Don't include inttypes.h, include
35497 stdint.h unconditionally.
35498 (print_and_abort): Mark as _Noreturn.
35499 (_obstack_allocated_p): Mark as __attribute_pure__.
35500 (obstack_free): Rename to __obstack_free.
35501 [!__attribute__]: Remove conditional code.
35502 * malloc/obstack.h: Merge from gnulib master.
35503 [__cplusplus]: Move conditional down.
35504 [!__attribute_pure__]: Define __attribute_pure__ here
35505 if it is not already defined.
35506 (_obstack_memory_used): Mark as __attribute_pure__.
35507 [!__obstack_free]: Define as obstack_free.
35508 [__GNUC__]: Remove check for ancient NeXT gcc.
35509
35510 2014-07-02 Will Newton <will.newton@linaro.org>
35511 Paul Eggert <eggert@cs.ucla.edu>
35512
35513 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35514
35515 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35516
35517 * resolv/gethnamaddr.c: Add comment warning that the file is
35518 not maintained.
35519
35520 2014-07-01 Carlos O'Donell <carlos@redhat.com>
35521
35522 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
35523 entries.
35524
35525 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
35526 entry for aio_cancel and aio_cancel64.
35527 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
35528 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
35529 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
35530 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
35531 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
35532 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
35533 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
35534 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
35535 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
35536 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
35537 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
35538 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
35539 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
35540
35541 2014-07-01 Roland McGrath <roland@hack.frob.com>
35542
35543 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
35544 * nptl/pthread_mutex_lock.c: Likewise.
35545 * nptl/pthread_mutex_timedlock.c: Likewise.
35546 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
35547
35548 2014-07-01 Richard henderson <rth@redhat.com>
35549
35550 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
35551 (__isnan, __isnanl): Remove.
35552 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
35553
35554 * sysdeps/alpha/fpu/libm-test-ulps: Update.
35555
35556 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
35557
35558 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35559
35560 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35561
35562 * resolv/nss_dns/dns-host.c (getanswer_r)
35563 [MULTI_PTRS_ARE_ALIASES]: Remove code.
35564
35565 2014-07-01 Joseph Myers <joseph@codesourcery.com>
35566
35567 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35568 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
35569 undefine.
35570 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
35571 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
35572
35573 2014-07-01 Roland McGrath <roland@hack.frob.com>
35574
35575 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
35576 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35577
35578 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35579 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35580
35581 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35582 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35583 ... here.
35584 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35585 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35586
35587 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35588 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35589 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35590 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35591
35592 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35593 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35594 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35595 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35596 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35597 Moved ...
35598 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35599 ... here.
35600 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35601 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35602 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35603 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35604 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35605 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35606 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35607 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35608 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35609 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35610 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35611 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35612 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35613 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35614 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35615 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35616 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35617 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35618 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35619 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35620 ... here.
35621 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35622 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35623 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35624 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35625 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35626 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35627 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35628 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35629
35630 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
35631
35632 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35633 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35634 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35635 Add sysdep.
35636
35637 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35638
35639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35640
35641 2014-06-30 Joseph Myers <joseph@codesourcery.com>
35642
35643 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35644 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35645
35646 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35647
35648 * sysdeps/arm/libm-test-ulps: Regenerated.
35649
35650 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
35651 Roland McGrath <roland@hack.frob.com>
35652
35653 * test-skeleton.c (signal_handler): Kill the whole process group
35654 before killing the child individually.
35655 (main): Report any failure on `setpgid'.
35656
35657 2014-06-30 Roland McGrath <roland@hack.frob.com>
35658
35659 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35660 from _TLS_H to _ARM_NPTL_TLS_H.
35661 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35662 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35663
35664 2014-06-30 Joseph Myers <joseph@codesourcery.com>
35665
35666 [BZ #16539]
35667 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35668 (__expm1l): Return argument unchanged when small but not
35669 subnormal.
35670
35671 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35672 include macro name.
35673 (_FP_UNPACK_RAW_1_P): Likewise.
35674 (_FP_PACK_RAW_1): Likewise.
35675 (_FP_PACK_RAW_1_P): Likewise.
35676 (_FP_MUL_MEAT_1_wide): Likewise.
35677 (_FP_MUL_MEAT_DW_1_hard): Likewise.
35678 (_FP_MUL_MEAT_1_hard): Likewise.
35679 (_FP_DIV_MEAT_1_imm): Likewise.
35680 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35681 (_FP_DIV_MEAT_1_udiv): Likewise.
35682 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35683 (_FP_UNPACK_RAW_2): Likewise.
35684 (_FP_UNPACK_RAW_2_P): Likewise.
35685 (_FP_PACK_RAW_2): Likewise.
35686 (_FP_PACK_RAW_2_P): Likewise.
35687 (_FP_MUL_MEAT_DW_2_wide): Likewise.
35688 (_FP_MUL_MEAT_2_wide): Likewise.
35689 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35690 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35691 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35692 (_FP_MUL_MEAT_2_gmp): Likewise.
35693 (_FP_DIV_MEAT_2_udiv): Likewise.
35694 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35695 (_FP_FRAC_SRL_4): Likewise.
35696 (_FP_FRAC_SRST_4): Likewise.
35697 (_FP_FRAC_SRS_4): Likewise.
35698 (_FP_UNPACK_RAW_4): Likewise.
35699 (_FP_UNPACK_RAW_4_P): Likewise.
35700 (_FP_PACK_RAW_4): Likewise.
35701 (_FP_PACK_RAW_4_P): Likewise.
35702 (_FP_MUL_MEAT_DW_4_wide): Likewise.
35703 (_FP_MUL_MEAT_4_wide): Likewise.
35704 (_FP_MUL_MEAT_4_gmp): Likewise.
35705 (umul_ppppmnnn): Likewise.
35706 (_FP_DIV_MEAT_4_udiv): Likewise.
35707 (__FP_FRAC_ADD_4): Likewise.
35708 (__FP_FRAC_SUB_3): Likewise.
35709 (__FP_FRAC_SUB_4): Likewise.
35710 (__FP_FRAC_DEC_3): Likewise.
35711 (__FP_FRAC_DEC_4): Likewise.
35712 (__FP_FRAC_ADDI_4): Likewise.
35713 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35714 (_FP_FRAC_SRL_8): Likewise.
35715 (_FP_FRAC_SRS_8): Likewise.
35716
35717 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35718 include macro name.
35719 (FP_UNPACK_RAW_EP): Likewise.
35720 (FP_PACK_RAW_E): Likewise.
35721 (FP_PACK_RAW_EP): Likewise.
35722 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35723 (_FP_ISSIGNAN): Likewise.
35724 (_FP_ADD_INTERNAL): Likewise.
35725 (_FP_FMA): Likewise.
35726 (_FP_CMP): Likewise.
35727 (_FP_SQRT): Likewise.
35728 (_FP_TO_INT): Likewise.
35729 (_FP_FROM_INT): Likewise.
35730 (FP_EXTEND): Likewise.
35731 (_FP_DIV_MEAT_N_loop): Likewise.
35732
35733 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
35734
35735 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35736 throughout.
35737
35738 2014-06-29 Joseph Myers <joseph@codesourcery.com>
35739
35740 [BZ #17097]
35741 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35742 result with correct sign in case of exponents that produce
35743 overflow except for X very close to 1.
35744
35745 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
35746
35747 mktime: merge #if/#ifdef usage from glibc
35748 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35749 as that works with both Glibc's and Gnulib's style.
35750 See thread starting at Siddhesh Poyarekar's bug report at:
35751 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35752
35753 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35754
35755 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35756 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35757 * sysdeps/tile/tilegx/memmove.c: Remove file.
35758
35759 2014-06-27 Joseph Myers <joseph@codesourcery.com>
35760
35761 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35762 abi-name definition.
35763 * scripts/soversions.awk: Do not handle or generate ABI lines.
35764 * shlib-versions: Remove ABI entries.
35765 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35766 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35767
35768 2014-06-27 Roland McGrath <roland@hack.frob.com>
35769
35770 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35771 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35772 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35773 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35774 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35775 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35776 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35777 Moved ...
35778 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35779 ... here.
35780 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35781 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35782 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35783 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35784 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35785 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35786 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35787 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35788 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35789 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35790 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35791 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35792 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35793 Moved ...
35794 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35795 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35796 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35797 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35798 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35799 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35800 Moved ...
35801 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35802 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35803 Moved ...
35804 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35805 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35806 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35807 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35808 Moved ...
35809 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35810 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35811 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35813 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35815 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35817 Moved ...
35818 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35820 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35821 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35822 Moved ...
35823 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35824 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35825 Moved ...
35826 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35827 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35828 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35829 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35830 Moved ...
35831 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35832 ... here.
35833 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35834 Identical file removed.
35835 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35836 Moved ...
35837 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35838 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35839 Identical file removed.
35840 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35841 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35842 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35843 Moved ...
35844 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35845 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35846 Identical file removed.
35847 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35848 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35849 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35850 Identical file removed.
35851 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35852 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35853 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35854 Identical file removed.
35855 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35856 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35857 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35858 Identical file removed.
35859 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35860 Moved ...
35861 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35862 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35863 Identical file removed.
35864 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35865 Moved ...
35866 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35867 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35868 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35869 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35870 Identical file removed.
35871 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35872 Moved ...
35873 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35874 ... here.
35875 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35876 Identical file removed.
35877 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35878 Moved ...
35879 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35880 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35881 Identical file removed.
35882 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35883 Moved ...
35884 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35885 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35886 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35887 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35888 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35889 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35890 Moved ...
35891 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35892 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35893 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35894
35895 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35896 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35897 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35898 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35899 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35900
35901 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
35902
35903 [BZ #17092]
35904 * nscd/nscd.c (monitor_child): Return exit status of child
35905 instead of return value from wait syscall.
35906
35907 2014-06-27 Joseph Myers <joseph@codesourcery.com>
35908
35909 * configure.ac (libc_commonpagesize): Remove variable.
35910 (libc_relro_required): Likewise.
35911 (libc_cv_z_relro): Remove configure test.
35912 * configure: Regenerated.
35913 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35914 variable.
35915 (libc_relro_required): Likewise.
35916 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35917 (libc_relro_required): Likewise.
35918 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35919 (libc_relro_required): Likewise.
35920 * sysdeps/arm/preconfigure: Regenerated.
35921 * sysdeps/ia64/preconfigure: Remove file.
35922 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35923 variable.
35924 (libc_relro_required): Likewise.
35925
35926 [BZ #16561]
35927 [BZ #16562]
35928 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35929 (__ieee754_yn): Set FE_TONEAREST mode internally and then
35930 recompute overflowing results in original rounding mode.
35931 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35932 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35933 recompute overflowing results in original rounding mode.
35934 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35935 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35936 recompute overflowing results in original rounding mode.
35937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35938 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35939 recompute overflowing results in original rounding mode.
35940 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35941 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35942 recompute overflowing results in original rounding mode.
35943 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35944 (libc_feholdsetround_ctx): New macro.
35945 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35946 * sysdeps/i386/fpu/libm-test-ulps: Update.
35947 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35948
35949 2014-06-26 Joseph Myers <joseph@codesourcery.com>
35950
35951 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35952 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35953 corresponding .cpsetup call.
35954
35955 2014-06-26 Roland McGrath <roland@hack.frob.com>
35956
35957 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35958 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35959 * sysdeps/arm/Makefile [$(subdir) = csu]
35960 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35961 (static-only-routines): Add aeabi_read_tp here.
35962 (shared-only-routines): Add libc-aeabi_read_tp here.
35963 (CFLAGS-libc-start.c): Add -fexceptions here.
35964 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35965 (sysdep_routines, static-only-routines, shared-only-routines):
35966 Don't add to these here.
35967 (CFLAGS-libc-start.c): Likewise.
35968
35969 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35970 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35971 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35972 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35973 * sysdeps/arm/Makefile [$(subdir) = rt]
35974 (librt-sysdep_routines, librt-shared-only-routines):
35975 Append rt-aeabi_unwind_cpp_pr1 here.
35976 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35977 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35978 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35979 (libpthread-sysdep_routines, libpthread-shared-only-routines):
35980 Append nptl-aeabi_unwind_cpp_pr1 here.
35981 (tests): Filter out tst-cleanupx4 here.
35982 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35983 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35984 Don't do those here.
35985
35986 2014-06-26 Joseph Myers <joseph@codesourcery.com>
35987
35988 * scripts/list-sources.sh: Do not handle ports specially.
35989
35990 2014-06-26 Roland McGrath <roland@hack.frob.com>
35991
35992 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35993 * sysdeps/arm/feupdateenv.c: Likewise.
35994
35995 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35996
35997 2014-06-26 Joseph Myers <joseph@codesourcery.com>
35998
35999 * manual/texinfo.tex: Update to version 2014-05-05.10 with
36000 trailing whitespace removed.
36001 * scripts/config.guess: Update to version 2014-03-23.
36002 * scripts/config.sub: Update to version 2014-05-01
36003 * scripts/install-sh: Update to version 2013-12-25.23.
36004 * scripts/move-if-change: Update from gnulib.
36005
36006 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36007
36008 * debug/memmove_chk.c: Remove pagecopy.h include.
36009
36010 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
36011
36012 * time/mktime.c (leapyear): Remove inline keyword. The code is now
36013 identical to gnulib mktime.
36014
36015 2014-06-26 Joseph Myers <joseph@codesourcery.com>
36016
36017 * configure.ac: Do not test for machine being rs6000. Do not test
36018 for powerpc*-*soft.
36019 * configure: Regenerated.
36020
36021 [BZ #11505]
36022 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
36023 test.
36024 * configure: Regenerated.
36025 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
36026 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
36027 Remove configure test.
36028 * sysdeps/arm/configure: Regenerated.
36029 * sysdeps/nptl/configure.ac: Do not check
36030 libc_cv_asm_cfi_directives.
36031 * sysdeps/nptl/configure: Regenerated.
36032 * sysdeps/x86_64/nptl/configure.ac: Remove file.
36033 * sysdeps/x86_64/nptl/configure: Remove generated file.
36034 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
36035 unconditional.
36036 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
36037
36038 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36039
36040 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
36041 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
36042 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
36043 it is defined.
36044
36045 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
36046 instead of whether it is defined.
36047 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
36048 * sysdeps/hppa/dl-machine.h: Likewise.
36049 * sysdeps/ia64/dl-machine.h: Likewise.
36050 * sysdeps/m68k/dl-machine.h: Likewise.
36051 * sysdeps/microblaze/dl-machine.h: Likewise.
36052 * sysdeps/mips/dl-machine.: Likewise.
36053 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36054 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36055 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36056 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36057 * sysdeps/sh/dl-machine.h: Likewise.
36058 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36059 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36060 * sysdeps/tile/dl-machine.h: Likewise.
36061 * sysdeps/x86_64/dl-machine.h: Likewise.
36062
36063 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
36064 code.
36065 (verify_persistent_db): Likewise.
36066
36067 2014-06-26 Roland McGrath <roland@hack.frob.com>
36068
36069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
36070 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
36071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
36072 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
36073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36074 Moved ...
36075 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
36076 ... here.
36077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
36078 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
36079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
36080 Identical file removed.
36081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
36082 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
36083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
36084 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
36085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
36086 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
36087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
36088 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
36089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
36090 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
36091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36092 Moved ...
36093 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
36094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
36095 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
36096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
36097 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
36098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36099 Moved ...
36100 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
36101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
36102 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
36103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
36104 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
36105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36106 Identical file removed.
36107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
36108 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
36109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
36110 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
36111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36112 Moved ...
36113 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
36114 ... here.
36115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
36116 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
36117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
36118 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
36119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
36120 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
36121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
36122 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
36123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
36124 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
36125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36126 Moved ...
36127 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
36128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
36129 Moved ...
36130 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
36131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
36132 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
36133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36134 Moved ...
36135 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
36136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
36137 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
36138
36139 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
36140 folded into ...
36141 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
36142 * sysdeps/unix/sysv/linux/s390/Versions
36143 (libpthread: GLIBC_2.19): New version set.
36144 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
36145 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
36146 (librt: GLIBC_2.3.3): New version set.
36147 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
36148 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
36149 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
36150 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
36151 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
36152 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
36153 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
36154 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
36155 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
36156 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
36157 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
36158 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
36159 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
36160 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
36161 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
36162 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
36163 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
36164 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
36165 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
36166 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
36167 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
36168 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
36169 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
36170 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
36171 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
36172 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
36173 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
36174 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
36175 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
36176 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
36177 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
36178 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
36179 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
36180 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
36181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
36182 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
36183 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
36184 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
36185 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
36186 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
36187 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
36188 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
36189 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
36190 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
36191 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
36192
36193 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
36194 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
36195 (__libc_vfork): Define the function under this name.
36196 [!NOT_IN_libc] (__vfork): Make this an alias.
36197 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
36198 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
36199 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
36200 (__libc_vfork): Define the function under this name.
36201 [!NOT_IN_libc] (__vfork): Make this an alias.
36202 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
36203 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
36204 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
36205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
36206 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
36207 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36208
36209 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
36210 code that was previously under [RESET_PID].
36211 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
36212 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
36213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
36214
36215 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
36216 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
36217 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
36218 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
36219 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
36220 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
36221 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
36222 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
36223 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
36224 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
36225 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
36226 Moved ...
36227 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
36228 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
36229 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
36230 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
36231 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
36232 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
36233 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
36234 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
36235 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
36236 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
36237 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
36238 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
36239 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
36240 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
36241 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
36242 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
36243 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
36244 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
36245 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
36246 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
36247 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
36248 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
36249 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
36250 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
36251 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
36252 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
36253 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
36254 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
36255 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
36256
36257 2014-06-25 Roland McGrath <roland@hack.frob.com>
36258
36259 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
36260 that was previously under [RESET_PID].
36261 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
36262
36263 2014-06-25 Joseph Myers <joseph@codesourcery.com>
36264
36265 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
36266 not undefine and redefine.
36267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
36268 [O_CLOEXEC]: Make code unconditional.
36269 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
36270 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
36271 <kernel-features.h>.
36272 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
36273 conditional variable definition.
36274 (shm_open) [O_CLOEXEC]: Make code unconditional.
36275 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
36276 code.
36277
36278 * configure.ac (USE_REGPARMS): Don't define here.
36279 * configure: Regenerated.
36280 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
36281 * sysdeps/i386/configure: Regenerated.
36282
36283 * nptl/createthread.c: Don't include kernel-features.h.
36284 * nptl/pthread_cancel.c: Likewise.
36285 * nptl/pthread_condattr_setclock.c: Likewise.
36286 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
36287 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
36288 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
36289 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
36290 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
36291 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
36292 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36293 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
36294 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36295 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
36296 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
36297 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
36298 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
36299 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
36300 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
36301 * nscd/gai.c: Likewise.
36302 * nss/nss_db/db-open.c: Likewise.
36303 * sysdeps/generic/ldsodefs.h: Likewise.
36304 * sysdeps/sh/nptl/tls.h: Likewise.
36305 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36306 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
36307 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
36308 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
36309 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
36310 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36311 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
36312 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36313 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36314 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36315 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36316 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36317 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
36318 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
36319 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
36320 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
36321 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
36322 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
36323 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
36324 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
36325 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
36326 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
36327 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
36328 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
36329 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
36330 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
36331 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
36332 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
36333 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36334 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
36335 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
36336 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
36337 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
36338 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36339 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36340 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36341 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36342 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
36343 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
36344 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
36345 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36346 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
36347 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
36348 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36349 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
36350 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
36351 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
36352 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
36353 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
36354 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
36355 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
36356 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
36357 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
36358 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36359 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
36360 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36361 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
36362 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
36363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
36364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
36365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
36366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
36367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
36368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
36369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
36370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
36371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
36372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
36373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
36374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
36375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
36376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
36377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
36383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
36384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
36385 * sysdeps/unix/sysv/linux/pread.c: Likewise.
36386 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
36387 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
36388 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
36389 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
36390 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
36391 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
36392 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
36393 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
36394 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
36395 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
36396 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
36397 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
36398 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
36399 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
36400 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
36401 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36402 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
36403 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
36404 * sysdeps/unix/sysv/linux/system.c: Likewise.
36405 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
36406 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36407 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36408 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36409 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36410 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36411 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36412
36413 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
36414 * configure: Regenerated.
36415 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
36416
36417 * configure.ac (base_machine): Do not set specially for particular
36418 machines here.
36419 * configure: Regenerated.
36420 * sysdeps/powerpc/preconfigure: Move machine and base_machine
36421 settings from configure.ac.
36422 * sysdeps/i386/preconfigure: New file.
36423 * sysdeps/s390/preconfigure: Likewise.
36424 * sysdeps/sh/preconfigure: Likewise.
36425 * sysdeps/sparc/preconfigure: Likewise.
36426
36427 2014-06-25 Roland McGrath <roland@hack.frob.com>
36428
36429 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
36430 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
36431 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
36432 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
36433 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
36434 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
36435 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
36436 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
36437 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
36438 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
36439 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
36440 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
36441 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
36442 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
36443 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
36444 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
36445 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
36446 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
36447 * sysdeps/sparc/sparc64/Makefile: ... appended here.
36448
36449 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
36450 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
36451 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
36452 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
36453 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
36454 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
36455 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
36456 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
36457 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
36458 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
36459 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
36460 * sysdeps/sparc/sparc32/sem_post.c: ... here.
36461 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
36462 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
36463 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
36464 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
36465 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
36466 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
36467 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
36468 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
36469 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
36470 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
36471 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
36472 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
36473 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
36474 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
36475 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
36476 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
36477 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
36478 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
36479 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
36480 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
36481 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
36482 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
36483 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
36484 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
36485 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
36486 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
36487
36488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
36489 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
36490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
36491 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
36492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36493 Moved ...
36494 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
36495 ... here.
36496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
36497 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
36498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
36499 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
36500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
36501 Moved ...
36502 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
36503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
36504 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
36505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
36506 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
36507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
36508 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
36509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36510 Moved ...
36511 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
36512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36513 Moved ...
36514 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
36515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
36516 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
36517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36518 Moved ...
36519 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
36520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36521 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
36522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
36523 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
36524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
36525 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
36526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
36527 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
36528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36529 Moved ...
36530 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
36531 ... here.
36532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
36533 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
36534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
36535 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
36536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
36537 Moved ...
36538 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
36539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
36540 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
36541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
36542 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
36543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
36544 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
36545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36546 Moved ...
36547 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
36548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36549 Moved ...
36550 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
36551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
36552 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
36553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36554 Moved ...
36555 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
36556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
36557 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
36558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
36559 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
36560
36561 2014-06-25 Joseph Myers <joseph@codesourcery.com>
36562
36563 * timezone/checktab.awk: Update from tzcode 2014e.
36564 * timezone/private.h: Likewise.
36565 * timezone/tzfile.h: Likewise.
36566 * timezone/zdump.c: Likewise.
36567 * timezone/zic.c: Likewise.
36568
36569 * sysdeps/unix/sysv/linux/kernel-features.h
36570 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
36571 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
36572 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
36573 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36574 Remove conditional code.
36575
36576 2014-06-25 Will Newton <will.newton@linaro.org>
36577
36578 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36579 (_dl_arm_cap_flags): Add HWCAP2 values.
36580 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36581 (_DL_HWCAP_COUNT): Increase to 37.
36582 (_DL_HWCAP_LAST): New define.
36583 (_DL_HWCAP2_LAST): New define.
36584 (_dl_procinfo): Add support for printing
36585 AT_HWCAP2 entries.
36586 (_dl_string_hwcap): Use _dl_hwcap_string.
36587
36588 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36589
36590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36591
36592 2014-06-25 Joseph Myers <joseph@codesourcery.com>
36593
36594 * README: Do not mention ports directory.
36595
36596 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36597 Remove macro.
36598 * sysdeps/unix/sysv/linux/futimes.c: Do not include
36599 <kernel-features.h>.
36600 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36601 conditional variable definition.
36602 (__futimes): Update comment.
36603 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36604 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36605
36606 [BZ #16560]
36607 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36608 arguments close to 0.
36609 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36610 Likewise.
36611 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36612 Likewise.
36613 * math/auto-libm-test-in: Add more tests of exp10.
36614 * math/auto-libm-test-out: Regenerated.
36615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36616
36617 * sysdeps/unix/sysv/linux/kernel-features.h
36618 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36619 * sysdeps/unix/sysv/linux/readv.c: Do not include
36620 <kernel-features.h>.
36621 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36622 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36623 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36624 unconditional.
36625 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36626 conditional code.
36627 * sysdeps/unix/sysv/linux/writev.c: Do not include
36628 <kernel-features.h>.
36629 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36630 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36631 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36632 unconditional.
36633 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36634 conditional code.
36635
36636 2014-06-25 Will Newton <will.newton@linaro.org>
36637
36638 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36639 comment changes throughout the file. Remove checks
36640 for HAVE_*_H definitions that are not required.
36641 (__gen_tempname): Call abort if an unknown kind value is
36642 passed.
36643
36644 2014-06-25 Andreas Schwab <schwab@suse.de>
36645
36646 [BZ #17086]
36647 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36648 scalbln, scalblnf, scalblnl in libc.
36649
36650 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36651
36652 [BZ #17086]
36653 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36654 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36655 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36656
36657 2014-06-24 Roland McGrath <roland@hack.frob.com>
36658
36659 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36660 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36661 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36662 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36663 Update #include.
36664 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36665 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36666 Update #include.
36667 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36668 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36669 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36670 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36671 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36672 * sysdeps/x86/bits/pthreadtypes.h: ... here.
36673 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36674 * sysdeps/x86/bits/semaphore.h: ... here.
36675 * sysdeps/x86/nptl/elide.h: Moved ...
36676 * sysdeps/x86/elide.h: ... here.
36677 * sysdeps/x86_64/nptl/Implies: File removed.
36678 * sysdeps/i386/nptl/Implies: File removed.
36679
36680 2014-06-24 Joseph Myers <joseph@codesourcery.com>
36681
36682 [BZ #16539]
36683 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36684 return the argument for normal arguments with exponent below -64.
36685 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36686 Likewise.
36687 * math/auto-libm-test-in: Add another test of expm1.
36688 * math/auto-libm-test-out: Regenerated.
36689
36690 [BZ #16287]
36691 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36692 calling __erfcl for arguments at least 16.
36693 * math/auto-libm-test-in: Add more tests of erf.
36694 * math/auto-libm-test-out: Regenerated.
36695
36696 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36697 individual architectures.
36698 * sysdeps/unix/sysv/linux/configure: Regenerated.
36699 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36700 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36701 * sysdeps/unix/sysv/linux/powerpc/configure.ac
36702 (ldd_rewrite_script): Define variable.
36703 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36705 file.
36706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36707 generated file.
36708 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36709 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36710 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36711 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36712 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36713 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36714 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36715 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36716
36717 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
36718
36719 [BZ #17084]
36720 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36721 Rename member __data.d to __data.__elision_data.
36722
36723 2014-06-24 Wilco <wdijkstr@arm.com>
36724
36725 * NEWS: Add 16918 to fixed bug list.
36726
36727 2014-06-24 Wilco <wdijkstr@arm.com>
36728
36729 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36730
36731 2014-06-24 Wilco <wdijkstr@arm.com>
36732
36733 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36734 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36735 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36736 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36737 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36738 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36739 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36740 Use _FPU_MASK_RM.
36741
36742 2014-06-24 Wilco <wdijkstr@arm.com>
36743
36744 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36745
36746 2014-06-24 Wilco <wdijkstr@arm.com>
36747
36748 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36749 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36750 * sysdeps/arm/fesetround.c (fesetround): Remove space.
36751 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36752
36753 2014-06-24 Wilco <wdijkstr@arm.com>
36754
36755 [BZ #16918]
36756 * sysdeps/arm/feupdateenv.c (feupdateenv):
36757 Rewrite to reduce FPSCR accesses and fix return value.
36758
36759 2014-06-24 Wilco <wdijkstr@arm.com>
36760
36761 * sysdeps/arm/fclrexcpt.c (feclearexcept):
36762 Optimize to avoid unnecessary FPSCR writes.
36763 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36764 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36765 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36766 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36767
36768 2014-06-24 Wilco <wdijkstr@arm.com>
36769
36770 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36771 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36772 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36773 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36774 Call libc_fetestexcept_vfp.
36775 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36776 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36777 __SOFTFP__ ifdef so that they can be built for softfp.
36778
36779 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
36780
36781 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36782 argument type signed char.
36783
36784 * Makerules (check-abi): Dump diff of symlist if the test
36785 fails.
36786
36787 2014-06-23 Roland McGrath <roland@hack.frob.com>
36788
36789 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36790 using abort.
36791
36792 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36793 Remove unused variable ST.
36794
36795 2014-06-23 Joseph Myers <joseph@codesourcery.com>
36796
36797 [BZ #16354]
36798 [BZ #17061]
36799 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36800 small arguments before calling __expm1.
36801 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36802 small arguments before calling __expm1f.
36803 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36804 small arguments before calling __expm1l.
36805 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36806 Likewise.
36807 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36808 * math/auto-libm-test-in: Add more cosh tests. Do not allow
36809 spurious underflow for some cosh tests.
36810 * math/auto-libm-test-out: Regenerated.
36811 * sysdeps/i386/fpu/libm-test-ulps: Update.
36812
36813 [BZ #17050]
36814 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36815 (__ieee754_y1): Set errno if return value overflows.
36816 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36817 (__ieee754_y1f): Set errno if return value overflows.
36818 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36819 (__ieee754_y1l): Set errno if return value overflows.
36820 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36821 (__ieee754_y1l): Set errno if return value overflows.
36822 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36823 * math/auto-libm-test-out: Regenerated.
36824
36825 * math/gen-auto-libm-tests.c: Document use of
36826 ignore-zero-inf-sign.
36827 (input_flag_type): Add value flag_ignore_zero_inf_sign.
36828 (input_flags): Add ignore-zero-inf-sign.
36829 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36830 * math/gen-libm-test.pl (generate_testfile): Handle
36831 ignore-zero-inf-sign.
36832 * math/auto-libm-test-in: Mark some cpow tests with
36833 ignore-zero-inf-sign and some with xfail-rounding.
36834 * math/auto-libm-test-out: Regenerated.
36835 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36836 * sysdeps/i386/fpu/libm-test-ulps: Update.
36837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36838
36839 [BZ #16315]
36840 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36841 overflowing or underflowing operations take place with sign of
36842 result.
36843 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36844 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36845 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36846 (__ieee754_pow): Recompute overflowing and underflowing results in
36847 original rounding mode.
36848 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36849 (__powl_helper): Allow negative argument X and scale negated value
36850 as needed. Avoid passing value outside [-1, 1] to f2xm1.
36851 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36852 overflowing or underflowing operations take place with sign of
36853 result.
36854 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36855 Include <math.h>.
36856 * math/auto-libm-test-in: Add more tests of pow.
36857 * math/auto-libm-test-out: Regenerated.
36858 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36859 (pow_tonearest_test_data): Remove.
36860 (pow_test_tonearest): Likewise.
36861 (pow_towardzero_test_data): Likewise.
36862 (pow_test_towardzero): Likewise.
36863 (pow_downward_test_data): Likewise.
36864 (pow_test_downward): Likewise.
36865 (pow_upward_test_data): Likewise.
36866 (pow_test_upward): Likewise.
36867 (main): Don't call removed functions.
36868 * sysdeps/i386/fpu/libm-test-ulps: Update.
36869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36870
36871 2014-06-23 Roland McGrath <roland@hack.frob.com>
36872
36873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36874 Moved ...
36875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36877 Moved ...
36878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36880 Moved ...
36881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36883 Moved ...
36884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36886 File removed.
36887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36888 File removed.
36889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36890 File removed.
36891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36892 File removed.
36893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36894 File removed.
36895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36896 File removed.
36897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36898 File removed.
36899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36900 File removed.
36901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36902 File removed.
36903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36904 File removed.
36905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36906 File removed.
36907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36908 File removed.
36909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36910 Moved ...
36911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36913 Moved ...
36914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36915 ... here.
36916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36917 Moved ...
36918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36920 Moved ...
36921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36923 Moved ...
36924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36926 Moved ...
36927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36929 Moved ...
36930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36932 Moved ...
36933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36935 Moved ...
36936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36939 ... here.
36940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36941 Moved ...
36942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36944 Moved ...
36945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36946 ... here.
36947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36948 Moved ...
36949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36950 ... here.
36951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36952 Moved ...
36953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36954 ... here.
36955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36956 Moved ...
36957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36959 Moved ...
36960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36964 Moved ...
36965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36966 ... here.
36967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36968 Moved ...
36969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36970 ... here.
36971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36972 Moved ...
36973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36975 Moved ...
36976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36978 Moved ...
36979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36981 Moved ...
36982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36984 Moved ...
36985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36986 ... here.
36987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36988 Moved ...
36989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36991 Moved ...
36992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36994 Moved ...
36995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36997 Moved ...
36998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
37000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
37001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37002 Moved ...
37003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
37004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37005 Moved ...
37006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
37007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37008 Moved ...
37009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
37010 ... here.
37011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37012 Moved ...
37013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
37014 ... here.
37015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37016 Moved ...
37017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
37018 ... here.
37019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37020 Moved ...
37021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
37022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37023 Moved ...
37024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
37025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37026 Moved ...
37027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
37028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37029 Moved ...
37030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
37031 ... here.
37032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37033 Moved ...
37034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
37035 ... here.
37036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37037 Moved ...
37038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
37039 ... here.
37040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37041 Moved ...
37042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
37043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37044 Moved ...
37045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
37046
37047 2014-06-23 Will Newton <will.newton@linaro.org>
37048 Wilco <wdijkstr@arm.com>
37049
37050 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
37051 implementation. Include get-rounding-mode.h.
37052 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
37053 [!libc_feholdsetround_noex_ctx]: Define
37054 libc_feholdsetround_noex_ctx.
37055 [!libc_feholdsetround_noexf_ctx]: Define
37056 libc_feholdsetround_noexf_ctx.
37057 [!libc_feholdsetround_noexl_ctx]: Define
37058 libc_feholdsetround_noexl_ctx.
37059 (libc_feholdsetround_ctx): New function.
37060 (libc_feresetround_ctx): New function.
37061 (libc_feholdsetround_noex_ctx): New function.
37062 (libc_feresetround_noex_ctx): New function.
37063
37064 2014-06-23 Roland McGrath <roland@hack.frob.com>
37065
37066 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
37067 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
37068 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
37069 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
37070 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
37071 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
37072
37073 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
37074 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
37075 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
37076 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
37077 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
37078 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
37079 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
37080 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
37081 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
37082 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
37083 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
37084 Moved ...
37085 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
37086 ... here.
37087 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
37088 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
37089 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
37090 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
37091 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
37092 Moved ...
37093 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
37094 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
37095 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
37096 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
37097 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
37098 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
37099 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
37100 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
37101 Moved ...
37102 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
37103 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
37104 Moved ...
37105 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
37106 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
37107 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
37108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
37109 Moved ...
37110 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
37111 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
37112 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
37113 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
37114 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
37115 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
37116 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
37117 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
37118 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
37119 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
37120 Moved ...
37121 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
37122 ... here.
37123 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
37124 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
37125 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
37126 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
37127 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
37128 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
37129 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
37130 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
37131 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
37132 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
37133 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
37134 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
37135 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
37136 Moved ...
37137 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
37138 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
37139 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
37140 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
37141 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
37142 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
37143 Moved ...
37144 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
37145 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
37146 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
37147 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
37148 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
37149
37150 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
37151 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
37152 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
37153 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
37154 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
37155 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
37156 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
37157 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
37158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
37159 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
37160 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
37161 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
37162 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
37163 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
37164 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
37165 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
37166 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
37167 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
37168 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
37169 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
37170 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
37171 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
37172 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
37173 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
37174 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
37175 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
37176 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
37177 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
37178
37179 2014-06-23 Joseph Myers <joseph@codesourcery.com>
37180
37181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
37182 (FALLOC_FL_COLLAPSE_RANGE): New macro.
37183 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
37184 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
37185 (IPV6_PMTUDISC_INTERFACE): Likewise.
37186 (IPV6_PMTUDISC_OMIT): Likewise.
37187
37188 2014-06-23 Andreas Schwab <schwab@suse.de>
37189
37190 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
37191 Remove unused errout label.
37192
37193 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37194
37195 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
37196 macro: hardware supports Vector Crypto instructions.
37197
37198 2014-06-23 Will Newton <will.newton@linaro.org>
37199
37200 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
37201 rather than __builtin_expect.
37202
37203 * elf/dl-lookup.c (undefined_msg): Remove variable.
37204 (_dl_lookup_symbol_x): Replace undefined_msg with string
37205 literal.
37206
37207 * elf/dl-lookup.c (do_lookup_unique): New function.
37208 (do_lookup_x): Move STB_GNU_UNIQUE handling code
37209 to a separate function.
37210
37211 2014-06-23 Andreas Schwab <schwab@suse.de>
37212
37213 [BZ #17079]
37214 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
37215 before reading the next line.
37216
37217 2014-06-23 Will Newton <will.newton@linaro.org>
37218
37219 * test-skeleton.c (signal_handler): Use printf and %m
37220 rather than perror. Use printf rather than fprintf to
37221 stderr. Use puts rather than fputs to stderr.
37222 (main): Likewise.
37223
37224 2014-06-22 Ludovic Courtès <ludo@gnu.org>
37225
37226 * nscd/nscd.c (thread_info_t): Remove typedef.
37227 (thread_info): Remove variable.
37228
37229 2014-06-21 Allan McRae <allan@archlinux.org>
37230
37231 * NEWS: Mention CVE-2014-4043.
37232
37233 2014-06-20 Roland McGrath <roland@hack.frob.com>
37234
37235 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
37236 * nptl/smp.h: ... here.
37237
37238 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
37239
37240 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
37241 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
37242 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
37243 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
37244
37245 * nptl/allocatestack.c: Include <stack-aliasing.h>.
37246 * nptl/stack-aliasing.h: New file.
37247 * sysdeps/i386/i686/stack-aliasing.h: New file.
37248 * sysdeps/i386/i686/nptl/Makefile: File removed.
37249 * sysdeps/x86_64/stack-aliasing.h: New file.
37250 * sysdeps/x86_64/nptl/Makefile
37251 (CFLAGS-pthread_create.c): Variable removed.
37252
37253 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
37254 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
37255 old file.
37256 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
37257 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
37258 old file.
37259
37260 2014-06-21 Joseph Myers <joseph@codesourcery.com>
37261
37262 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37263 (__ASSUME_SIGFRAME_V2): Remove macro.
37264 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
37265 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
37266 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
37267 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
37268 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
37269 Declare as function. Remove conditional macro definitions.
37270 (__default_rt_sa_restorer): Likewise.
37271 (__default_sa_restorer_v1): Remove declaration.
37272 (__default_sa_restorer_v2): Likewise.
37273 (__default_rt_sa_restorer_v1): Likewise.
37274 (__default_rt_sa_restorer_v2): Likewise.
37275 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
37276 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
37277 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
37278
37279 2014-06-20 Roland McGrath <roland@hack.frob.com>
37280
37281 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
37282 (libpthread-routines): Add sysdep.
37283 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
37284 * sysdeps/unix/sysv/linux/sparc/Versions
37285 (libpthread: GLIBC_2.3.3): New version set.
37286 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
37287 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
37288 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
37289 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
37290 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
37291 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
37292 Moved ...
37293 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
37294 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
37295 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
37296 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
37297 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
37298 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
37299 * sysdeps/sparc/nptl/sem_init.c: ... here.
37300 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
37301 * sysdeps/sparc/nptl/sem_post.c: ... here.
37302 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
37303 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
37304 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
37305 * sysdeps/sparc/nptl/sem_wait.c: ... here.
37306 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
37307 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
37308 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
37309 (libpthread-routines): Add cpu_relax.
37310 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
37311 File removed.
37312 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
37313 (librt: GLIBC_2.3.3): New version set.
37314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
37315 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
37316 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
37317 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
37318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
37319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
37320 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
37321 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
37322 Moved ...
37323 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
37324 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
37325 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
37326 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
37327 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
37328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
37329 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
37330 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
37331 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
37332 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
37333 Moved ...
37334 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
37335 Update #include.
37336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
37337 Moved ...
37338 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
37339 Update #include.
37340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
37341 Moved ...
37342 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
37343 Update #include.
37344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
37345 Moved ...
37346 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
37347 Update #include.
37348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
37349 Moved ...
37350 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
37351 Update #include.
37352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
37353 Moved ...
37354 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
37355 Update #include.
37356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
37357 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
37358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
37359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
37360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
37361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
37362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
37363 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
37364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
37365 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
37366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37367 Moved ...
37368 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
37369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
37370 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
37371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
37372 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
37373
37374 2014-06-20 Joseph Myers <joseph@codesourcery.com>
37375
37376 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
37377 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
37378 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37379 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
37380 * nscd/nscd.c: Likewise.
37381 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
37382 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
37383 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
37384 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
37385
37386 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
37387 <kernel-features.h>.
37388 (init_mq_netlink): Remove conditional have_sock_cloexec
37389 definitions. Remove code conditional on have_sock_cloexec < 0.
37390 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
37391 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
37392 * sysdeps/unix/sysv/linux/opensock.c: Do not include
37393 <kernel-features.h>.
37394 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
37395 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
37396
37397 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
37398
37399 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37400 Add tests for memset_chk and memset.
37401
37402 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
37403 with AVX2_Usable.
37404
37405 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
37406
37407 [BZ #16046]
37408 * elf/tst-dl-iter-static.c: New file.
37409 * elf/Makefile (tests-static): Add tst-dl-iter-static.
37410
37411 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
37412 error.
37413
37414 2014-06-20 Joseph Myers <joseph@codesourcery.com>
37415
37416 * sysdeps/unix/sysv/linux/kernel-features.h
37417 (__ASSUME_F_GETOWN_EX): Remove macro.
37418 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
37419 <kernel-features.h>.
37420 (miss_F_GETOWN_EX): Remove variable or macro.
37421 (do_fcntl): Do not check miss_F_GETOWN_EX.
37422 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
37423
37424 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
37425 Remove macro.
37426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
37427 [!__ASSUME_AT_RANDOM]: Remove conditional code.
37428 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
37429
37430 * sysdeps/unix/sysv/linux/kernel-features.h
37431 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
37432 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
37433 [ADJ_OFFSET_SS_READ]: Make code unconditional.
37434 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
37435
37436 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
37437
37438 [BZ #17075]
37439 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
37440 Fix calculation of the symbol's value.
37441 * sysdeps/arm/tst-armtlsdescloc.c: New file.
37442 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
37443 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
37444 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
37445 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
37446 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
37447 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
37448 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
37449 (modules-names): Add `tst-armtlsdescmod',
37450 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
37451 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
37452 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37453 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
37454 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
37455 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37456 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
37457 ($(objpfx)tst-armtlsdescloc): New dependency.
37458 ($(objpfx)tst-armtlsdescextnow): Likewise.
37459 ($(objpfx)tst-armtlsdescextlazy): Likewise.
37460 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
37461 TLS scheme support.
37462 * sysdeps/arm/configure: Regenerate.
37463
37464 2014-06-20 Joseph Myers <joseph@codesourcery.com>
37465
37466 * include/fcntl.h (__atfct_seterrno): Remove prototype.
37467 (__atfct_seterrno_2): Likewise.
37468 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
37469 <kernel-features.h>.
37470 (__ASSUME_ATFCTS): Do not undefine and redefine.
37471 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
37472 (__have_atfcts): Remove conditional definition.
37473 (__fxstatat([__NR_fstatat64]: Make code unconditional.
37474 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
37475 unreachable if [__ASSUME_ATFCTS].
37476 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
37477 not undefine and redefine.
37478 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
37479 <kernel-features.h>.
37480 (faccessat) [__NR_faccessat]: Make code unconditional.
37481 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
37482 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
37483 <kernel-features.h>.
37484 (fchmodat) [__NR_fchmodat]: Make code unconditional.
37485 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37486 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
37487 <kernel-features.h>.
37488 (fchownat) [__NR_fchownat]: Make code unconditional.
37489 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
37490 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
37491 <kernel-features.h>.
37492 (futimesat) [__NR_futimesat]: Make code unconditional.
37493 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
37494 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37495 <kernel-features.h>.
37496 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37497 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37498 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37499 <kernel-features.h>.
37500 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
37501 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37502 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
37503 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37504 <kernel-features.h>.
37505 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
37506 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37507 * sysdeps/unix/sysv/linux/linkat.c: Do not include
37508 <kernel-features.h>.
37509 (linkat) [__NR_linkat]: Make code unconditional.
37510 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37511 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
37512 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
37513 <kernel-features.h>.
37514 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
37515 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37516 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
37517 <kernel-features.h>.
37518 (mkdirat) [__NR_mkdirat]: Make code unconditional.
37519 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
37520 * sysdeps/unix/sysv/linux/openat.c: Do not include
37521 <kernel-features.h>.
37522 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
37523 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
37524 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
37525 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
37526 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
37527 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
37528 <kernel-features.h>.
37529 (readlinkat) [__NR_readlinkat]: Make code unconditional.
37530 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
37531 result of INLINE_SYSCALL directly, not via int variable.
37532 * sysdeps/unix/sysv/linux/renameat.c: Do not include
37533 <kernel-features.h>.
37534 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
37535 (renameat) [__NR_renameat]: Make code unconditional.
37536 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
37537 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
37538 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
37539 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
37540 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
37541 (__ASSUME_ATFCTS): Do not undefine and redefine.
37542 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
37543 <kernel-features.h>.
37544 (symlinkat) [__NR_symlinkat]: Make code unconditional.
37545 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37546 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
37547 <kernel-features.h>.
37548 (unlinkat) [__NR_unlinkat]: Make code unconditional.
37549 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37550 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
37551 (__ASSUME_ATFCTS): Do not undefine and redefine.
37552 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37553 <kernel-features.h>.
37554 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37555 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37556 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37557 <kernel-features.h>.
37558 (__xmknodat) [__NR_mknodat]: Make code unconditional.
37559 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37560
37561 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
37562
37563 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
37564
37565 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
37566
37567 [BZ #17069]
37568 * posix/regcomp.c (parse_reg_exp): Deallocate partially
37569 constructed tree before returning error.
37570 * posix/bug-regexp36.c: Expand test case.
37571
37572 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
37573
37574 [BZ #6803]
37575 * math/libm-test.inc (scalbln_test_date):
37576 Add errno expectations.
37577 * math/w_scalblnf.c: New File.
37578 Add wrapper which checks for setting errno to ERANGE.
37579 Add weak_alias for corresponding scalbln function.
37580 * math/w_scalbln.c: Likewise.
37581 * math/w_scalblnl.c: Likewise.
37582 * math/Makefile (libm-calls): Add w_scalbln.
37583 * sysdeps/ieee754/flt-32/s_scalblnf.c:
37584 Remove weak_alias for corresponding scalbln function.
37585 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37587 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37589 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37590 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37591 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37592 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37593 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37594 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37595 Remove long_double_symbol for scalblnl function in libm, libc.
37596 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37597 Add wrapper which checks for setting errno to ERANGE.
37598 Add long_double_symbol for scalblnl function in libm, libc.
37599 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37600 Remove long_double_symbol for scalblnl in libm.
37601 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37602 Add wrapper which checks for setting errno to ERANGE.
37603 Add long_double_symbol for scalblnl function in libm.
37604 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37605 Do not use wrapper because of own implementation.
37606
37607 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
37608
37609 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37610 3 bytes for __pad1 for x32.
37611 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37612
37613 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
37614 H.J. Lu <hongjiu.lu@intel.com>
37615
37616 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37617 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37618 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37619 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37620 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37621
37622 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
37623
37624 [BZ #17069]
37625 * posix/regcomp.c (parse_expression): Deallocate partially
37626 constructed tree before returning error.
37627 * posix/Makefile.c (tests): Add bug-regex36.
37628 (generated): Add bug-regex36.mtrace.
37629 (tests-special): Add $(objpfx)bug-regex36-mem.out
37630 (bug-regex36-ENV): New variable.
37631 ($(objpfx)bug-regex36-mem.out): New rule.
37632 * posix/bug-regex36.c: New file.
37633
37634 2014-06-19 Will Newton <will.newton@linaro.org>
37635
37636 * malloc/malloc.c (systrim): If extra is zero then return
37637 early.
37638
37639 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37640
37641 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37642
37643 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
37644
37645 * sysdeps/aarch64/strchr.S: New file.
37646
37647 2014-06-18 Joseph Myers <joseph@codesourcery.com>
37648
37649 [BZ #17022]
37650 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37651 from arguments -2 or below.
37652 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37653 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37654
37655 2014-06-18 Andreas Schwab <schwab@suse.de>
37656
37657 [BZ #17062]
37658 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37659 of a bracket expr not to run off the end of the string.
37660 * posix/Makefile (tests): Add tst-fnmatch3.
37661 * posix/tst-fnmatch3.c: New file.
37662
37663 2014-06-18 Joseph Myers <joseph@codesourcery.com>
37664
37665 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37666 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37667 [$(cross-compiling) = no]: Likewise.
37668 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37669 [$(cross-compiling) = no]: Likewise.
37670
37671 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37672
37673 [BZ #17031]
37674 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37675 double, adjusted for any remainder from the high double.
37676 * math/libm-test.inc (nearbyint): Add tests.
37677 (rint): Likewise.
37678
37679 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37680
37681 * nptl/sysdeps/powerpc/Makefile: Moved ...
37682 * sysdeps/powerpc/nptl/Makefile: ... here.
37683 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37684 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37685 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37686 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37687 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37688 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37689 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37690 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37691 * nptl/sysdeps/powerpc/tls.h: Moved ...
37692 * sysdeps/powerpc/nptl/tls.h: ... here.
37693
37694 2014-06-16 Joseph Myers <joseph@codesourcery.com>
37695
37696 [BZ #16681]
37697 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37698 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37699 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37700 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37701 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37702 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37703 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37704 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37705 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37706
37707 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
37708
37709 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37710
37711 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
37712
37713 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37714 defined operator.
37715
37716 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37717 $TIMEOUTFACTOR.
37718
37719 2014-06-16 Florian Weimer <fweimer@redhat.com>
37720
37721 [BZ #17058]
37722 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37723 non-executed part of the test.
37724
37725 2014-06-16 Andreas Schwab <schwab@suse.de>
37726
37727 * string/bits/string2.h (strdup, strndup): Update feature guard.
37728
37729 2014-06-14 David S. Miller <davem@davemloft.net>
37730
37731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37732
37733 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
37734
37735 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37736 that was previously under [RESET_PID].
37737 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37738
37739 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37740 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37741 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37742 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37743 (__libc_vfork): New strong alias.
37744 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37745
37746 2014-06-14 Andi Kleen <ak@linux.intel.com>
37747
37748 * sysdeps/generic/elide.h: New file.
37749
37750 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
37751
37752 * Makefile (installed-headers): Adjust path of pthread.h header.
37753
37754 2014-06-13 Roland McGrath <roland@hack.frob.com>
37755
37756 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37757 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37758 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37759 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37760
37761 * nptl/sysdeps/s390/Makefile: Moved ...
37762 * sysdeps/s390/nptl/Makefile: ... here.
37763 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37764 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37765 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37766 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37767 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37768 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37769 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37770 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37771 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37772 * sysdeps/s390/nptl/pthreaddef.h: ... here.
37773 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37774 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37775 * nptl/sysdeps/s390/tls.h: Moved ...
37776 * sysdeps/s390/nptl/tls.h: ... here.
37777
37778 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37779 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37780
37781 2014-06-13 David S. Miller <davem@davemloft.net>
37782
37783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37785 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37786 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37787 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37789 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37790 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37791 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37792 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37793 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37794 Remove RESET_PID cpp guards.
37795 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37796 Remove RESET_PID cpp guards.
37797 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37798
37799 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
37800
37801 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37802 __sp to uintptr_t.
37803
37804 2014-06-13 Andi Kleen <ak@linux.intel.com>
37805
37806 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37808 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37809 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37810 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37811 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37812 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37813 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37814 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37815 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37816 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37817 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37818 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37819 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37820 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37821 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37822 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37823 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37824 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37825 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37826
37827 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37828 (pthread_rwlock_rdlock): Add elision.
37829 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37830 (pthread_rwlock_wrlock): Add elision.
37831 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37832 (pthread_rwlock_trywrlock): Add elision.
37833 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37834 (pthread_rwlock_tryrdlock): Add elision.
37835 * nptl/pthread_rwlock_unlock.c: Include elide.h.
37836 (pthread_rwlock_tryrdlock): Add elision unlock.
37837 * nptl/sysdeps/pthread/pthread.h:
37838 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37839 (PTHREAD_RWLOCK_INITIALIZER,
37840 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37841 Handle new elision field.
37842 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37843 * sysdeps/arm/nptl/bits/pthreadtypes.h
37844 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37845 * sysdeps/sh/nptl/bits/pthreadtypes.h
37846 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37847 * sysdeps/tile/nptl/bits/pthreadtypes.h
37848 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37849 * sysdeps/a/nptl/bits/pthreadtypes.h
37850 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37851 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37852 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37853 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37854 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37855 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37856 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37857 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37858 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37859 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37860 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37861 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37862 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37863 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37864 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37865 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37866 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37867 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37868 (elision_init): Set try_xbegin to zero when no RTM.
37869 * sysdeps/x86/nptl/bits/pthreadtypes.h
37870 (pthread_rwlock_t): Change __pad1 to __rwelision.
37871 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37872
37873 2014-06-13 Andi Kleen <ak@linux.intel.com>
37874
37875 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37876 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37877 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37878 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37879
37880 2014-06-13 Meador Inge <meadori@codesourcery.com>
37881
37882 [BZ #16996]
37883 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37884 that the cached result has been set before returning it.
37885
37886 2014-06-12 Roland McGrath <roland@hack.frob.com>
37887
37888 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37889 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37890 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37891 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37892 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37893 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37894
37895 * nptl/sysdeps/sparc/Makefile: Moved ...
37896 * sysdeps/sparc/nptl/Makefile: ... here.
37897 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37898 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37899 * nptl/sysdeps/sparc/tls.h: Moved ...
37900 * sysdeps/sparc/nptl/tls.h: ... here.
37901 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37902 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37903 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37904 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37905 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37906 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37907 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37908 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37909 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37910 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37911 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37912 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37913 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37914 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37915 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37916 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37917 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37918 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37919 Update #include.
37920 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37921 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37922 Update #include.
37923 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37924 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37925 Update #include.
37926 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37927 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37928 Update #include.
37929
37930 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37931
37932 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37933 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37934
37935 * sysdeps/pthread/posix-timer.h: Include <list.h>.
37936 (struct list_links): Type removed.
37937 (struct thread_node, struct timer_node): Replace struct list_links
37938 with struct list_head.
37939 (list_unlink_ip): Likewise.
37940 * sysdeps/pthread/timer_routines.c
37941 (timer_free_list, thread_free_list, thread_active_list): Likewise.
37942 (list_append, list_insbefore): Likewise.
37943 (list_init): Function removed.
37944 (thread_init, init_module): Use INIT_LIST_HEAD instead.
37945 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37946 * sysdeps/pthread/Makefile: ... here, new file.
37947
37948 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37949 * sysdeps/nptl/Implies: ... here.
37950 * sysdeps/unix/sysv/linux/Implies: Add nptl.
37951 * nptl/sysdeps/pthread/list.h: Moved ...
37952 * include/list.h: ... here.
37953 * nptl/sysdeps/pthread/createthread.c: Moved ...
37954 * nptl/createthread.c: ... here.
37955 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37956 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37957 * nptl/pt-longjmp.c: ... here.
37958 * nptl/sysdeps/pthread/Makefile: Moved ...
37959 * sysdeps/nptl/Makefile: ... here.
37960 * nptl/sysdeps/pthread/Subdirs: Moved ...
37961 * sysdeps/nptl/Subdirs: ... here.
37962 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37963 * sysdeps/nptl/aio_misc.h: ... here.
37964 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37965 * sysdeps/nptl/bits/libc-lock.h: ... here.
37966 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37967 * sysdeps/nptl/bits/libc-lockP.h: ... here.
37968 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37969 * sysdeps/nptl/bits/stdio-lock.h: ... here.
37970 * nptl/sysdeps/pthread/configure: Moved ...
37971 * sysdeps/nptl/configure: ... here.
37972 * nptl/sysdeps/pthread/configure.ac: Moved ...
37973 * sysdeps/nptl/configure.ac: ... here.
37974 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37975 * sysdeps/nptl/gai_misc.h: ... here.
37976 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37977 * sysdeps/nptl/librt-cancellation.c: ... here.
37978 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37979 * sysdeps/nptl/malloc-machine.h: ... here.
37980 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37981 * sysdeps/nptl/pthread-functions.h: ... here.
37982 * nptl/sysdeps/pthread/pthread.h: Moved ...
37983 * sysdeps/nptl/pthread.h: ... here.
37984 * nptl/sysdeps/pthread/setxid.h: Moved ...
37985 * sysdeps/nptl/setxid.h: ... here.
37986 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37987 * sysdeps/nptl/sigfillset.c: ... here.
37988 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37989 * sysdeps/nptl/tcb-offsets.h: ... here.
37990 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37991 * sysdeps/nptl/tst-mqueue8x.c: ... here.
37992 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37993 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37994 * nptl/sysdeps/pthread/allocalim.h: Moved ...
37995 * sysdeps/pthread/allocalim.h: ... here.
37996 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37997 * sysdeps/pthread/bits/sigthread.h: ... here.
37998 * nptl/sysdeps/pthread/flockfile.c: Moved ...
37999 * sysdeps/pthread/flockfile.c: ... here.
38000 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
38001 * sysdeps/pthread/ftrylockfile.c: ... here.
38002 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
38003 * sysdeps/pthread/funlockfile.c: ... here.
38004 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
38005 * sysdeps/pthread/posix-timer.h: ... here.
38006 * nptl/sysdeps/pthread/timer_create.c: Moved ...
38007 * sysdeps/pthread/timer_create.c: ... here.
38008 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
38009 * sysdeps/pthread/timer_delete.c: ... here.
38010 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
38011 * sysdeps/pthread/timer_getoverr.c: ... here.
38012 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
38013 * sysdeps/pthread/timer_gettime.c: ... here.
38014 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
38015 * sysdeps/pthread/timer_routines.c: ... here.
38016 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
38017 * sysdeps/pthread/timer_settime.c: ... here.
38018 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
38019 * sysdeps/pthread/tst-timer.c: ... here.
38020 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
38021 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
38022
38023 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
38024 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
38025
38026 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
38027 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
38028 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
38029 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
38030 Update #include target.
38031 * nptl/sysdeps/i386/i686/Makefile: Moved ...
38032 * sysdeps/i386/i686/nptl/Makefile: ... here.
38033 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
38034 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
38035 Update #include target.
38036 * nptl/sysdeps/i386/i686/tls.h: Moved ...
38037 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
38038 * nptl/sysdeps/i386/Makefile: Moved ...
38039 * sysdeps/i386/nptl/Makefile: ... here.
38040 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
38041 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
38042 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
38043 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
38044 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
38045 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
38046 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
38047 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
38048 * sysdeps/i386/nptl/pthreaddef.h: ... here.
38049 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
38050 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
38051 * nptl/sysdeps/i386/tls.h: Moved ...
38052 * sysdeps/i386/nptl/tls.h: ... here.
38053
38054 * sysdeps/sh/Makefile [$(subdir) = csu]
38055 (gen-as-const-headers): Add tcb-offsets.sym.
38056 * nptl/sysdeps/sh/Makefile: File removed.
38057 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
38058 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
38059 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
38060 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
38061 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
38062 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
38063 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
38064 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
38065 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
38066 * sysdeps/sh/nptl/pthreaddef.h: ... here.
38067 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
38068 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
38069 * nptl/sysdeps/sh/tls.h: Moved ...
38070 * sysdeps/sh/nptl/tls.h: ... here.
38071 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
38072 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
38073 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
38074 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
38075 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
38076 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
38077 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
38078 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
38079 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
38080 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
38081 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
38082 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
38083 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
38084 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
38085 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
38086 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
38087 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
38088 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
38089 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
38090 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
38091 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
38092 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
38093 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
38094 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
38095 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
38096 Moved ...
38097 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
38098 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
38099 Moved ...
38100 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
38101 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
38102 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
38103 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
38104 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
38105 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
38106 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
38107 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
38108 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
38109 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
38110 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
38111 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
38112 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
38113 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
38114 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
38115 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
38116 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
38117 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
38118 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
38119
38120 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38121
38122 * posix/spawn_faction_addopen.c: Include string.h.
38123
38124 2014-06-11 Roland McGrath <roland@hack.frob.com>
38125
38126 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
38127 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
38128 * nptl/sysdeps/x86_64/Makefile: Moved ...
38129 * sysdeps/x86_64/nptl/Makefile: ... here.
38130 * nptl/sysdeps/x86_64/configure: Moved ...
38131 * sysdeps/x86_64/nptl/configure: ... here.
38132 * nptl/sysdeps/x86_64/configure.ac: Moved ...
38133 * sysdeps/x86_64/nptl/configure.ac: ... here.
38134 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
38135 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
38136 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
38137 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
38138 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
38139 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
38140 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
38141 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
38142 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
38143 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
38144 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
38145 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
38146 * nptl/sysdeps/x86_64/tls.h: Moved ...
38147 * sysdeps/x86_64/nptl/tls.h: ... here.
38148 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
38149 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
38150 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
38151 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
38152
38153 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
38154
38155 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38156
38157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38158
38159 2014-06-11 Joseph Myers <joseph@codesourcery.com>
38160
38161 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
38162 type.
38163 [POSIX] (off_t): Likewise.
38164 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
38165 [POSIX] (S_ISBLK): Require macro.
38166 [POSIX] (S_ISCHR): Likewise.
38167 [POSIX] (S_ISDIR): Likewise.
38168 [POSIX] (S_ISFIFO): Likewise.
38169 [POSIX] (S_ISREG): Likewise.
38170 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
38171 optional-macro.
38172 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
38173 type.
38174 [POSIX] (time_t): Likewise.
38175 [POSIX] (timer_t): Likewise.
38176
38177 2014-06-11 Florian Weimer <fweimer@redhat.com>
38178
38179 [BZ #17048]
38180 * posix/spawn_int.h (struct __spawn_action): Make the path string
38181 non-const to support deallocation.
38182 * posix/spawn_faction_addopen.c
38183 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
38184 * posix/spawn_faction_destroy.c
38185 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
38186 path in all spawn_do_open actions.
38187 * posix/tst-spawn.c (do_test): Exercise the copy operation in
38188 posix_spawn_file_actions_addopen.
38189
38190 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
38191
38192 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
38193 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
38194 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
38195 conditional code always true.
38196 (__libc_vfork): New alias.
38197
38198 2014-06-11 Roland McGrath <roland@hack.frob.com>
38199
38200 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38201 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
38202
38203 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
38204
38205 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38206 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
38207
38208 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
38209 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
38210
38211 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38212 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
38213
38214 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
38215
38216 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
38217 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
38218 multiarch strcmp for PPC64.
38219 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
38220 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
38221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
38222 multiarch optimizations.
38223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38224 (__libc_ifunc_impl_list): Likewise.
38225
38226 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38227
38228 * benchtests/scripts/validate_benchout.py: New script.
38229 * benchtests/Makefile (bench-func): Call it.
38230 * benchtests/scripts/benchout.schema.json: New file.
38231
38232 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
38233
38234 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
38235 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
38236 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
38237 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
38238 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
38239 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
38240 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
38241 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
38242 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
38243 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
38244 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
38245 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
38246 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
38247 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
38248 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
38249 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
38250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
38251 Moved ...
38252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
38253 ... here.
38254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
38255 Moved ...
38256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
38257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
38258 Moved ...
38259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
38260 ... here.
38261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
38262 Moved ...
38263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
38264 ... here.
38265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
38266 Moved ...
38267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
38268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
38269 Moved ...
38270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
38271 ... here.
38272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
38273 Moved ...
38274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
38275 ... here.
38276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
38277 Moved ...
38278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
38279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
38280 Moved ...
38281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
38282 ... here.
38283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
38284 Moved ...
38285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
38286 ... here.
38287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
38288 Moved ...
38289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
38290 ... here.
38291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
38292 Moved ...
38293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
38294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
38295 Moved ...
38296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
38297 ... here.
38298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
38299 Moved ...
38300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
38301 ... here.
38302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
38303 Moved ...
38304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
38305 ... here.
38306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
38307 Moved ...
38308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
38309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
38310 Moved ...
38311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
38312 ... here.
38313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
38314 Moved ...
38315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
38316 ... here.
38317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
38318 Moved ...
38319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
38320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
38321 Moved ...
38322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
38323 ... here.
38324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
38325 Moved ...
38326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
38327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
38328 Moved ...
38329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
38330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
38331 Moved ...
38332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
38333 ... here.
38334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
38335 Moved ...
38336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
38337 ... here.
38338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
38339 Moved ...
38340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
38341 ... here.
38342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
38343 Moved ...
38344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
38345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
38346 Moved ...
38347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
38348 ... here.
38349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
38350 Moved ...
38351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
38352 ... here.
38353 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
38354 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
38355 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
38356 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
38357 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
38358 Moved ...
38359 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
38360 ... here.
38361 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
38362 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
38363 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
38364 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
38365 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
38366 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
38367 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
38368 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
38369 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
38370 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
38371 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
38372 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
38373 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
38374 Moved ...
38375 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
38376 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
38377 Moved ...
38378 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
38379 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
38380 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
38381 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
38382 Moved ...
38383 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
38384 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
38385 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
38386 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
38387 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
38388 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
38389 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
38390
38391 2014-06-10 Wilco <wdijkstr@arm.com>
38392
38393 * math/test-fenv-return.c: New file.
38394 * math/Makefile: Add new test test-fenv-return.
38395
38396 2014-06-10 Joseph Myers <joseph@codesourcery.com>
38397
38398 [BZ #17042]
38399 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
38400 when x - 1 is zero.
38401 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
38402 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
38403 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
38404 0.0L for an argument of 1.0L.
38405 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
38406 Likewise.
38407 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
38408 value when x - 1 is zero.
38409 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
38410 * sysdeps/i386/fpu/libm-test-ulps: Update.
38411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38412
38413 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
38414
38415 [BZ #15119]
38416 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
38417
38418 2014-06-09 Roland McGrath <roland@hack.frob.com>
38419
38420 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
38421 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
38422
38423 2014-06-09 Roland McGrath <roland@hack.frob.com>
38424
38425 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38426 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
38427
38428 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38429 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
38430
38431 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38432 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
38433
38434 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38435 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
38436
38437 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
38438 if not already defined.
38439 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
38440 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
38441 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
38442 (TLS_INIT_TP): Use it.
38443 (TLS_DEFINE_INIT_TP): New macro.
38444 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
38445
38446 2014-06-09 Joseph Myers <joseph@codesourcery.com>
38447
38448 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
38449 constant.
38450 [POSIX] (IXANY): Likewise.
38451 [POSIX] (OLCUC): Likewise.
38452 [POSIX || POSIX2008] (CBAUD): Do not allow.
38453 [POSIX || POSIX2008] (DEFECHO): Likewise.
38454 [POSIX || POSIX2008] (ECHOCTL): Likewise.
38455 [POSIX || POSIX2008] (ECHOKE): Likewise.
38456 [POSIX || POSIX2008] (ECHOPRT): Likewise.
38457 [POSIX || POSIX2008] (EXTA): Likewise.
38458 [POSIX || POSIX2008] (EXTB): Likewise.
38459 [POSIX || POSIX2008] (FLUSHO): Likewise.
38460 [POSIX || POSIX2008] (LOBLK): Likewise.
38461 [POSIX || POSIX2008] (PENDIN): Likewise.
38462 [POSIX || POSIX2008] (SWTCH): Likewise.
38463 [POSIX || POSIX2008] (VDISCARD): Likewise.
38464 [POSIX || POSIX2008] (VDSUSP): Likewise.
38465 [POSIX || POSIX2008] (VLNEXT): Likewise.
38466 [POSIX || POSIX2008] (VREPRINT): Likewise.
38467 [POSIX || POSIX2008] (VSTATUS): Likewise.
38468 [POSIX || POSIX2008] (VWERASE): Likewise.
38469 (B*): Change to B[0123456789]*.
38470 * conform/data/time.h-data [POSIX || UNIX98]
38471 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
38472 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38473 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
38474 [POSIX] (tm_*): Do not allow.
38475
38476 2014-06-07 Joseph Myers <joseph@codesourcery.com>
38477
38478 * Makefile (install): Don't set LANGUAGE.
38479 * Makefile.in (install): Likewise.
38480 * assert/Makefile (test-assert-ENV): Remove variable.
38481 (test-assert-perr-ENV): Likewise.
38482 * elf/Makefile (neededtest4-ENV): Likewise.
38483 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38484 [$(cross-compiling) = no]: Don't set LANGUAGE.
38485 * io/ftwtest-sh (LANG): Remove variable.
38486 * libio/Makefile (tst-widetext-ENV): Likewise.
38487 * manual/install.texi (Running make install): Don't refer to
38488 environment settings for make install.
38489 * INSTALL: Regenerated.
38490 * nptl/tst-tls6.sh: Don't set LANG.
38491 * posix/globtest.sh (LANG): Remove variable.
38492 * string/Makefile (tester-ENV): Likewise.
38493 (inl-tester-ENV): Likewise.
38494 (noinl-tester-ENV): Likewise.
38495 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38496 [$(cross-compiling) = no]: Don't set LANGUAGE.
38497 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
38498 without explicit environment settings.
38499
38500 2014-06-06 Roland McGrath <roland@hack.frob.com>
38501
38502 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
38503 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
38504 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
38505 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
38506
38507 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
38508
38509 * crypt/crypt-private.h [DOS]: Add some includes taken from the
38510 other files in the crypt directory.
38511 * crypt/crypt.c: Remove duplicate includes.
38512 * crypt/crypt-entry.c: Likewise.
38513 * crypt/crypt_util.c: Likewise.
38514
38515 2014-06-06 Joseph Myers <joseph@codesourcery.com>
38516
38517 * Makeconfig (run-program-env): New variable.
38518 (run-program-prefix-before-env): Likewise.
38519 (run-program-prefix-after-env): Likewise.
38520 (run-program-prefix): Define in terms of new variables.
38521 (built-program-cmd-before-env): New variable.
38522 (built-program-cmd-after-env): Likewise.
38523 (built-program-cmd): Define in terms of new variables.
38524 (test-program-prefix-before-env): New variable.
38525 (test-program-prefix-after-env): Likewise.
38526 (test-program-prefix): Define in terms of new variables.
38527 (test-program-cmd-before-env): New variable.
38528 (test-program-cmd-after-env): Likewise.
38529 (test-program-cmd): Define in terms of new variables.
38530 * Rules (make-test-out): Use $(run-program-env).
38531 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
38532 (help): Do not mention environment variables. Mention
38533 --timeoutfactor option.
38534 (timeoutfactor): New variable.
38535 (blacklist_exports): Remove function.
38536 (exports): Remove variable.
38537 (command): Do not include ${exports}.
38538 * manual/install.texi (Configuring and compiling): Do not mention
38539 test wrappers preserving environment variables. Mention that last
38540 assignment to a variable must take precedence.
38541 * INSTALL: Regenerated.
38542 * benchtests/Makefile (run-bench): Use $(run-program-env).
38543 * catgets/Makefile ($(objpfx)test1.cat): Use
38544 $(built-program-cmd-before-env), $(run-program-env) and
38545 $(built-program-cmd-after-env).
38546 ($(objpfx)test2.cat): Do not specify environment variables
38547 explicitly.
38548 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
38549 $(run-program-env) and $(built-program-cmd-after-env).
38550 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
38551 $(run-program-env) and $(test-program-cmd-after-env).
38552 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
38553 explicitly.
38554 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
38555 run_program_env and test_program_cmd_after_env arguments.
38556 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
38557 * elf/tst-pathopt.sh: Use run_program_env argument.
38558 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
38559 $(test-wrapper-env) and $(run-program-env).
38560 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
38561 run_program_env arguments.
38562 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
38563 * intl/Makefile ($(objpfx)tst-gettext.out): Use
38564 $(test-program-prefix-before-env), $(run-program-env) and
38565 $(test-program-prefix-after-env).
38566 ($(objpfx)tst-gettext2.out): Likewise.
38567 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
38568 run_program_env and test_program_prefix_after_env arguments.
38569 * intl/tst-gettext2.sh: Likewise.
38570 * intl/tst-gettext4.sh: Do not set environment variables
38571 explicitly.
38572 * intl/tst-gettext6.sh: Likewise.
38573 * intl/tst-translit.sh: Likewise.
38574 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
38575 $(test-program-prefix-before-env), $(run-program-env) and
38576 $(test-program-prefix-after-env).
38577 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38578 run_program_env and test_program_prefix_after_env arguments.
38579 * math/Makefile (run-regen-ulps): Use $(run-program-env).
38580 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38581 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
38582 explicitly with each use of ${test_wrapper_env}.
38583 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38584 $(test-program-prefix-before-env), $(run-program-env) and
38585 $(test-program-prefix-after-env).
38586 * posix/tst-getconf.sh: Do not set environment variables
38587 explicitly.
38588 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38589 run_program_env and test_program_prefix_after_env arguments.
38590 * stdio-common/tst-printf.sh: Do not set environment variables
38591 explicitly.
38592 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38593 $(test-program-prefix-before-env), $(run-program-env) and
38594 $(test-program-prefix-after-env).
38595 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38596 run_program_env and test_program_prefix_after_env arguments.
38597 Split $test calls into $test_pre and $test.
38598 * timezone/Makefile (build-testdata): Use
38599 $(built-program-cmd-before-env), $(run-program-env) and
38600 $(built-program-cmd-after-env).
38601
38602 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38603
38604 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38605 strlen for non SHARED builds.
38606
38607 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38608
38609 * nptl/allocatestack.c (check_list): Inlined function...
38610 (__reclaim_stacks): ... here.
38611
38612 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
38613
38614 [BZ #15698]
38615 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38616 memory overrun.
38617
38618 2014-06-05 Joseph Myers <joseph@codesourcery.com>
38619
38620 * Rules (make-test-out): Include
38621 LOCPATH=$(common-objpfx)localedata in default environment.
38622 * debug/Makefile (tst-chk1-ENV): Remove variable.
38623 (tst-chk2-ENV): Likewise.
38624 (tst-chk3-ENV): Likewise.
38625 (tst-chk4-ENV): Likewise.
38626 (tst-chk5-ENV): Likewise.
38627 (tst-chk6-ENV): Likewise.
38628 (tst-lfschk1-ENV): Likewise.
38629 (tst-lfschk2-ENV): Likewise.
38630 (tst-lfschk3-ENV): Likewise.
38631 (tst-lfschk4-ENV): Likewise.
38632 (tst-lfschk5-ENV): Likewise.
38633 (tst-lfschk6-ENV): Likewise.
38634 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38635 (tst-iconv7-ENV): Likewise.
38636 * intl/Makefile (LOCPATH-ENV): Likewise.
38637 (tst-codeset-ENV): Likewise.
38638 (tst-gettext3-ENV): Likewise.
38639 (tst-gettext5-ENV): Likewise.
38640 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38641 (tst-fopenloc-ENV): Likewise.
38642 (tst-fgetws-ENV): Remove variable.
38643 (tst-ungetwc1-ENV): Likewise.
38644 (tst-ungetwc2-ENV): Likewise.
38645 (bug-ungetwc2-ENV): Likewise.
38646 (tst-swscanf-ENV): Likewise.
38647 (bug-ftell-ENV): Likewise.
38648 (tst-fgetwc-ENV): Likewise.
38649 (tst-fseek-ENV): Likewise.
38650 (tst-ftell-partial-wide-ENV): Likewise.
38651 (tst-ftell-active-handler-ENV): Likewise.
38652 (tst-ftell-append-ENV): Likewise.
38653 * posix/Makefile (tst-fnmatch-ENV): Likewise.
38654 (tst-regexloc-ENV): Likewise.
38655 (bug-regex1-ENV): Likewise.
38656 (tst-regex-ENV): Likewise.
38657 (tst-regex2-ENV): Likewise.
38658 (bug-regex5-ENV): Likewise.
38659 (bug-regex6-ENV): Likewise.
38660 (bug-regex17-ENV): Likewise.
38661 (bug-regex18-ENV): Likewise.
38662 (bug-regex19-ENV): Likewise.
38663 (bug-regex20-ENV): Likewise.
38664 (bug-regex22-ENV): Likewise.
38665 (bug-regex23-ENV): Likewise.
38666 (bug-regex25-ENV): Likewise.
38667 (bug-regex26-ENV): Likewise.
38668 (bug-regex30-ENV): Likewise.
38669 (bug-regex32-ENV): Likewise.
38670 (bug-regex33-ENV): Likewise.
38671 (bug-regex34-ENV): Likewise.
38672 (bug-regex35-ENV): Likewise.
38673 (tst-rxspencer-ENV): Likewise.
38674 (tst-rxspencer-no-utf8-ENV): Likewise.
38675 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38676 (tst-sscanf-ENV): Likewise.
38677 (tst-swprintf-ENV): Likewise.
38678 (tst-swscanf-ENV): Likewise.
38679 (test-vfprintf-ENV): Likewise.
38680 (scanf13-ENV): Likewise.
38681 (bug14-ENV): Likewise.
38682 (tst-grouping-ENV): Likewise.
38683 * stdlib/Makefile (tst-strtod-ENV): Likewise.
38684 (tst-strtod3-ENV): Likewise.
38685 (tst-strtod4-ENV): Likewise.
38686 (tst-strtod5-ENV): Likewise.
38687 (testmb2-ENV): Likewise./
38688 * string/Makefile (tst-strxfrm-ENV): Likewise.
38689 (tst-strxfrm2-ENV): Likewise.
38690 (bug-strcoll1-ENV): Likewise.
38691 (test-strcasecmp-ENV): Likewise.
38692 (test-strncasecmp-ENV): Likewise.
38693 * time/Makefile (tst-strptime-ENV): Likewise.
38694 (tst-ftime_l-ENV): Likewise.
38695 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38696 (tst-mbrtowc-ENV): Likewise.
38697 (tst-wcrtomb-ENV): Likewise.
38698 (tst-mbrtowc2-ENV): Likewise.
38699 (tst-c16c32-1-ENV): Likewise.
38700 (tst-mbsnrtowcs-ENV): Likewise.
38701
38702 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
38703
38704 * manual/resource.texi (How to get information about the memory
38705 subsystem?): Fix typo.
38706 Reported by Peon de la Parra Ivan <peon@keba.com>
38707
38708 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
38709
38710 [BZ #16882]
38711 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38712 (pthread_spin_lock): Branch out of spin loop to proper location.
38713 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38714 (pthread_spin_lock): Likewise.
38715
38716 * nptl/tst-spin4.c: New test.
38717 * nptl/Makefile (tests): Add tst-spin4.
38718
38719 2014-06-03 Andreas Schwab <schwab@suse.de>
38720
38721 [BZ #15946]
38722 * resolv/res_send.c (send_dg): Reload file descriptor after
38723 calling reopen.
38724
38725 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
38726
38727 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38728
38729 2014-06-03 Richard Henderson <rth@redhat.com>
38730
38731 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38732 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38733 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38734 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
38735 in the SAVE_PID block.
38736 (__libc_vfork): New alias.
38737 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38738
38739 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38740 child in registers, not on the stack. Remove RESET_PID conditionals.
38741 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38742
38743 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
38744
38745 * sysdeps/aarch64/libm-test-ulps: Regenerate.
38746
38747 2014-06-03 Wilco <wdijkstr@arm.com>
38748
38749 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38750 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38751 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38752 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38753 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38754 Likewise.
38755
38756 2014-06-03 Wilco <wdijkstr@arm.com>
38757
38758 * sysdeps/aarch64/fpu/math_private.h
38759 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38760 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38761 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38762 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38763 Fix declarations.
38764
38765 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
38766
38767 * crypt/crypt-private.h: Include ufc-crypt.h.
38768 (__b64_from_24bit): Declare extern.
38769 * crypt/crypt_util.c(__b64_from_24bit): New function.
38770 (b64t): New static const variable.
38771 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38772 (b64t): Remove variable.
38773 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38774 * crypt/sha256-crypt.c: Include crypt-private.h.
38775 (b64t): Remove variable.
38776 (__sha256_crypt_r): Remove b64_from_24bit and replace
38777 with __b64_from_24bit.
38778 * crypt/sha512-crypt.c: Likewise.
38779
38780 2014-06-02 Roland McGrath <roland@hack.frob.com>
38781
38782 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38783 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38784 Label the code __libc_vfork rather than __vfork.
38785 [!NOT_IN_libc] (vfork): Define as weak alias.
38786 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38787 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38788 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38789
38790 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38791
38792 * malloc/malloc.c (malloc_info): Fix format specifier for
38793 n_mmaps.
38794
38795 2014-06-02 Wilco <wdijkstr@arm.com>
38796
38797 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38798 FPCR write.
38799
38800 2014-06-02 Wilco <wdijkstr@arm.com>
38801
38802 [BZ #17009]
38803 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38804 Rewrite to reduce FPCR/FPSR accesses.
38805
38806 2014-06-01 David S. Miller <davem@davemloft.net>
38807
38808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38809
38810 2014-05-31 David S. Miller <davem@davemloft.net>
38811
38812 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38813 to occur in round to nearest mode when |x| >= 2.0
38814
38815 2014-05-30 Richard Henderson <rth@twiddle.net>
38816
38817 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38818 (PSEUDO_RET_NOERRNO): Remove.
38819 (ret): Don't redefine.
38820 (ret_NOERRNO): Define in terms of ret.
38821 (ret_ERRVAL): Likewise.
38822
38823 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38824 use of PSEUDO_RET; perform the error check directly.
38825
38826 2014-05-30 Marko Myllynen <myllynen@redhat.com>
38827
38828 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38829 with __int128_t.
38830
38831 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38832
38833 * malloc/malloc (malloc_info): Fix formatting.
38834
38835 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38836 Roland McGrath <roland@hack.frob.com>
38837
38838 * malloc/malloc (malloc_info): Also print mmapped statistics.
38839
38840 2014-05-30 Roland McGrath <roland@hack.frob.com>
38841
38842 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38843 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38844
38845 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
38846
38847 * malloc/malloc.c (malloc_info): Inline mi_arena.
38848
38849 2014-05-29 Richard Henderson <rth@twiddle.net>
38850
38851 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38852 Remove comma before expanding ASM_ARGS_##nr.
38853 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38854 Make _x0 a strict output; make _x8 a strict input; adjust expansion
38855 of ASM_ARGS_##nr.
38856 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38857 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38858 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38859 (ASM_ARGS_1): Add leading comma.
38860
38861 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38862 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38863 to __errno_location.
38864 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38865 Remove the expected plt for __errno_location.
38866
38867 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38868 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38869 call to __read_tp.
38870
38871 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38872 Always allocate 64 bytes of stack frame. Use ldp/stp to create
38873 it and break it down.
38874 (DOCARGS_0, DOCARGS_1): Do nothing.
38875 (DOCARGS_2): Update to store into the new stack frame.
38876 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38877 (UNDOCARGS_1): Update to restore from the new stack frame.
38878 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38879 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38880
38881 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38882 (SINGLE_THREAD_P): New parameter for result regno.
38883 (PSEUDO): Update to match; use cbz instead of beq.
38884
38885 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38886 Use ENTRY to define the _nocancel entry point. Share the syscall
38887 and syscall error check paths with the cancel path.
38888 (PSEUDO_END): New.
38889
38890 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38891 whitespace; tabs before and after asm mnemonics.
38892
38893 2014-05-29 Eric Wong <normalperson@yhbt.net>
38894
38895 [BZ #15132]
38896 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38897 Call fstat64 or stat64 internally, depending on arguments passed.
38898 Replace stat buffer argument with file descriptor argument.
38899 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38900 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38901 Pass fd to __internal_statvfs instead of calling fstat64.
38902 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38903 Pass fd to __internal_statvfs64 instead of calling fstat64.
38904 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38905 Pass -1 to __internal_statvfs instead of calling stat64.
38906 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38907 Pass -1 to __internal_statvfs64 instead of calling stat64.
38908
38909 2014-05-28 Roland McGrath <roland@hack.frob.com>
38910
38911 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38912 that was previously under [RESET_PID].
38913 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38914
38915 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38916 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38917
38918 2014-05-27 Roland McGrath <roland@hack.frob.com>
38919
38920 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38921
38922 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38923 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38924
38925 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
38926
38927 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38928
38929 2014-05-27 Andreas Schwab <schwab@suse.de>
38930
38931 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38932 TLS_INIT_TP macro.
38933 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38934 * elf/rtld.c (init_tls, dl_main): Likewise.
38935 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38936 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38937 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38938 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38939 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38940 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38941 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38942 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38943 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38944 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38945 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38946 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38947 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38948 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38949 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38950 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38951 * sysdeps/generic/tls.h: Update description.
38952
38953 2014-05-27 Will Newton <will.newton@linaro.org>
38954
38955 [BZ #16990]
38956 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38957 and restore r2 rather than just restoring.
38958
38959 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38960
38961 [BZ #16724]
38962 * libio/tst-ftell-append.c: New test case.
38963 * libio/Makefile (tests): Add test case.
38964 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38965 append mode.
38966 * libio/wfileops.c (do_ftell_wide): Likewise.
38967
38968 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38969
38970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38971
38972 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38973 ...
38974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38976 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38977 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38978 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38979 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38980 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38981 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38982 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38983 Moved ...
38984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38985 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38986 Moved ...
38987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38988 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38989 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38990 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38991 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38992 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38993 ...
38994 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38995 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38996 Moved ...
38997 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38998 here.
38999 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
39000 ...
39001 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
39002 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
39003 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
39004
39005 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
39006 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
39007 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
39008 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
39009
39010 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
39011 merge into ...
39012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
39013 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
39014 ...
39015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
39016 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
39017 ...
39018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
39019 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39020 Moved ...
39021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
39022 here.
39023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39024 Moved ...
39025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
39026 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39027 Moved ...
39028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
39029
39030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
39031 conditional [RESET_PID].
39032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
39033 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
39034 removed.
39035 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
39036 removed.
39037
39038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
39039 <tcb-offsets.h>.
39040 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39041 (__libc_vfork): New strong alias.
39042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
39043 removed.
39044 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
39045 Removed.
39046
39047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
39048 <tcb-offsets.h>.
39049 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
39050 (__libc_vfork): New strong alias.
39051 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
39052 removed.
39053 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
39054 removed.
39055
39056 2014-05-26 Carlos O'Donell <carlos@redhat.com>
39057
39058 * malloc/malloc.c (mi_arena): New function.
39059 (malloc_info): Remove nested function mi_arena. Call non-nosted
39060 function mi_arena.
39061
39062 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39063
39064 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
39065 by insrwi.
39066 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
39067 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
39068 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
39069 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
39070 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
39071 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
39072 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
39073
39074 2014-05-26 Andreas Schwab <schwab@suse.de>
39075
39076 [BZ #16984]
39077 * locale/programs/repertoire.c (repertoire_read): Add slash
39078 between I18NPATH element and file name.
39079 * locale/programs/locfile.c (locfile_read): Likewise.
39080
39081 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
39082
39083 * nptl/pthread_mutexattr_settype.c
39084 (__pthread_mutexattr_settype):
39085 Disable lock elision for PTHREAD_MUTEX_NORMAL.
39086
39087 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
39088
39089 * nptl/tst-mutex5 (do_test):
39090 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
39091
39092 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39093
39094 * benchtests/README: Document 'init' directive.
39095 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
39096 BENCH_INIT.
39097 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
39098 (parse_file): Recognize 'init' directive.
39099
39100 2014-05-26 Kyle McMartin <kyle@redhat.com>
39101
39102 [BZ #16796]
39103 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
39104 alignment of struct pthread.
39105
39106 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39107
39108 [BZ #16878]
39109 * nscd/netgroupcache.c (addgetnetgrentX): Look for
39110 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
39111 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
39112 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
39113
39114 2014-05-25 Richard Henderson <rth@twiddle.net>
39115
39116 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39117 (SINGLE_THREAD_P_PIC): Remove.
39118 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
39119 (SINGLE_THREAD_P_PIC): Remove.
39120
39121 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
39122 branch to syscall error ...
39123 (PSEUDO): ... here.
39124 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
39125 from __local_syscall_error to .Lsyscall_error.
39126 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
39127 (SYSCALL_ERROR): Update label name.
39128
39129 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39130 Do not use DOARGS/UNDOARGS.
39131 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
39132 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
39133 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
39134 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
39135 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
39136
39137 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
39138 block comment.
39139
39140 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
39141 define if !NOT_IN_libc.
39142 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
39143 define with non-default symbol versions.
39144
39145 2014-05-23 Richard Henderson <rth@twiddle.net>
39146
39147 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
39148 (vfork, __vfork): Define via compat_symbol.
39149
39150 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
39151 [!HAVE_IFUNC] (vfork_compat): Remove.
39152 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
39153
39154 2014-05-23 Joseph Myers <joseph@codesourcery.com>
39155
39156 [BZ #16978]
39157 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
39158 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
39159 variable.
39160
39161 2014-05-23 Richard Henderson <rth@twiddle.net>
39162
39163 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
39164 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
39165 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
39166 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
39167
39168 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
39169 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
39170 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
39171 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
39172 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
39173 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
39174 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
39175 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
39176 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
39177 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
39178 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
39179 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
39180 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
39181 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
39182 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
39183 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
39184 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
39185 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
39186 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
39187 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
39188 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
39189 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
39190 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
39191 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
39192 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
39193 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
39194 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
39195 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
39196 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
39197 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
39198 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
39199 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
39200 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
39201 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
39202 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
39203 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
39204 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
39205 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
39206 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
39207 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
39208 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
39209 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
39210 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
39211 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
39212 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
39213 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
39214 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
39215 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
39216 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
39217 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
39218 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
39219 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
39220 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
39221 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
39222 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
39223 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
39224
39225 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
39226 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
39227 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
39228 before exiting on error.
39229 (__libc_vfork): New strong alias.
39230 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
39231 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
39232
39233 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
39234 that was previously under [RESET_PID].
39235 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
39236
39237 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
39238
39239 2014-05-23 Joseph Myers <joseph@codesourcery.com>
39240
39241 [BZ #16977]
39242 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
39243 value when x - 1 is zero.
39244 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
39245 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
39246 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
39247 0.0L for an argument of 1.0L.
39248 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
39249 Likewise.
39250 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
39251 value when x - 1 is zero.
39252 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
39253 * sysdeps/i386/fpu/libm-test-ulps: Update.
39254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39255
39256 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
39257
39258 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
39259 alphasort and versionsort.
39260
39261 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39262
39263 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
39264 macro.
39265 [copysignf]: Likewise.
39266
39267 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39268
39269 * crypt/md5-crypt.c: Fix formatting.
39270
39271 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
39272
39273 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
39274 (b64_from_24bit): New function.
39275
39276 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39277
39278 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
39279 libc_hidden_builtin_def to ifunc.
39280 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39281 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
39282
39283 2014-05-21 Roland McGrath <roland@hack.frob.com>
39284
39285 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
39286 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
39287
39288 2014-05-21 Joseph Myers <joseph@codesourcery.com>
39289
39290 * nscd/Depend (linuxthreads): Remove.
39291 (nptl): Add.
39292 * resolv/Depend (linuxthreads): Remove.
39293 * rt/Depend (linuxthreads): Remove.
39294
39295 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
39296 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
39297 $(common-objpfx)elf/.
39298 (link-libc-before-gnulib): Likewise.
39299 (elfobjdir): Remove variable.
39300 * Makefile (install): Use $(elf-objpfx) instead of
39301 $(common-objpfx)elf/.
39302 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
39303 $(elfobjdir)/.
39304 (link-libc-deps): Likewise.
39305 ($(common-objpfx)libc.so): Likewise.
39306 ($(common-objpfx)linkobj/libc.so): Likewise.
39307 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
39308 instead of $(common-objpfx)elf/.
39309 (symbolic-link-list): Likewise.
39310 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39311 [$(cross-compiling) = no]: Likewise.
39312 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
39313 $(elfobjdir)/.
39314 (static-gnulib-arch): Likewise.
39315 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39316 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
39317 $(common-objpfx)elf/.
39318
39319 2014-05-21 Richard Henderson <rth@redhat.com>
39320
39321 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39322 (SINGLE_THREAD_P): Use the correct width load. Fold
39323 into the ldr offset.
39324
39325 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
39326 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
39327
39328 2014-05-20 Joseph Myers <joseph@codesourcery.com>
39329
39330 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
39331 (libgcc_s_resume): Use __attribute_used__.
39332 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
39333 Likewise.
39334
39335 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39336
39337 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
39338 optimization when used with float constants.
39339
39340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39341
39342 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
39343
39344 [BZ #16915]
39345 * locale/nl_langinfo_l.c: Make direct reference to every
39346 _nl_current_CATEGORY symbol.
39347 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
39348 (tests-static): Add tst-langinfo-static.
39349 (tests-special): Add tst-langinfo-static.out.
39350 ($(objpfx)tst-langinfo.out): Redirect output.
39351 ($(objpfx)tst-langinfo-static.out): New.
39352 * localedata/tst-langinfo.sh: Send output to stdout.
39353 * localedata/tst-langinfo-static.c: New file.
39354
39355 [BZ #16965]
39356 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
39357 when the shift amount is modulo the limb size.
39358
39359 2014-05-20 Richard Henderson <rth@redhat.com>
39360
39361 [BZ #16967]
39362 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
39363 Change type of sa_flags from unsigned int to int.
39364
39365 [BZ #16966]
39366 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
39367
39368 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
39369
39370 2014-05-20 Will Newton <will.newton@linaro.org>
39371
39372 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39373 Test the return value of the system call in the nocancel case.
39374
39375 2014-05-20 Will Newton <will.newton@linaro.org>
39376 Yvan Roux <yvan.roux@linaro.org>
39377
39378 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
39379 #include of asm/ptrace.h.
39380 (PTRACE_GET_THREAD_AREA): Remove #undef.
39381 (PTRACE_GETHBPREGS): Likewise.
39382 (PTRACE_SETHBPREGS): Likewise.
39383 (struct user_regs_struct): New structure.
39384 (struct user_fpsimd_struct): New structure.
39385 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
39386 #include of asm/ptrace.h and second #include of sys/user.h.
39387 (PTRACE_GET_THREAD_AREA): Remove #undef.
39388 (PTRACE_GETHBPREGS): Likewise.
39389 (PTRACE_SETHBPREGS): Likewise.
39390 (ELF_NGREG): Use new struct user_regs_struct.
39391 (elf_fpregset_t): Use new struct user_fpsimd_struct.
39392
39393 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39394
39395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
39396 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
39397
39398 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
39399
39400 [BZ #16958]
39401 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
39402 membar to avoid block loads/stores to overlap previous stores.
39403
39404 2014-05-17 Richard Henderson <rth@redhat.com>
39405
39406 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
39407 Create the __##syscall_name##_nocancel entry point.
39408 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
39409 Remove; let the sysdep-cancel.h code create it.
39410
39411 2014-05-17 David S. Miller <davem@davemloft.net>
39412
39413 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
39414 Protect with __USE_GNU.
39415 (TIOCSET_TEMPT): Likewise.
39416 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39417 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
39418 these are already provided in bits/ioctl-types.h
39419
39420 2014-05-16 Roland McGrath <roland@hack.frob.com>
39421
39422 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
39423 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
39424
39425 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
39426 Use wait4 regardless of [__NR_waitpid].
39427
39428 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
39429
39430 PR libgcc/60166
39431 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39432 (_FP_NANSIGN_Q): Set the quiet bit.
39433
39434 2014-05-16 Joseph Myers <joseph@codesourcery.com>
39435
39436 * benchtests/Makefile
39437 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
39438 not $(common-objpfx)math/libm.so.
39439 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
39440 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
39441 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
39442 $(common-objpfx)dlfcn/libdl.so.
39443 ($(objpfx)tst-audit8): Depend on $(libm), not
39444 $(common-objpfx)math/libm.so.
39445 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
39446 not $(common-objpfx)dlfcn/libdl.so.
39447 * math/Makefile
39448 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39449 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
39450 [$(build-shared) = yes].
39451 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
39452 $(common-objpfx)nptl/libpthread.so.
39453 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
39454 $(common-objpfx)math/libm.so$(libm.so-version) or
39455 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
39456 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
39457 $(common-objpfx)dlfcn/libdl.so.
39458 * setjmp/Makefile (link-libm): Remove variable.
39459 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
39460 * stdio-common/Makefile (link-libm): Remove variable.
39461 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
39462 * stdlib/Makefile (link-libm): Remove variable.
39463 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
39464 ($(objpfx)tst-strtod-round): Likewise.
39465 ($(objpfx)tst-tininess): Likewise.
39466 ($(objpfx)tst-strtod-underflow): Likewise.
39467 ($(objpfx)tst-strtod6): Likewise.
39468 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
39469 $(libdl), not $(common-objpfx)nptl/libpthread.so and
39470 $(common-objpfx)dlfcn/libdl.so.
39471
39472 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39473
39474 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
39475 BSD terminal modes definitions.
39476
39477 2014-05-16 Roland McGrath <roland@hack.frob.com>
39478
39479 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
39480 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
39481
39482 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
39483 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
39484 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
39485 Don't do #include_next.
39486 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
39487 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
39488 Don't do #include_next.
39489 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
39490 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
39491 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
39492 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
39493
39494 2014-05-16 Allan McRae <allan@archlinux.org>
39495
39496 * po/sv.po: Update Swedish translation from translation project.
39497
39498 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
39499 in sed expression.
39500
39501 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
39502
39503 [BZ #16917]
39504 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
39505 errno if the TIOCGPTN ioctl fails with an error different than
39506 EINVAL.
39507 * login/tst-ptsname.c: New file.
39508 * login/Makefile (tests): Add tst-ptsname.
39509
39510 [BZ #16943]
39511 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
39512 and prlimit64.
39513
39514 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39515
39516 [BZ #16849]
39517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39518 herrno to return EAI_AGAIN.
39519
39520 2014-05-14 Roland McGrath <roland@hack.frob.com>
39521
39522 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
39523 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
39524 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
39525 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
39526 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
39527 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
39528 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
39529 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
39530 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
39531 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
39532 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
39533 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39534 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
39535 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
39536 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
39537 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
39538 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
39539 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
39540 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
39541 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
39542 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
39543 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
39544 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
39545 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
39546 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
39547 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
39548 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
39549 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
39550 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
39551 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
39552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
39553 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
39554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
39555 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
39556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39557 Moved ...
39558 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
39559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
39560 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
39561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
39562 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
39563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
39564 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
39565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
39566 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
39567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
39568 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
39569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
39570 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
39571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
39572 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
39573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
39574 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
39575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
39576 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
39577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39578 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39580 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39582 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39584 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39586 Moved ...
39587 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39589 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39591 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39593 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39595 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39597 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39599 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39601 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39603 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39605 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39607 Moved ...
39608 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39610 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39611
39612 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39613 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39614 (libpthread-sysdep_routines): Add elision-related stuff here instead.
39615 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39616 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39617 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39618 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39619 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39620 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39621 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39622 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39623 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39624 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39625 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39626 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39627 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39628 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39629 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39630 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39631 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39632 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39633 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39634 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39635 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39636 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39637 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39638 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39639 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39640 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39641 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39642 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39643
39644 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39645 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39646
39647 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39648 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39649 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39650 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39651 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39652 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39653 Moved ...
39654 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39655 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39656 Moved ...
39657 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39658 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39659 Moved ...
39660 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39661 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39662 Moved ...
39663 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39664 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39665 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39666 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39667 Moved ...
39668 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39669 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39670 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39671 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39672 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39673 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39674 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39675 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39676 Moved ...
39677 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39678 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39679 Moved ...
39680 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39681 ... here.
39682 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39683 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39684 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39685 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39686 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39687 Moved ...
39688 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39689 ... here.
39690 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39691 Moved ...
39692 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39693 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39694 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39695 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39696 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39697 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39698 Moved ...
39699 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39700 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39701 Moved ...
39702 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39703 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39704 Moved ...
39705 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39706 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39707 Moved ...
39708 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39709 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39710 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39711 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39712 Moved ...
39713 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39714 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39715 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39716 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39717 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39718 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39719 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39720 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39721 Moved ...
39722 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39723 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39724 Moved ...
39725 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39726 ... here.
39727 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39728 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39729 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39730 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39731 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39732 Moved ...
39733 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39734 ... here.
39735 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39736 Moved ...
39737 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39738 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39739 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39740 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39741 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39742 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39743 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39744 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39745 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39746 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39747 Moved ...
39748 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39749 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39750 Moved ...
39751 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39752 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39753 Moved ...
39754 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39755 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39756 Moved ...
39757 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39758 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39759 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39760 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39761 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39762 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39763 Moved ...
39764 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39765 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39766 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39767 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39768 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39769 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39770 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39771 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39772 Moved ...
39773 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39774 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39775 Moved ...
39776 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39777 ... here.
39778 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39779 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39780 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39781 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39782 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39783 Moved ...
39784 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39785 ... here.
39786 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39787 Moved ...
39788 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39789 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39790 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39791 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39792 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39793 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39794 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39795 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39796 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39797 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39798 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39799
39800 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39801 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39802
39803 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39804 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39805
39806 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39807 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39808 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39809 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39810 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39811 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39812 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39813 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39814 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39815 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39816 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39817 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39818 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39819 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39820 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39821 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39822 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39823 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39824 Moved ...
39825 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39826 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39827 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39828 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39829 Moved ...
39830 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39831 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39832 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39833 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39834 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39836 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39837 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39838 Moved ...
39839 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39840 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39841 Moved ...
39842 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39843 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39844 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39845 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39846 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39847 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39848 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39849 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39850 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39851 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39852 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39853 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39854 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39855 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39856 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39857 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39858 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39859
39860 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39861 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39862 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39863 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39864 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39865
39866 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39867 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39868 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39869 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39870 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39871 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39872 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39873 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39874 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39875 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39876
39877 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39878 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39879
39880 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39881 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39882 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39883 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39884 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39885 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39886 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39887 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39888 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39889 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39890 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39891 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39892 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39893 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39894 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39895 Update #include.
39896 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39897 Likewise.
39898 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39899 Likewise.
39900 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39901 Likewise.
39902 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39903 Likewise.
39904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39905 Likewise.
39906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39907 Likewise.
39908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39909 Likewise.
39910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39911 Likewise.
39912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39913 Likewise.
39914 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39915 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39916 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39917 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39919 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39920 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39921 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39922 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39924 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39925 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39926 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39927 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
39928 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
39929
39930 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39931 that was previously under [RESET_PID].
39932 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39933 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39934 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39935
39936 * sysdeps/i386/nptl/Implies: New file.
39937 * sysdeps/x86_64/nptl/Implies: New file.
39938 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39939 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39940 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39941 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39942
39943 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39944 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39945 (__libc_vfork): New strong alias.
39946 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39947 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39948
39949 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39950 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39951 (__libc_vfork): New strong alias.
39952 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39953 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39954
39955 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39956 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39957 (__libc_vfork): New strong alias.
39958 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39959 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39960 * nptl/pt-vfork.c: New file.
39961 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39962 (libpthread: GLIBC_2.20): New version set (empty).
39963
39964 2014-05-14 Will Newton <will.newton@linaro.org>
39965
39966 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39967 rather than #if.
39968
39969 2014-05-14 Joseph Myers <joseph@codesourcery.com>
39970
39971 [BZ #16564]
39972 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39973 arguments with exponent 65 or above.
39974 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39975 arguments 0x1p113L or above.
39976 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39977 to arguments 0x1p107L or above.
39978 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39979 positive arguments with exponent 65 or above.
39980 * math/auto-libm-test-in: Add more tests of log1p.
39981 * math/auto-libm-test-out: Regenerated.
39982
39983 [BZ #16928]
39984 * math/s_cacos.c (__cacos): Ensure zero real part of result from
39985 non-finite arguments is +0.
39986 * math/s_cacosf.c (__cacosf): Likewise.
39987 * math/s_cacosl.c (__cacosl): Likewise.
39988 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39989 * sysdeps/i386/fpu/libm-test-ulps: Update.
39990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39991
39992 [BZ #16927]
39993 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39994 value.
39995 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39996 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39997 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39998 for explicit high bit of mantissa when testing for argument equal
39999 to 1.
40000 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
40001 * sysdeps/i386/fpu/libm-test-ulps: Update.
40002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40003
40004 [BZ #16516]
40005 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
40006 (__erf): Scale by 16 instead of 8 in potentially underflowing
40007 case. Ensure exception if result actually underflows.
40008 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
40009 (__erff): Scale by 16 instead of 8 in potentially underflowing
40010 case. Ensure exception if result actually underflows.
40011 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
40012 (efx8): Remove variable.
40013 (__erfl): Scale by 16 instead of 8 in potentially underflowing
40014 case. Ensure exception if result actually underflows.
40015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
40016 (efx8): Remove variable.
40017 (__erfl): Scale by 16 instead of 8 in potentially underflowing
40018 case. Ensure exception if result actually underflows.
40019 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
40020 (efx8): Remove variable.
40021 (__erfl): Scale by 16 instead of 8 in potentially underflowing
40022 case. Ensure exception if result actually underflows.
40023 * math/auto-libm-test-in: Add more tests of erf.
40024 * math/auto-libm-test-out: Regenerated.
40025
40026 2014-05-14 Andreas Schwab <schwab@suse.de>
40027
40028 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
40029 Remove code conditionalized on USE___THREAD.
40030
40031 * config.h.in (HAVE_PT_CHOWN): Define as 0.
40032 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
40033 not definedness.
40034
40035 2014-05-14 Joseph Myers <joseph@codesourcery.com>
40036
40037 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
40038 Define unconditionally.
40039 (__ASSUME_O_CLOEXEC): Likewise.
40040 (__ASSUME_SOCK_CLOEXEC): Likewise.
40041 (__ASSUME_IN_NONBLOCK): Likewise.
40042 (__ASSUME_PIPE2): Likewise.
40043 (__ASSUME_EVENTFD2): Likewise.
40044 (__ASSUME_SIGNALFD4): Likewise.
40045 (__ASSUME_DUP3): Likewise.
40046 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40047 (__ASSUME_DUP3): Do not define.
40048 (__ASSUME_EVENTFD2): Likewise.
40049 (__ASSUME_IN_NONBLOCK): Likewise.
40050 (__ASSUME_O_CLOEXEC): Likewise.
40051 (__ASSUME_PIPE2): Likewise.
40052 (__ASSUME_SIGNALFD4): Likewise.
40053 (__ASSUME_SOCK_CLOEXEC): Likewise.
40054 (__ASSUME_UTIMES): Undefine.
40055 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40056 (__ASSUME_UTIMES): Do not define.
40057 (__ASSUME_O_CLOEXEC): Likewise.
40058 (__ASSUME_SOCK_CLOEXEC): Likewise.
40059 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
40060 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
40061 0x020621].
40062 (__ASSUME_PIPE2): Likewise.
40063 (__ASSUME_EVENTFD2): Likewise.
40064 (__ASSUME_SIGNALFD4): Likewise.
40065 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
40066 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
40067 Do not define.
40068 (__ASSUME_EVENTFD2): Likewise.
40069 (__ASSUME_SIGNALFD4): Likewise.
40070 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40071 (__ASSUME_32BITUIDS): Likewise.
40072 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40073 (__ASSUME_IPC64): Likewise.
40074 (__ASSUME_ST_INO_64_BIT): Likewise.
40075 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
40076 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
40077 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40078 (__ASSUME_UTIMES): Do not define.
40079 (__ASSUME_PSELECT): Likewise.
40080 (__ASSUME_PPOLL): Likewise.
40081 (__ASSUME_O_CLOEXEC): Likewise.
40082 (__ASSUME_SOCK_CLOEXEC): Likewise.
40083 (__ASSUME_IN_NONBLOCK): Likewise.
40084 (__ASSUME_PIPE2): Likewise.
40085 (__ASSUME_EVENTFD2): Likewise.
40086 (__ASSUME_SIGNALFD4): Likewise.
40087 (__ASSUME_DUP3): Likewise.
40088 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40089 (__ASSUME_UTIMES): Likewise.
40090 (__ASSUME_O_CLOEXEC): Likewise.
40091 (__ASSUME_SOCK_CLOEXEC): Likewise.
40092 (__ASSUME_IN_NONBLOCK): Likewise.
40093 (__ASSUME_PIPE2): Likewise.
40094 (__ASSUME_EVENTFD2): Likewise.
40095 (__ASSUME_SIGNALFD4): Likewise.
40096 (__ASSUME_DUP3): Likewise.
40097 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40098 (__ASSUME_UTIMES): Likewise.
40099 (__ASSUME_O_CLOEXEC): Likewise.
40100 (__ASSUME_SOCK_CLOEXEC): Likewise.
40101 (__ASSUME_IN_NONBLOCK): Likewise.
40102 (__ASSUME_PIPE2): Likewise.
40103 (__ASSUME_EVENTFD2): Likewise.
40104 (__ASSUME_SIGNALFD4): Likewise.
40105 (__ASSUME_DUP3): Likewise.
40106 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
40107 Likewise.
40108 (__ASSUME_UTIMES): Likewise.
40109 (__ASSUME_EVENTFD2): Likewise.
40110 (__ASSUME_SIGNALFD4): Likewise.
40111 * sysdeps/unix/sysv/linux/tile/kernel-features.h
40112 (__ASSUME_O_CLOEXEC): Likewise.
40113 (__ASSUME_SOCK_CLOEXEC): Likewise.
40114 (__ASSUME_IN_NONBLOCK): Likewise.
40115 (__ASSUME_PIPE2): Likewise.
40116 (__ASSUME_EVENTFD2): Likewise.
40117 (__ASSUME_SIGNALFD4): Likewise.
40118 (__ASSUME_DUP3): Likewise.
40119 (__ASSUME_UTIMES): Undefine.
40120
40121 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
40122 feclearexcept. Remove symbol versioning code.
40123 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
40124 symbol versioning code.
40125 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
40126 symbol versioning code.
40127 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
40128 feupdateenv. Remove symbol versioning code.
40129 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
40130 fegetexceptflag. Remove symbol versioning code.
40131 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
40132 fesetexceptflag. Remove symbol versioning code.
40133 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
40134 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
40135 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
40136 (__posix_fadvise64_l32): Remove prototype.
40137 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
40138 code.
40139
40140 2014-05-13 Roland McGrath <roland@hack.frob.com>
40141
40142 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
40143 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
40144 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
40145 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
40146
40147 2014-05-13 Sami Kerola <kerolasa@iki.fi>
40148
40149 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
40150 current working directory
40151
40152 2014-05-13 Roland McGrath <roland@hack.frob.com>
40153
40154 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
40155 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
40156 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
40157 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
40158 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
40159 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
40160 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
40161 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
40162 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
40163 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
40164 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
40165 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
40166 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
40167 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
40168 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
40169 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
40170 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
40171 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
40172 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
40173 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
40174 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
40175 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
40176 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
40177 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
40178 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
40179 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
40180 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
40181 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
40182 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
40183 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
40184 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
40185 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
40186 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
40187 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
40188 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
40189 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
40190 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
40191 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
40192 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
40193 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
40194 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
40195 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
40196
40197 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
40198 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
40199
40200 * sysdeps/unix/sysv/linux/arm/Makefile
40201 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40202 Add rt-aeabi_unwind_cpp_pr1.
40203 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
40204 Add nptl-aeabi_unwind_cpp_pr1.
40205 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
40206 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
40207 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
40208 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40209 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
40210 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40211
40212 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
40213 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
40214 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
40215 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
40216
40217 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
40218 Deconditionalize the code that was previously under [RESET_PID].
40219 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
40220
40221 * sysdeps/generic/exit-thread.h: New file.
40222 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
40223 * include/unistd.h (__exit_thread): Remove declaration.
40224 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
40225 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
40226 * csu/libc-start.c: Include <exit-thread.h>.
40227 (LIBC_START_MAIN): Pass no argument to __exit_thread.
40228 * nptl/pthread_create.c: Include <exit-thread.h>.
40229 (start_thread): Call __exit_thread in place of __exit_thread_inline.
40230 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
40231 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
40232 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
40233 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
40234 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
40235 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
40236 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
40237 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
40238 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
40239 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
40240 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
40241 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
40242 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
40243 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
40244 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
40245 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
40246
40247 2014-05-13 Andreas Schwab <schwab@suse.de>
40248
40249 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
40250
40251 2014-05-12 Joseph Myers <joseph@codesourcery.com>
40252
40253 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40254 (__ASSUME_UTIMES): Do not condition on kernel version.
40255 (__ASSUME_PSELECT): Define unconditionally.
40256 (__ASSUME_PPOLL): Likewise.
40257 (__ASSUME_ATFCTS): Likewise.
40258 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
40259 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
40260 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
40261 (__ASSUME_UTIMENSAT): Define unconditionally.
40262 (__ASSUME_PRIVATE_FUTEX): Likewise.
40263 (__ASSUME_FALLOCATE): Likewise.
40264 (__ASSUME_O_CLOEXEC): Likewise.
40265 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
40266 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
40267 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
40268 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
40269 (__ASSUME_IN_NONBLOCK): Likewise.
40270 (__ASSUME_PIPE2): Likewise.
40271 (__ASSUME_EVENTFD2): Likewise.
40272 (__ASSUME_SIGNALFD4): Likewise.
40273 (__ASSUME_DUP3): Likewise.
40274 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40275 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
40276 (__ASSUME_AT_RANDOM): Likewise.
40277 (__ASSUME_PREADV): Likewise.
40278 (__ASSUME_PWRITEV): Likewise.
40279 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
40280 (__ASSUME_F_GETOWN_EX): Define unconditionally.
40281 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
40282 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40283 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
40284 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40285 (__ASSUME_O_CLOEXEC): Define unconditionally.
40286 (__ASSUME_PSELECT): Do not undefine conditionally.
40287 (__ASSUME_PPOLL): Likewise.
40288 (__ASSUME_ATFCTS): Likewise.
40289 (__ASSUME_SET_ROBUST_LIST): Likewise.
40290 (__ASSUME_UTIMENSAT): Likewise.
40291 (__ASSUME_FDATASYNC): Define unconditionally.
40292 * sysdeps/unix/sysv/linux/arm/kernel-features.h
40293 (__ASSUME_SIGFRAME_V2): Likewise.
40294 )__ASSUME_EVENTFD2): Likewise.
40295 (__ASSUME_SIGNALFD4): Likewise.
40296 (__ASSUME_PSELECT): Do not undefine conditionally.
40297 (__ASSUME_PPOLL): Likewise.
40298 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40299 (__ASSUME_PSELECT): Define unconditionally.
40300 (__ASSUME_PPOLL): Likewise.
40301 (__ASSUME_O_CLOEXEC): Likewise.
40302 (__ASSUME_SOCK_CLOEXEC): Likewise.
40303 (__ASSUME_IN_NONBLOCK): Likewise.
40304 (__ASSUME_PIPE2): Likewise.
40305 (__ASSUME_EVENTFD2): Likewise.
40306 (__ASSUME_SIGNALFD4): Likewise.
40307 (__ASSUME_DUP3): Likewise.
40308 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40309 (__ASSUME_O_CLOEXEC): Likewise.
40310 (__ASSUME_SOCK_CLOEXEC): Likewise.
40311 (__ASSUME_IN_NONBLOCK): Likewise.
40312 (__ASSUME_PIPE2): Likewise.
40313 (__ASSUME_EVENTFD2): Likewise.
40314 (__ASSUME_SIGNALFD4): Likewise.
40315 (__ASSUME_DUP3): Likewise.
40316 * sysdeps/unix/sysv/linux/mips/kernel-features.h
40317 (__ASSUME_EVENTFD2): Likewise.
40318 (__ASSUME_SIGNALFD4): Likewise.
40319 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40320
40321 2014-05-12 Andreas Schwab <schwab@suse.de>
40322
40323 [BZ #16932]
40324 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
40325 (_nss_nis_gethostbyname4_r): Return error if item length is larger
40326 than maximum RPC packet size.
40327 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
40328 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
40329 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
40330 (_nss_nis_getservbyport_r): Likewise.
40331
40332 2014-05-12 Will Newton <will.newton@linaro.org>
40333
40334 * malloc/Makefile (tests): Add tst-mallopt.
40335 * malloc/tst-mallopt.c: New file.
40336
40337 2014-05-09 Roland McGrath <roland@hack.frob.com>
40338
40339 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
40340 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
40341
40342 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40343
40344 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
40345 (tst-tlsmod6.so): Likewise.
40346
40347 2014-05-09 Roland McGrath <roland@hack.frob.com>
40348
40349 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
40350
40351 2014-05-09 Joseph Myers <joseph@codesourcery.com>
40352
40353 [BZ #16064]
40354 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
40355 and <dl-procinfo.h>.
40356 (__fegetenv): Save SSE state in envp->__eip if supported.
40357 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
40358 envp->__eip if supported.
40359 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
40360 and <dl-procinfo.h>.
40361 (__fesetenv): Always set __eip, __cs_selector, __opcode,
40362 __data_offset and __data_selector in environment to 0. Set SSE
40363 state if supported.
40364 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
40365 test-fenv-sse.
40366 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
40367 -mfpmath=sse.
40368 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
40369
40370 2014-05-09 Will Newton <will.newton@linaro.org>
40371
40372 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
40373 and libc_relro_required for ARM.
40374 * sysdeps/arm/preconfigure: Regenerate.
40375
40376 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
40377 Stefan Liebler <stli@linux.vnet.ibm.com>
40378
40379 * config.make.in (enable-lock-elision): New Makefile variable.
40380 * configure.ac: Likewise.
40381 * configure: Regenerate.
40382 * sysdeps/s390/configure.ac:
40383 Add check for gcc transactions support.
40384 * sysdeps/s390/configure: Regenerate.
40385 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
40386 Build elision files if enabled.
40387 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
40388 Add lock elision support for s390.
40389 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
40390 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
40391 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
40392 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
40393 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
40394 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
40395 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40396 Likewise.
40397 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
40398 Likewise.
40399 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
40400 Likewise.
40401 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
40402 Likewise.
40403 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
40404 (__lll_timedlock_elision, __lll_lock_elision)
40405 (__lll_unlock_elision, __lll_trylock_elision)
40406 (lll_timedlock_elision, lll_lock_elision)
40407 (lll_unlock_elision, lll_trylock_elision): Add.
40408 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40409 (pthread_mutex_t): Add lock elision support for s390.
40410
40411 2014-05-14 Wilco <wdijkstr@arm.com>
40412
40413 * sysdeps/arm/fclrexcpt.c: Cleanup.
40414 * sysdeps/arm/fedisblxcpt.c: Cleanup.
40415 * sysdeps/arm/feenablxcpt.c: Cleanup.
40416 * sysdeps/arm/fegetenv.c: Cleanup.
40417 * sysdeps/arm/fegetexcept.c: Cleanup.
40418 * sysdeps/arm/fegetround.c: Cleanup.
40419 * sysdeps/arm/feholdexcpt.c: Cleanup.
40420 * sysdeps/arm/fesetenv.c: Cleanup.
40421 * sysdeps/arm/fesetround.c: Cleanup.
40422 * sysdeps/arm/feupdateenv.c: Cleanup.
40423 * sysdeps/arm/fgetexcptflg.c: Cleanup.
40424 * sysdeps/arm/fraiseexcpt.c: Cleanup.
40425 * sysdeps/arm/fsetexcptflg.c: Cleanup.
40426 * sysdeps/arm/ftestexcept.c: Cleanup.
40427 * sysdeps/arm/get-rounding-mode.h: Cleanup.
40428 * sysdeps/arm/setfpucw.c: Cleanup.
40429
40430 2014-05-09 Will Newton <will.newton@linaro.org>
40431
40432 * sysdeps/arm/armv7/strcmp.S: New file.
40433 * NEWS: Mention addition of ARMv7 optimized strcmp.
40434
40435 2014-05-08 Roland McGrath <roland@hack.frob.com>
40436
40437 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
40438 look for %.ac rather than %.in.
40439
40440 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
40441 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
40442 * sysdeps/mach/hurd/configure: Regenerated.
40443 * sysdeps/unix/sysv/linux/configure: Regenerated.
40444
40445 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
40446
40447 2014-05-07 Steve Ellcey <sellcey@mips.com>
40448
40449 [BZ# 16922]
40450 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
40451 (LONG_SUB): Ditto.
40452 (PTR_SUB): Ditto.
40453
40454 2014-05-07 Andreas Schwab <schwab@suse.de>
40455
40456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
40457 when skipping over non-matching result from nscd.
40458
40459 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
40460
40461 [BZ #16876]
40462 * nptl/sockperf.c (client): Check socket return value.
40463
40464 [BZ #16877]
40465 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
40466 nscd security class.
40467
40468 2014-05-06 Roland McGrath <roland@hack.frob.com>
40469
40470 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
40471 * sysdeps/arm/unwind.h: ... here.
40472
40473 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
40474
40475 [BZ# 16916]
40476 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
40477 Define.
40478
40479 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
40480
40481 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
40482 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
40483 multiarch strncpy for PPC64.
40484 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
40485 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
40486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
40487 multiarch optimizations.
40488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40489 (__libc_ifunc_impl_list): Likewise.
40490 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
40491 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
40492 multiarch stpncpy for PPC64.
40493 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
40494 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
40495
40496 2014-05-06 Andreas Schwab <schwab@suse.de>
40497
40498 [BZ #16912]
40499 * gmon/mcount.c (_MCOUNT_DECL): Use
40500 atomic_compare_and_exchange_bool_acq instead of
40501 catomic_compare_and_exchange_bool_acq.
40502
40503 2014-05-05 Roland McGrath <roland@hack.frob.com>
40504
40505 * elf/Makefile (others, install-bin): Remove pldd.
40506 (pldd-modules): Variable removed.
40507 ($(objpfx)pldd): Target removed.
40508 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
40509 (others, install-bin): Append pldd here.
40510 ($(objpfx)pldd): New target.
40511
40512 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
40513 to 0, so the first #if test emitted later doesn't see it undefined.
40514 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
40515 * sysdeps/gnu/errlist.c: Regenerated.
40516
40517 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40518
40519 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40520 [libc_hidden_builtin_def]: Define to empty value.
40521 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
40522 [libc_hidden_builtin_def]: Likewise.
40523 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
40524 [libc_hidden_builtin_def]: Likewise.
40525 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
40526 [libc_hidden_builtin_def]: Likewise.
40527 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
40528 __redirect_memcpy and define ifunc as default hidden symbol.
40529 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
40530 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
40531
40532 2014-05-04 Adam Conrad <adconrad@0c3.net>
40533
40534 * locale/iso-4217.def: Reintroduce XDR currency.
40535
40536 2014-05-04 Allan McRae <allan@archlinux.org>
40537
40538 * po/eo.po: Update Esperanto translation from translation project.
40539
40540 2014-05-02 Carlos O'Donell <carlos@redhat.com>
40541
40542 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
40543 and FEATURE_INDEX_MAX to 1.
40544 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
40545
40546 2014-05-01 Steve Ellcey <sellcey@mips.com>
40547
40548 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
40549 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
40550 * iconvdata/big5.c (ONE_DIRECTION): Define.
40551 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
40552 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
40553 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
40554 * iconvdata/cp932.c (ONE_DIRECTION): Define.
40555 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
40556 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
40557 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
40558 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
40559 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
40560 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
40561 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
40562 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
40563 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
40564 * iconvdata/gbk.c (ONE_DIRECTION): Define.
40565 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
40566 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
40567 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
40568 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
40569 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
40570 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
40571 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
40572 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
40573 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
40574 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
40575 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
40576 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
40577 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40578 * iconvdata/iso646.c (ONE_DIRECTION): Define.
40579 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40580 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40581 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40582 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40583 * iconvdata/johab.c (ONE_DIRECTION): Define.
40584 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40585 * iconvdata/sjis.c (ONE_DIRECTION): Define.
40586 * iconvdata/t.61.c (ONE_DIRECTION): Define.
40587 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40588 * iconvdata/tscii.c (ONE_DIRECTION): Define.
40589 * iconvdata/uhc.c (ONE_DIRECTION): Define.
40590 * iconvdata/unicode.c (ONE_DIRECTION): Define.
40591 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40592 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40593 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40594
40595 2014-05-01 Roland McGrath <roland@hack.frob.com>
40596
40597 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40598 (_IO_JUMPS_OFFSET): Define to 0.
40599
40600 * nptl/sysdeps/pthread/bits/libc-lock.h
40601 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40602 (__libc_lock_define_initialized_recursive): Always define using
40603 initializer. Modern compilers treat uninitialized (implicit zero) and
40604 explicit zero initializers the same (i.e. put the datum in bss).
40605
40606 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
40607
40608 * nscd/nscd-client.h: Include <string.h>.
40609
40610 2014-05-01 David S. Miller <davem@davemloft.net>
40611
40612 [BZ #16885]
40613 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40614 multiple zero bytes exist at the end of a string.
40615 Reported by Aurelien Jarno <aurelien@aurel32.net>
40616
40617 * string/test-strcmp.c (check): Add explicit test for situations where
40618 there are multiple zero bytes after the first.
40619
40620 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
40621
40622 [BZ #16890]
40623 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40624 when compiling wprintf.
40625 * stdio-common/tstdiomisc.c (t3): New function.
40626 (main): Call it.
40627
40628 2014-05-01 Steve Ellcey <sellcey@mips.com>
40629
40630 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40631 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40632 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40633 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40634
40635 2014-05-01 Steve Ellcey <sellcey@mips.com>
40636
40637 * stdlib/longlong.h: Updated from GCC.
40638
40639 2014-05-01 Will Newton <will.newton@linaro.org>
40640 Bernard Ogden <bernie.ogden@linaro.org>
40641
40642 * NEWS: Update fixed bug list.
40643
40644 [BZ #15119]
40645 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40646
40647 2014-04-30 David S. Miller <davem@davemloft.net>
40648
40649 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40650 (libc_feholdexcept_setround_sparc_ctx): New function.
40651 (libc_fesetenv_sparc_ctx): Likewise.
40652 (libc_feupdateenv_sparc_ctx): Likewise.
40653 (libc_feholdsetround_sparc_ctx): Likewise.
40654 (libc_feholdexcept_setround_ctx): Define.
40655 (libc_feholdexcept_setroundf_ctx): Likewise.
40656 (libc_feholdexcept_setroundl_ctx): Likewise.
40657 (libc_fesetenv_ctx): Likewise.
40658 (libc_fesetenvf_ctx): Likewise.
40659 (libc_fesetenvl_ctx): Likewise.
40660 (libc_feupdateenv_ctx): Likewise.
40661 (libc_feupdateenvf_ctx): Likewise.
40662 (libc_feupdateenvl_ctx): Likewise.
40663 (libc_feresetround_ctx): Likewise.
40664 (libc_feresetroundf_ctx): Likewise.
40665 (libc_feresetroundl_ctx): Likewise.
40666 (libc_feholdsetround_ctx): Likewise.
40667 (libc_feholdsetroundf_ctx): Likewise.
40668 (libc_feholdsetroundl_ctx): Likewise.
40669
40670 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40671 with __USE_GNU instead of XOPEN cpp guards.
40672
40673 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40674 0.
40675
40676 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40677 with XOPEN cpp guards.
40678
40679 2014-04-30 Julian Brown <julian@codesourcery.com>
40680
40681 [BZ #16888]
40682 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40683 handling.
40684
40685 2014-04-30 Joseph Myers <joseph@codesourcery.com>
40686
40687 [BZ #9894]
40688 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40689 Change to 2.6.32.
40690 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40691 * sysdeps/unix/sysv/linux/configure: Regenerated.
40692 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40693 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40694 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40695 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40696 * README: Update reference to required Linux kernel version.
40697 * manual/install.texi (Linux): Update reference to required Linux
40698 kernel headers version.
40699 * INSTALL: Regenerated.
40700
40701 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40702 header inclusion.
40703 [POSIX] (limits.h): Likewise.
40704 [POSIX] (math.h): Likewise.
40705 [POSIX] (sys/wait.h): Likewise.
40706 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40707 function.
40708 [POSIX] (stddef.h): Do not allow header inclusion.
40709
40710 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40711
40712 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40713
40714 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
40715
40716 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40717 Return immediately after lll_futex_wake.
40718
40719 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40720
40721 [BZ #16791]
40722 * nscd/nscd-client.h (datahead_init_common): Initialize entire
40723 structure.
40724 (datahead_init_pos): Call datahead_init_common early.
40725 (datahead_init_neg): Likewise.
40726
40727 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40728 datahead_init_neg): New functions.
40729 * nscd/aicache.c (addhstaiX): Use them.
40730 * nscd/grpcache.c (cache_addgr): Likewise.
40731 * nscd/hstcache.c (cache_addhst): Likewise.
40732 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40733 * nscd/netgroupcache.c (do_notfound): Likewise.
40734 (addgetnetgrentX): Likewise.
40735 (addinnetgrX): Likewise.
40736 * nscd/pwdcache.c (cache_addpw): Likewise.
40737 * nscd/servicescache.c (cache_addserv): Likewise.
40738
40739 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40740 Atsushi Onoe <atsushi@onoe.org>
40741
40742 [BZ #14308]
40743 [BZ #12994]
40744 [BZ #13651]
40745 * resolv/res_query.c (__libc_res_nsearch): Return if at least
40746 one response is valid.
40747 * resolv/res_send.c (send_dg): Check for validity of other
40748 response if the current response is a referral.
40749
40750 2014-04-29 Steve Ellcey <sellcey@mips.com>
40751
40752 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40753
40754 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
40755
40756 [BZ #16823]
40757 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40758 Always divide by positive zero when computing -Inf result.
40759 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40760 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40761
40762 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40763
40764 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40765 FPSCR if value do not change.
40766 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40767 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40768 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40769 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40770 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40771 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40772 function.
40773
40774 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
40775
40776 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40777 * sysdeps/unix/sysv/linux/hppa: Move directory from
40778 ports/systeps/unix/sysv/linux/hppa.
40779 * README: Update listing for hppa-*-linux-gnu.
40780
40781 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
40782
40783 [BZ #16754]
40784 * manual/stdio.texi (Hook functions): Fix types of stream hook
40785 functions.
40786 [BZ #16854]
40787 * socket/sys/socket.h: Fix typo in comment.
40788
40789 2014-04-28 Wilco <wdijkstr@arm.com>
40790
40791 * sysdeps/arm/fenv_private.h: New file.
40792 * sysdeps/arm/math_private.h: New file.
40793 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40794
40795 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
40796
40797 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40798 with __int128_t.
40799 (La_x86_64_retval): Likewise.
40800
40801 2014-04-24 Ian Bolton <ian.bolton@arm.com>
40802
40803 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40804 fpsr if value didn't change.
40805 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40806 to fpcr if value didn't change.
40807 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40808 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40809 fpsr or fpcr if value didn't change.
40810 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40811 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40812 fpcr if value didn't change.
40813 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40814 to fpsr if value didn't change.
40815
40816 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
40817
40818 * nptl/tst-sem3.c: Use test-skeleton.c
40819 (main): Rename to do_test. Use return instead of
40820 exit.
40821 * nptl/tst-sem4.c: Use test-skeleton.c
40822 (main): Rename to do_test.
40823
40824 2014-04-22 David S. Miller <davem@davemloft.net>
40825
40826 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40827 (struct sigaction): New struct member __glibc_reserved0, change
40828 type of sa_flags to int.
40829
40830 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
40831
40832 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40833 (COUNT_LEADING_ZEROS_0): Define for AArch64.
40834
40835 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40836
40837 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40838 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40839
40840 2014-04-22 Will Newton <will.newton@linaro.org>
40841 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
40842
40843 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40844 (__longjmp): Add longjmp and longjmp_target SystemTap
40845 probes.
40846 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40847 (__sigsetjmp): Add setjmp SystemTap probe.
40848
40849 2014-04-17 Carlos O'Donell <carlos@redhat.com>
40850
40851 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40852 match manual order.
40853
40854 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40855
40856 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40857
40858 * sysdeps/powerpc/fpu/fenv_private.h
40859 (libc_feholdexcept_setroundl_ctx): Define to
40860 libc_feholdexcept_setround_ppc_ctx.
40861 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40862 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40863 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40864 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40865
40866 2014-04-17 Ian Bolton <ian.bolton@arm.com>
40867
40868 * sysdeps/aarch64/math-tests.h: New file.
40869
40870 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
40871
40872 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40873 New.
40874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40875 Check and set bit_AVX2_Usable.
40876 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40877 macro.
40878 (bit_AVX2): Likewise.
40879 (index_AVX2_Usable): Likewise.
40880 (CPUID_AVX2): Likewise.
40881 (HAS_AVX2): Likewise.
40882
40883 2014-04-17 Will Newton <will.newton@linaro.org>
40884
40885 * manual/setjmp.texi (System V contexts): Add note that
40886 calling setcontext on a context created by a call to a
40887 signal handler is undefined. Update text to note that
40888 setcontext from a signal handler is possible but not
40889 recommended.
40890
40891 [BZ #16629]
40892 * stdlib/tst-setcontext.c: Include signal.h.
40893 (main): Check that the signal stack before and
40894 after swapcontext is the same.
40895
40896 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40897 Re-implement to restore registers in user code and avoid
40898 rt_sigreturn system call.
40899
40900 2014-04-17 Wilco <wdijkstr@arm.com>
40901
40902 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40903 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40904 * math/test-fenv.c: Skip exception trap tests on targets which only
40905 support non-stop mode.
40906
40907 2014-04-17 Ian Bolton <ian.bolton@arm.com>
40908 Wilco Dijkstra <wilco.dijkstra@arm.com>
40909
40910 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40911 (libc_feholdsetround_aarch64_ctx)
40912 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40913 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40914 (libc_feresetround_ctx, libc_feresetroundf_ctx)
40915 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40916 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40917 (libc_feresetround_noexl_ctx): Define.
40918
40919 2014-04-16 Richard Henderson <rth@redhat.com>
40920
40921 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40922
40923 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40924 unwind tables.
40925
40926 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40927 const from the non-libc, non-ldso copy.
40928
40929 * sysdeps/alpha/libm-test-ulps: Regenerate.
40930
40931 2014-04-16 Ian Bolton <ian.bolton@arm.com>
40932 Wilco Dijkstra <wilco.dijkstra@arm.com>
40933
40934 * sysdeps/aarch64/fpu/math_private.h: New file.
40935
40936 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
40937
40938 * sysdeps/aarch64/libm-test-ulps: Regenerate.
40939
40940 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
40941
40942 [BZ #16275]
40943 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40944 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40946 Intel MPX bound registers before _dl_profile_fixup.
40947 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40948 registers after _dl_profile_fixup. Save and restore bound
40949 registers bnd0/bnd1 when calling _dl_call_pltexit.
40950 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40951 (LR_BND_OFFSET): Likewise.
40952 (LRV_BND0_OFFSET): Likewise.
40953 (LRV_BND1_OFFSET): Likewise.
40954
40955 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40956
40957 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40958 to...
40959 * sysdeps/mach/hurd/i386/tls.h: ... here.
40960 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40961 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40962 fields.
40963
40964 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40965
40966 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40967
40968 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40969
40970 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40971
40972 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40973
40974 [BZ #14770]
40975 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40976 * sysdeps/s390/configure: Regenerate.
40977
40978 [BZ #16824]
40979 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40980 Set round-to-nearest internally to reduce error accumulation.
40981
40982 2014-04-16 Alan Modra <amodra@gmail.com>
40983
40984 [BZ #16740]
40985 [BZ #16619]
40986 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40987 * math/libm-test.inc (frexp_test_data): Add tests.
40988 * NEWS: Update fixed bug list.
40989
40990 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40991
40992 * benchtests/Makefile: Depend on libraries in build directory.
40993 (bench-math): Separate out math tests.
40994 (bench-pthread): Separate out pthread tests.
40995 (bench): Include math and pthread tests.
40996
40997 2014-04-14 Carlos O'Donell <carlos@redhat.com>
40998
40999 [BZ #16831]
41000 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
41001 _dl_debug_initialize.
41002
41003 * configure.ac: Remove SELinux header check.
41004 * configure: Regenerate.
41005 * nscd/selinux.c (perms): Array of const char* to permission names.
41006 (nscd_request_avc_has_perm): Call security_deny_unknown to find
41007 default policy. Call string_to_security_class and string_to_av_perm to
41008 translate strings. Enforce default policy and call avs_has_perm with
41009 results of translated strings.
41010
41011 2014-04-13 David S. Miller <davem@davemloft.net>
41012
41013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41014
41015 2014-04-12 Allan McRae <allan@archlinux.org>
41016
41017 [BZ #16838]
41018 * manual/string.texi (Collation Functions): Fix qsort argument
41019 order in example.
41020 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41021
41022 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
41023
41024 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
41025 Make the test a no-op if there are no exceptions defined.
41026
41027 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
41028
41029 * elf/Makefile (tests): make tst-dlopen-aout conditional on
41030 enable-hardcoded-path-in-tests
41031
41032 2014-04-11 Will Newton <will.newton@linaro.org>
41033
41034 * benchtests/Makefile (extra-objs): Add json-lib.o.
41035 (bench-func): Tidy up JSON output.
41036 * benchtests/bench-skeleton.c: Include json-lib.h.
41037 (main): Use JSON library functions to do output of
41038 benchmark results.
41039 * benchtests/bench-timing-type.c (main): Output the
41040 timing type simply, leaving formatting to the user.
41041 * benchtests/json-lib.c: New file.
41042 * benchtests/json-lib.h: Likewise.
41043
41044 2014-04-11 Torvald Riegel <triegel@redhat.com>
41045
41046 [BZ #15215]
41047 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
41048 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
41049 memory barriers. Add comments.
41050 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
41051 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
41052 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
41053 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
41054 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
41055 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
41056
41057 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
41058
41059 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
41060 * sysdeps/s390/s390-64/configure.ac: ... this ...
41061 * sysdeps/s390/configure.ac: ... to here.
41062 * sysdeps/s390/s390-32/configure: Delete file.
41063 * sysdeps/s390/s390-64/configure: Delete file.
41064 * sysdeps/s390/configure: Regenerate.
41065
41066 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
41067
41068 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
41069
41070 2014-04-11 Will Newton <will.newton@linaro.org>
41071
41072 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
41073 to zero if it is not defined elsewhere. (mtrim): Test
41074 the value of MALLOC_DEBUG with #if rather than #ifdef.
41075
41076 2014-04-10 Torvald Riegel <triegel@redhat.com>
41077
41078 * benchtests/pthread_once-inputs: New file.
41079 * benchtests/pthread_once-source.c: New file.
41080 * benchtests/README: Update documentation.
41081
41082 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
41083 H.J. Lu <hongjiu.lu@intel.com>
41084
41085 [BZ #16275]
41086 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
41087 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
41088 * sysdeps/x86_64/configure: Regenerated.
41089 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
41090 macro.
41091 (REGISTER_SAVE_RAX): Likewise.
41092 (REGISTER_SAVE_RCX): Likewise.
41093 (REGISTER_SAVE_RDX): Likewise.
41094 (REGISTER_SAVE_RSI): Likewise.
41095 (REGISTER_SAVE_RDI): Likewise.
41096 (REGISTER_SAVE_R8): Likewise.
41097 (REGISTER_SAVE_R9): Likewise.
41098 (REGISTER_SAVE_BND0): Likewise.
41099 (REGISTER_SAVE_BND1): Likewise.
41100 (REGISTER_SAVE_BND2): Likewise.
41101 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
41102 bound registers when calling _dl_fixup.
41103
41104 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41105
41106 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
41107 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
41108 of its definition.
41109 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
41110 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
41111 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
41112 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
41113 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
41114 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
41115 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
41116
41117 2014-04-09 Peter Brett <peter@peter-b.co.uk>
41118
41119 [BZ #15514]
41120 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
41121 pathconf(_PC_NAME_MAX).
41122
41123 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41124
41125 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
41126 Remove macro usage.
41127 (__PTHREAD_SPINS): Move definition to ...
41128 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41129 (__PTHREAD_SPINS): ... here.
41130 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41131 (__PTHREAD_SPIN): Likewise.
41132 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
41133 (__PTHREAD_SPIN): Likewise.
41134 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
41135 (__PTHREAD_SPIN): Likewise.
41136 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
41137 (__PTHREAD_SPIN): Likewise.
41138 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41139 (__PTHREAD_SPIN): Likewise.
41140 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41141 (__PTHREAD_SPIN): Likewise.
41142 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
41143 (__PTHREAD_SPIN): Likewise.
41144 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41145 (__PTHREAD_SPIN): Likewise.
41146 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41147 (__PTHREAD_SPIN): Likewise.
41148 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41149 (__PTHREAD_SPIN): Likewise.
41150 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41151 (__PTHREAD_SPIN): Likewise.
41152 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
41153 (__PTHREAD_SPIN): Likewise.
41154
41155 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
41156 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
41157 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
41158 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
41159 imply folder.
41160 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
41161 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
41162 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
41163 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
41164 correct imply path.
41165 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
41166 strlen symbol for non multi-arch builds.
41167 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
41168 missing hidden_def and weak_alias.
41169
41170 2014-04-08 Carlos O'Donell <carlos@redhat.com>
41171
41172 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
41173
41174 2014-04-07 Will Newton <will.newton@linaro.org>
41175
41176 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
41177 and contents. [!_LIBC] Remove #ifndef and contents.
41178 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
41179 * string/memccpy.c (__memccpy): Use ANSI prototype.
41180 * string/memfrob.c (memfrob): Likewise.
41181 * string/strcoll.c (STRCOLL): Likewise.
41182 * string/strlen.c (strlen): Likewise.
41183 * string/strtok.c (STRTOK): Likewise.
41184 * string/strcat.c: Remove unused #include of memcopy.h.
41185 (strcat): Use ANSI prototype.
41186 * string/strchr.c: Remove unused #include of memcopy.h.
41187 (strchr): Use ANSI prototype.
41188 * string/strcmp.c: Remove unused #include of memcopy.h.
41189 (strcmp): Use ANSI prototype.
41190 * string/strcpy.c: Remove unused #include of memcopy.h.
41191 (strcpy): Use ANSI prototype.
41192
41193 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41194
41195 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
41196 * config.make.in (config-extra-cppflags): Set it from
41197 libc_extra_cppflags.
41198 * configure.ac (libc_extra_cflags): Make it accumulate over
41199 configure fragments.
41200 (libc_extra_cppflags): New flag.
41201 * configure. Regenerate.
41202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
41203 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
41204 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
41205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
41206
41207 [BZ #16815]
41208 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
41209 result for FE_DOWNWARD rounding mode.
41210 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
41211 Likewise.
41212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41213
41214 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
41215
41216 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
41217 in function argument name.
41218
41219 2014-04-03 David Svoboda <svoboda@cert.org>
41220
41221 [BZ #5666]
41222 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
41223 explicitly.
41224
41225 2014-04-03 Roland McGrath <roland@hack.frob.com>
41226
41227 * elf/dl-unmap-segments.h: New file.
41228 * sysdeps/generic/ldsodefs.h
41229 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
41230 * elf/dl-close.c: Include <dl-unmap-segments.h>.
41231 * elf/dl-fptr.c: Likewise.
41232 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
41233 * sysdeps/aarch64/tlsdesc.c: Likewise.
41234 * sysdeps/arm/tlsdesc.c: Likewise.
41235 * sysdeps/i386/tlsdesc.c: Likewise.
41236 * sysdeps/tile/dl-runtime.c: Likewise.
41237 * sysdeps/x86_64/tlsdesc.c: Likewise.
41238 * elf/dl-load.h: New file.
41239 * elf/dl-load.c: Include it.
41240 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
41241 Macros moved to dl-load.h.
41242 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
41243 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
41244 Use _dl_unmap_segments in place of __munmap.
41245 Break out segment-mapping loop into ...
41246 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
41247
41248 2014-04-03 Will Newton <will.newton@linaro.org>
41249
41250 * elf/dl-lookup.c (do_lookup_x): Remove comment
41251 referring to nested function and move variable
41252 declarations down to before first use.
41253
41254 2014-04-02 Joseph Myers <joseph@codesourcery.com>
41255
41256 [BZ #16799]
41257 [BZ #16800]
41258 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
41259 with 0 numerator.
41260 * math/s_catanf.c (__catanf): Likewise.
41261 * math/s_catanh.c (__catanh): Likewise.
41262 * math/s_catanhf.c (__catanhf): Likewise.
41263 * math/s_catanhl.c (__catanhl): Likewise.
41264 * math/s_catanl.c (__catanl): Likewise.
41265 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
41266 by positive zero when computing -Inf result.
41267 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
41268 (catanh_test): Likewise.
41269 * sysdeps/i386/fpu/libm-test-ulps: Update.
41270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41271
41272 [BZ #16789]
41273 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
41274 instead of using underflowing value in computing result.
41275 * math/s_clog10.c (__clog10): Likewise.
41276 * math/s_clog10f.c (__clog10f): Likewise.
41277 * math/s_clog10l.c (__clog10l): Likewise.
41278 * math/s_clogf.c (__clogf): Likewise.
41279 * math/s_clogl.c (__clogl): Likewise.
41280 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
41281 (clog10_test): Likewise.
41282 * sysdeps/i386/fpu/libm-test-ulps: Update.
41283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41284
41285 2014-04-02 Alan Modra <amodra@gmail.com>
41286
41287 [BZ #16739]
41288 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
41289 output when value is near a power of two. Use int64_t for lx and
41290 remove casts. Use decimal rather than hex exponent constants.
41291 Don't use long double multiplication when double will suffice.
41292 * math/libm-test.inc (nextafter_test_data): Add tests.
41293 * NEWS: Add 16739 and 16786 to bug list.
41294
41295 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
41296
41297 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
41298
41299 2014-04-01 Will Newton <will.newton@linaro.org>
41300
41301 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
41302 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
41303
41304 2014-04-01 Florian Weimer <fweimer@redhat.com>
41305
41306 [BZ #13347]
41307 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
41308 * nptl/tst-setuid2.c: New file.
41309 * nptl/Makefile (xtests): Add tst-setuid2.
41310
41311 2014-04-01 Alan Modra <amodra@gmail.com>
41312
41313 [BZ #16786]
41314 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
41315
41316 2014-03-31 Joseph Myers <joseph@codesourcery.com>
41317
41318 [BZ #6803]
41319 [BZ #6804]
41320 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
41321 set errno as appropriate.
41322 * math/w_scalbf.c (__scalbf): Likewise.
41323 * math/w_scalbl.c (__scalbl): Likewise.
41324 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
41325 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
41326 * math/libm-test.inc (scalb_test_data): Add errno expectations.
41327 Add more NaN tests.
41328
41329 [BZ #16349]
41330 * math/w_atan2.c: Include <errno.h>.
41331 (__atan2): Set errno for result underflowing to zero.
41332 * math/w_atan2f.c: Include <errno.h>.
41333 (__atan2f): Set errno for result underflowing to zero.
41334 * math/w_atan2l.c: Include <errno.h>.
41335 (__atan2l): Set errno for result underflowing to zero.
41336 * math/auto-libm-test-in: Don't allow missing errno for some atan2
41337 tests.
41338 * math/auto-libm-test-out: Regenerated.
41339
41340 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41341
41342 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41343 Encode instruction correctly in little endian.
41344 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41345 Likewise.
41346 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41347 Likewise.
41348 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41349 Likewise.
41350 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41351 Likewise.
41352
41353 2014-03-31 Joseph Myers <joseph@codesourcery.com>
41354
41355 [BZ #9894]
41356 * sysdeps/unix/sysv/linux/kernel-features.h
41357 [__sparc__ && !__arch64__ && !__sparc_v9__]
41358 (__ASSUME_SET_ROBUST_LIST): Do not define.
41359 [__sparc__ && !__arch64__ && !__sparc_v9__]
41360 (__ASSUME_FUTEX_LOCK_PI): Likewise.
41361 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
41362 Likewise.
41363 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41364 (__ASSUME_FUTEX_LOCK_PI): Undefine.
41365 (__ASSUME_REQUEUE_PI): Likewise.
41366 (__ASSUME_SET_ROBUST_LIST): Likewise.
41367 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41368 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
41369 Undefine.
41370 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41371 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
41372 Likewise.
41373 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
41374 Likewise.
41375 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
41376 Likewise.
41377 * sysdeps/unix/sysv/linux/mips/kernel-features.h
41378 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
41379 Undefine.
41380 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
41381 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
41382 Likewise.
41383
41384 [BZ #16648]
41385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41386 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
41387 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
41388
41389 2014-03-31 Will Newton <will.newton@linaro.org>
41390
41391 * benchtests/Makefile (bench): Add ffs and ffsll to list
41392 of tests.
41393 * benchtests/ffs-inputs: New file.
41394 * benchtests/ffsll-inputs: Likewise.
41395
41396 2014-03-29 Joseph Myers <joseph@codesourcery.com>
41397
41398 [BZ #16770]
41399 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
41400 too large before casting to int.
41401 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
41402 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
41403 * math/libm-test.inc (scalb_test_data): Add more tests.
41404
41405 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41406
41407 * benchtests/Makefile (DETAILED_OPT): New make option.
41408 (bench-func): Run benchmark program with -d if DETAILED_OPT is
41409 set.
41410 * benchtests/bench-skeleton.c: Include stdbool.h.
41411 (main): Store and print timings per input.
41412 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
41413 member to each argument value.
41414 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
41415 (_print_arg_data): Initialize per-input timing to 0.
41416
41417 * benchtests/Makefile (timing-type): New binary.
41418 (bench-clean): Also remove bench-timing-type.
41419 (bench): New target for timing-type.
41420 (bench-func): Print output in JSON format.
41421 * benchtests/bench-skeleton.c (main): Print output in JSON
41422 format.
41423 * benchtests/bench-timing-type.c: New file.
41424 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
41425 (TIMING_PRINT_STATS): Remove.
41426 * benchtests/scripts/bench.py (_print_arg_data): Store variant
41427 name separately.
41428
41429 * benchtests/bench-modf.c: Remove.
41430 * benchtests/modf-inputs: New inputs file.
41431
41432 2014-03-28 Joseph Myers <joseph@codesourcery.com>
41433
41434 [BZ #16362]
41435 * math/s_clog10.c (M_PI_LOG10E): New macro.
41436 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
41437 imaginary parts are 0.
41438 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
41439 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
41440 imaginary parts are 0.
41441 * math/s_clog10l.c (M_PI_LOG10El): New macro.
41442 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
41443 imaginary parts are 0.
41444 * math/libm-test.inc (clog10_test_data): Update expected results
41445 for when real and imaginary parts are 0.
41446
41447 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
41448
41449 * elf/dl-load.c: Finish conversion of __builtin_expect into
41450 __glibc_{un}likely.
41451
41452 2014-03-27 Joseph Myers <joseph@codesourcery.com>
41453
41454 [BZ #16348]
41455 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
41456 1+x for argument with exponent below -67.
41457 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
41458 Likewise.
41459 * math/auto-libm-test-in: Add more tests of exp.
41460 * math/auto-libm-test-out: Regenerated.
41461
41462 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41463
41464 [BZ #16759]
41465 * inet/getnetgrent_r.c (get_nonempty_val): New function.
41466 (nscd_getnetgrent): Use it.
41467
41468 [BZ #16760]
41469 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
41470 of stpcpy.
41471
41472 2014-03-27 Andi Kleen <ak@linux.intel.com>
41473
41474 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
41475 (lll_robust_lock, lll_cond_lock, lll_timedlock)
41476 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41477 (lll_robust_unlock): Remove out of line section. Use cfi
41478 intrinsics.
41479 (LLL_STUB_UNWIND_INFO*): Remove.
41480 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
41481 (lll_robust_lock, lll_cond_lock, lll_timedlock)
41482 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41483 (lll_robust_unlock): Remove out of line section. Use cfi
41484 intrinsics.
41485 (LLL_STUB_UNWIND_INFO*): Remove.
41486
41487 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41488
41489 [BZ #16758]
41490 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
41491 blank values.
41492
41493 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
41494
41495 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
41496
41497 2014-03-26 Joseph Myers <joseph@codesourcery.com>
41498
41499 [BZ #16198]
41500 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
41501 fnstenv.
41502 * math/test-fenv-preserve.c: New file.
41503 * math/Makefile (tests): Add test-fenv-preserve.
41504
41505 2014-03-26 Will Newton <will.newton@linaro.org>
41506
41507 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
41508
41509 2014-03-25 Roland McGrath <roland@hack.frob.com>
41510
41511 * scripts/versionlist.awk: Partition the version sets and emit all
41512 GLIBC_* (sorted) before all others (sorted).
41513
41514 2014-03-25 Joseph Myers <joseph@codesourcery.com>
41515
41516 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
41517 GLIBC_2.2.5 version.
41518
41519 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41520
41521 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
41522 calls.
41523
41524 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
41525 previous change.
41526
41527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41528
41529 2014-03-25 Andreas Schwab <schwab@suse.de>
41530
41531 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
41532 label to be used after in6ailist is initialized.
41533
41534 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41535
41536 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41537 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41538
41539 2014-03-25 Joseph Myers <joseph@codesourcery.com>
41540
41541 [BZ #16357]
41542 [BZ #16599]
41543 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
41544 min_plus_half.
41545 (fp_formats): Update initializers.
41546 (init_fp_formats): Initialize new field.
41547 (output_for_one_input_case): Allow underflow for results up to
41548 min_plus_half.
41549 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
41550 * math/auto-libm-test-in: Don't mark some underflows from asin and
41551 atanh as spurious.
41552 * math/auto-libm-test-out: Regenerated.
41553 * sysdeps/i386/fpu/libm-test-ulps: Update.
41554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41555
41556 2014-03-25 Andreas Schwab <schwab@suse.de>
41557
41558 * libio/Makefile (tst-ftell-partial-wide-ENV)
41559 (tst-ftell-active-handler-ENV): Define.
41560
41561 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
41562
41563 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41564
41565 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
41566
41567 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
41568
41569 2014-03-24 Joseph Myers <joseph@codesourcery.com>
41570
41571 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
41572 * sysdeps/x86_64/fpu/multiarch/e_exp.c
41573 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41574
41575 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
41576
41577 [BZ #16634]
41578 * elf/dl-load.c (open_verify): Add mode parameter.
41579 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41580 (open_path): Change from boolean 'secure' to complete flag 'mode'
41581 (_dl_map_object): Adjust.
41582 * elf/Makefile (tests): Add tst-dlopen-aout.
41583 * elf/tst-dlopen-aout.c: New test.
41584
41585 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
41586
41587 [BZ #16714]
41588 * sysdeps/unix/sysv/linux/s390/bits/stat.h
41589 (struct stat): Rename member pad0 to __glibc_reserved0.
41590
41591 [BZ #16712]
41592 * sysdeps/s390/s390-32/bits/wordsize.h
41593 (__WORDSIZE32_SIZE_ULONG): New define.
41594 * sysdeps/s390/s390-64/bits/wordsize.h
41595 (__WORDSIZE32_SIZE_ULONG): Likewise.
41596 * sysdeps/generic/stdint.h (SIZE_MAX):
41597 Define as UL if __WORDSIZE32_SIZE_ULONG.
41598
41599 [BZ #16713]
41600 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41601 (__glibc_reserved0): New variable.
41602 (sa_flags): Change type to int.
41603
41604 * posix/Makefile (before-compile): Use += before-compile instead
41605 of a :=.
41606
41607 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41608 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41609
41610 2014-03-20 Andreas Schwab <schwab@suse.de>
41611
41612 [BZ #16743]
41613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41614 non-matching result from nscd.
41615
41616 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
41617
41618 * scripts/bench.py: Moved to ...
41619 * benchtests/scripts/bench.py: ... here.
41620 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41621
41622 2014-03-24 Andreas Schwab <schwab@suse.de>
41623
41624 [BZ #16002]
41625 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41626 alloca_account and account alloca use for struct in6ailist.
41627
41628 2014-03-24 Joseph Myers <joseph@codesourcery.com>
41629
41630 [BZ #16284]
41631 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41632 rounding mode to recompute results that overflow to infinity or
41633 underflow to zero.
41634 * math/auto-libm-test-in: Don't mark tests as expected to fail for
41635 bug 16284.
41636 * math/auto-libm-test-out: Regenerated.
41637 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41638 (ccosh_test): Likewise.
41639 (csin_test_data): Use plus_oflow.
41640 (csin_test): Use ALL_RM_TEST.
41641 (csinh_test_data): Use plus_oflow.
41642 (csinh_test): Use ALL_RM_TEST.
41643 * sysdeps/i386/fpu/libm-test-ulps: Update.
41644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41645
41646 2014-03-21 Joseph Myers <joseph@codesourcery.com>
41647
41648 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41649 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41650 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41651
41652 [BZ #16731]
41653 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41654 when x - 1 is zero.
41655 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41656 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41657 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41658 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41659 argument is 1.
41660 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41661 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41662 zero.
41663 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41664 * sysdeps/i386/fpu/libm-test-ulps: Update.
41665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41666
41667 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
41668
41669 * scripts/bench.pl: Remove file.
41670 * scripts/bench.py: New benchmark script.
41671 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41672 * benchtests/README: Mention python dependency.
41673 * scripts/pylintrc: New file.
41674 * scripts/pylint: New file.
41675
41676 * bits/mathdef.h: Use #ifdef instead of #if.
41677 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41678 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41679 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41680 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41681 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41682 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41683
41684 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41685 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
41686
41687 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41689 and strpbrk-ppc64 objects.
41690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41691 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41692 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41693 multiarch strpbrk for POWER7.
41694 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41695 multiarch strpbrk for PPC64.
41696 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41697 ifunc selector.
41698 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41699 strpbrk for POWER7.
41700
41701 2014-03-20 Joseph Myers <joseph@codesourcery.com>
41702
41703 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41704 (atan_test): Likewise.
41705 (atanh_test_data): Use NO_TEST_INLINE for two tests.
41706 (atanh_test): Use ALL_RM_TEST.
41707 (atan2_test_data): Likewise.
41708 (cabs_test): Likewise.
41709 (cacosh_test): Likewise.
41710 (carg_test): Likewise.
41711 (casin_test): Likewise.
41712 (casinh_test): Likewise.
41713 (cbrt_test): Likewise.
41714 (csqrt_test): Likewise.
41715 (erf_test): Likewise.
41716 (erfc_test): Likewise.
41717 (pow10_test): Likewise.
41718 (exp2_test): Likewise.
41719 (hypot_test): Likewise.
41720 (j0_test): Likewise.
41721 (j1_test): Likewise.
41722 (lgamma_test): Likewise.
41723 (gamma_test): Likewise.
41724 (sincos_test): Likewise.
41725 (tanh_test): Likewise.
41726 (y0_test): Likewise.
41727 (y1_test): Likewise.
41728 * sysdeps/i386/fpu/libm-test-ulps: Update.
41729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41730
41731 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41732
41733 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41735 and strcspn-ppc64 objects.
41736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41737 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41738 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41739 multiarch strcspn for POWER7.
41740 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41741 multiarch strcspn for PPC64.
41742 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41743 ifunc selector.
41744 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41745 strcspn for POWER7.
41746
41747 2014-03-20 Joseph Myers <joseph@codesourcery.com>
41748
41749 * math/gen-libm-test.pl (generate_testfile): Expect only function
41750 name as argument to AUTO_TESTS_* and pass results for all rounding
41751 modes to parse_args.
41752 (parse_auto_input): Separate inputs of automatic tests from
41753 outputs before storing in %auto_tests.
41754 * math/libm-test.inc (acos_test_data): Update call to
41755 AUTO_TESTS_f_f.
41756 (acos_test): Use ALL_RM_TEST.
41757 (acos_tonearest_test_data): Remove.
41758 (acos_test_tonearest): Likewise.
41759 (acos_towardzero_test_data): Likewise.
41760 (acos_test_towardzero): Likewise.
41761 (acos_downward_test_data): Likewise.
41762 (acos_test_downward): Likewise.
41763 (acos_upward_test_data): Likewise.
41764 (acos_test_upward): Likewise.
41765 (acosh_test_data): Update call to AUTO_TESTS_f_f.
41766 (asin_test_data): Likewise.
41767 (asin_test): Use ALL_RM_TEST.
41768 (asin_tonearest_test_data): Remove.
41769 (asin_test_tonearest): Likewise.
41770 (asin_towardzero_test_data): Likewise.
41771 (asin_test_towardzero): Likewise.
41772 (asin_downward_test_data): Likewise.
41773 (asin_test_downward): Likewise.
41774 (asin_upward_test_data): Likewise.
41775 (asin_test_upward): Likewise.
41776 (asinh_test_data): Update call to AUTO_TESTS_f_f.
41777 (atan_test_data): Likewise.
41778 (atanh_test_data): Likewise.
41779 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41780 (cabs_test_data): Update call to AUTO_TESTS_c_f.
41781 (carg_test_data): Likewise.
41782 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41783 (ccos_test_data): Update call to AUTO_TESTS_c_c.
41784 (ccosh_test_data): Likewise.
41785 (cexp_test_data): Likewise.
41786 (clog_test_data): Likewise.
41787 (clog10_test_data): Likewise.
41788 (cos_test_data): Update call to AUTO_TESTS_f_f.
41789 (cos_test): Use ALL_RM_TEST.
41790 (cos_tonearest_test_data): Remove.
41791 (cos_test_tonearest): Likewise.
41792 (cos_towardzero_test_data): Likewise.
41793 (cos_test_towardzero): Likewise.
41794 (cos_downward_test_data): Likewise.
41795 (cos_test_downward): Likewise.
41796 (cos_upward_test_data): Likewise.
41797 (cos_test_upward): Likewise.
41798 (cosh_test_data): Update call to AUTO_TESTS_f_f.
41799 (cosh_test): Use ALL_RM_TEST.
41800 (cosh_tonearest_test_data): Remove.
41801 (cosh_test_tonearest): Likewise.
41802 (cosh_towardzero_test_data): Likewise.
41803 (cosh_test_towardzero): Likewise.
41804 (cosh_downward_test_data): Likewise.
41805 (cosh_test_downward): Likewise.
41806 (cosh_upward_test_data): Likewise.
41807 (cosh_test_upward): Likewise.
41808 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41809 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41810 (ctan_test_data): Likewise.
41811 (ctan_test): Use ALL_RM_TEST.
41812 (ctan_tonearest_test_data): Remove.
41813 (ctan_test_tonearest): Likewise.
41814 (ctan_towardzero_test_data): Likewise.
41815 (ctan_test_towardzero): Likewise.
41816 (ctan_downward_test_data): Likewise.
41817 (ctan_test_downward): Likewise.
41818 (ctan_upward_test_data): Likewise.
41819 (ctan_test_upward): Likewise.
41820 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41821 (ctanh_test): Use ALL_RM_TEST.
41822 (ctanh_tonearest_test_data): Remove.
41823 (ctanh_test_tonearest): Likewise.
41824 (ctanh_towardzero_test_data): Likewise.
41825 (ctanh_test_towardzero): Likewise.
41826 (ctanh_downward_test_data): Likewise.
41827 (ctanh_test_downward): Likewise.
41828 (ctanh_upward_test_data): Likewise.
41829 (ctanh_test_upward): Likewise.
41830 (erf_test_data): Update call to AUTO_TESTS_f_f.
41831 (erfc_test_data): Likewise.
41832 (exp_test_data): Likewise.
41833 (exp_test): Use ALL_RM_TEST.
41834 (exp_tonearest_test_data): Remove.
41835 (exp_test_tonearest): Likewise.
41836 (exp_towardzero_test_data): Likewise.
41837 (exp_test_towardzero): Likewise.
41838 (exp_downward_test_data): Likewise.
41839 (exp_test_downward): Likewise.
41840 (exp_upward_test_data): Likewise.
41841 (exp_test_upward): Likewise.
41842 (exp10_test_data): Update call to AUTO_TESTS_f_f.
41843 (exp10_test): Use ALL_RM_TEST.
41844 (exp10_tonearest_test_data): Remove.
41845 (exp10_test_tonearest): Likewise.
41846 (exp10_towardzero_test_data): Likewise.
41847 (exp10_test_towardzero): Likewise.
41848 (exp10_downward_test_data): Likewise.
41849 (exp10_test_downward): Likewise.
41850 (exp10_upward_test_data): Likewise.
41851 (exp10_test_upward): Likewise.
41852 (exp2_test_data): Update call to AUTO_TESTS_f_f.
41853 (expm1_test_data): Likewise.
41854 (expm1_test): Use ALL_RM_TEST.
41855 (expm1_tonearest_test_data): Remove.
41856 (expm1_test_tonearest): Likewise.
41857 (expm1_towardzero_test_data): Likewise.
41858 (expm1_test_towardzero): Likewise.
41859 (expm1_downward_test_data): Likewise.
41860 (expm1_test_downward): Likewise.
41861 (expm1_upward_test_data): Likewise.
41862 (expm1_test_upward): Likewise.
41863 (fma_test_data): Update call to AUTO_TESTS_fff_f.
41864 (fma_test): Use ALL_RM_TEST.
41865 (fma_towardzero_test_data): Remove.
41866 (fma_test_towardzero): Likewise.
41867 (fma_downward_test_data): Likewise.
41868 (fma_test_downward): Likewise.
41869 (fma_upward_test_data): Likewise.
41870 (fma_test_upward): Likewise.
41871 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41872 (j0_test_data): Update call to AUTO_TESTS_f_f.
41873 (j1_test_data): Likewise.
41874 (jn_test_data): Update call to AUTO_TESTS_if_f.
41875 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41876 (log_test_data): Update call to AUTO_TESTS_f_f.
41877 (log10_test_data): Likewise.
41878 (log1p_test_data): Likewise.
41879 (log2_test_data): Likewise.
41880 (pow_test_data): Update call to AUTO_TESTS_ff_f.
41881 (pow_tonearest_test_data): Likewise.
41882 (sin_test_data): Update call to AUTO_TESTS_f_f.
41883 (sin_test): Use ALL_RM_TEST.
41884 (sin_tonearest_test_data): Remove.
41885 (sin_test_tonearest): Likewise.
41886 (sin_towardzero_test_data): Likewise.
41887 (sin_test_towardzero): Likewise.
41888 (sin_downward_test_data): Likewise.
41889 (sin_test_downward): Likewise.
41890 (sin_upward_test_data): Likewise.
41891 (sin_test_upward): Likewise.
41892 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41893 (sinh_test_data): Update call to AUTO_TESTS_f_f.
41894 (sinh_test): Use ALL_RM_TEST.
41895 (sinh_tonearest_test_data): Remove.
41896 (sinh_test_tonearest): Likewise.
41897 (sinh_towardzero_test_data): Likewise.
41898 (sinh_test_towardzero): Likewise.
41899 (sinh_downward_test_data): Likewise.
41900 (sinh_test_downward): Likewise.
41901 (sinh_upward_test_data): Likewise.
41902 (sinh_test_upward): Likewise.
41903 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41904 (sqrt_test): Use ALL_RM_TEST.
41905 (sqrt_tonearest_test_data): Remove.
41906 (sqrt_test_tonearest): Likewise.
41907 (sqrt_towardzero_test_data): Likewise.
41908 (sqrt_test_towardzero): Likewise.
41909 (sqrt_downward_test_data): Likewise.
41910 (sqrt_test_downward): Likewise.
41911 (sqrt_upward_test_data): Likewise.
41912 (sqrt_test_upward): Likewise.
41913 (tan_test_data): Update call to AUTO_TESTS_f_f.
41914 (tan_test): Use ALL_RM_TEST.
41915 (tan_tonearest_test_data): Remove.
41916 (tan_test_tonearest): Likewise.
41917 (tan_towardzero_test_data): Likewise.
41918 (tan_test_towardzero): Likewise.
41919 (tan_downward_test_data): Likewise.
41920 (tan_test_downward): Likewise.
41921 (tan_upward_test_data): Likewise.
41922 (tan_test_upward): Likewise.
41923 (tanh_test_data): Update call to AUTO_TESTS_f_f.
41924 (tgamma_test_data): Likewise.
41925 (y0_test_data): Likewise.
41926 (y1_test_data): Likewise.
41927 (yn_test_data): Update call to AUTO_TESTS_if_f.
41928 (main): Do not call removed functions.
41929
41930 2014-03-19 Joseph Myers <joseph@codesourcery.com>
41931
41932 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41933 (ldexp_test_data): Remove.
41934 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
41935 scalbn_test_data.
41936 (scalb_test): Use ALL_RM_TEST.
41937
41938 2014-03-19 Andreas Schwab <schwab@suse.de>
41939
41940 * nscd/nscd.service: Also invalidate netgroup cache on reload.
41941
41942 2014-03-19 Joseph Myers <joseph@codesourcery.com>
41943
41944 [BZ #16649]
41945 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41946 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41947 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41948 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41949 (__ASSUME_PREADV): Undefine.
41950 (__ASSUME_PWRITEV): Likewise.
41951
41952 2014-03-18 Roland McGrath <roland@hack.frob.com>
41953
41954 * bits/mman-linux.h: Add comment about non-Linux use.
41955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41956 bits/mman-linux.h resting place.
41957
41958 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41959 * bits/mman-linux.h: ... here.
41960
41961 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41962
41963 * conform/conformtest.pl: Add standard definition when calling C
41964 preprocessor on data files.
41965 (checknamespace): Remove unused variable.
41966
41967 2014-03-18 Joseph Myers <joseph@codesourcery.com>
41968
41969 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41970 minus_oflow, plus_uflow and minus_uflow in expected results.
41971 * math/libm-test.inc (scalbn_test_data): Add more tests of
41972 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
41973 minus_uflow.
41974 (scalbn_test): Use ALL_RM_TEST.
41975 (scalbln_test_data): Add more tests of negative arguments. Use
41976 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41977 (scalbln_test): Use ALL_RM_TEST.
41978
41979 2014-03-18 Roland McGrath <roland@hack.frob.com>
41980
41981 * scripts/abilist.awk: Ignore symbols marked with .hidden.
41982
41983 2014-03-18 Will Newton <will.newton@linaro.org>
41984
41985 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41986 inaccurate comment.
41987
41988 2014-03-18 Joseph Myers <joseph@codesourcery.com>
41989
41990 * Makerules [!subdir] (check-abi): Exit with error status if a
41991 test failed.
41992
41993 2014-03-17 Joseph Myers <joseph@codesourcery.com>
41994
41995 * math/libm-test.inc (nearbyint_test_data): Include all tests used
41996 for rint. Include results for all rounding modes.
41997 (nearbyint_test): Use ALL_RM_TEST.
41998 (rint_test_data): Include all tests used for nearbyint.
41999
42000 2014-03-17 Will Newton <will.newton@linaro.org>
42001
42002 * nptl/sysdeps/pthread/pthread.h: Revert previous
42003 change.
42004
42005 * sysdeps/generic/ldsodefs.h: Revert previous
42006 change.
42007
42008 * libio/genops.c: Revert previous change.
42009 * libio/libioP.h: Likewise.
42010 * stdio-common/vfprintf.c: Likewise.
42011
42012 * sysdeps/generic/math_private.h: Revert previous
42013 change.
42014
42015 * sysdeps/generic/math_private.h: Check whether
42016 HAVE_RM_CTX is defined with #ifdef rather
42017 than #if.
42018
42019 * argp/argp-fmtstream.h: Check whether
42020 __STRICT_ANSI__ is defined with #ifdef rather
42021 than #if.
42022 * argp/argp.h: Likewise.
42023
42024 * libio/genops.c: Check whether
42025 _IO_JUMPS_OFFSET is defined with #ifdef rather
42026 than #if.
42027 * libio/libioP.h: Likewise.
42028 * stdio-common/vfprintf.c: Likewise.
42029
42030 * sysdeps/generic/ldsodefs.h: Check whether
42031 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
42032 than #if.
42033
42034 * nptl/sysdeps/pthread/pthread.h: Check
42035 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
42036 its value.
42037
42038 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
42039
42040 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
42041 setting O_APPEND.
42042 * libio/tst-ftell-active-handler.c (do_append_test): Add a
42043 test case.
42044
42045 [BZ #16680]
42046 * libio/fileops.c (_IO_file_open): Seek to end of file but
42047 don't cache the offset.
42048 (get_file_offset): Remove function.
42049 (do_ftell): Use cached offset when available.
42050 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
42051 don't cache the offset.
42052 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
42053 case.
42054 (do_one_test): Call it.
42055 (do_ftell_test): Fix up expected old offset for a+ mode.
42056 * libio/wfileops.c (do_ftell_wide): Used cached offset when
42057 available.
42058
42059 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
42060 up test status with function return status.
42061 (do_write_test): Likewise.
42062 (do_append_test): Likewise.
42063
42064 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
42065 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
42066 Remove.
42067
42068 2014-03-17 Joseph Myers <joseph@codesourcery.com>
42069
42070 * math/gen-libm-test.pl (parse_args): Handle results specified for
42071 each rounding mode separately.
42072 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
42073 tests and results from lrint_tonearest_test_data,
42074 lrint_towardzero_test_data, lrint_downward_test_data and
42075 lrint_upward_test_data.
42076 (lrint_test): Use ALL_RM_TEST.
42077 (lrint_tonearest_test_data): Remove.
42078 (lrint_test_tonearest): Likewise.
42079 (lrint_towardzero_test_data): Likewise.
42080 (lrint_test_towardzero): Likewise.
42081 (lrint_downward_test_data): Likewise.
42082 (lrint_test_downward): Likewise.
42083 (lrint_upward_test_data): Likewise.
42084 (lrint_test_upward): Likewise.
42085 (llrint_test_data): Merge in per-rounding-mode tests and results
42086 from llrint_tonearest_test_data, llrint_towardzero_test_data,
42087 llrint_downward_test_data and llrint_upward_test_data.
42088 (llrint_test): Use ALL_RM_TEST.
42089 (llrint_tonearest_test_data): Remove.
42090 (llrint_test_tonearest): Likewise.
42091 (llrint_towardzero_test_data): Likewise.
42092 (llrint_test_towardzero): Likewise.
42093 (llrint_downward_test_data): Likewise.
42094 (llrint_test_downward): Likewise.
42095 (llrint_upward_test_data): Likewise.
42096 (llrint_test_upward): Likewise.
42097 (rint_test_data): Merge in per-rounding-mode tests and results
42098 from rint_tonearest_test_data, rint_towardzero_test_data,
42099 rint_downward_test_data and rint_upward_test_data. Add
42100 per-rounding-mode results for tests not in those arrays.
42101 (rint_test): Use ALL_RM_TEST.
42102 (rint_tonearest_test_data): Remove.
42103 (rint_test_tonearest): Likewise.
42104 (rint_towardzero_test_data): Likewise.
42105 (rint_test_towardzero): Likewise.
42106 (rint_downward_test_data): Likewise.
42107 (rint_test_downward): Likewise.
42108 (rint_upward_test_data): Likewise.
42109 (rint_test_upward): Likewise.
42110 (main): Don't call removed functions.
42111
42112 2014-03-14 Roland McGrath <roland@hack.frob.com>
42113
42114 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
42115 "Compiled on ..." crapola. It is anti-useful.
42116
42117 2014-03-14 Joseph Myers <joseph@codesourcery.com>
42118
42119 * scripts/evaluate-test.sh: Handle fourth argument to determine
42120 whether test run should stop on failure.
42121 * Makeconfig (stop-on-test-failure): New variable.
42122 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
42123 $(stop-on-test-failure).
42124 * Makefile (tests): Give a summary of results from testing and
42125 exit with failure status if they include an ERROR or FAIL.
42126 (xtests): Likewise.
42127 * manual/install.texi (Configuring and compiling): Mention
42128 stop-on-test-failure=y.
42129 * INSTALL: Regenerated.
42130
42131 2014-03-14 Roland McGrath <roland@hack.frob.com>
42132
42133 * scripts/versionlist.awk: New file.
42134 * Makerules [$(build-shared) = yes]
42135 (postclean-generated): Add Versions.def, not Versions.def.v and
42136 Versions.def.v.i.
42137 ($(common-objpfx)Versions.def.v.i): Target removed.
42138 ($(common-objpfx)Versions.def): New target.
42139 ($(common-objpfx)Versions.all): Depend on that rather that
42140 $(common-objpfx)Versions.def.v.
42141 * Versions.def: File removed.
42142
42143 * Makeconfig (+gccwarn): Add -Wundef.
42144 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
42145 a dl-sysdep.h breaking its contract.
42146 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
42147 * include/stackinfo.h: New file.
42148 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
42149 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
42150 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
42151 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
42152 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
42153 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
42154 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42155 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42156 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42157 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42158 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42159 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
42160 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42161 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42162 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42163
42164 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42165
42166 [BZ #16707]
42167 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
42168 implementation.
42169 * math/libm-test.inc (round_test_data): Add more tests.
42170
42171 [BZ #16706]
42172 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
42173 implementation.
42174 * math/libm-test.inc (nearbyint_test_data): Add more tests.
42175
42176 [BZ #16701]
42177 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
42178 implementation.
42179 * math/libm-test.inc (ceil_test_data): Add more tests.
42180
42181 * math/libm-test.inc (trunc_test_data): Add more tests related to
42182 BZ#16414.
42183
42184 2014-03-14 Roland McGrath <roland@hack.frob.com>
42185
42186 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
42187 with #if rather than #ifdef.
42188 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
42189
42190 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
42191
42192 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
42193 first. Disable AVX-512 GCC support if assembler doesn't support
42194 it.
42195 * sysdeps/x86_64/configure: Regenerated.
42196
42197 2014-03-13 Carlos O'Donell <carlos@redhat.com>
42198
42199 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
42200 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
42201 (__old_pthread_attr_setstack): Likewise.
42202 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
42203 [!_STACK_GROWS_DOWN]: Likewise.
42204
42205 2014-03-13 Mike Frysinger <vapier@gentoo.org>
42206
42207 * config.make.in (have-bash2): Delete.
42208 * configure.ac (libc_cv_have_bash2): Delete.
42209 * configure: Regenerate.
42210 * elf/Makefile (common-ldd-rewrite): Rename to ...
42211 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
42212 (sh-ldd-rewrite): Delete.
42213 (bash-ldd-rewrite): Delete.
42214 (have-bash2): Delete checks.
42215 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
42216 ldd-rewrite.
42217
42218 * config.make.in (have-ksh): Delete.
42219 (KSH): Delete.
42220 * configure.ac (libc_cv_have_ksh): Delete.
42221 * configure: Regenerate.
42222
42223 * elf/Makefile: Delete $(have-ksh) check.
42224 ($(objpfx)sotruss): Change KSH to BASH.
42225 * elf/sotruss.ksh: Rename to ...
42226 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
42227 function style to match POSIX. Drop ksh vim mode setting.
42228
42229 * manual/time.texi (Specifying the Time Zone with TZ): Change
42230 Tuesday to Thursday.
42231
42232 * debug/tst-longjmp_chk2.c: Update header comment.
42233 (stackoverflow_handler): Add comment. Call assert on pass value.
42234
42235 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
42236
42237 [BZ #16194]
42238 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
42239 (HAVE_AVX512_ASM_SUPPORT): Likewise.
42240 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
42241 (La_x86_64_vector): Add zmm.
42242 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
42243 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
42244 ($(objpfx)tst-audit10): New target.
42245 ($(objpfx)tst-audit10.out): Likewise.
42246 (tst-audit10-ENV): New.
42247 (AVX512-CFLAGS): Likewise.
42248 (CFLAGS-tst-audit10.c): Likewise.
42249 (CFLAGS-tst-auditmod10a.c): Likewise.
42250 (CFLAGS-tst-auditmod10b.c): Likewise.
42251 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
42252 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
42253 * sysdeps/x86_64/configure: Regenerated.
42254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
42255 AVX-512 zmm register support.
42256 (_dl_x86_64_save_sse): Likewise.
42257 (_dl_x86_64_restore_sse): Likewise.
42258 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
42259 size vector registers.
42260 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
42261 (ZMM_SIZE): Likewise.
42262 * sysdeps/x86_64/tst-audit10.c: New file.
42263 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
42264 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
42265
42266 2014-03-13 Roland McGrath <roland@hack.frob.com>
42267
42268 * configure.ac (HAVE_EHDR_START): New check.
42269 * configure: Regenerated.
42270 * config.h.in (HAVE_EHDR_START): New #undef.
42271 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
42272 assuming the lowest-addressed segment maps the start of the file.
42273
42274 2014-03-13 Joseph Myers <joseph@codesourcery.com>
42275
42276 * INSTALL: Regenerated.
42277
42278 2014-03-13 Will Newton <will.newton@linaro.org>
42279
42280 * manual/setjmp.texi (System V contexts): Improve
42281 clarity and grammar of documentation.
42282
42283 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
42284
42285 [BZ #16381]
42286 * elf/Makefile (tests): Add tst-pie2.
42287 (tests-pie): Add tst-pie2.
42288 * elf/tst-pie2.c: New file.
42289 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
42290 for ET_EXEC.
42291 * elf/rtld.c (map_doit): Load executable as lt_executable.
42292 (dl_main): Likewise.
42293
42294 2014-03-12 Joseph Myers <joseph@codesourcery.com>
42295
42296 [BZ #16642]
42297 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42298 (__ASSUME_PSELECT): Undefine.
42299
42300 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42301
42302 [BZ #16689]
42303 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
42304 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
42305 static build.
42306 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
42307 selector for static builds.
42308
42309 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
42310
42311 [BZ #16695]
42312 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
42313 key in the buffer.
42314
42315 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42316
42317 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
42318 IFUNC selector for static builds.
42319
42320 2014-03-11 Joseph Myers <joseph@codesourcery.com>
42321
42322 * sysdeps/mips/math_private.h [__mips_hard_float]
42323 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
42324 libc_feresetround_mips_ctx.
42325 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
42326 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
42327 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
42328
42329 [BZ #16677]
42330 * math/s_nextafter.c (__nextafter): Do not return value from
42331 overflowing computation.
42332 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
42333 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
42334 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
42335 Likewise.
42336 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
42337 Likewise.
42338 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
42339 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
42340
42341 2014-03-11 Roland McGrath <roland@hack.frob.com>
42342
42343 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
42344 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
42345 Move sfi_sp use from the load-multiple (that no longer sets sp) to
42346 the new mov targetting sp.
42347
42348 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42349
42350 [BZ #16683]
42351 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
42352 Define it for static builds as well.
42353 (NO_BZERO_IMPL): Likewise.
42354
42355 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42356
42357 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
42358 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
42359 multiarch strspn for PPC64.
42360 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
42361 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
42362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42363 (__libc_ifunc_impl_list): Likewise.
42364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
42365 multiarch optimizations
42366 * string/strspn.c (strspn): Using macro to redefine symbol name.
42367
42368 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42369 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42370
42371 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
42372 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
42373 multiarch strncat for PPC64.
42374 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
42375 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
42376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42377 (__libc_ifunc_impl_list): Likewise.
42378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
42379 multiarch optimizations
42380
42381 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42382
42383 [BZ #16639]
42384 * nscd/nscd.service: Make service type forking.
42385
42386 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42387
42388 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
42389 sign in non default rounding modes.
42390 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
42391
42392 2014-03-08 Joseph Myers <joseph@codesourcery.com>
42393
42394 * math/libm-test.inc (ALL_RM_TEST): New macro.
42395 (ceil_test): Use ALL_RM_TEST.
42396 (cimag_test): Likewise.
42397 (conj_test): Likewise.
42398 (copysign_test): Likewise.
42399 (cproj_test): Likewise.
42400 (creal_test): Likewise.
42401 (fabs_test): Likewise.
42402 (floor_test): Likewise.
42403 (fmax_test): Likewise.
42404 (fmin_test): Likewise.
42405 (fmod_test): Likewise.
42406 (fpclassify_test): Likewise.
42407 (frexp_test): Likewise.
42408 (ilogb_test): Likewise.
42409 (isfinite_test): Likewise.
42410 (finite_test): Likewise.
42411 (isgreater_test): Likewise.
42412 (isgreaterequal_test): Likewise.
42413 (isinf_test): Likewise.
42414 (isless_test): Likewise.
42415 (islessequal_test): Likewise.
42416 (islessgreater_test): Likewise.
42417 (isnan_test): Likewise.
42418 (isnormal_test): Likewise.
42419 (issignaling_test): Likewise.
42420 (isunordered_test): Likewise.
42421 (logb_test): Likewise.
42422 (logb_downward_test_data): Remove.
42423 (logb_test_downward): Likewise.
42424 (lround_test): Use ALL_RM_TEST.
42425 (llround_test): Likewise.
42426 (modf_test): Likewise.
42427 (nexttoward_test): Likewise.
42428 (remainder_test): Likewise.
42429 (drem_test): Likewise.
42430 (remainder_tonearest_test_data): Likewise.
42431 (remainder_test_tonearest): Likewise.
42432 (drem_test_tonearest): Likewise.
42433 (remainder_towardzero_test_data): Likewise.
42434 (remainder_test_towardzero): Likewise.
42435 (drem_test_towardzero): Likewise.
42436 (remainder_downward_test_data): Likewise.
42437 (remainder_test_downward): Likewise.
42438 (drem_test_downward): Likewise.
42439 (remainder_upward_test_data): Likewise.
42440 (remainder_test_upward): Likewise.
42441 (drem_test_upward): Likewise.
42442 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
42443 (round_test): Use ALL_RM_TEST.
42444 (signbit_test): Likewise.
42445 (trunc_test): Likewise.
42446 (significand_test): Likewise.
42447 (main): Don't call removed functions.
42448
42449 2014-03-07 Joseph Myers <joseph@codesourcery.com>
42450
42451 [BZ #16674]
42452 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
42453 || __USE_XOPEN2K8].
42454 (ILL_ILLOPN): Likewise.
42455 (ILL_ILLADR): Likewise.
42456 (ILL_ILLTRP): Likewise.
42457 (ILL_PRVOPC): Likewise.
42458 (ILL_PRVREG): Likewise.
42459 (ILL_COPROC): Likewise.
42460 (ILL_BADSTK): Likewise.
42461 (FPE_INTDIV): Likewise.
42462 (FPE_INTOVF): Likewise.
42463 (FPE_FLTDIV): Likewise.
42464 (FPE_FLTOVF): Likewise.
42465 (FPE_FLTUND): Likewise.
42466 (FPE_FLTRES): Likewise.
42467 (FPE_FLTINV): Likewise.
42468 (FPE_FLTSUB): Likewise.
42469 (SEGV_MAPERR): Likewise.
42470 (SEGV_ACCERR): Likewise.
42471 (BUS_ADRALN): Likewise.
42472 (BUS_ADRERR): Likewise.
42473 (BUS_OBJERR): Likewise.
42474 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42475 (TRAP_TRACE): Likewise.
42476 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42477 __USE_XOPEN2K8].
42478 (CLD_KILLED): Likewise.
42479 (CLD_DUMPED): Likewise.
42480 (CLD_TRAPPED): Likewise.
42481 (CLD_STOPPED): Likewise.
42482 (CLD_CONTINUED): Likewise.
42483 (POLL_IN): Likewise.
42484 (POLL_OUT): Likewise.
42485 (POLL_MSG): Likewise.
42486 (POLL_ERR): Likewise.
42487 (POLL_PRI): Likewise.
42488 (POLL_HUP): Likewise.
42489 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
42490 Likewise.
42491 (ILL_ILLOPN): Likewise.
42492 (ILL_ILLADR): Likewise.
42493 (ILL_ILLTRP): Likewise.
42494 (ILL_PRVOPC): Likewise.
42495 (ILL_PRVREG): Likewise.
42496 (ILL_COPROC): Likewise.
42497 (ILL_BADSTK): Likewise.
42498 (FPE_INTDIV): Likewise.
42499 (FPE_INTOVF): Likewise.
42500 (FPE_FLTDIV): Likewise.
42501 (FPE_FLTOVF): Likewise.
42502 (FPE_FLTUND): Likewise.
42503 (FPE_FLTRES): Likewise.
42504 (FPE_FLTINV): Likewise.
42505 (FPE_FLTSUB): Likewise.
42506 (SEGV_MAPERR): Likewise.
42507 (SEGV_ACCERR): Likewise.
42508 (BUS_ADRALN): Likewise.
42509 (BUS_ADRERR): Likewise.
42510 (BUS_OBJERR): Likewise.
42511 (BUS_MCEERR_AR): Likewise.
42512 (BUS_MCEERR_AO): Likewise.
42513 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42514 (TRAP_TRACE): Likewise.
42515 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42516 __USE_XOPEN2K8].
42517 (CLD_KILLED): Likewise.
42518 (CLD_DUMPED): Likewise.
42519 (CLD_TRAPPED): Likewise.
42520 (CLD_STOPPED): Likewise.
42521 (CLD_CONTINUED): Likewise.
42522 (POLL_IN): Likewise.
42523 (POLL_OUT): Likewise.
42524 (POLL_MSG): Likewise.
42525 (POLL_ERR): Likewise.
42526 (POLL_PRI): Likewise.
42527 (POLL_HUP): Likewise.
42528 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
42529 (ILL_ILLOPN): Likewise.
42530 (ILL_ILLADR): Likewise.
42531 (ILL_ILLTRP): Likewise.
42532 (ILL_PRVOPC): Likewise.
42533 (ILL_PRVREG): Likewise.
42534 (ILL_COPROC): Likewise.
42535 (ILL_BADSTK): Likewise.
42536 (FPE_INTDIV): Likewise.
42537 (FPE_INTOVF): Likewise.
42538 (FPE_FLTDIV): Likewise.
42539 (FPE_FLTOVF): Likewise.
42540 (FPE_FLTUND): Likewise.
42541 (FPE_FLTRES): Likewise.
42542 (FPE_FLTINV): Likewise.
42543 (FPE_FLTSUB): Likewise.
42544 (SEGV_MAPERR): Likewise.
42545 (SEGV_ACCERR): Likewise.
42546 (BUS_ADRALN): Likewise.
42547 (BUS_ADRERR): Likewise.
42548 (BUS_OBJERR): Likewise.
42549 (BUS_MCEERR_AR): Likewise.
42550 (BUS_MCEERR_AO): Likewise.
42551 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42552 (TRAP_TRACE): Likewise.
42553 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42554 __USE_XOPEN2K8].
42555 (CLD_KILLED): Likewise.
42556 (CLD_DUMPED): Likewise.
42557 (CLD_TRAPPED): Likewise.
42558 (CLD_STOPPED): Likewise.
42559 (CLD_CONTINUED): Likewise.
42560 (POLL_IN): Likewise.
42561 (POLL_OUT): Likewise.
42562 (POLL_MSG): Likewise.
42563 (POLL_ERR): Likewise.
42564 (POLL_PRI): Likewise.
42565 (POLL_HUP): Likewise.
42566 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
42567 Likewise.
42568 (ILL_ILLOPN): Likewise.
42569 (ILL_ILLADR): Likewise.
42570 (ILL_ILLTRP): Likewise.
42571 (ILL_PRVOPC): Likewise.
42572 (ILL_PRVREG): Likewise.
42573 (ILL_COPROC): Likewise.
42574 (ILL_BADSTK): Likewise.
42575 (ILL_BADIADDR): Likewise.
42576 (ILL_BREAK): Likewise.
42577 (FPE_INTDIV): Likewise.
42578 (FPE_INTOVF): Likewise.
42579 (FPE_FLTDIV): Likewise.
42580 (FPE_FLTOVF): Likewise.
42581 (FPE_FLTUND): Likewise.
42582 (FPE_FLTRES): Likewise.
42583 (FPE_FLTINV): Likewise.
42584 (FPE_FLTSUB): Likewise.
42585 (FPE_DECOVF): Likewise.
42586 (FPE_DECDIV): Likewise.
42587 (FPE_DECERR): Likewise.
42588 (FPE_INVASC): Likewise.
42589 (FPE_INVDEC): Likewise.
42590 (SEGV_MAPERR): Likewise.
42591 (SEGV_ACCERR): Likewise.
42592 (SEGV_PSTKOVF): Likewise.
42593 (BUS_ADRALN): Likewise.
42594 (BUS_ADRERR): Likewise.
42595 (BUS_OBJERR): Likewise.
42596 (BUS_MCEERR_AR): Likewise.
42597 (BUS_MCEERR_AO): Likewise.
42598 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42599 (TRAP_TRACE): Likewise.
42600 (TRAP_BRANCH): Likewise.
42601 (TRAP_HWBKPT): Likewise.
42602 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42603 __USE_XOPEN2K8].
42604 (CLD_KILLED): Likewise.
42605 (CLD_DUMPED): Likewise.
42606 (CLD_TRAPPED): Likewise.
42607 (CLD_STOPPED): Likewise.
42608 (CLD_CONTINUED): Likewise.
42609 (POLL_IN): Likewise.
42610 (POLL_OUT): Likewise.
42611 (POLL_MSG): Likewise.
42612 (POLL_ERR): Likewise.
42613 (POLL_PRI): Likewise.
42614 (POLL_HUP): Likewise.
42615 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42616 (ILL_ILLOPN): Likewise.
42617 (ILL_ILLADR): Likewise.
42618 (ILL_ILLTRP): Likewise.
42619 (ILL_PRVOPC): Likewise.
42620 (ILL_PRVREG): Likewise.
42621 (ILL_COPROC): Likewise.
42622 (ILL_BADSTK): Likewise.
42623 (FPE_INTDIV): Likewise.
42624 (FPE_INTOVF): Likewise.
42625 (FPE_FLTDIV): Likewise.
42626 (FPE_FLTOVF): Likewise.
42627 (FPE_FLTUND): Likewise.
42628 (FPE_FLTRES): Likewise.
42629 (FPE_FLTINV): Likewise.
42630 (FPE_FLTSUB): Likewise.
42631 (SEGV_MAPERR): Likewise.
42632 (SEGV_ACCERR): Likewise.
42633 (BUS_ADRALN): Likewise.
42634 (BUS_ADRERR): Likewise.
42635 (BUS_OBJERR): Likewise.
42636 (BUS_MCEERR_AR): Likewise.
42637 (BUS_MCEERR_AO): Likewise.
42638 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42639 (TRAP_TRACE): Likewise.
42640 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42641 __USE_XOPEN2K8].
42642 (CLD_KILLED): Likewise.
42643 (CLD_DUMPED): Likewise.
42644 (CLD_TRAPPED): Likewise.
42645 (CLD_STOPPED): Likewise.
42646 (CLD_CONTINUED): Likewise.
42647 (POLL_IN): Likewise.
42648 (POLL_OUT): Likewise.
42649 (POLL_MSG): Likewise.
42650 (POLL_ERR): Likewise.
42651 (POLL_PRI): Likewise.
42652 (POLL_HUP): Likewise.
42653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42654 (ILL_ILLOPN): Likewise.
42655 (ILL_ILLADR): Likewise.
42656 (ILL_ILLTRP): Likewise.
42657 (ILL_PRVOPC): Likewise.
42658 (ILL_PRVREG): Likewise.
42659 (ILL_COPROC): Likewise.
42660 (ILL_BADSTK): Likewise.
42661 (FPE_INTDIV): Likewise.
42662 (FPE_INTOVF): Likewise.
42663 (FPE_FLTDIV): Likewise.
42664 (FPE_FLTOVF): Likewise.
42665 (FPE_FLTUND): Likewise.
42666 (FPE_FLTRES): Likewise.
42667 (FPE_FLTINV): Likewise.
42668 (FPE_FLTSUB): Likewise.
42669 (SEGV_MAPERR): Likewise.
42670 (SEGV_ACCERR): Likewise.
42671 (BUS_ADRALN): Likewise.
42672 (BUS_ADRERR): Likewise.
42673 (BUS_OBJERR): Likewise.
42674 (BUS_MCEERR_AR): Likewise.
42675 (BUS_MCEERR_AO): Likewise.
42676 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42677 (TRAP_TRACE): Likewise.
42678 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42679 __USE_XOPEN2K8].
42680 (CLD_KILLED): Likewise.
42681 (CLD_DUMPED): Likewise.
42682 (CLD_TRAPPED): Likewise.
42683 (CLD_STOPPED): Likewise.
42684 (CLD_CONTINUED): Likewise.
42685 (POLL_IN): Likewise.
42686 (POLL_OUT): Likewise.
42687 (POLL_MSG): Likewise.
42688 (POLL_ERR): Likewise.
42689 (POLL_PRI): Likewise.
42690 (POLL_HUP): Likewise.
42691 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42692 (ILL_ILLOPN): Likewise.
42693 (ILL_ILLADR): Likewise.
42694 (ILL_ILLTRP): Likewise.
42695 (ILL_PRVOPC): Likewise.
42696 (ILL_PRVREG): Likewise.
42697 (ILL_COPROC): Likewise.
42698 (ILL_BADSTK): Likewise.
42699 (FPE_INTDIV): Likewise.
42700 (FPE_INTOVF): Likewise.
42701 (FPE_FLTDIV): Likewise.
42702 (FPE_FLTOVF): Likewise.
42703 (FPE_FLTUND): Likewise.
42704 (FPE_FLTRES): Likewise.
42705 (FPE_FLTINV): Likewise.
42706 (FPE_FLTSUB): Likewise.
42707 (SEGV_MAPERR): Likewise.
42708 (SEGV_ACCERR): Likewise.
42709 (BUS_ADRALN): Likewise.
42710 (BUS_ADRERR): Likewise.
42711 (BUS_OBJERR): Likewise.
42712 (BUS_MCEERR_AR): Likewise.
42713 (BUS_MCEERR_AO): Likewise.
42714 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42715 (TRAP_TRACE): Likewise.
42716 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42717 __USE_XOPEN2K8].
42718 (CLD_KILLED): Likewise.
42719 (CLD_DUMPED): Likewise.
42720 (CLD_TRAPPED): Likewise.
42721 (CLD_STOPPED): Likewise.
42722 (CLD_CONTINUED): Likewise.
42723 (POLL_IN): Likewise.
42724 (POLL_OUT): Likewise.
42725 (POLL_MSG): Likewise.
42726 (POLL_ERR): Likewise.
42727 (POLL_PRI): Likewise.
42728 (POLL_HUP): Likewise.
42729 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42730 (ILL_ILLOPN): Likewise.
42731 (ILL_ILLADR): Likewise.
42732 (ILL_ILLTRP): Likewise.
42733 (ILL_PRVOPC): Likewise.
42734 (ILL_PRVREG): Likewise.
42735 (ILL_COPROC): Likewise.
42736 (ILL_BADSTK): Likewise.
42737 (ILL_DBLFLT): Likewise.
42738 (ILL_HARDWALL): Likewise.
42739 (FPE_INTDIV): Likewise.
42740 (FPE_INTOVF): Likewise.
42741 (FPE_FLTDIV): Likewise.
42742 (FPE_FLTOVF): Likewise.
42743 (FPE_FLTUND): Likewise.
42744 (FPE_FLTRES): Likewise.
42745 (FPE_FLTINV): Likewise.
42746 (FPE_FLTSUB): Likewise.
42747 (SEGV_MAPERR): Likewise.
42748 (SEGV_ACCERR): Likewise.
42749 (BUS_ADRALN): Likewise.
42750 (BUS_ADRERR): Likewise.
42751 (BUS_OBJERR): Likewise.
42752 (BUS_MCEERR_AR): Likewise.
42753 (BUS_MCEERR_AO): Likewise.
42754 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42755 (TRAP_TRACE): Likewise.
42756 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42757 __USE_XOPEN2K8].
42758 (CLD_KILLED): Likewise.
42759 (CLD_DUMPED): Likewise.
42760 (CLD_TRAPPED): Likewise.
42761 (CLD_STOPPED): Likewise.
42762 (CLD_CONTINUED): Likewise.
42763 (POLL_IN): Likewise.
42764 (POLL_OUT): Likewise.
42765 (POLL_MSG): Likewise.
42766 (POLL_ERR): Likewise.
42767 (POLL_PRI): Likewise.
42768 (POLL_HUP): Likewise.
42769 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42770 (ILL_ILLOPN): Likewise.
42771 (ILL_ILLADR): Likewise.
42772 (ILL_ILLTRP): Likewise.
42773 (ILL_PRVOPC): Likewise.
42774 (ILL_PRVREG): Likewise.
42775 (ILL_COPROC): Likewise.
42776 (ILL_BADSTK): Likewise.
42777 (FPE_INTDIV): Likewise.
42778 (FPE_INTOVF): Likewise.
42779 (FPE_FLTDIV): Likewise.
42780 (FPE_FLTOVF): Likewise.
42781 (FPE_FLTUND): Likewise.
42782 (FPE_FLTRES): Likewise.
42783 (FPE_FLTINV): Likewise.
42784 (FPE_FLTSUB): Likewise.
42785 (SEGV_MAPERR): Likewise.
42786 (SEGV_ACCERR): Likewise.
42787 (BUS_ADRALN): Likewise.
42788 (BUS_ADRERR): Likewise.
42789 (BUS_OBJERR): Likewise.
42790 (BUS_MCEERR_AR): Likewise.
42791 (BUS_MCEERR_AO): Likewise.
42792 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42793 (TRAP_TRACE): Likewise.
42794 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42795 __USE_XOPEN2K8].
42796 (CLD_KILLED): Likewise.
42797 (CLD_DUMPED): Likewise.
42798 (CLD_TRAPPED): Likewise.
42799 (CLD_STOPPED): Likewise.
42800 (CLD_CONTINUED): Likewise.
42801 (POLL_IN): Likewise.
42802 (POLL_OUT): Likewise.
42803 (POLL_MSG): Likewise.
42804 (POLL_ERR): Likewise.
42805 (POLL_PRI): Likewise.
42806 (POLL_HUP): Likewise.
42807 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42808 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42809
42810 [BZ #16670]
42811 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42812 before #include of <time.h>.
42813 [!__USE_XOPEN2K] (__need_timespec): Likewise.
42814 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42815 (test-xfail-UNIX98/sched.h/conform): Likewise.
42816
42817 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
42818
42819 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42820 error absence of trapping exception support.
42821 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42822
42823 2014-03-07 Joseph Myers <joseph@codesourcery.com>
42824
42825 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42826 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42827 * timezone/Makefile (testdata): Move definition above include of
42828 Rules.
42829 (test-zones): New variable.
42830 (tests-special): Add zone files.
42831 (build-testdata): Use $(evaluate-test).
42832
42833 * elf/Makefile (tests-special): Rename tests to end with .out.
42834 ($(objpfx)noload-mem): Likewise.
42835 ($(objpfx)tst-leaks1-mem): Likewise.
42836 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42837 * iconv/Makefile (xtests-special): Change test-iconvconfig to
42838 $(objpfx)test-iconvconfig.out.
42839 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
42840 set -e inside subshell and redirect output to file.
42841 * iconvdata/Makefile (generated): Rename tests to end with .out.
42842 Correct type.
42843 (tests-special): Rename tests to end with .out.
42844 ($(objpfx)mtrace-tst-loading): Likewise.
42845 * intl/Makefile (generated): Likewise.
42846 (tests-special): Likewise.
42847 ($(objpfx)mtrace-tst-gettext): Likewise.
42848 * misc/Makefile (generated): Likewise.
42849 (tests-special): Likewise.
42850 ($(objpfx)tst-error1-mem): Likewise.
42851 * nptl/Makefile (tests-special): Likewise.
42852 ($(objpfx)tst-stack3-mem): Likewise.
42853 (generated): Likewise.
42854 * posix/Makefile (generated): Likewise.
42855 (tests-special): Likewise.
42856 (xtests-special): Likewise.
42857 ($(objpfx)tst-fnmatch-mem): Likewise.
42858 ($(objpfx)bug-regex2-mem): Likewise.
42859 ($(objpfx)bug-regex14-mem): Likewise.
42860 ($(objpfx)bug-regex21-mem): Likewise.
42861 ($(objpfx)bug-regex31-mem): Likewise.
42862 ($(objpfx)tst-vfork3-mem): Likewise.
42863 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42864 ($(objpfx)tst-pcre-mem): Likewise.
42865 ($(objpfx)tst-boost-mem): Likewise.
42866 ($(objpfx)bug-ga2-mem): Likewise.
42867 ($(objpfx)bug-glob2-mem): Likewise.
42868 * resolv/Makefile (generate): Likewise.
42869 (tests-special): Likewise.
42870 (xtests-special): Likewise.
42871 (generated): Likewise.
42872 ($(objpfx)mtrace-tst-leaks): Likewise.
42873 ($(objpfx)mtrace-tst-leaks2): Likewise.
42874
42875 * scripts/merge-test-results.sh: New file.
42876 * Makefile (tests-special-notdir): New variable.
42877 (tests): Run merge-test-results.sh.
42878 (xtests): Likewise.
42879 * Rules (tests-special-notdir): New variable.
42880 (xtests-special-notdir): Likewise.
42881 (tests): Run merge-test-results.sh
42882 (xtests): Likewise.
42883
42884 * Makeconfig (test-xfail-name): New variable.
42885 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42886 compute variable name for expected failures.
42887 * conform/Makefile (conformtest-headers-data): New variable.
42888 (conformtest-standards): Likewise.
42889 (conformtest-headers-ISO): Likewise.
42890 (conformtest-headers-ISO99): Likewise.
42891 (conformtest-headers-ISO11): Likewise.
42892 (conformtest-headers-POSIX): Likewise.
42893 (conformtest-headers-XPG3): Likewise.
42894 (conformtest-headers-XPG4): Likewise.
42895 (conformtest-headers-UNIX98): Likewise.
42896 (conformtest-headers-XOPEN2K): Likewise.
42897 (conformtest-headers-POSIX2008): Likewise.
42898 (conformtest-headers-XOPEN2K8): Likewise.
42899 (conformtest-header-list-base): Likewise.
42900 (conformtest-header-list-tests): Likewise.
42901 (conformtest-header-base): Likewise.
42902 (conformtest-header-tests): Likewise.
42903 (tests-special): Add $(conformtest-header-list-tests). If
42904 [$(fast-check) && !$(cross-compiling)], add
42905 $(conformtest-header-tests) instead of
42906 $(objpfx)run-conformtest.out.
42907 (generated): Add $(conformtest-header-list-base). If
42908 [$(fast-check) && !$(cross-compiling)], add
42909 $(conformtest-header-base). Remove previous setting.
42910 ($(conformtest-header-list-tests)): New target.
42911 (test-xfail-run-conformtest): Remove variable.
42912 ($(objpfx)run-conformtest.out): Remove target.
42913 (test-xfail-ISO11/complex.h/conform): New variable.
42914 (test-xfail-ISO11/stdalign.h/conform): Likewise.
42915 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42916 (test-xfail-XPG3/varargs.h/conform): Likewise.
42917 (test-xfail-XPG4/varargs.h/conform): Likewise.
42918 (test-xfail-UNIX98/varargs.h/conform): Likewise.
42919 (test-xfail-XPG4/ndbm.h/conform): Likewise.
42920 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42921 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42922 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42923 (test-xfail-XPG3/fcntl.h/conform): Likewise.
42924 (test-xfail-XPG3/ftw.h/conform): Likewise.
42925 (test-xfail-XPG3/grp.h/conform): Likewise.
42926 (test-xfail-XPG3/langinfo.h/conform): Likewise.
42927 (test-xfail-XPG3/limits.h/conform): Likewise.
42928 (test-xfail-XPG3/pwd.h/conform): Likewise.
42929 (test-xfail-XPG3/search.h/conform): Likewise.
42930 (test-xfail-XPG3/signal.h/conform): Likewise.
42931 (test-xfail-XPG3/stdio.h/conform): Likewise.
42932 (test-xfail-XPG3/stdlib.h/conform): Likewise.
42933 (test-xfail-XPG3/string.h/conform): Likewise.
42934 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42935 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42936 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42937 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42938 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42939 (test-xfail-XPG3/sys/types.h/conform): Likewise.
42940 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42941 (test-xfail-XPG3/termios.h/conform): Likewise.
42942 (test-xfail-XPG3/time.h/conform): Likewise.
42943 (test-xfail-XPG3/unistd.h/conform): Likewise.
42944 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42945 (test-xfail-XPG4/fcntl.h/conform): Likewise.
42946 (test-xfail-XPG4/langinfo.h/conform): Likewise.
42947 (test-xfail-XPG4/netdb.h/conform): Likewise.
42948 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42949 (test-xfail-XPG4/signal.h/conform): Likewise.
42950 (test-xfail-XPG4/stdio.h/conform): Likewise.
42951 (test-xfail-XPG4/stdlib.h/conform): Likewise.
42952 (test-xfail-XPG4/stropts.h/conform): Likewise.
42953 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42954 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42955 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42956 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42957 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42958 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42959 (test-xfail-XPG4/sys/time.h/conform): Likewise.
42960 (test-xfail-XPG4/sys/types.h/conform): Likewise.
42961 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42962 (test-xfail-XPG4/termios.h/conform): Likewise.
42963 (test-xfail-XPG4/ucontext.h/conform): Likewise.
42964 (test-xfail-XPG4/unistd.h/conform): Likewise.
42965 (test-xfail-XPG4/utmpx.h/conform): Likewise.
42966 (test-xfail-POSIX/sched.h/conform): Likewise.
42967 (test-xfail-POSIX/signal.h/conform): Likewise.
42968 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42969 (test-xfail-POSIX/tar.h/conform): Likewise.
42970 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42971 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42972 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42973 (test-xfail-UNIX98/netdb.h/conform): Likewise.
42974 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42975 (test-xfail-UNIX98/sched.h/conform): Likewise.
42976 (test-xfail-UNIX98/signal.h/conform): Likewise.
42977 (test-xfail-UNIX98/stdio.h/conform): Likewise.
42978 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42979 (test-xfail-UNIX98/stropts.h/conform): Likewise.
42980 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42981 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42982 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42983 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42984 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42985 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42986 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42987 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42988 (test-xfail-UNIX98/unistd.h/conform): Likewise.
42989 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42990 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42991 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42992 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42993 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42994 (test-xfail-XOPEN2K/math.h/conform): Likewise.
42995 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42996 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42997 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42998 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42999 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
43000 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
43001 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
43002 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
43003 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
43004 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
43005 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
43006 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
43007 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
43008 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
43009 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
43010 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
43011 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
43012 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
43013 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
43014 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
43015 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
43016 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
43017 (test-xfail-POSIX2008/signal.h/conform): Likewise.
43018 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
43019 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
43020 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
43021 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
43022 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
43023 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
43024 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
43025 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
43026 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
43027 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
43028 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
43029 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
43030 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
43031 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
43032 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
43033 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
43034 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
43035 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
43036 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
43037 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
43038 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
43039 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
43040 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
43041 (conformtest-cc-flags): Likewise.
43042 ($(conformtest-header-tests): New target.
43043 * conform/check-header-lists.sh: New file.
43044 * conform/run-conformtest.sh: Remove.
43045
43046 * conform/conformtest.pl: Allow ' and \ in values given for
43047 constants.
43048 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
43049 inclusion.
43050 [POSIX] (sys/types.h): Likewise.
43051 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
43052 inclusion.
43053 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
43054 inclusion.
43055 * conform/data/signal.h-data (SIGIO): Remove expectation.
43056 [XPG3] (SIGBUS): Do not expect.
43057 [POSIX || XPG3] (SIGPOLL): Likewise.
43058 [POSIX || XPG3] (SIGPROF): Likewise.
43059 [POSIX || XPG3] (SIGSYS): Likewise.
43060 [XPG3] (SIGTRAP): Likewise.
43061 [POSIX || XPG3] (SIGURG): Likewise.
43062 [POSIX || XPG3] (SIGVTALRM): Likewise.
43063 [POSIX || XPG3] (SIGXCPU): Likewise.
43064 [POSIX || XPG3] (SIGXFSZ): Likewise.
43065 [POSIX] (SA_SIGINFO): Expect.
43066 [XPG3] (siginfo_t): Do not expect type or contents.
43067 [POSIX] (si_pid): Do not expect element.
43068 [POSIX] (si_uid): Likewise.
43069 [POSIX] (si_addr): Likewise.
43070 [POSIX] (si_status): Likewise.
43071 [POSIX] (si_band): Likewise.
43072 [XPG4] (si_value): Likewise.
43073 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
43074 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
43075 [POSIX || XPG3] (ILL_ILLADR): Likewise.
43076 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
43077 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
43078 [POSIX || XPG3] (ILL_PRVREG): Likewise.
43079 [POSIX || XPG3] (ILL_COPROC): Likewise.
43080 [POSIX || XPG3] (ILL_BADSTK): Likewise.
43081 [POSIX || XPG3] (FPE_INTDIV): Likewise.
43082 [POSIX || XPG3] (FPE_INTOVF): Likewise.
43083 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
43084 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
43085 [POSIX || XPG3] (FPE_FLTUND): Likewise.
43086 [POSIX || XPG3] (FPE_FLTRES): Likewise.
43087 [POSIX || XPG3] (FPE_FLTINV): Likewise.
43088 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
43089 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
43090 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
43091 [POSIX || XPG3] (BUS_ADRALN): Likewise.
43092 [POSIX || XPG3] (BUS_ADRERR): Likewise.
43093 [POSIX || XPG3] (BUS_OBJERR): Likewise.
43094 [POSIX || XPG3] (CLD_EXITED): Likewise.
43095 [POSIX || XPG3] (CLD_KILLED): Likewise.
43096 [POSIX || XPG3] (CLD_DUMPED): Likewise.
43097 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
43098 [POSIX || XPG3] (CLD_STOPPED): Likewise.
43099 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
43100 [POSIX || XPG3] (POLL_IN): Likewise.
43101 [POSIX || XPG3] (POLL_OUT): Likewise.
43102 [POSIX || XPG3] (POLL_MSG): Likewise.
43103 [POSIX || XPG3] (POLL_ERR): Likewise.
43104 [POSIX || XPG3] (POLL_PRI): Likewise.
43105 [POSIX || XPG3] (POLL_HUP): Likewise.
43106 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
43107 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
43108 (SIG*): Do not allow.
43109 [XPG3] (si_*): Likewise.
43110 [XPG3] (SI_*): Likewise.
43111 [XPG3 || XPG4] (sigev_*): Likewise.
43112 [XPG3 || XPG4] (SIGEV_*): Likewise.
43113 [XPG3 || XPG4] (sival_*): Likewise.
43114 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
43115 [POSIX || XPG3] (BUS_*): Likewise.
43116 [POSIX || XPG3] (CLD_*): Likewise.
43117 [POSIX || XPG3] (FPE_*): Likewise.
43118 [POSIX || XPG3] (ILL_*): Likewise.
43119 [POSIX || XPG3] (POLL_*): Likewise.
43120 [POSIX || XPG3] (SEGV_*): Likewise.
43121 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
43122 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
43123 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
43124 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
43125 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
43126 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
43127 Specify type and value.
43128 (TVERSLEN): Likewise.
43129 (REGTYPE): Likewise.
43130 (AREGTYPE): Likewise.
43131 (LNKTYPE): Likewise.
43132 (SYMTYPE): Likewise.
43133 (CHRTYPE): Likewise.
43134 (BLKTYPE): Likewise.
43135 (DIRTYPE): Likewise.
43136 (FIFOTYPE): Likewise.
43137 (CONTTYPE): Likewise.
43138 (TSUID): Likewise.
43139 (TSGID): Likewise.
43140 (TSVTX): Likewise.
43141 (TUREAD): Likewise.
43142 (TUWRITE): Likewise.
43143 (TUEXEC): Likewise.
43144 (TGREAD): Likewise.
43145 (TGWRITE): Likewise.
43146 (TGEXEC): Likewise.
43147 (TOREAD): Likewise.
43148 (TOWRITE): Likewise.
43149 (TOEXEC): Likewise.
43150 [POSIX] (TSVTX): Expect constant.
43151
43152 2014-03-06 Joseph Myers <joseph@codesourcery.com>
43153
43154 * Makefile (tests): Change dependencies to ....
43155 (tests-special): ... additions to this variable.
43156 (tests): Depend on $(tests-special).
43157 * Makerules (check-abi-list): New variable.
43158 (check-abi): Depend on $(check-abi-list).
43159 [$(subdir) = elf] (tests-special): Add
43160 $(objpfx)check-abi-libc.out.
43161 [$(build-shared) = yes && subdir] (tests-special): Add
43162 $(check-abi-list).
43163 [$(build-shared) = yes && subdir] (tests): Do not depend on
43164 check-abi.
43165 * Rules (tests): Depend on $(tests-special).
43166 (xtests): Depend on $(xtests-special).
43167 * catgets/Makefile (tests): Change dependencies to ....
43168 (tests-special): ... additions to this variable.
43169 * conform/Makefile (tests): Change dependencies to ....
43170 (tests-special): ... additions to this variable.
43171 * elf/Makefile (tests): Change dependencies to ....
43172 (tests-special): ... additions to this variable.
43173 * grp/Makefile (tests): Change dependencies to ....
43174 (tests-special): ... additions to this variable.
43175 * iconv/Makefile (xtests): Change dependencies to ....
43176 (xtests-special): ... additions to this variable.
43177 * iconvdata/Makefile (tests): Change dependencies to ....
43178 (tests-special): ... additions to this variable.
43179 * intl/Makefile (tests): Change dependencies to ....
43180 (tests-special): ... additions to this variable. Also add
43181 $(objpfx)tst-gettext.out.
43182 * io/Makefile (tests): Change dependencies to ....
43183 (tests-special): ... additions to this variable.
43184 * libio/Makefile (tests): Change dependencies to ....
43185 (tests-special): ... additions to this variable.
43186 * malloc/Makefile (tests): Change dependencies to ....
43187 (tests-special): ... additions to this variable.
43188 * misc/Makefile (tests): Change dependencies to ....
43189 (tests-special): ... additions to this variable.
43190 * nptl/Makefile (tests): Change dependencies to ....
43191 (tests-special): ... additions to this variable.
43192 * nptl_db/Makefile (tests): Change dependencies to ....
43193 (tests-special): ... additions to this variable.
43194 * posix/Makefile (tests): Change dependencies to ....
43195 (tests-special): ... additions to this variable.
43196 (xtests): Change dependencies to ....
43197 (xtests-special): ... additions to this variable.
43198 * resolv/Makefile (tests): Change dependencies to ....
43199 (tests-special): ... additions to this variable.
43200 (xtests): Change dependencies to ....
43201 (xtests-special): ... additions to this variable.
43202 * stdio-common/Makefile (tests): Change dependencies to ....
43203 (tests-special): ... additions to this variable.
43204 (do-tst-unbputc): Remove target.
43205 (do-tst-printf): Likewise.
43206 * stdlib/Makefile (tests): Change dependencies to ....
43207 (tests-special): ... additions to this variable.
43208 * string/Makefile (tests): Change dependencies to ....
43209 (tests-special): ... additions to this variable.
43210 * sysdeps/x86/Makefile (tests): Change dependencies to ....
43211 (tests-special): ... additions to this variable.
43212
43213 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
43214 whole file.
43215 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
43216 whole file.
43217 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
43218 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
43219
43220 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
43221 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
43222 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
43223 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
43224 * conform/data/libgen.h-data [XPG3]: Likewise.
43225 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
43226 * conform/data/ndbm.h-data [XPG3]: Likewise.
43227 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
43228 * conform/data/netdb.h-data [XPG3]: Likewise.
43229 * conform/data/netinet/in.h-data [XPG3]: Likewise.
43230 * conform/data/poll.h-data [XPG3]: Likewise.
43231 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
43232 * conform/data/strings.h-data [XPG3]: Likewise.
43233 * conform/data/stropts.h-data [XPG3]: Likewise.
43234 * conform/data/sys/mman.h-data [XPG3]: Likewise.
43235 * conform/data/sys/resource.h-data [XPG3]: Likewise.
43236 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
43237 Likewise.
43238 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
43239 * conform/data/sys/time.h-data [XPG3]: Likewise.
43240 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
43241 * conform/data/sys/uio.h-data [XPG3]: Likewise.
43242 * conform/data/sys/un.h-data [XPG3]: Likewise.
43243 * conform/data/syslog.h-data [XPG3]: Likewise.
43244 * conform/data/ucontext.h-data [XPG3]: Likewise.
43245 * conform/data/utmpx.h-data [XPG3]: Likewise.
43246 * conform/data/varargs.h-data [UNIX98]: Enable file.
43247
43248 * manual/Makefile (INSTALL_INFO): Remove variable setting.
43249
43250 * math/libm-test.inc (struct test_f_f_data): Move expected results
43251 into structure for each rounding mode.
43252 (struct test_ff_f_data): Likewise.
43253 (struct test_ff_f_data_nexttoward): Likewise.
43254 (struct test_fi_f_data): Likewise.
43255 (struct test_fl_f_data): Likewise.
43256 (struct test_if_f_data): Likewise.
43257 (struct test_fff_f_data): Likewise.
43258 (struct test_c_f_data): Likewise.
43259 (struct test_f_f1_data): Likewise.
43260 (struct test_fF_f1_data): Likewise.
43261 (struct test_ffI_f1_data): Likewise.
43262 (struct test_c_c_data): Likewise.
43263 (struct test_cc_c_data): Likewise.
43264 (struct test_f_i_data): Likewise.
43265 (struct test_ff_i_data): Likewise.
43266 (struct test_f_l_data): Likewise.
43267 (struct test_f_L_data): Likewise.
43268 (struct test_fFF_11_data): Likewise.
43269 (RM_): New macro.
43270 (RM_FE_DOWNWARD): Likewise.
43271 (RM_FE_TONEAREST): Likewise.
43272 (RM_FE_TOWARDZERO): Likewise.
43273 (RM_FE_UPWARD): Likewise.
43274 (RUN_TEST_LOOP_f_f): Update references to expected results.
43275 (RUN_TEST_LOOP_2_f): Likewise.
43276 (RUN_TEST_LOOP_fff_f): Likewise.
43277 (RUN_TEST_LOOP_c_f): Likewise.
43278 (RUN_TEST_LOOP_f_f1): Likewise.
43279 (RUN_TEST_LOOP_fF_f1): Likewise.
43280 (RUN_TEST_LOOP_fI_f1): Likewise.
43281 (RUN_TEST_LOOP_ffI_f1): Likewise.
43282 (RUN_TEST_LOOP_c_c): Likewise.
43283 (RUN_TEST_LOOP_cc_c): Likewise.
43284 (RUN_TEST_LOOP_f_i): Likewise.
43285 (RUN_TEST_LOOP_f_i_tg): Likewise.
43286 (RUN_TEST_LOOP_ff_i_tg): Likewise.
43287 (RUN_TEST_LOOP_f_b): Likewise.
43288 (RUN_TEST_LOOP_f_b_tg): Likewise.
43289 (RUN_TEST_LOOP_f_l): Likewise.
43290 (RUN_TEST_LOOP_f_L): Likewise.
43291 (RUN_TEST_LOOP_fFF_11): Likewise.
43292 * math/gen-libm-test.pl (parse_args): Output four copies of
43293 expected results for each test.
43294
43295 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43296 (__ASSUME_UTIMES): Remove.
43297 * sysdeps/unix/sysv/linux/tile/kernel-features.h
43298 (__ASSUME_UTIMES): Likewise.
43299
43300 * math/gen-auto-libm-tests.c: Update comment on output format.
43301 (output_for_one_input_case): Generate before-rounding and
43302 after-rounding information as conditions on output flags not
43303 floating-point format.
43304 * math/auto-libm-test-out: Regenerated.
43305 * math/gen-libm-test.pl (cond_value): New function.
43306 (or_cond_value): Use cond_value.
43307 (generate_testfile): Handle conditional exceptions.
43308
43309 2014-03-05 Joseph Myers <joseph@codesourcery.com>
43310
43311 * math/libm-test.inc (max_valid_error): New variable.
43312 (init_max_error): Take new argument specifying whether function
43313 results are exactly determined. Set max_valid_error and bound
43314 other variables for errors based on this argument.
43315 (set_max_error): Do not record results above max_valid_error.
43316 (check_float_internal): Only accept errors of up to 0.5ulps if
43317 also at most max_valid_error.
43318 (START): Take new argument EXACT and pass it to init_max_error.
43319 (acos_test): Update call to START.
43320 (acos_test_tonearest): Likewise.
43321 (acos_test_towardzero): Likewise.
43322 (acos_test_downward): Likewise.
43323 (acos_test_upward): Likewise.
43324 (acosh_test): Likewise.
43325 (asin_test): Likewise.
43326 (asin_test_tonearest): Likewise.
43327 (asin_test_towardzero): Likewise.
43328 (asin_test_downward): Likewise.
43329 (asin_test_upward): Likewise.
43330 (asinh_test): Likewise.
43331 (atan_test): Likewise.
43332 (atanh_test): Likewise.
43333 (atan2_test): Likewise.
43334 (cabs_test): Likewise.
43335 (cacos_test): Likewise.
43336 (cacosh_test): Likewise.
43337 (carg_test): Likewise.
43338 (casin_test): Likewise.
43339 (casinh_test): Likewise.
43340 (catan_test): Likewise.
43341 (catanh_test): Likewise.
43342 (cbrt_test): Likewise.
43343 (ccos_test): Likewise.
43344 (ccosh_test): Likewise.
43345 (ceil_test): Likewise.
43346 (cexp_test): Likewise.
43347 (cimag_test): Likewise.
43348 (clog_test): Likewise.
43349 (clog10_test): Likewise.
43350 (conj_test): Likewise.
43351 (copysign_test): Likewise.
43352 (cos_test): Likewise.
43353 (cos_test_tonearest): Likewise.
43354 (cos_test_towardzero): Likewise.
43355 (cos_test_downward): Likewise.
43356 (cos_test_upward): Likewise.
43357 (cosh_test): Likewise.
43358 (cosh_test_tonearest): Likewise.
43359 (cosh_test_towardzero): Likewise.
43360 (cosh_test_downward): Likewise.
43361 (cosh_test_upward): Likewise.
43362 (cpow_test): Likewise.
43363 (cproj_test): Likewise.
43364 (creal_test): Likewise.
43365 (csin_test): Likewise.
43366 (csinh_test): Likewise.
43367 (csqrt_test): Likewise.
43368 (ctan_test): Likewise.
43369 (ctan_test_tonearest): Likewise.
43370 (ctan_test_towardzero): Likewise.
43371 (ctan_test_downward): Likewise.
43372 (ctan_test_upward): Likewise.
43373 (ctanh_test): Likewise.
43374 (ctanh_test_tonearest): Likewise.
43375 (ctanh_test_towardzero): Likewise.
43376 (ctanh_test_downward): Likewise.
43377 (ctanh_test_upward): Likewise.
43378 (erf_test): Likewise.
43379 (erfc_test): Likewise.
43380 (exp_test): Likewise.
43381 (exp_test_tonearest): Likewise.
43382 (exp_test_towardzero): Likewise.
43383 (exp_test_downward): Likewise.
43384 (exp_test_upward): Likewise.
43385 (exp10_test): Likewise.
43386 (exp10_test_tonearest): Likewise.
43387 (exp10_test_towardzero): Likewise.
43388 (exp10_test_downward): Likewise.
43389 (exp10_test_upward): Likewise.
43390 (pow10_test): Likewise.
43391 (exp2_test): Likewise.
43392 (expm1_test): Likewise.
43393 (expm1_test_tonearest): Likewise.
43394 (expm1_test_towardzero): Likewise.
43395 (expm1_test_downward): Likewise.
43396 (expm1_test_upward): Likewise.
43397 (fabs_test): Likewise.
43398 (fdim_test): Likewise.
43399 (floor_test): Likewise.
43400 (fma_test): Likewise.
43401 (fma_test_towardzero): Likewise.
43402 (fma_test_downward): Likewise.
43403 (fma_test_upward): Likewise.
43404 (fmax_test): Likewise.
43405 (fmin_test): Likewise.
43406 (fmod_test): Likewise.
43407 (fpclassify_test): Likewise.
43408 (frexp_test): Likewise.
43409 (hypot_test): Likewise.
43410 (ilogb_test): Likewise.
43411 (isfinite_test): Likewise.
43412 (finite_test): Likewise.
43413 (isgreater_test): Likewise.
43414 (isgreaterequal_test): Likewise.
43415 (isinf_test): Likewise.
43416 (isless_test): Likewise.
43417 (islessequal_test): Likewise.
43418 (islessgreater_test): Likewise.
43419 (isnan_test): Likewise.
43420 (isnormal_test): Likewise.
43421 (issignaling_test): Likewise.
43422 (isunordered_test): Likewise.
43423 (j0_test): Likewise.
43424 (j1_test): Likewise.
43425 (jn_test): Likewise.
43426 (ldexp_test): Likewise.
43427 (lgamma_test): Likewise.
43428 (gamma_test): Likewise.
43429 (lrint_test): Likewise.
43430 (lrint_test_tonearest): Likewise.
43431 (lrint_test_towardzero): Likewise.
43432 (lrint_test_downward): Likewise.
43433 (lrint_test_upward): Likewise.
43434 (llrint_test): Likewise.
43435 (llrint_test_tonearest): Likewise.
43436 (llrint_test_towardzero): Likewise.
43437 (llrint_test_downward): Likewise.
43438 (llrint_test_upward): Likewise.
43439 (log_test): Likewise.
43440 (log10_test): Likewise.
43441 (log1p_test): Likewise.
43442 (log2_test): Likewise.
43443 (logb_test): Likewise.
43444 (logb_test_downward): Likewise.
43445 (lround_test): Likewise.
43446 (llround_test): Likewise.
43447 (modf_test): Likewise.
43448 (nearbyint_test): Likewise.
43449 (nextafter_test): Likewise.
43450 (nexttoward_test): Likewise.
43451 (pow_test): Likewise.
43452 (pow_test_tonearest): Likewise.
43453 (pow_test_towardzero): Likewise.
43454 (pow_test_downward): Likewise.
43455 (pow_test_upward): Likewise.
43456 (remainder_test): Likewise.
43457 (drem_test): Likewise.
43458 (remainder_test_tonearest): Likewise.
43459 (drem_test_tonearest): Likewise.
43460 (remainder_test_towardzero): Likewise.
43461 (drem_test_towardzero): Likewise.
43462 (remainder_test_downward): Likewise.
43463 (drem_test_downward): Likewise.
43464 (remainder_test_upward): Likewise.
43465 (drem_test_upward): Likewise.
43466 (remquo_test): Likewise.
43467 (rint_test): Likewise.
43468 (rint_test_tonearest): Likewise.
43469 (rint_test_towardzero): Likewise.
43470 (rint_test_downward): Likewise.
43471 (rint_test_upward): Likewise.
43472 (round_test): Likewise.
43473 (scalb_test): Likewise.
43474 (scalbn_test): Likewise.
43475 (scalbln_test): Likewise.
43476 (signbit_test): Likewise.
43477 (sin_test): Likewise.
43478 (sin_test_tonearest): Likewise.
43479 (sin_test_towardzero): Likewise.
43480 (sin_test_downward): Likewise.
43481 (sin_test_upward): Likewise.
43482 (sincos_test): Likewise.
43483 (sinh_test): Likewise.
43484 (sinh_test_tonearest): Likewise.
43485 (sinh_test_towardzero): Likewise.
43486 (sinh_test_downward): Likewise.
43487 (sinh_test_upward): Likewise.
43488 (sqrt_test): Likewise.
43489 (sqrt_test_tonearest): Likewise.
43490 (sqrt_test_towardzero): Likewise.
43491 (sqrt_test_downward): Likewise.
43492 (sqrt_test_upward): Likewise.
43493 (tan_test): Likewise.
43494 (tan_test_tonearest): Likewise.
43495 (tan_test_towardzero): Likewise.
43496 (tan_test_downward): Likewise.
43497 (tan_test_upward): Likewise.
43498 (tanh_test): Likewise.
43499 (tgamma_test): Likewise.
43500 (trunc_test): Likewise.
43501 (y0_test): Likewise.
43502 (y1_test): Likewise.
43503 (yn_test): Likewise.
43504 (significand_test): Likewise.
43505
43506 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
43507 individual tests in comment.
43508 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
43509 (prev_max_error): New variable.
43510 (prev_real_max_error): Likewise.
43511 (prev_imag_max_error): Likewise.
43512 (compare_ulp_data): Don't refer to test names in comment.
43513 (find_test_ulps): Remove function.
43514 (find_function_ulps): Likewise.
43515 (find_complex_function_ulps): Likewise.
43516 (init_max_error): Take function name as argument. Look up ulps
43517 for that function.
43518 (print_ulps): Remove function.
43519 (print_max_error): Use prev_max_error instead of calling
43520 find_function_ulps.
43521 (print_complex_max_error): Use prev_real_max_error and
43522 prev_imag_max_error instead of calling find_complex_function_ulps.
43523 (check_float_internal): Take max_ulp parameter instead of calling
43524 find_test_ulps. Don't call print_ulps.
43525 (check_float): Update call to check_float_internal.
43526 (check_complex): Update calls to check_float_internal.
43527 (START): Pass argument to init_max_error.
43528 * math/gen-libm-test.pl (%results): Don't include "kind"
43529 information.
43530 (parse_ulps): Don't handle ulps of individual tests.
43531 (print_ulps_file): Likewise.
43532 (output_ulps): Likewise.
43533 * math/README.libm-test: Update.
43534 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
43535 individual tests.
43536 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
43537 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
43538 * sysdeps/arm/libm-test-ulps: Likewise.
43539 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
43540 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
43541 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
43542 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
43543 * sysdeps/microblaze/libm-test-ulps: Likewise.
43544 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
43545 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43546 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43547 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
43548 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43549 * sysdeps/sh/libm-test-ulps: Likewise.
43550 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43551 * sysdeps/tile/libm-test-ulps: Likewise.
43552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43553
43554 2014-03-04 Joseph Myers <joseph@codesourcery.com>
43555
43556 * math/libm-test.inc (print_complex_max_error): Check separately
43557 whether real and imaginary errors are within allowed range and
43558 pass 0 to print_complex_function_ulps instead of value within
43559 allowed range.
43560
43561 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43562
43563 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
43564 formatting.
43565 (get_handles_fopen): Likewise.
43566 (do_write_test): Likewise.
43567
43568 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
43569
43570 * libio/fileops.c (do_ftell): Use cached offset when
43571 available.
43572 * libio/iofwide.c (do_ftell_wide): Likewise.
43573 * libio/iofdopen.c (_IO_new_fdopen): Don't use
43574 _IO_file_attach.
43575 * libio/wfileops.c (_IO_fwide): Don't cache offset.
43576
43577 [BZ #16532]
43578 * libio/libioP.h (get_file_offset): New function.
43579 * libio/fileops.c (get_file_offset): Likewise.
43580 (do_ftell): Likewise.
43581 (_IO_new_file_seekoff): Split out ftell logic.
43582 * libio/wfileops.c (do_ftell_wide): Likewise.
43583 (_IO_wfile_seekoff): Split out ftell logic.
43584 * libio/tst-ftell-active-handler.c: New test case.
43585 * libio/Makefile (tests): Add it.
43586
43587 2014-03-03 Roland McGrath <roland@hack.frob.com>
43588
43589 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43590 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43591
43592 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
43593
43594 [BZ #16639]
43595 * nscd/connections.c (nscd_init): Call do_exit.
43596 (start_threads): Call do_exit and notify_parent.
43597 (begin_drop_privileges): Call do_exit.
43598 (finish_drop_privileges): Likewise.
43599 * nscd/selinux.c (preserve_capabilities): Likewise.
43600 (install_real_capabilities): Likewise.
43601 (nscd_selinux_enabled): Likewise.
43602 (avc_create_thread): Likewise.
43603 (avc_alloc_lock): Likewise.
43604 (nscd_avc_init): Likewise.
43605 * nscd/nscd.c (parent_fd): New static variable.
43606 (main): Create a pipe between parent and child processes.
43607 Skip closing parent_fd.
43608 (monitor_child): New function.
43609 (do_exit): Likewise.
43610 (notify_parent): Likewise.
43611 * nscd/nscd.h (notify_parent): Likewise.
43612 (do_exit): Likewise.
43613
43614 2014-03-03 Carlos O'Donell <carlos@redhat.com>
43615
43616 * malloc/malloc.c (__libc_calloc): Revert last change.
43617
43618 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43619
43620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43621
43622 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43623
43624 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43626 implementation.
43627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43628 (__libc_ifunc_impl_list): Likewise.
43629 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43630 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43631 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43632 * string/strrchr.c: Define STRRCHR.
43633
43634 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
43635
43636 * benchtest/bench-strtok.c (simple_strtok): Delete.
43637 (strtok_string): Use as benchmark.
43638 * string/strtok (STRTOK): New macro.
43639
43640 2014-02-28 Carlos O'Donell <carlos@redhat.com>
43641
43642 * manual/threads.texi: Add header and standard comments to all
43643 functions.
43644
43645 * elf/dl-lookup.c (check_match): New function.
43646 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43647 (do_lookup_x): Remove nested function check_match. Use non-nested
43648 function check_match.
43649
43650 2014-02-28 Roland McGrath <roland@hack.frob.com>
43651
43652 * csu/Makefile (generated, before-compile): Use += rather than =.
43653 * catgets/Makefile (generated, generated-dirs): Likewise.
43654 * debug/Makefile (generated): Likewise.
43655 * dlfcn/Makefile (generated): Likewise.
43656 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43657 * iconvdata/Makefile (before-compile, generated): Likewise.
43658 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43659 * libio/Makefile (generated): Likewise.
43660 * malloc/Makefile (generated): Likewise.
43661 * manual/Makefile (generated, generated-dirs): Likewise.
43662 * misc/Makefile (generated): Likewise.
43663 * posix/Makefile (generated): Likewise.
43664 * resolv/Makefile (generated): Likewise.
43665 * sunrpc/Makefile (generated, generated-dirs): Likewise.
43666 * timezone/Makefile (generated, generated-dirs): Likewise.
43667
43668 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43669
43670 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43671
43672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43673 power8 implementation.
43674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43675 file: POWER8 llround ifunc implementation.
43676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43677 (__lllround): Add POWER8 implementation.
43678 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43679 POWER8 llround implementation.
43680
43681 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43682 power8 implementation.
43683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43684 file: POWER8 llrint ifunc implementation.
43685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43686 Add POWER8 implementation.
43687 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43688 POWER8 llrint implementation.
43689
43690 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43691 power8 implementation.
43692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43693 file: POWER8 finite ifunc implementation.
43694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43695 Add POWER8 implementation.
43696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43697 Likewise.
43698 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43699 POWER8 finite implementation.
43700 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43701
43702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43703 power8 implementation.
43704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43705 file: POWER8 isinf ifunc implementation.
43706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43707 POWER8 implementation.
43708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43709 Likewise.
43710 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43711 isinf implementation.
43712 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43713
43714 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43715 (INIT_ARCH): Add hwcap2 initialization.
43716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43717 power8 implementation.
43718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43719 file: POWER8 isnan ifunc implementation.
43720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43721 POWER8 implementation.
43722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43723 Likewise.
43724 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43725 isnan implementation.
43726 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43727
43728 2014-02-27 Joey Ye <joey.ye@arm.com>
43729
43730 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43731 (_FP_NANFRAC_Q): Set to zero.
43732
43733 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43734
43735 [BZ #16623]
43736 * math/auto-libm-test-in: New test inputs.
43737 * math/auto-libm-test-out: Regenerate.
43738 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43739 and DA.
43740 (__cos): Likewise.
43741 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43742
43743 2014-02-27 Joseph Myers <joseph@codesourcery.com>
43744
43745 * scripts/evaluate-test.sh: Take new argument indicating whether
43746 failure is expected.
43747 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43748 indicating whether failure is expected.
43749 * conform/Makefile (test-xfail-run-conformtest): New variable.
43750 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43751 level.
43752 * posix/Makefile (test-xfail-annexc): New variable.
43753 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43754
43755 2014-02-26 Joseph Myers <joseph@codesourcery.com>
43756
43757 * argp/Makefile: Include Makeconfig immediately after defining
43758 subdir.
43759 * assert/Makefile: Likewise.
43760 * benchtests/Makefile: Likewise.
43761 * catgets/Makefile: Likewise.
43762 * conform/Makefile: Likewise.
43763 * crypt/Makefile: Likewise.
43764 * csu/Makefile: Likewise.
43765 (all): Remove target.
43766 * ctype/Makefile: Include Makeconfig immediately after defining
43767 subdir.
43768 * debug/Makefile: Likewise.
43769 * dirent/Makefile: Likewise.
43770 * dlfcn/Makefile: Likewise.
43771 * gmon/Makefile: Likewise.
43772 * gnulib/Makefile: Likewise.
43773 * grp/Makefile: Likewise.
43774 * gshadow/Makefile: Likewise.
43775 * hesiod/Makefile: Likewise.
43776 * hurd/Makefile: Likewise.
43777 (all): Remove target.
43778 * iconvdata/Makefile: Include Makeconfig immediately after
43779 defining subdir.
43780 * inet/Makefile: Likewise.
43781 * intl/Makefile: Likewise.
43782 * io/Makefile: Likewise.
43783 * libio/Makefile: Likewise.
43784 (all): Remove target.
43785 * locale/Makefile: Include Makeconfig immediately after defining
43786 subdir.
43787 * login/Makefile: Likewise.
43788 * mach/Makefile: Likewise.
43789 (all): Remove target.
43790 * malloc/Makefile: Include Makeconfig immediately after defining
43791 subdir.
43792 (all): Remove target.
43793 * manual/Makefile: Include Makeconfig immediately after defining
43794 subdir.
43795 * math/Makefile: Likewise.
43796 * misc/Makefile: Likewise.
43797 * nis/Makefile: Likewise.
43798 * nss/Makefile: Likewise.
43799 * po/Makefile: Likewise.
43800 (all): Remove target.
43801 * posix/Makefile: Include Makeconfig immediately after defining
43802 subdir.
43803 * pwd/Makefile: Likewise.
43804 * resolv/Makefile: Likewise.
43805 * resource/Makefile: Likewise.
43806 * rt/Makefile: Likewise.
43807 * setjmp/Makefile: Likewise.
43808 * shadow/Makefile: Likewise.
43809 * signal/Makefile: Likewise.
43810 * socket/Makefile: Likewise.
43811 * soft-fp/Makefile: Likewise.
43812 * stdio-common/Makefile: Likewise.
43813 * stdlib/Makefile: Likewise.
43814 * streams/Makefile: Likewise.
43815 * string/Makefile: Likewise.
43816 * sunrpc/Makefile: Likewise.
43817 (all): Remove target.
43818 * sysvipc/Makefile: Include Makeconfig immediately after defining
43819 subdir.
43820 * termios/Makefile: Likewise.
43821 * time/Makefile: Likewise.
43822 * timezone/Makefile: Likewise.
43823 (all): Remove target.
43824 * wcsmbs/Makefile: Include Makeconfig immediately after defining
43825 subdir.
43826 * wctype/Makefile: Likewise.
43827
43828 2014-02-26 Steve Ellcey <sellcey@mips.com>
43829
43830 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43831 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43832 (libc_feholdexcept_setround_mips): Ditto.
43833 (libc_feholdsetround): New.
43834 (libc_feholdsetroundf): New.
43835 (libc_feholdsetroundl): New.
43836 (libc_feupdateenv_test_mips): New.
43837 (libc_feupdateenv_test): New.
43838 (libc_feupdateenv_testf): New.
43839 (libc_feupdateenv_testl): New.
43840 (libc_feresetround): New.
43841 (libc_feresetroundf): New.
43842 (libc_feresetroundl): New.
43843 (libc_fetestexcept_mips): New.
43844 (libc_fetestexcept): New.
43845 (libc_fetestexceptf): New.
43846 (libc_fetestexceptl): New.
43847 (HAVE_RM_CTX): New.
43848 (libc_feholdexcept_setround_mips_ctx): New.
43849 (libc_feholdexcept_setround_ctx): New.
43850 (libc_feholdexcept_setroundf_ctx): New.
43851 (libc_feholdexcept_setroundl_ctx): New.
43852 (libc_fesetenv_mips_ctx): New.
43853 (libc_fesetenv_ctx): New.
43854 (libc_fesetenv_ctxf): New.
43855 (libc_fesetenv_ctxl): New.
43856 (libc_feupdateenv_mips_ctx): New.
43857 (libc_feupdateenv_ctx): New.
43858 (libc_feupdateenvf_ctx): New.
43859 (libc_feupdateenvl_ctx): New.
43860 (libc_feholdsetround_mips_ctx): New.
43861 (libc_feholdsetround_ctx): New.
43862 (libc_feholdsetroundf_ctx): New.
43863 (libc_feholdsetroundl_ctx): New.
43864 (libc_feresetround_mips_ctx): New.
43865 (libc_feresetround_ctx): New.
43866 (libc_feresetroundf_ctx): New.
43867 (libc_feresetroundl_ctx): New.
43868
43869 2014-02-26 Carlos O'Donell <carlos@redhat.com>
43870
43871 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43872
43873 * manual/ipc.texi: New file.
43874 * manual/Makefile (chapters): Add ipc.
43875 * manual/job.texi: Add "Inter-Process Communication" to next.
43876 * manual/process.texi: Add "Inter-Process Communication" to prev.
43877
43878 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43879
43880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43881
43882 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
43883
43884 * malloc/malloc.c (__libc_calloc): Simplify implementation.
43885
43886 * manual/arith.texi: Fix spaces after sentences.
43887 * manual/charset.texi: Likewise.
43888 * manual/errno.texi: Likewise.
43889 * manual/install.texi: Likewise.
43890 * manual/llio.texi: Likewise.
43891 * manual/locale.texi: Likewise.
43892 * manual/maint.texi: Likewise.
43893 * manual/math.texi: Likewise.
43894 * manual/memory.texi: Likewise.
43895 * manual/message.texi: Likewise.
43896 * manual/probes.texi: Likewise.
43897 * manual/resource.texi: Likewise.
43898 * manual/signal.texi: Likewise.
43899 * manual/socket.texi: Likewise.
43900 * manual/stdio.texi: Likewise.
43901 * manual/string.texi: Likewise.
43902 * manual/time.texi: Likewise.
43903 * manual/users.texi: Likewise.
43904
43905 2014-02-25 Carlos O'Donell <carlos@redhat.com>
43906
43907 [BZ #16632]
43908 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43909 _DEFAULT_SOURCE is defined.
43910
43911 2014-02-25 Ulrich Drepper <drepper@gmail.com>
43912 Carlos O'Donell <carlos@redhat.com>
43913
43914 [BZ #16613]
43915 * elf/dl-tls.c (_dl_count_modids): New function.
43916 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43917 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43918 audit library and increment generation counter.
43919 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43920 * elf/tst-audit9.c: New file.
43921 * elf/tst-auditmod9a.c: New file.
43922 * elf/tst-auditmod9b.c: New file.
43923 * elf/Makefile: Add rules to build and run tst-audit9.
43924
43925 2014-02-25 Florian Weimer <fweimer@redhat.com>
43926
43927 [BZ #15347]
43928 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43929
43930 2014-02-25 Will Newton <will.newton@linaro.org>
43931
43932 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43933 (__longjmp): Restore sp and lr before restoring callee
43934 saved registers. Add longjmp and longjmp_target
43935 SystemTap probe point.
43936 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43937 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43938 Define to zero to match jmpbuf layout.
43939 * sysdeps/arm/setjmp.S: Include stap-probe.h.
43940 (__sigsetjmp): Save sp and lr before saving callee
43941 saved registers. Add setjmp SystemTap probe point.
43942
43943 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
43944
43945 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43946
43947 2014-02-24 Andreas Schwab <schwab@suse.de>
43948
43949 [BZ #15804]
43950 * elf/pldd.c (wait_for_ptrace_stop): New function.
43951 (main): Call it after attaching.
43952
43953 2014-02-22 Roland McGrath <roland@hack.frob.com>
43954
43955 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43956 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43957 Versions files is now verboten.
43958 * hurd/Versions (libc: GLIBC_2.0):
43959 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43960 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43961 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43962 * mach/Versions: Likewise.
43963
43964 * csu/Versions: Remove unused %include.
43965 * resolv/Versions: Likewise.
43966
43967 2014-02-21 Joseph Myers <joseph@codesourcery.com>
43968
43969 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43970 ($(objpfx)check-local-headers.out): Likewise.
43971 ($(objpfx)begin-end-check.out): Likewise.
43972 * Makerules (check-abi-%.out): Likewise.
43973 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43974 ($(objpfx)test2.cat): Likewise.
43975 ($(objpfx)de/libc.cat): Likewise.
43976 ($(objpfx)test-gencat.out): Likewise.
43977 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43978 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43979 ($(objpfx)noload-mem): Likewise.
43980 ($(objpfx)tst-pathopt.out): Likewise.
43981 ($(objpfx)tst-rtld-load-self.out): Likewise.
43982 ($(objpfx)tst-array1-cmp.out): Likewise.
43983 ($(objpfx)tst-array1-static-cmp.out): Likewise.
43984 ($(objpfx)tst-array2-cmp.out): Likewise.
43985 ($(objpfx)tst-array3-cmp.out): Likewise.
43986 ($(objpfx)tst-array4-cmp.out): Likewise.
43987 ($(objpfx)tst-array5-cmp.out): Likewise.
43988 ($(objpfx)tst-array5-static-cmp.out): Likewise.
43989 ($(objpfx)check-textrel.out): Likewise.
43990 ($(objpfx)check-execstack.out): Likewise.
43991 ($(objpfx)check-localplt.out): Likewise.
43992 ($(objpfx)order2-cmp.out): Likewise.
43993 ($(objpfx)tst-leaks1-mem): Likewise.
43994 ($(objpfx)tst-leaks1-static-mem): Likewise.
43995 ($(objpfx)tst-initorder-cmp.out): Likewise.
43996 ($(objpfx)tst-initorder2-cmp.out): Likewise.
43997 ($(objpfx)tst-unused-dep.out): Likewise.
43998 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43999 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
44000 * iconv/Makefile (test-iconvconfig): Likewise.
44001 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
44002 ($(objpfx)iconv-test.out): Likewise.
44003 ($(objpfx)tst-tables.out): Likewise.
44004 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
44005 ($(objpfx)tst-gettext.out): Likewise.
44006 ($(objpfx)tst-translit.out): Likewise.
44007 ($(objpfx)tst-gettext2.out): Likewise.
44008 ($(objpfx)tst-gettext4.out): Likewise.
44009 ($(objpfx)tst-gettext6.out): Likewise.
44010 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
44011 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
44012 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
44013 ($(objpfx)tst-fopenloc-mem.out): Likewise.
44014 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
44015 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
44016 * posix/Makefile ($(objpfx)globtest.out): Likewise.
44017 ($(objpfx)wordexp-tst.out): Likewise.
44018 ($(objpfx)annexc.out): Likewise.
44019 ($(objpfx)tst-fnmatch-mem): Likewise.
44020 ($(objpfx)bug-regex2-mem): Likewise.
44021 ($(objpfx)bug-regex14-mem): Likewise.
44022 ($(objpfx)bug-regex21-mem): Likewise.
44023 ($(objpfx)bug-regex31-mem): Likewise.
44024 ($(objpfx)tst-vfork3-mem): Likewise.
44025 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44026 ($(objpfx)tst-pcre-mem): Likewise.
44027 ($(objpfx)tst-boost-mem): Likewise.
44028 ($(objpfx)tst-getconf.out): Likewise.
44029 ($(objpfx)bug-ga2-mem): Likewise.
44030 ($(objpfx)bug-glob2-mem): Likewise.
44031 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
44032 ($(objpfx)mtrace-tst-leaks2): Likewise.
44033 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
44034 ($(objpfx)tst-printf.out): Likewise.
44035 ($(objpfx)tst-setvbuf1.out): Likewise.
44036 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
44037 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
44038 ($(objpfx)tst-fmtmsg.out): Likewise.
44039 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
44040 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
44041
44042 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
44043 * bits/sigaction.h [__USE_MISC]: Likewise.
44044 * bits/waitstatus.h: Update #endif comments.
44045 * ctype/ctype.h: Likewise.
44046 * dirent/dirent.h: Likewise.
44047 [__USE_MISC]: Remove redundant conditionals.
44048 * grp/grp.h: Update #endif comments.
44049 [__USE_GNU]: Remove redundant conditionals.
44050 [__USE_MISC]: Likewise.
44051 * inet/netinet/in.h [__USE_GNU]: Likewise.
44052 * io/sys/stat.h [__USE_MISC]: Likewise.
44053 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
44054 * libio/bits/stdio.h: Update #endif comments.
44055 [__USE_MISC]: Remove redundant conditionals.
44056 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
44057 * libio/stdio.h: Update #endif comments.
44058 [__USE_MISC]: Remove redundant conditionals.
44059 * math/bits/math-finite.h [__USE_MISC]: Likewise.
44060 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
44061 * math/math.h: Update #else and #endif comments.
44062 [__USE_MISC]: Remove redundant conditionals.
44063 * misc/sys/uio.h: Update #endif comments.
44064 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
44065 * posix/glob.h [__USE_MISC]: Likewise.
44066 * posix/sys/types.h: Update #endif comments.
44067 [__USE_MISC]: Remove redundant conditionals.
44068 * posix/sys/wait.h: Update #endif comments.
44069 [__USE_MISC]: Remove redundant conditionals.
44070 * posix/unistd.h: Update #endif comments.
44071 [__USE_MISC]: Remove redundant conditionals.
44072 * pwd/pwd.h [__USE_GNU]: Likewise.
44073 [__USE_MISC]: Likewise.
44074 * resolv/netdb.h [__USE_GNU]: Likewise.
44075 * signal/signal.h: Update #endif comments.
44076 [__USE_MISC]: Remove redundant conditionals.
44077 * stdlib/stdlib.h: Update #else and #endif comments.
44078 [__USE_MISC]: Remove redundant conditionals.
44079 [__USE_GNU]: Likewise.
44080 * string/bits/string2.h [__USE_MISC]: Likewise.
44081 * string/string.h: Update #endif comments.
44082 [__USE_MISC]: Remove redundant conditionals.
44083 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
44084 Likewise.
44085 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
44086 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
44087 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
44088 Likewise.
44089 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
44090 Likewise.
44091 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
44092 comments.
44093 [__USE_MISC]: Remove redundant conditionals.
44094 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
44095 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
44096 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
44097 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
44098 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
44099 Likewise.
44100 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
44101 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
44102 Likewise.
44103 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
44104 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
44105 Likewise.
44106 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
44107 Likewise.
44108 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
44109 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
44110 Likewise.
44111 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
44112 Likewise.
44113 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
44114 * sysdeps/x86/bits/string.h: Update #endif comments.
44115 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
44116 conditionals.
44117 * time/sys/time.h: Update #endif comments.
44118 * time/time.h: Likewise.
44119 [__USE_MISC]: Remove redundant conditionals.
44120
44121 2014-02-21 Yury Gribov <y.gribov@samsung.com>
44122
44123 [BZ #16600]
44124 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
44125
44126 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
44127
44128 * Versions.def (librt): Add GLIBC_2.17.
44129
44130 2014-02-21 Adam Conrad <adconrad@0c3.net>
44131
44132 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
44133 synonym for _SYS_AUXV_H to allow direct inclusion.
44134 * sysdeps/sparc/bits/hwcap.h: Likewise.
44135 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
44136 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
44137 * sysdeps/sparc/sysdep.h: Likewise.
44138
44139 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44140
44141 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
44142
44143 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44144
44145 * benchtests/bench-strrchr.c: Print length instead of position.
44146
44147 2014-02-20 Joseph Myers <joseph@codesourcery.com>
44148
44149 [BZ #16611]
44150 * sysdeps/unix/sysv/linux/kernel-features.h
44151 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
44152 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
44153 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
44154 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
44155 Likewise.
44156 [__i386__ || __powerpc__ || __sh__ || __sparc__]
44157 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44158 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
44159 (__ASSUME_SENDMMSG): Define instead of using previous
44160 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
44161 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44162 (__ASSUME_SENDMMSG_SYSCALL): Define.
44163 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44164 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
44165 Likewise.
44166 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44167 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44168 Likewise.
44169 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44170 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44171 Likewise.
44172 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
44173 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
44174 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
44175 [__ASSUME_SENDMMSG]: Change conditionals to
44176 [__ASSUME_SENDMMSG_SOCKETCALL].
44177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44178 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
44179 Define.
44180 * sysdeps/unix/sysv/linux/mips/kernel-features.h
44181 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
44182 Likewise.
44183 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
44184 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
44185 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
44186 [!__ASSUME_SENDMMSG]: Change conditional to
44187 [!__ASSUME_SENDMMSG_SOCKETCALL].
44188 * sysdeps/unix/sysv/linux/tile/kernel-features.h
44189 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44190 Define.
44191
44192 [BZ #16610]
44193 * sysdeps/unix/sysv/linux/kernel-features.h
44194 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
44195 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
44196 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
44197 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
44198 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44199 [__i386__ || __sparc__]
44200 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44201 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
44202 (__ASSUME_RECVMMSG): Define instead of using previous
44203 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
44204 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44205 (__ASSUME_RECVMMSG_SYSCALL): Define.
44206 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44207 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44208 Likewise.
44209 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44210 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44211 Likewise.
44212 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44213 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44214 Likewise.
44215 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
44216 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
44217 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
44218 [__ASSUME_RECVMMSG]: Change condition to
44219 [__ASSUME_RECVMMSG_SOCKETCALL].
44220 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44221 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44222 Define.
44223 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44224 * sysdeps/unix/sysv/linux/mips/kernel-features.h
44225 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44226 Likewise.
44227 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
44228 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
44229 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
44230 [!__ASSUME_RECVMMSG]: Change condition to
44231 [!__ASSUME_RECVMMSG_SOCKETCALL].
44232 * sysdeps/unix/sysv/linux/tile/kernel-features.h
44233 (__ASSUME_RECVMMSG_SYSCALL): Define.
44234
44235 [BZ #16609]
44236 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
44237 __powerpc__ || __s390__ || __sh__ || __sparc__]
44238 (__ASSUME_SOCKETCALL): Define.
44239 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
44240 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
44241 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
44242 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
44243 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44244 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44245 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
44246 (__ASSUME_ACCEPT4): Define instead of using previous
44247 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
44248 __powerpc__ || __sparc__ || __s390__)] condition.
44249 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44250 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
44251 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
44252 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
44253 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
44254 [!__ASSUME_ACCEPT4]: Change condition to
44255 [!__ASSUME_ACCEPT4_SOCKETCALL].
44256 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44257 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
44258 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
44259 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44260 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
44261 __ASSUME_ACCEPT4_SYSCALL.
44262 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
44263 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
44264 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44265 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
44266 __ASSUME_ACCEPT4_SYSCALL.
44267 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
44268 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
44269 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
44270 [__ASSUME_ACCEPT4]: Change condition to
44271 [__ASSUME_ACCEPT4_SOCKETCALL].
44272 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44273 (__ASSUME_SOCKETCALL): Define.
44274 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
44275 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44276 (__ASSUME_SOCKETCALL): Define.
44277 (__ASSUME_ACCEPT4): Remove.
44278 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
44279 Define.
44280 * sysdeps/unix/sysv/linux/mips/kernel-features.h
44281 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
44282 Likewise.
44283 * sysdeps/unix/sysv/linux/tile/kernel-features.h
44284 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
44285
44286 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
44287 macro.
44288 (HWCAP_ARM_LPAE): Likewise.
44289 (HWCAP_ARM_EVTSTRM): Likewise.
44290 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
44291 Add vpfd32, lpae and evtstrm.
44292 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
44293 Increase to 22.
44294
44295 2014-02-19 Joseph Myers <joseph@codesourcery.com>
44296
44297 * math/auto-libm-test-in: Add tests of clog10.
44298 * math/auto-libm-test-out: Regenerated.
44299 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
44300 * sysdeps/i386/fpu/libm-test-ulps: Update.
44301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44302
44303 2014-02-18 Andreas Schwab <schwab@suse.de>
44304
44305 [BZ #16574]
44306 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
44307 Store non-zero if the second buffer was newly allocated.
44308 (send_dg): Likewise.
44309 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
44310 to send_vc and send_dg.
44311 (res_nsend): Pass NULL for ansp2_malloced.
44312 * resolv/res_query.c (__libc_res_nquery): Add parameter
44313 answerp2_malloced and pass it down to __libc_res_nsend.
44314 (res_nquery): Pass additional NULL to __libc_res_nquery.
44315 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
44316 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
44317 second answer buffer if answerp2_malloced was set.
44318 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
44319 (__libc_res_nquerydomain): Add parameter
44320 answerp2_malloced and pass it down to __libc_res_nquery.
44321 (res_nquerydomain): Pass additional NULL to
44322 __libc_res_nquerydomain.
44323 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
44324 additional NULL to __libc_res_nsend and __libc_res_nquery.
44325 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
44326 additional NULL to __libc_res_nsearch.
44327 (_nss_dns_gethostbyname4_r): Revert last change. Use new
44328 parameter of __libc_res_nsearch to check for separately allocated
44329 second buffer.
44330 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
44331 __libc_res_nquery.
44332 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
44333 additional NULL to __libc_res_nquery.
44334 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
44335 __libc_res_nsearch.
44336 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
44337 * include/resolv.h: Update prototypes of __libc_res_nquery,
44338 __libc_res_nsearch, __libc_res_nsend.
44339
44340 2014-02-18 Joseph Myers <joseph@codesourcery.com>
44341
44342 * math/auto-libm-test-in: Add tests of fma.
44343 * math/auto-libm-test-out: Regenerated.
44344 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
44345 (fma_towardzero_test_data): Likewise.
44346 (fma_downward_test_data): Likewise.
44347 (fma_upward_test_data): Likewise.
44348 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
44349 mpc_mode.
44350 (rounding_modes): Add values for new field.
44351 (func_calc_method): Add value mpfr_fff_f.
44352 (func_calc_desc): Add mpfr_fff_f union field.
44353 (test_function): Add field exact_args.
44354 (FUNC): Add macro argument EXACT_ARGS.
44355 (FUNC_mpfr_f_f): Update call to FUNC.
44356 (FUNC_mpfr_f_f): Likewise.
44357 (FUNC_mpfr_ff_f): Likewise.
44358 (FUNC_mpfr_if_f): Likewise.
44359 (FUNC_mpc_c_f): Likewise.
44360 (FUNC_mpc_c_c): Likewise.
44361 (test_functions): Add fma. Update calls to FUNC.
44362 (handle_input_arg): Add argument exact_args.
44363 (add_test): Update call to handle_input_arg.
44364 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
44365 (output_for_one_input_case): Update call to calc_generic_results.
44366 Recalculate exact zero results in each rounding mode.
44367
44368 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
44369 non-negative before setting low bit.
44370 * math/auto-libm-test-in: Mark one asin test possibly having
44371 spurious underflow.
44372 * math/auto-libm-test-out: Regenerated.
44373 * sysdeps/i386/fpu/libm-test-ulps: Update.
44374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44375
44376 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
44377
44378 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
44379 * sysdeps/unix/sysv/linux/microblaze: Move directory from
44380 ports/sysdeps/unix/sysv/linux/microblaze.
44381 * README: Add missing listing for microblaze*-*-linux-gnu.
44382
44383 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
44384
44385 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
44386 duplicate code
44387
44388 2014-02-16 Mike Frysinger <vapier@gentoo.org>
44389
44390 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
44391 * sysdeps/unix/sysv/linux/ia64: Move directory from
44392 ports/sysdeps/unix/sysv/linux/ia64.
44393 * README: Update listing for ia64-*-linux-gnu.
44394
44395 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
44396 Joseph Myers <joseph@codesourcery.com>
44397
44398 * Makeconfig (test-name): New variable.
44399 (evaluate-test): Likewise.
44400 * Makerules (do-test-clean): Remove .test-result files.
44401 (common-mostlyclean): Likewise.
44402 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
44403 * scripts/evaluate-test.sh: New file.
44404
44405 2014-02-14 Joseph Myers <joseph@codesourcery.com>
44406
44407 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
44408 separate $(objpfx)tst-fopenloc-cmp.out and
44409 $(objpfx)tst-fopenloc-mem.out targets.
44410 (tests): Update dependencies.
44411 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
44412 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
44413 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
44414 (tst-rxspencer-no-utf8-ARGS): New variable.
44415 (tst-rxspencer-no-utf8-ENV): Likewise.
44416 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
44417 instead of $(objpfx)tst-rxspencer-mem.
44418 ($(objpfx)tst-rxspencer-mem): Change target to
44419 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
44420 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
44421 * posix/tst-rxspencer-no-utf8.c: New file.
44422
44423 * elf/Makefile ($(objpfx)order.out): Remove rule.
44424 [$(run-built-tests) = yes] (tests): Depend on
44425 $(objpfx)order-cmp.out.
44426 ($(objpfx)order-cmp.out): New rule.
44427 [$(run-built-tests) = yes] (tests): Depend on
44428 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
44429 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
44430 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
44431 $(objpfx)tst-array5-static-cmp.out.
44432 ($(objpfx)tst-array1.out): Remove rule.
44433 ($(objpfx)tst-array1-cmp.out): New rule.
44434 ($(objpfx)tst-array1-static.out): Remove rule.
44435 ($(objpfx)tst-array1-static-cmp.out): New rule.
44436 ($(objpfx)tst-array2.out): Remove rule.
44437 ($(objpfx)tst-array2-cmp.out): New rule.
44438 ($(objpfx)tst-array3.out): Remove rule.
44439 ($(objpfx)tst-array3-cmp.out): New rule.
44440 ($(objpfx)tst-array4.out): Remove rule.
44441 ($(objpfx)tst-array4-cmp.out): New rule.
44442 ($(objpfx)tst-array5.out): Remove rule.
44443 ($(objpfx)tst-array5-cmp.out): New rule.
44444 ($(objpfx)tst-array5-static.out): Remove rule.
44445 ($(objpfx)tst-array5-static-cmp.out): New rule.
44446 [$(run-built-tests) = yes] (tests): Depend on
44447 $(objpfx)order2-cmp.out.
44448 ($(objpfx)order2.out): Remove rule.
44449 ($(objpfx)order2-cmp.out): New rule.
44450 ($(objpfx)tst-initorder.out): Remove rule.
44451 [$(run-built-tests) = yes] (tests): Depend on
44452 $(objpfx)tst-initorder-cmp.out.
44453 ($(objpfx)tst-initorder-cmp.out): New rule.
44454 ($(objpfx)tst-initorder2.out): Remove rule.
44455 [$(run-built-tests) = yes] (tests): Depend on
44456 $(objpfx)tst-initorder2-cmp.out.
44457 ($(objpfx)tst-initorder2-cmp.out): New rule.
44458 [$(run-built-tests) = yes] (tests): Depend on
44459 $(objpfx)tst-unused-dep-cmp.out.
44460 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
44461 ($(objpfx)tst-unused-dep-cmp.out): New rule.
44462 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
44463 on $(objpfx)tst-setvbuf1-cmp.out.
44464 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
44465 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
44466 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
44467 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
44468 ($(objpfx)tst-svc.out): Remove rule.
44469 ($(objpfx)tst-svc-cmp.out): New rule.
44470
44471 2014-02-13 Joseph Myers <joseph@codesourcery.com>
44472
44473 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
44474 * ctype/ctype.h [__USE_MISC]: Likewise.
44475 * dirent/dirent.h [__USE_MISC]: Likewise.
44476 * grp/grp.h [__USE_MISC]: Likewise.
44477 * io/fcntl.h [__USE_MISC]: Likewise.
44478 * io/sys/stat.h [__USE_MISC]: Likewise.
44479 * libio/stdio.h [__USE_MISC]: Likewise.
44480 * posix/unistd.h [__USE_MISC]: Likewise.
44481 * pwd/pwd.h [__USE_MISC]: Likewise.
44482 * stdlib.h [__USE_MISC]: Likewise.
44483 * string/bits/string2.h [__USE_MISC]: Likewise.
44484 * string/string.h [__USE_MISC]: Likewise.
44485 * time/time.h [__USE_MISC]: Likewise.
44486
44487 2014-02-13 Andreas Schwab <schwab@suse.de>
44488
44489 [BZ #16574]
44490 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
44491 second answer buffer if it was separately allocated.
44492
44493 2014-02-12 Joseph Myers <joseph@codesourcery.com>
44494
44495 * sysdeps/mips/math-tests.h: Include <features.h>.
44496 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44497 (ROUNDING_TESTS_long_double): Do not define.
44498 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44499 (EXCEPTION_TESTS_long_double): Likewise.
44500 * sysdeps/mips/mips64/libm-test-ulps: Update.
44501
44502 * include/features.h (__USE_BSD): Remove macro definitions.
44503 (__USE_SVID): Likewise.
44504 (_BSD_SOURCE): Likewise.
44505 (_SVID_SOURCE): Likewise.
44506 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
44507 from definition of _DEFAULT_SOURCE.
44508 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
44509 [_DEFAULT_SOURCE].
44510 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
44511 * bits/mman.h [__USE_BSD]: Likewise.
44512 * bits/termios.h [__USE_BSD]: Likewise.
44513 * bits/waitstatus.h [__USE_BSD]: Likewise.
44514 * ctype/ctype.h [__USE_SVID]: Likewise.
44515 * dirent/dirent.h [__USE_BSD]: Likewise.
44516 * grp/grp.h [__USE_SVID]: Likewise.
44517 [__USE_BSD]: Likewise.
44518 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
44519 * io/fcntl.h [__USE_BSD]: Likewise.
44520 * io/ftw.h [__USE_BSD]: Likewise.
44521 * io/sys/stat.h [__USE_BSD]: Likewise.
44522 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
44523 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
44524 * libio/stdio.h [__USE_SVID]: Likewise.
44525 [__USE_BSD]: Likewise.
44526 * math/math.h [__USE_SVID]: Likewise.
44527 [__USE_BSD]: Likewise.
44528 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
44529 * misc/bits/syslog.h [__USE_BSD]: Likewise.
44530 * misc/search.h [__USE_SVID]: Likewise.
44531 * misc/sys/mman.h [__USE_BSD]: Likewise.
44532 * misc/sys/syslog.h [__USE_BSD]: Likewise.
44533 * misc/sys/uio.h [__USE_BSD]: Likewise.
44534 * posix/bits/unistd.h [__USE_BSD]: Likewise.
44535 * posix/glob.h [__USE_BSD]: Likewise.
44536 * posix/regex.h [__USE_BSD]: Likewise.
44537 * posix/sys/types.h [__USE_BSD]: Likewise.
44538 [__USE_SVID]: Likewise.
44539 * posix/sys/utsname.h [__USE_SVID]: Likewise.
44540 * posix/sys/wait.h [__USE_BSD]: Likewise.
44541 [__USE_SVID]: Likewise.
44542 * posix/unistd.h [__USE_BSD]: Likewise.
44543 [__USE_SVID]: Likewise.
44544 * pwd/pwd.h [__USE_SVID]: Likewise.
44545 * resolv/netdb.h [__USE_BSD]: Likewise.
44546 * setjmp/setjmp.h [__USE_BSD]: Likewise.
44547 * signal/signal.h [__USE_BSD]: Likewise.
44548 [__USE_SVID]: Likewise.
44549 * socket/sys/socket.h [__USE_BSD]: Likewise.
44550 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
44551 * stdlib/stdlib.h [__USE_BSD]: Likewise.
44552 [__USE_SVID]: Likewise.
44553 * string/bits/string2.h [__USE_BSD]: Likewise.
44554 [__USE_SVID]: Likewise.
44555 * string/bits/string3.h [__USE_BSD]: Likewise.
44556 * string/endian.h [__USE_BSD]: Likewise.
44557 * string/string.h [__USE_SVID]: Likewise.
44558 [__USE_BSD]: Likewise.
44559 * string/strings.h [__USE_BSD]: Likewise.
44560 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
44561 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
44562 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
44563 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
44564 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
44565 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
44566 Likewise.
44567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
44568 Likewise.
44569 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
44570 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
44571 Likewise.
44572 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
44573 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
44574 Likewise.
44575 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
44576 Likewise.
44577 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44578 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44579 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44580 Likewise.
44581 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44582 Likewise.
44583 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44584 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44585 * termios/termios.h [__USE_BSD]: Likewise.
44586 * time/sys/time.h [__USE_BSD]: Likewise.
44587 * time/time.h [__USE_BSD]: Likewise.
44588 [__USE_SVID]: Likewise.
44589
44590 * Makefile (subdir_targets): Remove subdir_lint.out.
44591
44592 * stdio-common/Makefile (do-tst-unbputc): Remove target.
44593 (do-tst-printf): Likewise.
44594 (tests): Depend directly on $(objpfx)tst-unbputc.out and
44595 $(objpfx)tst-printf.out.
44596
44597 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44598
44599 * Makerules (check-abi-%): Change target to
44600 $(objpfx)check-abi-%.out.
44601 (check-abi target): Update dependencies.
44602 (check-abi-pattern variable): Redirect output of diff to $@.
44603 (check-abi variable): Likewise.
44604 * elf/Makefile (check-abi): Update dependencies.
44605
44606 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44607 unused.
44608 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44609 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44610 subnormal range.
44611 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44612 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44613 value has largest subnormal exponent.
44614 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44615 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44616 * sysdeps/aarch64/soft-fp/sfp-machine.h
44617 (_FP_TININESS_AFTER_ROUNDING): New macro.
44618 * sysdeps/alpha/soft-fp/sfp-machine.h
44619 (_FP_TININESS_AFTER_ROUNDING): Likewise.
44620 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44621 Likewise.
44622 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44623 (_FP_TININESS_AFTER_ROUNDING): Likewise.
44624 * sysdeps/mips/soft-fp/sfp-machine.h
44625 (_FP_TININESS_AFTER_ROUNDING): Likewise.
44626 * sysdeps/powerpc/soft-fp/sfp-machine.h
44627 (_FP_TININESS_AFTER_ROUNDING): Likewise.
44628 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44629 Likewise.
44630 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44631 (_FP_TININESS_AFTER_ROUNDING): Likewise.
44632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44633 (_FP_TININESS_AFTER_ROUNDING): Likewise.
44634 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44635 Likewise.
44636
44637 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
44638
44639 [BZ #16545]
44640 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44641 model 1.
44642
44643 2014-02-12 Richard Henderson <rth@redhat.com>
44644
44645 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44646 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44647 * sysdeps/unix/sysv/linux/alpha: Move directory from
44648 ports/sysdeps/unix/sysv/linux/alpha.
44649 * README: Update listing for alpha-*-linux-gnu.
44650
44651 2014-02-11 Joseph Myers <joseph@codesourcery.com>
44652
44653 * include/features.h: Update comment documenting feature test
44654 macros.
44655 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
44656 _DEFAULT_SOURCE.
44657 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44658 (_SVID_SOURCE): Likewise.
44659 (_DEFAULT_SOURCE): Update description of default features.
44660 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44661 with _GNU_SOURCE.
44662 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44663 (S_ISVTX): Likewise.
44664 * manual/math.texi (Mathematical Constants): Likewise.
44665 * manual/signal.texi (Interrupted Primitives): Likewise.
44666 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44667 * math/test-matherr.c (_SVID_SOURCE): Do not define.
44668 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44669 Don't refer to _SVID_SOURCE in warning text.
44670
44671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44672
44673 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44674 already defined.
44675 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44676 * sysdeps/mips/dl-lookup.c: Remove.
44677 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44678
44679 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
44680
44681 [BZ #16447]
44682 * math/auto-libm-test-in: Add testcase for expl.
44683 * math/auto-libm-test-out: Regenerate.
44684 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44685 calculation of unsafe.
44686 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44687
44688 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
44689
44690 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44691 * sysdeps/unix/sysv/linux/aarch64: Move directory from
44692 ports/sysdeps/unix/sysv/linux/aarch64.
44693 * README: Update listing for aarch64*-*-linux-gnu.
44694
44695 2014-02-11 Will Newton <will.newton@linaro.org>
44696
44697 * manual/probes.texi (Mathematical Function Probes): Use
44698 "triggered" instead of "hit".
44699
44700 * manual/probes.texi (Internal Probes): Add documentation
44701 of setjmp, longjmp and longjmp_target probes.
44702
44703 * include/stap-probe.h: Add comment about probe argument
44704 format.
44705
44706 * malloc/mtrace.c (attribute_hidden): Remove unused macro
44707 definition. (tr_where, tr_freehook, tr_mallochook,
44708 tr_reallochook, tr_memalignhook): Use ANSI protoype.
44709
44710 2014-02-11 David S. Miller <davem@davemloft.net>
44711
44712 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44713 processing int_tests.
44714
44715 2014-02-10 Joseph Myers <joseph@codesourcery.com>
44716
44717 * sysdeps/mips: Move directory from ports/sysdeps/mips.
44718 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44719 * sysdeps/unix/sysv/linux/mips: Move directory from
44720 ports/sysdeps/unix/sysv/linux/mips.
44721 * README: Update listing for mips-*-linux-gnu and
44722 mips64-*-linux-gnu.
44723
44724 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
44725
44726 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44727 * sysdeps/unix/sysv/linux/m68k: Move directory from
44728 ports/sysdeps/unix/sysv/linux/m68k.
44729 * README: Update listing for m68k-*-linux-gnu.
44730
44731 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
44732
44733 * sysdeps/tile: Move directory from ports/sysdeps/tile.
44734 * sysdeps/unix/sysv/linux/generic: Move directory from
44735 ports/sysdeps/unix/sysv/linux/generic.
44736 * sysdeps/unix/sysv/linux/tile: Move directory from
44737 ports/sysdeps/unix/sysv/linux/tile.
44738 * README: Update listing for tile*-*-linux-gnu.
44739
44740 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
44741
44742 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44743 __builtin_expect.
44744 * benchtests/bench-memmem.c (simple_memmem): Likewise.
44745 * catgets/open_catalog.c (__open_catalog): Likewise.
44746 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44747 * debug/confstr_chk.c: Likewise.
44748 * debug/fread_chk.c (__fread_chk): Likewise.
44749 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44750 * debug/getgroups_chk.c: Likewise.
44751 * debug/mbsnrtowcs_chk.c: Likewise.
44752 * debug/mbsrtowcs_chk.c: Likewise.
44753 * debug/mbstowcs_chk.c: Likewise.
44754 * debug/memcpy_chk.c: Likewise.
44755 * debug/memmove_chk.c: Likewise.
44756 * debug/mempcpy_chk.c: Likewise.
44757 * debug/memset_chk.c: Likewise.
44758 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44759 * debug/strcat_chk.c (__strcat_chk): Likewise.
44760 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44761 * debug/strncat_chk.c (__strncat_chk): Likewise.
44762 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44763 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44764 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44765 * debug/wcpncpy_chk.c: Likewise.
44766 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44767 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44768 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44769 * debug/wcsncpy_chk.c: Likewise.
44770 * debug/wcsnrtombs_chk.c: Likewise.
44771 * debug/wcsrtombs_chk.c: Likewise.
44772 * debug/wcstombs_chk.c: Likewise.
44773 * debug/wmemcpy_chk.c: Likewise.
44774 * debug/wmemmove_chk.c: Likewise.
44775 * debug/wmempcpy_chk.c: Likewise.
44776 * debug/wmemset_chk.c: Likewise.
44777 * dirent/scandirat.c (SCANDIRAT): Likewise.
44778 * dlfcn/dladdr1.c (dladdr1): Likewise.
44779 * dlfcn/dladdr.c (dladdr): Likewise.
44780 * dlfcn/dlclose.c (dlclose_doit): Likewise.
44781 * dlfcn/dlerror.c (__dlerror): Likewise.
44782 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44783 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44784 * dlfcn/dlopen.c (dlopen_doit): Likewise.
44785 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44786 * dlfcn/dlsym.c (dlsym_doit): Likewise.
44787 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44788 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44789 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44790 Likewise.
44791 * elf/dl-conflict.c: Likewise.
44792 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44793 * elf/dl-dst.h: Likewise.
44794 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44795 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44796 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44797 * elf/dl-init.c (call_init, _dl_init): Likewise.
44798 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44799 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44800 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44801 Likewise.
44802 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44803 Likewise.
44804 * elf/dl-minimal.c (__libc_memalign): Likewise.
44805 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44806 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44807 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44808 * elf/dl-sym.c (do_sym): Likewise.
44809 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44810 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44811 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44812 * elf/dl-writev.h (_dl_writev): Likewise.
44813 * elf/ldconfig.c (search_dir): Likewise.
44814 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44815 (dl_main): Likewise.
44816 * elf/setup-vdso.h (setup_vdso): Likewise.
44817 * grp/compat-initgroups.c (compat_call): Likewise.
44818 * grp/fgetgrent.c (fgetgrent): Likewise.
44819 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44820 * grp/putgrent.c (putgrent): Likewise.
44821 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44822 Likewise.
44823 * hurd/hurdinit.c: Likewise.
44824 * iconvdata/8bit-gap.c (struct): Likewise.
44825 * iconvdata/ansi_x3.110.c : Likewise.
44826 * iconvdata/big5.c : Likewise.
44827 * iconvdata/big5hkscs.c : Likewise.
44828 * iconvdata/cp1255.c: Likewise.
44829 * iconvdata/cp1258.c : Likewise.
44830 * iconvdata/cp932.c : Likewise.
44831 * iconvdata/euc-cn.c: Likewise.
44832 * iconvdata/euc-jisx0213.c : Likewise.
44833 * iconvdata/euc-jp.c: Likewise.
44834 * iconvdata/euc-jp-ms.c : Likewise.
44835 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44836 * iconvdata/gb18030.c : Likewise.
44837 * iconvdata/gbbig5.c (const): Likewise.
44838 * iconvdata/gbgbk.c: Likewise.
44839 * iconvdata/gbk.c : Likewise.
44840 * iconvdata/ibm1364.c : Likewise.
44841 * iconvdata/ibm930.c : Likewise.
44842 * iconvdata/ibm932.c: Likewise.
44843 * iconvdata/ibm933.c : Likewise.
44844 * iconvdata/ibm935.c : Likewise.
44845 * iconvdata/ibm937.c : Likewise.
44846 * iconvdata/ibm939.c : Likewise.
44847 * iconvdata/ibm943.c: Likewise.
44848 * iconvdata/iso_11548-1.c: Likewise.
44849 * iconvdata/iso-2022-cn.c : Likewise.
44850 * iconvdata/iso-2022-cn-ext.c : Likewise.
44851 * iconvdata/iso-2022-jp-3.c: Likewise.
44852 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44853 * iconvdata/iso-2022-kr.c : Likewise.
44854 * iconvdata/iso646.c (gconv_end): Likewise.
44855 * iconvdata/iso_6937-2.c : Likewise.
44856 * iconvdata/iso_6937.c : Likewise.
44857 * iconvdata/iso8859-1.c: Likewise.
44858 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44859 * iconvdata/shift_jisx0213.c : Likewise.
44860 * iconvdata/sjis.c : Likewise.
44861 * iconvdata/t.61.c : Likewise.
44862 * iconvdata/tcvn5712-1.c : Likewise.
44863 * iconvdata/tscii.c: Likewise.
44864 * iconvdata/uhc.c : Likewise.
44865 * iconvdata/unicode.c (gconv_end): Likewise.
44866 * iconvdata/utf-16.c (gconv_end): Likewise.
44867 * iconvdata/utf-32.c (gconv_end): Likewise.
44868 * iconvdata/utf-7.c (base64): Likewise.
44869 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44870 * iconv/gconv_close.c (__gconv_close): Likewise.
44871 * iconv/gconv_open.c (__gconv_open): Likewise.
44872 * iconv/gconv_simple.c (internal_ucs4_loop_single)
44873 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44874 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44875 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44876 (ucs4le_internal_loop_single): Likewise.
44877 * iconv/iconv.c (iconv): Likewise.
44878 * iconv/iconv_close.c: Likewise.
44879 * iconv/loop.c (SINGLE): Likewise.
44880 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44881 * include/atomic.h: Likewise.
44882 * inet/inet6_option.c (option_alloc): Likewise.
44883 * intl/bindtextdom.c (set_binding_values): Likewise.
44884 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44885 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44886 * intl/localealias.c (read_alias_file): Likewise.
44887 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44888 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44889 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44890 * libio/fmemopen.c (fmemopen): Likewise.
44891 * libio/iofgets.c (_IO_fgets): Likewise.
44892 * libio/iofgets_u.c (fgets_unlocked): Likewise.
44893 * libio/iofgetws.c (fgetws): Likewise.
44894 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44895 * libio/iogetdelim.c (_IO_getdelim): Likewise.
44896 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44897 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44898 * locale/findlocale.c (_nl_find_locale): Likewise.
44899 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44900 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44901 Likewise.
44902 * locale/setlocale.c (setlocale): Likewise.
44903 * login/programs/pt_chown.c (main): Likewise.
44904 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44905 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44906 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44907 (mmap, mmap64, mremap, munmap): Likewise.
44908 * math/e_exp2l.c: Likewise.
44909 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44910 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44911 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44912 * math/s_catan.c (__catan): Likewise.
44913 * math/s_catanf.c (__catanf): Likewise.
44914 * math/s_catanh.c (__catanh): Likewise.
44915 * math/s_catanhf.c (__catanhf): Likewise.
44916 * math/s_catanhl.c (__catanhl): Likewise.
44917 * math/s_catanl.c (__catanl): Likewise.
44918 * math/s_ccosh.c (__ccosh): Likewise.
44919 * math/s_ccoshf.c (__ccoshf): Likewise.
44920 * math/s_ccoshl.c (__ccoshl): Likewise.
44921 * math/s_cexp.c (__cexp): Likewise.
44922 * math/s_cexpf.c (__cexpf): Likewise.
44923 * math/s_cexpl.c (__cexpl): Likewise.
44924 * math/s_clog10.c (__clog10): Likewise.
44925 * math/s_clog10f.c (__clog10f): Likewise.
44926 * math/s_clog10l.c (__clog10l): Likewise.
44927 * math/s_clog.c (__clog): Likewise.
44928 * math/s_clogf.c (__clogf): Likewise.
44929 * math/s_clogl.c (__clogl): Likewise.
44930 * math/s_csin.c (__csin): Likewise.
44931 * math/s_csinf.c (__csinf): Likewise.
44932 * math/s_csinh.c (__csinh): Likewise.
44933 * math/s_csinhf.c (__csinhf): Likewise.
44934 * math/s_csinhl.c (__csinhl): Likewise.
44935 * math/s_csinl.c (__csinl): Likewise.
44936 * math/s_csqrt.c (__csqrt): Likewise.
44937 * math/s_csqrtf.c (__csqrtf): Likewise.
44938 * math/s_csqrtl.c (__csqrtl): Likewise.
44939 * math/s_ctan.c (__ctan): Likewise.
44940 * math/s_ctanf.c (__ctanf): Likewise.
44941 * math/s_ctanh.c (__ctanh): Likewise.
44942 * math/s_ctanhf.c (__ctanhf): Likewise.
44943 * math/s_ctanhl.c (__ctanhl): Likewise.
44944 * math/s_ctanl.c (__ctanl): Likewise.
44945 * math/w_pow.c: Likewise.
44946 * math/w_powf.c: Likewise.
44947 * math/w_powl.c: Likewise.
44948 * math/w_scalb.c (sysv_scalb): Likewise.
44949 * math/w_scalbf.c (sysv_scalbf): Likewise.
44950 * math/w_scalbl.c (sysv_scalbl): Likewise.
44951 * misc/error.c (error_tail): Likewise.
44952 * misc/pselect.c (__pselect): Likewise.
44953 * nis/nis_callback.c (__nis_create_callback): Likewise.
44954 * nis/nis_call.c (__nisfind_server): Likewise.
44955 * nis/nis_creategroup.c (nis_creategroup): Likewise.
44956 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44957 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44958 * nis/nis_getservlist.c (nis_getservlist): Likewise.
44959 * nis/nis_lookup.c (nis_lookup): Likewise.
44960 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44961 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44962 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44963 * nis/nis_xdr.c (xdr_endpoint): Likewise.
44964 * nis/nss_compat/compat-grp.c (getgrent_next_file)
44965 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44966 * nis/nss_compat/compat-initgroups.c (add_group)
44967 (internal_getgrent_r): Likewise.
44968 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44969 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44970 * nis/nss_compat/compat-spwd.c (getspent_next_file)
44971 (internal_getspnam_r): Likewise.
44972 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44973 (_nss_nis_getaliasbyname_r): Likewise.
44974 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44975 (_nss_nis_getntohost_r): Likewise.
44976 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44977 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44978 (_nss_nis_getgrgid_r): Likewise.
44979 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44980 (internal_nis_gethostent_r, internal_gethostbyname2_r)
44981 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44982 (_nss_nis_gethostbyname4_r): Likewise.
44983 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44984 (initgroups_netid): Likewise.
44985 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44986 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44987 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44988 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44989 (_nss_nis_getprotobynumber_r): Likewise.
44990 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44991 (_nss_nis_getsecretkey): Likewise.
44992 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44993 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44994 (_nss_nis_getpwuid_r): Likewise.
44995 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44996 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44997 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44998 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44999 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
45000 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
45001 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
45002 Likewise.
45003 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
45004 (_nss_nisplus_getntohost_r): Likewise.
45005 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
45006 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
45007 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
45008 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
45009 Likewise.
45010 * nis/nss_nisplus/nisplus-initgroups.c
45011 (_nss_nisplus_initgroups_dyn): Likewise.
45012 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
45013 (_nss_nisplus_getnetbyaddr_r): Likewise.
45014 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
45015 (_nss_nisplus_getprotobynumber_r): Likewise.
45016 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
45017 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
45018 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
45019 Likewise.
45020 * nis/nss_nisplus/nisplus-service.c
45021 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
45022 (_nss_nisplus_getservbyport_r): Likewise.
45023 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
45024 (_nss_nisplus_getspnam_r): Likewise.
45025 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
45026 Likewise.
45027 * nscd/aicache.c (addhstaiX): Likewise.
45028 * nscd/cache.c (cache_search, prune_cache): Likewise.
45029 * nscd/connections.c (register_traced_file, send_ro_fd)
45030 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
45031 (main_loop_epoll): Likewise.
45032 * nscd/grpcache.c (addgrbyX): Likewise.
45033 * nscd/hstcache.c (addhstbyX): Likewise.
45034 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45035 * nscd/mem.c (gc, mempool_alloc): Likewise.
45036 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
45037 (addinnetgrX): Likewise.
45038 * nscd/nscd-client.h (__nscd_acquire_maplock)
45039 (__nscd_drop_map_ref): Likewise.
45040 * nscd/nscd_getai.c (__nscd_getai): Likewise.
45041 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
45042 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
45043 Likewise.
45044 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
45045 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45046 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
45047 (__nscd_get_map_ref): Likewise.
45048 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
45049 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
45050 Likewise.
45051 * nscd/pwdcache.c (addpwbyX): Likewise.
45052 * nscd/selinux.c (preserve_capabilities): Likewise.
45053 * nscd/servicescache.c (addservbyX): Likewise.
45054 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
45055 * posix/fnmatch.c (fnmatch): Likewise.
45056 * posix/getopt.c (_getopt_internal_r): Likewise.
45057 * posix/glob.c (glob, glob_in_dir): Likewise.
45058 * posix/wordexp.c (exec_comm_child): Likewise.
45059 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
45060 (getanswer_r, gaih_getanswer_slice): Likewise.
45061 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
45062 * resolv/res_init.c: Likewise.
45063 * resolv/res_mkquery.c (res_nmkquery): Likewise.
45064 * resolv/res_query.c (__libc_res_nquery): Likewise.
45065 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
45066 Likewise.
45067 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
45068 * stdio-common/perror.c (perror): Likewise.
45069 * stdio-common/printf_fp.c (___printf_fp): Likewise.
45070 * stdio-common/tmpnam.c (tmpnam): Likewise.
45071 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45072 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
45073 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
45074 Likewise.
45075 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
45076 * stdlib/putenv.c (putenv): Likewise.
45077 * stdlib/setenv.c (__add_to_environ): Likewise.
45078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45079 * stdlib/strtol_l.c (INTERNAL): Likewise.
45080 * string/memmem.c (memmem): Likewise.
45081 * string/strerror.c (strerror): Likewise.
45082 * string/strnlen.c (__strnlen): Likewise.
45083 * string/test-memmem.c (simple_memmem): Likewise.
45084 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
45085 * sunrpc/pm_getport.c (__get_socket): Likewise.
45086 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
45087 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
45088 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
45089 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
45090 Likewise.
45091 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
45092 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
45093 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
45094 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
45095 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
45096 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
45097 Likewise.
45098 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
45099 Likewise.
45100 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
45101 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
45102 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45103 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
45104 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
45105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
45106 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45107 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
45108 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
45109 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
45110 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45111 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
45112 Likewise.
45113 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
45114 Likewise.
45115 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
45116 Likewise.
45117 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
45118 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45119 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
45120 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
45121 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
45122 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
45123 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
45125 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
45126 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
45127 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
45128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45129 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45130 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
45131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45132 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
45133 Likewise.
45134 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
45135 Likewise.
45136 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
45137 Likewise.
45138 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
45139 Likewise.
45140 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45142 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
45143 Likewise.
45144 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
45145 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
45146 * sysdeps/posix/opendir.c (__opendirat): Likewise.
45147 * sysdeps/posix/sleep.c: Likewise.
45148 * sysdeps/posix/tempname.c: Likewise.
45149 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
45150 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45151 Likewise.
45152 * sysdeps/powerpc/powerpc32/dl-machine.h
45153 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
45154 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45155 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45156 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
45157 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
45158 Likewise.
45159 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
45160 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
45161 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
45162 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
45163 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
45164 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
45165 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
45166 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
45167 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45168 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
45169 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
45170 (elf_machine_lazy_rel): Likewise.
45171 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
45173 (elf_machine_lazy_rel): Likewise.
45174 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
45175 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
45176 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
45177 * sysdeps/unix/grantpt.c (grantpt): Likewise.
45178 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
45179 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
45180 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
45181 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45182 Likewise.
45183 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
45184 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
45185 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
45186 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
45187 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45188 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45189 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
45190 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
45191 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
45192 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45193 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45194 Likewise.
45195 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
45196 (__posix_fallocate64_l64): Likewise.
45197 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
45198 (posix_fallocate): Likewise.
45199 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
45200 Likewise.
45201 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45202 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
45203 (getifaddrs_internal): Likewise.
45204 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
45205 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
45206 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
45207 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
45208 * sysdeps/unix/sysv/linux/posix_fallocate64.c
45209 (__posix_fallocate64_l64): Likewise.
45210 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
45211 Likewise.
45212 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
45213 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
45214 (__get_clockfreq): Likewise.
45215 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
45216 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
45217 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
45218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45220 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
45221 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
45222 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
45223 Likewise.
45224 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
45225 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
45226 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
45227 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
45228 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45229 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
45230 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
45231 Likewise.
45232 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45233 (posix_fallocate): Likewise.
45234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45235 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
45236 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
45237 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
45238 (elf_machine_rela, elf_machine_rela_relative)
45239 (elf_machine_lazy_rel): Likewise.
45240 * time/asctime.c (asctime_internal): Likewise.
45241 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
45242 * time/tzset.c (__tzset_parse_tz): Likewise.
45243 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45244 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45245 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
45246 * wcsmbs/wcsmbsload.h: Likewise.
45247
45248 [BZ #15894]
45249 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
45250
45251 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
45252 (arena_get2): Remove THREAD_STATS conditionals.
45253 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
45254 (__malloc_stats, int): Likewise.
45255
45256 2014-02-08 Mike Frysinger <vapier@gentoo.org>
45257
45258 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
45259 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
45260
45261 * manual/setjmp.texi: Fix typos/grammar errors.
45262
45263 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
45264 Only return early when n is <= 0. Delete unused return statement.
45265
45266 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
45267 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
45268 * debug/tst-longjmp_chk3.c: New file.
45269
45270 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
45271 (test_main): Replace code with set_fortify_handler call.
45272 * debug/test-strcpy_chk.c: Likewise.
45273 * debug/tst-chk1.c: Likewise.
45274 * debug/tst-longjmp_chk.c: Likewise.
45275 * test-skeleton.c: Include fcntl.h & paths.h
45276 (set_fortify_handler): Define.
45277
45278 * debug/tst-longjmp_chk.c: Add header comment and include
45279 ../test-skeleton.c.
45280 (do_test): Mark static.
45281 (TEST_FUNCTION): Define.
45282
45283 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
45284 (IP_PMTUDISC_INTERFACE): Likewise.
45285 (IP_MULTICAST_IF): Likewise.
45286 (IP_MULTICAST_TTL): Likewise.
45287 (IP_MULTICAST_LOOP): Likewise.
45288 (IP_ADD_MEMBERSHIP): Likewise.
45289 (IP_DROP_MEMBERSHIP): Likewise.
45290 (IP_UNBLOCK_SOURCE): Likewise.
45291 (IP_BLOCK_SOURCE): Likewise.
45292 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
45293 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
45294 (IP_MSFILTER): Likewise.
45295 (MCAST_JOIN_GROUP): Likewise.
45296 (MCAST_BLOCK_SOURCE): Likewise.
45297 (MCAST_UNBLOCK_SOURCE): Likewise.
45298 (MCAST_LEAVE_GROUP): Likewise.
45299 (MCAST_JOIN_SOURCE_GROUP): Likewise.
45300 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
45301 (MCAST_MSFILTER): Likewise.
45302 (IP_MULTICAST_ALL): Likewise.
45303 (IP_UNICAST_IF): Likewise.
45304
45305 * timezone/Makefile: Delete $(have-ksh) check.
45306 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
45307 * timezone/tzselect.ksh: Add +x mode bits.
45308
45309 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
45310 (ANON_INODE_FS_MAGIC): Likewise.
45311 (BDEVFS_MAGIC): Likewise.
45312 (BINFMTFS_MAGIC): Likewise.
45313 (BTRFS_TEST_MAGIC): Likewise.
45314 (CRAMFS_MAGIC_WEND): Likewise.
45315 (DEBUGFS_MAGIC): Likewise.
45316 (ECRYPTFS_SUPER_MAGIC): Likewise.
45317 (EXT3_SUPER_MAGIC): Likewise.
45318 (EXT4_SUPER_MAGIC): Likewise.
45319 (FUTEXFS_SUPER_MAGIC): Likewise.
45320 (HOSTFS_SUPER_MAGIC): Likewise.
45321 (HUGETLBFS_MAGIC): Likewise.
45322 (MINIX3_SUPER_MAGIC): Likewise.
45323 (MTD_INODE_FS_MAGIC): Likewise.
45324 (NILFS_SUPER_MAGIC): Likewise.
45325 (OPENPROM_SUPER_MAGIC): Likewise.
45326 (PIPEFS_MAGIC): Likewise.
45327 (PSTOREFS_MAGIC): Likewise.
45328 (QNX6_SUPER_MAGIC): Likewise.
45329 (RAMFS_MAGIC): Likewise.
45330 (REISERFS_SUPER_MAGIC_STRING): Likewise.
45331 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
45332 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
45333 (SECURITYFS_MAGIC): Likewise.
45334 (SELINUX_MAGIC): Likewise.
45335 (SMACK_MAGIC): Likewise.
45336 (SOCKFS_MAGIC): Likewise.
45337 (SQUASHFS_MAGIC): Likewise.
45338 (STACK_END_MAGIC): Likewise.
45339 (TMPFS_MAGIC): Likewise.
45340 (USBDEVICE_SUPER_MAGIC): Likewise.
45341 (V9FS_MAGIC): Likewise.
45342 (XENFS_SUPER_MAGIC): Likewise.
45343 (CRAMFS_MAGIC): Fix typo in comment.
45344 (EXT2_SUPER_MAGIC): Update comment.
45345 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
45346
45347 2014-02-08 Joseph Myers <joseph@codesourcery.com>
45348
45349 * sysdeps/arm: Move directory from ports/sysdeps/arm.
45350 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
45351 * sysdeps/unix/sysv/linux/arm: Move directory from
45352 ports/sysdeps/unix/sysv/linux/arm.
45353 * README: Update listing for arm-*-linux-gnueabi.
45354
45355 * README: Remove mention of am33.
45356
45357 2014-02-07 Roland McGrath <roland@hack.frob.com>
45358
45359 * bits/sigset.h (__sigemptyset): Use a statement expression rather
45360 than the comma operator, to avoid "rhs of comma has no effect"
45361 compiler warnings.
45362 (__sigfillset, __sigandset, __sigorset): Likewise.
45363 * include/signal.h (__sigemptyset): Likewise.
45364 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
45365
45366 2014-02-07 Allan McRae <allan@archlinux.org>
45367
45368 * version.h (RELEASE): Set to "development".
45369 (VERSION): Set to "2.19.90"
45370 * NEWS: Add 2.20 section.
45371
45372 2014-02-06 Carlos O'Donell <carlos@redhat.com>
45373
45374 [BZ #16529]
45375 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
45376
45377 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45378
45379 * manual/contrib.texi: Update entry for Carlos O'Donell,
45380 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
45381
45382 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
45383
45384 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
45385
45386 * sysdeps/unix/sysv/linux/kernel-features.h
45387 [__LINUX_KERNEL_VERSION >= 0x020621]
45388 (__ASSUME_PROC_PID_TASK_COMM): Define.
45389
45390 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
45391
45392 [BZ #16398]
45393 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
45394 conversion when destination buffer does not have enough space.
45395 * libio/tst-ftell-partial-wide.c: New test case.
45396 * libio/Makefile (tests): Add tst-ftell-partial-wide.
45397
45398 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
45399 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
45400 Leonard and Allan McRae.
45401
45402 2014-02-04 David S. Miller <davem@davemloft.net>
45403
45404 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
45405 32-bit.
45406
45407 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45408
45409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45410 New file
45411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45412 New file
45413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45414 New file.
45415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45416 New file.
45417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45418 New file.
45419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45420 New file.
45421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45422 New file.
45423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45424 New file.
45425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45426 New file.
45427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45428 New file.
45429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45430 New file.
45431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45432 New file.
45433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45434 New file.
45435
45436 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45437
45438 * nptl/shlib-versions: Change powerpc*le start to 2.17.
45439 * shlib-versions: Likewise.
45440
45441 2014-02-04 Roland McGrath <roland@hack.frob.com>
45442 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45443
45444 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
45445 (abilist-pattern): New variable, set to %-le.abilist.
45446
45447 * Makerules (abilist-pattern): New variable.
45448 (vpath): Use $(abilist-pattern) in place of %.abilist.
45449 (check-abi-% pattern rule): Likewise.
45450 (check-abi, update-abi): Likewise.
45451
45452 2014-02-04 Eric Wong <normalperson@yhbt.net>
45453
45454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45455
45456 2014-02-03 Carlos O'Donell <carlos@redhat.com>
45457
45458 * manual/startup.texi: Add next, previous, and top entries for
45459 the `Program Arguments' and `Environment Variables' nodes.
45460
45461 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
45462
45463 * manual/macros.texi: Add comments before MTASC-safety macros.
45464
45465 * manual/users.texi: Document MTASC-safety properties.
45466
45467 * manual/threads.texi (pthread_key_create, pthread_key_delete)
45468 (pthread_getspecific, pthread_setspecific): Format with
45469 @deftypefun, and add @safety note.
45470 * manual/signal.texi: Move comments that analyze the above
45471 functions to their home place.
45472
45473 2014-02-03 Allan McRae <allan@archlinux.org>
45474
45475 * po/sl.po: Update Slovenian translation from translation project.
45476
45477 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
45478
45479 * manual/time.texi (timegm): Add missing blank after @c.
45480 Reported by Joseph Myers <joseph@codesourcery.com>.
45481
45482 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
45483
45484 * manual/check-safety.sh: New.
45485 * manual/Makefile ($(objpfx)stamp-summary): Run it.
45486
45487 * manual/terminal.texi: Document MTASC-safety properties.
45488
45489 * manual/filesys.texi: Document MTASC-safety properties.
45490
45491 * manual/errno.texi: Document MTASC-safety properties.
45492
45493 * manual/intro.texi: Document safety identifiers and
45494 conditionals.
45495
45496 * manual/string.texi (wcstok): Fix prototype.
45497 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
45498
45499 * manual/time.texi: Document MTASC-safety properties.
45500
45501 * manual/string.texi: Document MTASC-safety properties.
45502
45503 * manual/threads.texi: Document MTASC-safety properties.
45504
45505 * manual/stdio.texi: Document MTASC-safety properties.
45506
45507 * manual/syslog.texi: Document MTASC-safety properties.
45508
45509 * manual/sysinfo.texi: Document MTASC-safety properties.
45510
45511 * manual/startup.texi: Document MTASC-safety properties.
45512
45513 * manual/socket.texi: Document MTASC-safety properties.
45514
45515 * manual/signal.texi: Document MTASC-safety properties.
45516
45517 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
45518
45519 * manual/setjmp.texi: Document MTASC-safety properties.
45520
45521 * manual/search.texi: Document MTASC-safety properties.
45522
45523 * manual/resource.texi: Document MTASC-safety properties.
45524
45525 * manual/process.texi: Document MTASC-safety properties.
45526
45527 * manual/platform.texi: Document MTASC-safety properties.
45528
45529 * manual/pipe.texi: Document MTASC-safety properties.
45530
45531 * manual/pattern.texi: Document MTASC-safety properties.
45532
45533 * manual/message.texi: Document MTASC-safety properties.
45534
45535 [BZ #12751]
45536 * manual/memory.texi: Document MTASC-safety properties.
45537
45538 * manual/math.texi: Document MTASC-safety properties.
45539
45540 * manual/locale.texi: Document MTASC-safety properties.
45541
45542 * manual/llio.texi: Document MTASC-safety properties.
45543
45544 * manual/libdl.texi: New.
45545
45546 * manual/lang.texi: Document MTASC-safety properties.
45547
45548 * manual/job.texi: Document MTASC-safety properties.
45549
45550 * manual/getopt.texi: Document MTASC-safety properties.
45551
45552 * manual/ctype.texi: Document MTASC-safety properties.
45553
45554 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
45555
45556 [BZ #16046]
45557 * csu/libc-tls.c (static_map): Remove variable.
45558 (__libc_setup_tls): Use main executable's link map for TLS data.
45559 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
45560 casing for LM_ID_BASE and GL(dl_nns).
45561 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
45562 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
45563 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
45564 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
45565 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45566 member.
45567 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
45568 l_phnum members.
45569
45570 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
45571
45572 * manual/debug.texi: Document MTASC-safety properties.
45573
45574 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
45575
45576 [BZ #16510]
45577 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45578 of __x86_64__ when disabling x87 inline functions.
45579
45580 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
45581
45582 * manual/charset.texi: Document MTASC-safety properties.
45583
45584 * manual/crypt.texi: Document MTASC-safety properties.
45585
45586 * manual/conf.texi: Document MTASC-safety properties.
45587
45588 * manual/arith.texi: Document MTASC-safety properties.
45589
45590 * manual/argp.texi: Document MTASC-safety properties.
45591
45592 * manual/macros.texi: Introduce macros to document multi
45593 thread, asynchronous signal and asynchronous cancellation
45594 safety properties.
45595 * manual/intro.texi: Introduce the properties themselves.
45596
45597 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45598
45599 * sysdeps/sh/sh4/Makefile: New file.
45600
45601 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
45602
45603 * math/gen-libm-test.pl ($srcdir): New variable.
45604 ($auto_input): Use it.
45605
45606 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
45607
45608 [BZ #16506]
45609 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45610 access beyond array bounds when parsing netgroups file.
45611
45612 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45613 the old buffer before realloc.
45614
45615 2014-01-27 Allan McRae <allan@archlinux.org>
45616
45617 * po/fr.po: Update French translation from translation project.
45618
45619 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45620
45621 * sysdeps/sh/libm-test-ulps: Regenerate.
45622
45623 2014-01-24 David S. Miller <davem@davemloft.net>
45624
45625 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45626
45627 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45628
45629 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45630 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45631
45632 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
45633
45634 [BZ #16474]
45635 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45636 string pointers after reallocation.
45637
45638 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45639
45640 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45641 __SH4A__ instead of __SH_FPU_ANY__.
45642
45643 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45644
45645 * sysdeps/sh/fpu_control.h: New file.
45646 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45647 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45648 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45649 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45650 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45651 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45652 * sysdeps/sh/sys/ucontext.h: Remove.
45653 * sysdeps/sh/sys: Remove directory.
45654
45655 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45656
45657 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45658 s390/sys/ucontext.h.
45659 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45660 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45661
45662 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
45663
45664 [BZ #15605]
45665 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45666
45667 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45668
45669 [BZ#16431]
45670 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45671 Adjust the vDSO correctly for internal calls.
45672 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45673
45674 2014-01-20 Allan McRae <allan@archlinux.org>
45675
45676 * po/ca.po: Update Catalan translation from translation project.
45677
45678 2014-01-16 Mike Frysinger <vapier@gentoo.org>
45679
45680 * sysdeps/s390/sotruss-lib.c: New file.
45681
45682 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45683
45684 [BZ#16430]
45685 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45686 (__GI___gettimeofday): Alias for a different internal symbol to avoid
45687 local calls issues by not having a PLT stub required for IFUNC calls.
45688 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45689
45690 2014-01-16 Joseph Myers <joseph@codesourcery.com>
45691
45692 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45693 * math/test-fpucw-static.c: Likewise.
45694
45695 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45696
45697 [BZ #16453]
45698 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45699
45700 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45701
45702 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45703 implementation for powerpc.
45704
45705 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
45706
45707 [BZ #14782]
45708 * sysdeps/posix/system.c (__libc_system): Do not enable
45709 asynchronous cancellation.
45710
45711 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45712
45713 [BZ #16427]
45714 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45715 handling only for numbers special also in the IEEE case.
45716
45717 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45718
45719 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45720
45721 2014-01-11 Allan McRae <allan@archlinux.org>
45722
45723 * po/bg.po: Update Bulgarian translation from translation project.
45724
45725 * po/de.po: Update German translation from translation project.
45726
45727 2014-01-10 Roland McGrath <roland@hack.frob.com>
45728
45729 * sysdeps/generic/gcc-compat.h: New file.
45730
45731 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45732
45733 * benchtests/asin-inputs: Correct slow inputs.
45734 * benchtests/acos-inputs: Likewise.
45735
45736 2014-01-10 Allan McRae <allan@archlinux.org>
45737
45738 * po:sv.po: Update Swedish translation from translation project.
45739
45740 * po/vi.po: Update Vietnamese translation from translation project.
45741
45742 * po/eo.po: Update Esperanto translation from translation project.
45743
45744 * po/cs.po: Update Czech translation from translation project.
45745
45746 * po/nl.po: Update Dutch translation from translation project.
45747
45748 * po/pl.po: Update Polish translation from translation project.
45749
45750 * po/ru.po: Update Russian translation from translation project.
45751
45752 * po/uk.po: Update Ukrainian translation from translation project.
45753
45754 2014-01-08 Brooks Moses <bmoses@google.com>
45755
45756 * elf/dl-load.c: Fix comment typo.
45757
45758 2014-01-08 Carlos O'Donell <carlos@redhat.com>
45759
45760 * po/header.pot: Rename to...
45761 * po/pot.header: ... this.
45762 * po/Makefile: Use pot.header.
45763
45764 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
45765 Maxim Kuvyrkov <maxim@kugelworks.com>
45766
45767 [BZ #16394]
45768 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45769 SRC and DEST against LEN.
45770
45771 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45772
45773 [BZ #16414]
45774 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45775 implementation.
45776 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45777
45778 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45779
45780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45781
45782 2014-01-08 Joseph Myers <joseph@codesourcery.com>
45783
45784 [BZ #16408]
45785 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45786 for large positive arguments.
45787
45788 2014-01-07 Joseph Myers <joseph@codesourcery.com>
45789
45790 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45791
45792 * math/auto-libm-test-in: Mark various tests with
45793 xfail-rounding:ldbl-128ibm.
45794 * math/auto-libm-test-out: Regenerated.
45795
45796 [BZ #16407]
45797 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45798 Increase overflow threshold.
45799
45800 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
45801
45802 [BZ #14286]
45803 * stdio-common/vfprintf.c: Check for integer overflow.
45804
45805 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45806
45807 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45808 the first argument and return value of __tls_get_addr_internal.
45809
45810 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45811
45812 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45813 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45814
45815 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45816
45817 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45818 * sysdeps/s390/rtld-global-offsets.sym: New file.
45819 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45820 GLIBC_2.19 symbol.
45821 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45822 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45823 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45824 ... this.
45825 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45826 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45827 ... this.
45828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45829 Regenerate.
45830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45831 Regenerate.
45832 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45833 halfs of GPRs for high_gprs contexts.
45834 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45835 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
45836 field.
45837 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45838 uc_flags field.
45839 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45840 64 bit versions:
45841 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45842 for high GPRs (uc_high_gprs) and for future extensions
45843 (__reserved).
45844 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45845 for future extensions (__reserved).
45846 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45847 64 bit versions:
45848 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45849 SC_HIGHGPRS offset definition.
45850 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45851 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45852
45853 * Versions.def: Add GLIBC_2.19 for libpthread.
45854 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45855 siglongjmp for libpthread with GLIBC_2.19 symver.
45856 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45857 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45858 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45859 * sysdeps/s390/__longjmp.c: New file.
45860 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45861 * sysdeps/s390/longjmp.c: New file.
45862 * sysdeps/s390/setjmp.S: New file.
45863 * sysdeps/s390/sigjmp.S: New file.
45864 * sysdeps/s390/v1-longjmp.c: New file.
45865 * sysdeps/s390/v1-setjmp.h: New file.
45866 * sysdeps/s390/v1-sigjmp.c: New file.
45867 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45868 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45869 GLIBC_2.19 version.
45870 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45871 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45872 versioned symbols for ____longjmp_chk.
45873 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45874 Likewise.
45875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45876 Regenerate.
45877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45878 Regenerate.
45879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45880 Regenerate.
45881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45882 Regenerate.
45883 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45884 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45885 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45886 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45887 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45888 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45889 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45890 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45891 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45892 * sysdeps/s390/rtld-__longjmp.c: New file.
45893 * sysdeps/s390/rtld-setjmp.S: New file.
45894
45895 2014-01-06 Joseph Myers <joseph@codesourcery.com>
45896
45897 [BZ #16400]
45898 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45899 Return -__logl (x) for small positive arguments without evaluating
45900 a polynomial.
45901
45902 2014-01-06 Mike Frysinger <vapier@gentoo.org>
45903
45904 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45905 Rename to ...
45906 (__ptrace_peeksiginfo_args): ... this.
45907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45909 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45910
45911 2014-01-06 Allan McRae <allan@archlinux.org>
45912
45913 * inet/netinet/in.h: Fix typo in comment.
45914
45915 2014-01-05 Andreas Jaeger <aj@suse.de>
45916
45917 * sysdeps/i386/fpu/libm-test-ulps: Update.
45918
45919 2014-01-05 Allan McRae <allan@archlinux.org>
45920
45921 * po/libc.pot: Regenerated.
45922
45923 * malloc/memusagestat.c: Fix gettext call formatting.
45924
45925 2014-01-04 Sami Kerola <kerolasa@iki.fi>
45926
45927 * nscd/nscd.c: Improve usage() output.
45928
45929 2014-01-04 Mike Frysinger <vapier@gentoo.org>
45930
45931 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45932 * sysdeps/unix/sysv/linux/configure: Regenerated.
45933 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45934 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45935
45936 2014-01-03 Joseph Myers <joseph@codesourcery.com>
45937
45938 [BZ #16390]
45939 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45940 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45941
45942 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45943
45944 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45945 extra tokens at end of #undef directive.
45946 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45947 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45948 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45949
45950 2014-01-03 Joseph Myers <joseph@codesourcery.com>
45951
45952 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45953
45954 * math/auto-libm-test-in: Mark various tests with
45955 xfail-rounding:ldbl-128ibm.
45956 * math/auto-libm-test-out: Regenerated.
45957
45958 2014-01-02 Joseph Myers <joseph@codesourcery.com>
45959
45960 [BZ #16386]
45961 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45962 numbers with subnormal high part when calculating exponent.
45963
45964 [BZ #16385]
45965 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45966 fabs.
45967
45968 [BZ #16384]
45969 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45970 M_LN2l.
45971 (__ieee754_acoshl): Use __log1pl not __log1p.
45972
45973 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
45974
45975 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45976 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45977 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45978 (grow_heap, heap_trim, _int_new_arena, get_free_list)
45979 (reused_arena, arena_get2): Convert to GNU style.
45980 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45981 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45982 (memalign_check, __malloc_set_state): Likewise.
45983 * malloc/mallocbug.c (main): Likewise.
45984 * malloc/malloc.c (__malloc_assert, malloc_init_state)
45985 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45986 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45987 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45988 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45989 (__posix_memalign, malloc_info): Likewise.
45990 * malloc/malloc.h: Likewise.
45991 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45992 (mallochook, memalignhook, reallochook, mabort): Likewise.
45993 * malloc/mcheck.h: Likewise.
45994 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45995 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45996 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45997 * malloc/morecore.c (__default_morecore): Likewise.
45998 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45999 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
46000 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
46001 (print_and_abort): Likewise.
46002 * malloc/obstack.h: Likewise.
46003 * malloc/set-freeres.c (__libc_freeres): Likewise.
46004 * malloc/tst-mallocstate.c (main): Likewise.
46005 * malloc/tst-mtrace.c (main): Likewise.
46006 * malloc/tst-realloc.c (do_test): Likewise.
46007
46008 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46009
46010 [BZ #16366]
46011 * nscd/netgroupcache.c (do_notfound): New function.
46012 (addgetnetgrentX): Use it.
46013
46014 [BZ # 16365]
46015 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
46016 NSS_STATUS_NOTFOUND.
46017
46018 2014-01-01 Joseph Myers <joseph@codesourcery.com>
46019
46020 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46022
46023 2014-01-01 Allan McRae <allan@archlinux.org>
46024
46025 * scripts/update-copyrights: Update configure input file suffix.
46026
46027 * NEWS: Update copyright year.
46028 * catgets/gencat.c: Likewise.
46029 * csu/version.c: Likewise.
46030 * debug/catchsegv.sh: Likewise.
46031 * debug/pcprofiledump.c: Likewise.
46032 * debug/xtrace.sh: Likewise.
46033 * elf/ldconfig.c: Likewise.
46034 * elf/ldd.bash.in: Likewise.
46035 * elf/pldd.c: Likewise.
46036 * elf/sotruss.ksh: Likewise.
46037 * elf/sprof.c: Likewise.
46038 * iconv/iconv_prog.c: Likewise.
46039 * iconv/iconvconfig.c: Likewise.
46040 * locale/programs/locale.c: Likewise.
46041 * locale/programs/localedef.c: Likewise.
46042 * login/programs/pt_chown.c: Likewise.
46043 * malloc/memusage.sh: Likewise.
46044 * malloc/memusagestat.c: Likewise.
46045 * malloc/mtrace.pl: Likewise.
46046 * manual/libc.texinfo: Likewise.
46047 * nscd/nscd.c: Likewise.
46048 * nss/getent.c: Likewise.
46049 * nss/makedb.c: Likewise.
46050 * posix/getconf.c: Likewise.
46051 * scripts/test-installation.pl: Likewise.
46052
46053 * All files with FSF copyright notices: Update copyright dates
46054 using scripts/update-copyrights.
46055 * intl/plural.c: Regenerated.
46056 * locale/programs/charmap-kw.h: Likewise.
46057 * locale/programs/locfile-kw.h: Likewise.
46058
46059 2013-12-31 Mike Frysinger <vapier@gentoo.org>
46060
46061 * sysdeps/unix/sysv/linux/configure: Regenerated.
46062 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
46063 the linux/fanotify.h header.
46064 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
46065 HAVE_LINUX_FANOTIFY_H is defined.
46066
46067 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46068
46069 * benchtests/cos-inputs: New inputs.
46070 * benchtests/sin-inputs: Likewise.
46071
46072 * benchtests/atan-inputs: New inputs. Fix name of multiple
46073 precision fallback inputs.
46074
46075 * benchtests/atanh-inputs: New inputs.
46076 * benchtests/tanh-inputs: Likewise.
46077
46078 * benchtests/acosh-inputs: New inputs.
46079 * benchtests/asinh-inputs: Likewise.
46080
46081 * benchtests/cosh-inputs: New inputs.
46082 * benchtests/sinh-inputs: Likewise.
46083
46084 * benchtests/acos-inputs: Add more inputs.
46085 * benchtests/asin-inputs: Likewise.
46086
46087 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
46088
46089 [BZ #16375]
46090 * manual/arith.texi: Fix spelling.
46091 * manual/charset.texi: Likewise.
46092 * manual/errno.texi: Likewise.
46093 * manual/filesys.texi: Likewise.
46094 * manual/lang.texi: Likewise.
46095 * manual/llio.texi: Likewise.
46096 * manual/locale.texi: Likewise.
46097 * manual/message.texi: Likewise.
46098 * manual/resource.texi: Likewise.
46099 * manual/search.texi: Likewise.
46100 * manual/setjmp.texi: Likewise.
46101 * manual/stdio.texi: Likewise.
46102 * manual/string.texi: Likewise.
46103 * manual/sysinfo.texi: Likewise.
46104 * manual/time.texi: Likewise.
46105
46106 2013-12-27 Carlos O'Donell <carlos@redhat.com>
46107
46108 * po/sl.po: New file.
46109
46110 2013-12-27 Mike Frysinger <vapier@gentoo.org>
46111
46112 * .gitignore: Add core/.gdbinit/.gdb_history.
46113
46114 2013-12-27 Allan McRae <allan@archlinux.org>
46115
46116 [BZ #16369]
46117 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
46118 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
46119
46120 2013-12-24 Brooks Moses <bmoses@google.com>
46121
46122 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
46123 all compilers that claim C++98 compliance, not just GCC.
46124 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
46125 Likewise.
46126
46127 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
46128
46129 * NEWS: Restore accidentally deleted bug-fix entries.
46130
46131 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
46132 Ondřej Bílka <neleai@seznam.cz>
46133
46134 [BZ #15073]
46135 * malloc/malloc.c (_int_free): Perform sanity check only if we
46136 have_lock.
46137
46138 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
46139
46140 [BZ #12986]
46141 * manual/stdio.texi (String Input Conversions): Clarify that character
46142 classes are not supported.
46143
46144 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46145
46146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46147
46148 2013-12-22 Joseph Myers <joseph@codesourcery.com>
46149
46150 [BZ #16337]
46151 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
46152 Calculate results for small negative arguments directly rather
46153 than using reflection formula with special underflow handling.
46154
46155 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
46156 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
46157 sysdeps/unix/bsd/bsd4.4/syscalls.list.
46158 (fchflags): Likewise.
46159 (revoke): Likewise.
46160 (setlogin): Likewise.
46161 (sigaltstack): Likewise.
46162 (wait4): Likewise.
46163 (sigblock): Remove.
46164 (sigsetmask): Likewise.
46165 (wait3): Likewise.
46166 (waitpid): Likewise.
46167 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
46168 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
46169 file.
46170 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
46171 * sysdeps/unix/bsd/Makefile: ... here.
46172 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
46173 * sysdeps/unix/bsd/Versions: ... here.
46174 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
46175 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
46176 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
46177 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
46178 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
46179 * sysdeps/unix/bsd/sigblock.c: ... here.
46180 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
46181 * sysdeps/unix/bsd/sigsetmask.c: ... here.
46182 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
46183 * sysdeps/unix/bsd/sigvec.c: ... here.
46184 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
46185 * sysdeps/unix/bsd/tcdrain.c: ... here.
46186 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
46187 * sysdeps/unix/bsd/tcgetattr.c: ... here.
46188 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
46189 * sysdeps/unix/bsd/tcsetattr.c: ... here.
46190 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
46191 * sysdeps/unix/bsd/wait.c: ... here.
46192 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
46193 * sysdeps/unix/bsd/wait3.c: ... here.
46194 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
46195 * sysdeps/unix/bsd/waitpid.c: ... here.
46196
46197 2013-12-21 Joseph Myers <joseph@codesourcery.com>
46198
46199 [BZ #16356]
46200 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
46201 round-to-nearest for [!USE_AS_EXPM1L].
46202 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
46203 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
46204 more tests of exp and exp10. Expect some exp10 tests to miss
46205 exceptions or fail in directed rounding modes.
46206 * math/auto-libm-test-out: Regenerated.
46207 * math/libm-test.inc (exp10_tonearest_test_data): New array.
46208 (exp10_test_tonearest): New function.
46209 (exp10_towardzero_test_data): New array.
46210 (exp10_test_towardzero): New function.
46211 (exp10_downward_test_data): New array.
46212 (exp10_test_downward): New function.
46213 (exp10_upward_test_data): New array.
46214 (exp10_test_upward): New function.
46215 (main): Call the new functions.
46216 * sysdeps/i386/fpu/libm-test-ulps: Update.
46217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46218
46219 2013-12-20 Joseph Myers <joseph@codesourcery.com>
46220
46221 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
46222 asinh, atan, atan2, atanh, cbrt, cos and cosh.
46223 * math/auto-libm-test-out: Regenerated.
46224 * math/libm-test.inc (acosh_test_data): Add more tests.
46225 (atanh_test_data): Likewise.
46226 (ceil_test_data): Likewise.
46227 (copysign_test_data): Likewise.
46228 * sysdeps/i386/fpu/libm-test-ulps: Update.
46229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46230
46231 * timezone/checktab.awk: Update from tzcode 2013i.
46232 * timezone/private.h: Likewise.
46233 * timezone/scheck.c: Likewise.
46234 * timezone/tzfile.h: Likewise.
46235 * timezone/tzselect.ksh: Likewise.
46236 * timezone/zdump.c: Likewise.
46237 * timezone/zic.c: Likewise.
46238
46239 * math/auto-libm-test-in: Add tests of cpow.
46240 * math/auto-libm-test-out: Regenerated.
46241 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
46242 * math/gen-auto-libm-tests.c (func_calc_method): Add value
46243 mpc_cc_c.
46244 (func_calc_desc): Add mpc_cc_c union field.
46245 (test_functions): Add cpow.
46246 (special_fill_2pi): New function.
46247 (special_real_inputs): Add 2pi.
46248 (calc_generic_results): Handle mpc_cc_c.
46249 * sysdeps/i386/fpu/libm-test-ulps: Update.
46250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46251
46252 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
46253 csqrt, ctan and ctanh.
46254 * math/auto-libm-test-out: Regenerated.
46255 * math/libm-test.inc (TEST_COND_x86_64): New macro.
46256 (TEST_COND_x86): Likewise.
46257 (ccos_test_data): Use AUTO_TESTS_c_c.
46258 (ccosh_test_data): Likewise.
46259 (cexp_test_data): Likewise.
46260 (clog_test_data): Likewise.
46261 (csqrt_test_data): Likewise.
46262 (ctan_test_data): Likewise.
46263 (ctan_tonearest_test_data): Likewise.
46264 (ctan_towardzero_test_data): Likewise.
46265 (ctan_downward_test_data): Likewise.
46266 (ctan_upward_test_data): Likewise.
46267 (ctanh_test_data): Likewise.
46268 (ctanh_tonearest_test_data): Likewise.
46269 (ctanh_towardzero_test_data): Likewise.
46270 (ctanh_downward_test_data): Likewise.
46271 (ctanh_upward_test_data): Likewise.
46272 * math/gen-auto-libm-tests.c (func_calc_method): Add value
46273 mpc_c_c.
46274 (func_calc_desc): Add mpc_c_c union field.
46275 (FUNC_mpc_c_c): New macro.
46276 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
46277 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
46278 ctanh.
46279 (special_fill_min_subnorm_p120): New function.
46280 (special_real_inputs): Add min_subnorm_p120.
46281 (calc_generic_results): Handle mpc_c_c.
46282 * sysdeps/i386/fpu/libm-test-ulps: Update.
46283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46284
46285 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46286
46287 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
46288 (do_sin_slow): New functions.
46289 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
46290 (cslow2, csloww1, csloww2): Use the new functions.
46291
46292 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
46293 Use M to change sign of result instead of X. Assume X is
46294 positive.
46295 (csloww1): Likewise.
46296 (__sin): Adjust.
46297 (__cos): Adjust.
46298
46299 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
46300 arguments A and DA.
46301 (__sin): Adjust.
46302 (__cos): Likewise.
46303
46304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
46305 (__cos): Likewise.
46306 (sloww1): Don't adjust sign of DX.
46307 (csloww1): Likewise.
46308 (sloww2): Use X directly and don't adjust sign of DX.
46309 (csloww2): Likewise.
46310
46311 2013-12-19 Joseph Myers <joseph@codesourcery.com>
46312
46313 * math/auto-libm-test-in: Add tests of cabs and carg.
46314 * math/auto-libm-test-out: Regenerated.
46315 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
46316 (carg_test_data): Likewise.
46317 * math/gen-auto-libm-tests.c (func_calc_method): Add value
46318 mpc_c_f.
46319 (func_calc_desc): Add mpc_c_f union field.
46320 (test_functions): Add cabs and carg.
46321 (calc_generic_results): Handle mpc_c_f.
46322
46323 * sysdeps/powerpc/powerpc32/libgcc-compat.S
46324 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
46325 as a macro and a compat symbol.
46326 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
46327 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
46328 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
46329 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
46330 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
46331 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
46332 not use .hidden.
46333 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
46334 Likewise.
46335 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
46336 Likewise.
46337 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
46338 Likewise.
46339 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
46340 Likewise.
46341 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
46342 Likewise.
46343 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
46344 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
46345 from GLIBC_2.3.2.
46346
46347 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46348
46349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46350
46351 2013-12-19 Joseph Myers <joseph@codesourcery.com>
46352
46353 * manual/texinfo.tex: Update to version 2013-11-26.10 with
46354 trailing whitespace removed.
46355 * scripts/config.guess: Update to version 2013-11-29.
46356 * scripts/config.sub: Update to version 2013-10-01.
46357
46358 * math/auto-libm-test-in: Add tests of sincos.
46359 * math/auto-libm-test-out: Regenerated.
46360 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
46361 * math/gen-auto-libm-tests.c (func_calc_method): Add value
46362 mpfr_f_11.
46363 (func_calc_desc): Add mpfr_f_11 union field.
46364 (test_functions): Add sincos.
46365 (calc_generic_results): Handle mpfr_f_11.
46366 * sysdeps/i386/fpu/libm-test-ulps: Update.
46367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46368
46369 2013-12-19 Andreas Schwab <schwab@suse.de>
46370
46371 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
46372 CALL_MCOUNT.
46373 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46374 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
46375 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
46376
46377 2013-12-19 Joseph Myers <joseph@codesourcery.com>
46378
46379 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
46380 * sysdeps/i386/fpu/libm-test-ulps: Update.
46381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46382
46383 [BZ #16293]
46384 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
46385 round-to-nearest mode when using frndint.
46386 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
46387 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46388 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46389 Likewise.
46390 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
46391 sinh test to fail.
46392 * math/auto-libm-test-out: Regenerated.
46393 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
46394 (TEST_COND_x86): Likewise.
46395 (expm1_tonearest_test_data): New array.
46396 (expm1_test_tonearest): New function.
46397 (expm1_towardzero_test_data): New array.
46398 (expm1_test_towardzero): New function.
46399 (expm1_downward_test_data): New array.
46400 (expm1_test_downward): New function.
46401 (expm1_upward_test_data): New array.
46402 (expm1_test_upward): New function.
46403 (main): Run the new test functions.
46404 * sysdeps/i386/fpu/libm-test-ulps: Update.
46405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46406
46407 * include/features.h: Update comment documenting feature test
46408 macros. Mention _DEFAULT_SOURCE in comment.
46409 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
46410 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
46411 _BSD_SOURCE and _SVID_SOURCE.
46412 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
46413 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
46414 !_SVID_SOURCE]: Likewise.
46415 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46416 (__USE_POSIX_IMPLICITLY): Define.
46417 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46418 (_POSIX_SOURCE): Undefine and redefine.
46419 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46420 (_POSIX_C_SOURCE): Likewise.
46421 * manual/creature.texi (_DEFAULT_SOURCE): Document.
46422 (Feature Test Macros): Update documentation of default features.
46423
46424 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46425
46426 * benchtests/Makefile: Add bench-strtok.
46427 * benchtests/bench-strtok.c: New file: strtok benchtest.
46428
46429 2013-12-19 Allan McRae <allan@archlinux.org>
46430
46431 * manual/install.texi: Suppress menu for plain text output.
46432 * INSTALL: Regenerated.
46433
46434 2013-12-18 Brooks Moses <bmoses@google.com>
46435
46436 [BZ #15846]
46437 * misc/getauxval.c: Include errno.h.
46438 (__getauxval): Set errno to ENOENT if the requested type is not
46439 found.
46440 * misc/sys/auxv.h (getauxval): Document that it may set errno;
46441 don't declare with __attribute_const__.
46442 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
46443 * manual/startup.texi: Document that getauxval sets errno.
46444
46445 2013-12-18 Joseph Myers <joseph@codesourcery.com>
46446
46447 * math/auto-libm-test-in: Add tests of jn and yn.
46448 * math/auto-libm-test-out: Regenerated.
46449 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
46450 (yn_test_data): Likewise.
46451 * math/gen-auto-libm-tests.c (func_calc_method): Add value
46452 mpfr_if_f.
46453 (func_calc_desc): Add mpfr_if_f union field.
46454 (FUNC_mpfr_if_f): New macro.
46455 (test_functions): Add jn and yn.
46456 (calc_generic_results): Assert type of second input for
46457 mpfr_ff_f. Handle mpfr_if_f.
46458 (output_for_one_input_case): Disable all checking for arguments
46459 fitting floating-point types in case of an integer argument.
46460 * sysdeps/i386/fpu/libm-test-ulps: Update.
46461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46462
46463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46464 Don't expect fegetround reference in libm.so.
46465
46466 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
46467
46468 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
46469 $(config-cflags-nofma).
46470
46471 2013-12-18 Joseph Myers <joseph@codesourcery.com>
46472
46473 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
46474 * math/auto-libm-test-out: Regenerated.
46475
46476 [BZ #16338]
46477 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
46478 to determine exponent and adjust argument to have exponent of -1.
46479 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
46480 log2.
46481 * math/auto-libm-test-out: Regenerated.
46482 * sysdeps/i386/fpu/libm-test-ulps: Update.
46483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46484
46485 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
46486
46487 * manual/probes.texi: Remove cases when per-thread arenas are
46488 disabled.
46489
46490 2013-12-18 Andreas Schwab <schwab@suse.de>
46491
46492 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
46493 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
46494 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
46495 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
46496 * sysdeps/i386/i686/multiarch/Makefile: Update.
46497 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
46498
46499 2013-12-17 Joseph Myers <joseph@codesourcery.com>
46500
46501 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
46502 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
46503
46504 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
46505
46506 [BZ #15968]
46507 Support TZ transition times < 00:00:00.
46508 This is needed for version-3 tz-format files; it supports time
46509 stamps past 2037 for America/Godthab (the only entry in the tz
46510 database for which this change is relevant).
46511 * manual/time.texi (TZ Variable): Document transition times
46512 from -167:59:59 through -00:00:01.
46513 * time/tzset.c (tz_rule): Time of day is now signed.
46514 (__tzset_parse_tz): Parse negative time of day.
46515
46516 Document TZ transition times >= 25:00:00.
46517 * manual/time.texi (TZ Variable): Document transition times from
46518 25:00:00 through 167:59:59. These are already supported, and this
46519 support will help with version-3 tz-format files.
46520
46521 * manual/time.texi (TZ Variable): Modernize North America example
46522 to reflect current (i.e., 2007-and-later) daylight saving rules.
46523
46524 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
46525
46526 2013-12-17 Joseph Myers <joseph@codesourcery.com>
46527
46528 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
46529 * sysdeps/unix/bsd/bits/stat.h: Likewise.
46530 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
46531 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46532 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
46533 * sysdeps/unix/bsd/bsdstat.h: Likewise.
46534 * sysdeps/unix/bsd/clock.c: Likewise.
46535 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46536 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
46537 * sysdeps/unix/bsd/init-posix.c: Likewise.
46538 * sysdeps/unix/bsd/poll.c: Likewise.
46539 * sysdeps/unix/bsd/ptsname.c: Likewise.
46540 * sysdeps/unix/bsd/seekdir.c: Likewise.
46541 * sysdeps/unix/bsd/setegid.c: Likewise.
46542 * sysdeps/unix/bsd/seteuid.c: Likewise.
46543 * sysdeps/unix/bsd/setgid.c: Likewise.
46544 * sysdeps/unix/bsd/setrgid.c: Likewise.
46545 * sysdeps/unix/bsd/setruid.c: Likewise.
46546 * sysdeps/unix/bsd/setsid.c: Likewise.
46547 * sysdeps/unix/bsd/setuid.c: Likewise.
46548 * sysdeps/unix/bsd/sigaction.c: Likewise.
46549 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
46550 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
46551 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
46552 * sysdeps/unix/bsd/telldir.c: Likewise.
46553 * sysdeps/unix/bsd/times.c: Likewise.
46554 * sysdeps/unix/bsd/usleep.c: Likewise.
46555
46556 * misc/Makefile (install-lib): Remove libbsd-compat.a.
46557 ($(objpfx)libbsd-compat.a): Remove rule.
46558
46559 * include/features.h (__FAVOR_BSD): Do not define.
46560 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
46561 features conflicting with POSIX.
46562 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
46563 (_BSD_SOURCE): Remove description of not being a subset of other
46564 feature test macros.
46565 * manual/job.texi (getpgrp): Do not document BSD version.
46566 (getpgid): Do not document by reference to BSD getpgrp.
46567 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
46568 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
46569 * signal/signal.h [__FAVOR_BSD]: Likewise.
46570 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
46571 instead of making contents conditional on [__FAVOR_BSD].
46572 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
46573
46574 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46575
46576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46577
46578 2013-12-17 Joseph Myers <joseph@codesourcery.com>
46579
46580 [BZ #16314]
46581 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46582 values below 2**-450, not 2**-500.
46583 * math/auto-libm-test-in: Don't allow spurious underflow from
46584 hypot.
46585 * math/auto-libm-test-out: Regenerated.
46586
46587 [BZ #16316]
46588 [BZ #16330]
46589 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46590 values of ha and hb and sort them after adjusting subnormal
46591 arguments.
46592 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46593 Likewise.
46594 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46595 values of ea and eb and sort them after adjusting subnormal
46596 arguments.
46597 * math/auto-libm-test-in: Do not expect some hypot tests of
46598 subnormals to fail. Add more hypot tests.
46599 * math/auto-libm-test-out: Regenerated.
46600
46601 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46602
46603 [BZ #13304]
46604 * sysdeps/sh/s_fma.c: New file.
46605 * sysdeps/sh/s_fmaf.c: New file.
46606 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
46607 version.
46608 * sysdeps/sh/Implies: Add sh/soft-fp.
46609
46610 2013-12-16 Roland McGrath <roland@hack.frob.com>
46611
46612 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
46613 level of indirection to members `objname', `errstring', `malloced'.
46614 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46615 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
46616 it as the __longjmp argument (just pass 1 instead).
46617 (_dl_catch_error): Initialize C with argument pointers and address of
46618 volatile local ERRCODE rather than copying values out of C at return.
46619
46620 2013-12-16 Joseph Myers <joseph@codesourcery.com>
46621
46622 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46623 * math/auto-libm-test-out: Regenerated.
46624 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46625 (hypot_test_data): Likewise.
46626 (pow_test_data): Likewise.
46627 (pow_tonearest_test_data): Likewise.
46628 * math/gen-auto-libm-tests.c (func_calc_method): Add value
46629 mpfr_ff_f.
46630 (func_calc_desc): Add mpfr_ff_f union field.
46631 (FUNC_mpfr_ff_f): New macro.
46632 (test_functions): Add atan2, hypot and pow.
46633 (special_fill_min): New function.
46634 (special_fill_minus_min): Likewise.
46635 (special_fill_min_subnorm): Likewise.
46636 (special_fill_minus_min_subnorm): Likewise.
46637 (special_real_inputs): Add min, -min, min_subnorm and
46638 -min_subnorm.
46639 (calc_generic_results): Handle mpfr_ff_f.
46640 * sysdeps/i386/fpu/libm-test-ulps: Update.
46641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46642
46643 2013-12-16 Will Newton <will.newton@linaro.org>
46644
46645 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46646 (Aligned Memory Blocks): Add documentation for aligned_alloc
46647 and suggest it as an alternative to posix_memalign.
46648 (Hooks for Malloc): Document __memalign_hook is also called
46649 for aligned_alloc. (Summary of Malloc): Add summary for
46650 aligned alloc. Document __memalign_hook is also called
46651 for aligned_alloc.
46652
46653 2013-12-16 Will Newton <will.newton@linaro.org>
46654
46655 * manual/memory.texi (Malloc Examples): Clarify default
46656 alignment documentation. Suggest posix_memalign rather
46657 than memalign or valloc.
46658 (Aligned Memory Blocks): Remove suggestion to use memalign
46659 or valloc. Remove obsolete comment about BSD.
46660 Document memalign errno values and mark the function obsolete.
46661 Document posix_memalign returned error codes. Mark valloc
46662 as obsolete. (Hooks for Malloc): __memalign_hook is also
46663 called for posix_memalign and valloc.
46664 (Summary of Malloc): Add posix_memalign to function summary.
46665 __memalign_hook is also called for posix_memalign and valloc.
46666
46667 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46668
46669 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46670 TAYLOR_SIN.
46671 (__sin): Adjust.
46672 (__cos): Likewise.
46673 (sloww): Use mynumber union. Expand ternary operator into
46674 if-else statements.
46675 (cslow): use mynumber union.
46676
46677 2013-12-16 Allan McRae <allan@archlinux.org>
46678
46679 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46680 * configure: Regenerated.
46681
46682 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46683
46684 [BZ #14120]
46685 * configure.ac: Added --enable-maintainer-mode. Check for
46686 autoconf when enabled.
46687 * configure: Regenerated.
46688
46689 * nscd/nscd.service: New file.
46690 * nscd/nscd.tmpfiles: New file.
46691
46692 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
46693
46694 [BZ #12100]
46695 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46696 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46697 * sysdeps/x86_64/multiarch/strstr.c: ... here.
46698 (strstr): Add __strstr_sse2_unaligned ifunc.
46699 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46700 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46701 (strcasestr): Remove __strcasestr_sse42 ifunc.
46702 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46705
46706 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46707
46708 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46709 * sysdeps/sh/bits/fenv.h: ... here.
46710 * sysdeps/sh/sh4/fpu/bits: Remove directory.
46711
46712 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46713
46714 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46715
46716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46717 hypotf multiarch implementations.
46718 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46719 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46720 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46721 multiarch hypot for PPC64.
46722 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46723 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46725 multiarch hypotf for PPC64.
46726
46727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46728 modff multiarch implementations.
46729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46732 multiarch modf for PPC64.
46733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46736 multiarch modff for PPC64.
46737
46738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46739 and logl multiarch implementations.
46740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46743 multiarch logb for PPC64.
46744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46747 multiarch logb for PPC64.
46748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46751 multiarch logb for PPC64.
46752
46753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46754 isinff multiarch implementation.
46755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46756 file.
46757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46759 multiarch isinf for PPC64.
46760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46761 file.
46762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46763 multiarch isinff for PPC64.
46764
46765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46766 finitef multiarch implementation.
46767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46768 file.
46769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46771 multiarch finite for PPC64.
46772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46773 file.
46774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46775 multiarch finitef for PPC64.
46776
46777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46778 lrint multiarch implementation.
46779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46780 file.
46781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46783 multiarch llrint for PPC64.
46784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46785 multiarch lrint for PPC64.
46786
46787 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46788 copysignf multiarch implementation.
46789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46790 file.
46791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46792 file.
46793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46794 multiarch copysign for PPC64.
46795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46796 multiarch copysignf for PPC64.
46797
46798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46799 multiarch implementation.
46800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46801 file.
46802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46803 file.
46804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46805 file.
46806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46807 file.
46808 multiarch llround for PPC64.
46809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46810 multiarch trunc for PPC64.
46811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46812 multiarch truncf for PPC64.
46813
46814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46815 multiarch implementation.
46816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46817 file.
46818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46819 file.
46820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46821 file.
46822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46823 file.
46824 multiarch llround for PPC64.
46825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46826 multiarch round for PPC64.
46827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46828 multiarch roundf for PPC64.
46829
46830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46831 multiarch implementation.
46832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46833 file.
46834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46835 file.
46836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46837 file.
46838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46839 file.
46840 multiarch llround for PPC64.
46841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46842 multiarch floor for PPC64.
46843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46844 multiarch floorf for PPC64.
46845
46846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46847 multiarch implementation.
46848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46849 file.
46850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46851 file.
46852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46853 file.
46854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46855 file.
46856 multiarch llround for PPC64.
46857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46858 multiarch ceil for PPC64.
46859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46860 multiarch ceilf for PPC64.
46861
46862 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46863 multiarch implementation.
46864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46865 file.
46866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46867 file.
46868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46869 file.
46870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46871 multiarch llround for PPC64.
46872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46873 multiarch lround for PPC64.
46874
46875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46876 multiarch implementation.
46877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46880 file.
46881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46884 multiarch isnan for PPC64.
46885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46886 multiarch isnanf for PPC64.
46887
46888 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46889 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46890 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46891 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46892 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46894
46895 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46896 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46899
46900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46901 multiarch implementations.
46902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46903 (__libc_ifunc_impl_list): Likewise.
46904 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46905 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46906 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46907 multiarch stpcpy for PPC64.
46908
46909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46910 multiarch implementations.
46911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46912 (__libc_ifunc_impl_list): Likewise.
46913 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46914 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46915 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46916 multiarch strcpy for PPC64.
46917
46918 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46919 redefine function name.
46920 (_wordcopy_fwd_dest_aligned): Likewise.
46921 (_wordcopy_bwd_aligned): Likewise.
46922 (_wordcopy_bwd_dest_aligned): Likewise.
46923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46924 multiarch implementations.
46925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46926 (__libc_ifunc_impl_list): Likewise.
46927 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46928 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46929 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46930 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46931 multiarch wcscpy for PPC64.
46932
46933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46934 multiarch implementations.
46935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46936 (__libc_ifunc_impl_list): Likewise.
46937 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46938 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46939 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46940 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46941 multiarch wcscpy for PPC64.
46942
46943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46944 multiarch implementations.
46945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46946 (__libc_ifunc_impl_list): Likewise.
46947 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46948 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46949 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46950 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46951 multiarch wcsrchr for PPC64.
46952
46953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46954 multiarch implementations.
46955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46956 (__libc_ifunc_impl_list): Likewise.
46957 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46958 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46959 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46960 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46961 multiarch wcschr for PPC64.
46962
46963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46964 multiarch implementations.
46965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46966 (__libc_ifunc_impl_list): Likewise.
46967 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46968 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46969 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46970 multiarch strchrnul for PPC64.
46971
46972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46973 implementations.
46974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46975 (__libc_ifunc_impl_list): Likewise.
46976 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46977 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46978 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46979 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46980 strchr for PPC64.
46981
46982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46983 implementations.
46984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46985 (__libc_ifunc_impl_list): Likewise.
46986 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46987 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46988 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46989 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46990 strncmp for PPC64.
46991
46992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46993 multiarch implementations.
46994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46995 (__libc_ifunc_impl_list): Likewise.
46996 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46997 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46998 strncasecmp for PPC64.
46999 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
47000 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
47001 multiarch strncasecmp_l for PPC64.
47002
47003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
47004 multiarch implementations.
47005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47006 (__libc_ifunc_impl_list): Likewise.
47007 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
47008 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
47009 multiarch strcasecmp for PPC64.
47010 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
47011 file.
47012 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
47013 multiarch strcasecmp_l for PPC64.
47014
47015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
47016 implementations.
47017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47018 (__libc_ifunc_impl_list): Likewise.
47019 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
47020 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
47021 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
47022 strnlen for PPC64.
47023
47024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
47025 implementations.
47026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47027 (__libc_ifunc_impl_list): Likewise.
47028 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
47029 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
47030 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
47031 strlen for PPC64.
47032
47033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
47034 implementations.
47035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47036 (__libc_ifunc_impl_list): Likewise.
47037 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
47038 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
47039 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
47040 rawmemrchr for PPC64.
47041
47042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
47043 implementation.
47044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47045 (__libc_ifunc_impl_list): Likewise.
47046 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
47047 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
47048 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
47049 memrchr for PPC64.
47050
47051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
47052 implementation.
47053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47054 (__libc_ifunc_impl_list): Likewise.
47055 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
47056 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
47057 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
47058 memchr for PPC64.
47059
47060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
47061 implementation.
47062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47063 (__libc_ifunc_impl_list): Likewise.
47064 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
47065 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
47066 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
47067 mempcpy for PPC64.
47068
47069 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
47070 avoid cretion of __bzero symbol.
47071 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
47072 Likewise.
47073 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
47074 Likewise.
47075 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
47076 Likewise.
47077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
47078 multiarch implementations.
47079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47080 (__libc_ifunc_impl_list): Likewise.
47081 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
47082 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
47083 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
47084 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
47085 bzero for PPC32.
47086 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
47087 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
47088 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
47089 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
47090 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
47091 memset for PPC64.
47092 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
47093
47094 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
47095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
47096 implementations.
47097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47098 (__libc_ifunc_impl_list): Likewise.
47099 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
47100 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
47101 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
47102 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
47103 memcmp for PPC64.
47104
47105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
47106 multiarch for POWER/PPC64.
47107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
47108 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
47109 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
47110 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
47111 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
47112 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
47113 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
47114 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
47115 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
47116 memcpy for PPC64.
47117
47118 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
47119 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
47120 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
47121 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
47122 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
47123 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
47124 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
47125 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
47126 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
47127 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
47128 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
47129 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
47130 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
47131 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
47132 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
47133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
47134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
47135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
47136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
47137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
47138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
47139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
47140
47141 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47142
47143 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
47144
47145 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
47146
47147 * benchtests/Makefile (bench): Add exp2 and log2.
47148 (LDLIBS-bench-exp2): Add -lm.
47149 (LDLIBS-bench-log2): Likewise.
47150 * benchtests/exp2-inputs: New inputs file.
47151 * benchtests/log2-inputs: New inputs file.
47152 * benchtests/log-inputs: Add new inputs.
47153 * benchtests/tan-inputs: Likewise.
47154
47155 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
47156
47157 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
47158 definition...
47159 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
47160 (csloww2): ... from here.
47161
47162 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
47163 instead of structures.
47164 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
47165 (POLYNOMIAL): Likewise.
47166 (TAYLOR_SLOW): Likewise.
47167 (__sin): Likewise.
47168 (__cos): Likewise.
47169 (slow1): Likewise.
47170 (slow2): Likewise.
47171 (sloww): Likewise.
47172 (sloww1); Likewise.
47173 (sloww2): Likewise.
47174 (bsloww1): Likewise.
47175 (bsloww2): Likewise.
47176 (cslow2): Likewise.
47177 (csloww): Likewise.
47178 (csloww1): Likewise.
47179 (csloww2): Likewise.
47180
47181 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
47182
47183 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
47184 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
47185 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
47186 * malloc/hooks.c (realloc_check): Likewise.
47187
47188 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
47189 * malloc/arena.c: Remove PER_THREAD conditional.
47190 [!PER_THREAD]: Remove code.
47191 (ptmalloc_unlock_all2): Likewise.
47192 (ptmalloc_init): Likewise.
47193 (_int_new_arena): Likewise.
47194 (arena_get2): Likewise.
47195 * malloc/hooks.c (__malloc_get_state): Likewise.
47196 (__malloc_set_state): Likewise.
47197 * malloc/malloc.c: Likewise.
47198 (struct malloc_state): Likewise.
47199 (struct malloc_par): Likewise.
47200 (__libc_realloc): Likewise.
47201 (__libc_mallopt): Likewise.
47202
47203 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47204
47205 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
47206
47207 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
47208
47209 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
47210 macro to a function. Check for zero perturb_byte.
47211 (_int_malloc, _int_free): Remove zero perturb_byte checks.
47212
47213 * malloc/malloc.c: (force_reg): Remove.
47214 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
47215 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
47216 force_reg by atomic_forced_read.
47217 * malloc/arena.c (ptmalloc_init): Likewise.
47218 * malloc/hooks.c (top_check): Likewise.
47219
47220 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47221
47222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47223
47224 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
47225
47226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47227
47228 2013-12-08 Joseph Myers <joseph@codesourcery.com>
47229
47230 * math/auto-libm-test-in: Add tests of lgamma.
47231 * math/auto-libm-test-out: Regenerated.
47232 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
47233 (M_LOG_2_SQRT_PIl): Likewise.
47234 (lgamma_test_data): Use AUTO_TESTS_f_f1.
47235 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47236 mpfr_f_f1.
47237 (func_calc_desc): Add mpfr_f_f1 union field.
47238 (ARGS1): New macro.
47239 (ARGS2): Likewise.
47240 (ARGS3): Likewise.
47241 (ARGS4): Likewise.
47242 (RET1): Likewise.
47243 (RET2): Likewise.
47244 (CALC): Likewise.
47245 (FUNC): Likewise.
47246 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
47247 (test_functions): Add lgamma.
47248 (calc_generic_results): Handle mpfr_f_f1.
47249 * sysdeps/i386/fpu/libm-test-ulps: Update.
47250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47251
47252 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47253
47254 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
47255 __mpn_add_n for PowerPC64/POWER7.
47256 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
47257 __mpn_sub_n for PowerPC64/POWER7.
47258
47259 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
47260 __mpn_addmul_1 for PowerPC64.
47261 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
47262 __mpn_submul_1 for PowerPC64.
47263 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
47264 for PowerPC64.
47265 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
47266 for PowerPC64.
47267
47268 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
47269
47270 [BZ #15089]
47271 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
47272
47273 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47274
47275 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
47276
47277 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
47278 add multiarch folders.
47279 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
47280 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
47281 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
47282 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
47283 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
47284 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
47285 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
47286 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
47287 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
47288 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
47289 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
47290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
47291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
47292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
47293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
47294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
47295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
47296
47297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
47298 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
47299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
47300 New file.
47301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
47302 New file.
47303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
47304 multiarch __ieee754_hypot for PowerPC32.
47305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
47306 New file.
47307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
47308 New file.
47309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
47310 multiarch __ieee754_hypotf for PowerPC32.
47311
47312 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
47313 long_double_symbol only if __logbl is defined.
47314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
47315 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
47316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
47317 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
47318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
47319 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
47320 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
47321 path for implementation.
47322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
47323 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
47324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
47325 logb, and logbl multiarch implementations for PowerPC32.
47326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
47327 file.
47328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
47329 file.
47330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
47331 multiarch logb for PowerPC32.
47332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
47333 file.
47334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
47335 file.
47336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
47337 multiarch logbf for PowerPC32.
47338 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
47339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
47340 file.
47341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
47342 multiarch logbl implementation for PowerPC32.
47343
47344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
47345 and modff multiarch implementations.
47346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
47347 New file.
47348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
47349 New file.
47350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
47351 multiarch modf for PowerPC32.
47352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
47353 New file.
47354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
47355 New file.
47356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
47357 multiarch modff for PowerPC32.
47358
47359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
47360 and lrintf multiarch implementations.
47361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
47362 New file.
47363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
47364 New file.
47365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
47366 multiarch lrint for PowerPC32.
47367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
47368 file: multiarch lrintf for PowerPC32.
47369
47370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
47371 and lroundf multiarch implementations.
47372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
47373 New file.
47374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
47375 New file.
47376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
47377 New file.
47378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
47379 multiarch lround for PowerPC32.
47380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
47381 file: multiarch lroundf for PowerPC32.
47382
47383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
47384 copysign and copysignf multiarch implementations.
47385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
47386 New file.
47387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
47388 New file.
47389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
47390 file: multiarch copysign for PowerPC32.
47391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
47392 file: multiarch copysignf for PowerPC32.
47393
47394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
47395 and truncf multiarch implementations.
47396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
47397 New file.
47398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
47399 file.
47400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
47401 multiarch trunc for PowerPC32.
47402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
47403 New file.
47404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
47405 New file.
47406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
47407 multiarch truncf for PowerPC32.
47408
47409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
47410 and roundf multiarch implementations.
47411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
47412 New file.
47413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
47414 file.
47415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
47416 multiarch round for PowerPC32.
47417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
47418 New file.
47419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
47420 New file.
47421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
47422 multiarch roundf for PowerPC32.
47423
47424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
47425 and floorf multiarch implementations.
47426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
47427 New file.
47428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
47429 file.
47430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
47431 multiarch floor for PowerPC32.
47432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
47433 New file.
47434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
47435 New file.
47436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
47437 multiarch floorf for PowerPC32.
47438
47439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
47440 and ceilf multiarch implementations.
47441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
47442 New file.
47443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
47444 file.
47445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
47446 multiarch ceil for PowerPC32.
47447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
47448 New file.
47449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
47450 file.
47451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
47452 multiarch ceilf for PowerPC32.
47453
47454 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
47455 is defined.
47456 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
47457 FINITEF is defined.
47458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
47459 and finitef multiarch implementations.
47460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
47461 New file.
47462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
47463 file.
47464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
47465 multiarch finite for PowerPC32.
47466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
47467 New file.
47468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
47469 file: multiarch finitef for PowerPC32.
47470
47471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
47472 and isinff multiarch implementations.
47473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
47474 file.
47475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
47476 file.
47477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
47478 multiarch isinf for PowerPC32.
47479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
47480 New file.
47481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
47482 multiarch isinff for PowerPC32.
47483
47484 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
47485 alias when __isnan is defined.
47486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
47487 and isnanf multiarch implementations.
47488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
47489 file.
47490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
47491 file.
47492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
47493 file.
47494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
47495 file.
47496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
47497 multiarch isnan for PowerPC32.
47498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
47499 New file.
47500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
47501 New file.
47502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
47503 multiarch isnanf for PowerPC32.
47504
47505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
47506 and sqrtf multiarch implementations.
47507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
47508 file.
47509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
47510 file.
47511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
47512 multiarch sqrt for PowerPC32.
47513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
47514 file.
47515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
47516 file.
47517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
47518 multiarch sqrtf for PowerPC32.
47519
47520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
47521 and llroundf multiarch implementations.
47522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
47523 New file.
47524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
47525 New file.
47526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
47527 New file.
47528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
47529 file: multiarch llround for PowerPC32.
47530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
47531 file: multiarch llroundf for PowerPC32.
47532
47533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
47534 multiarch PowerPC32 fpu implementations.
47535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
47536 New file.
47537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
47538 New file.
47539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
47540 multiarch llrint for PowerPC32.
47541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
47542 New file.
47543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
47544 New file.
47545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
47546 file.
47547
47548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
47549
47550 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
47551 file.
47552 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
47553 file.
47554 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
47555 file.
47556 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
47557 multiarch wordcopy for PPC32.
47558 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47559 wordcopy objects.
47560 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47561 (__libc_ifunc_impl_list): Likewise.
47562 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
47563 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
47564 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
47565 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
47566 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
47567 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
47568
47569 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
47570 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47571 file.
47572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
47573 file.
47574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
47575 file.
47576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
47577 multiarch wcscpy for PPC32.
47578 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47579 multiarch objects.
47580 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47581 (__libc_ifunc_impl_list): Likewise.
47582 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47583 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47584 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47585 sysdeps/powerpc/power6/wcscpy.c.
47586
47587 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47588 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47589 file.
47590 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47591 file.
47592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47593 file.
47594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47595 multiarch wcsrchr for PPC32.
47596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47597 multiarch objects.
47598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47599 (__libc_ifunc_impl_list): Likewise.
47600 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47601 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47602 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47603 sysdeps/powerpc/power6/wcsrchr.c.
47604
47605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47606 file.
47607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47608 file.
47609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47611 multiarch wcschr for PPc32.
47612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47613 multiarch objects.
47614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47615 (__libc_ifunc_impl_list): Likewise.
47616 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47617 * sysdeps/powerpc/power6/wcschr.c: ... to here.
47618 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47619 sysdeps/powerpc/power6/wcschr.c.
47620
47621 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47622 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47623 file.
47624 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47625 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47626 file: multiarch strchr for PPC32.
47627 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47628 multiarch objects.
47629 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47630 (__libc_ifunc_impl_list): Likewise.
47631
47632 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47633 name.
47634 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47635 file.
47636 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47637 file.
47638 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47639 multiarch strchrnul for PPC32.
47640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47641 multiarch objects.
47642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47643 (__libc_ifunc_impl_list): Likewise.
47644
47645 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47646 file.
47647 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47648 multiarch strncasecmp for PPC32.
47649 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47650 file.
47651 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47652 multiarch strncasecmp_l for PPC32.
47653 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47654 strncasecmp multiarch objects.
47655 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47656 (__libc_ifunc_impl_list): Likewise.
47657
47658 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47659 file.
47660 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47661 multiarch strncasecmp for PPC32.
47662 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47663 New file.
47664 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47665 multiarch strcasecmp_l for PPC32.
47666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47667 multiarch objects.
47668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47669 (__libc_ifunc_impl_list): Likewise.
47670
47671 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47672 file.
47673 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47674 file.
47675 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47676 multiarch strncmp for PPC32.
47677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47678 multiarch objects.
47679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47680 (__libc_ifunc_impl_list): Likewise.
47681
47682 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47683 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47684 file.
47685 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47686 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47688 multiarch objects.
47689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47690 (__libc_ifunc_impl_list): Likewise.
47691
47692 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47693 file.
47694 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47695 file.
47696 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47698 multiarch objects.
47699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47700 (__libc_ifunc_impl_list): Likewise.
47701
47702 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47703 file.
47704 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47705 file.
47706 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47707 multiarch rawmemchr for PPC32.
47708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47709 multiarch objects.
47710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47711 (__libc_ifunc_impl_list): Likewise.
47712
47713 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47714 file.
47715 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47716 file.
47717 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47718 file: memrchr multiarch for PPC32.
47719 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47720 multiarch objects.
47721 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47722 (__libc_ifunc_impl_list): Likewise.
47723
47724 * string/memchr.c (__memchr): Using macro to redefine symbol name.
47725 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47726 file.
47727 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47728 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47729 multiarch memchr for PPC32.
47730 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47731 multiarch objects.
47732 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47733 (__libc_ifunc_impl_list): Likewise.
47734
47735 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47736 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47737 file.
47738 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47739 file.
47740 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47741 file: multiarch mempcpy for PPC32.
47742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47743 multiarch objects.
47744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47745 (__libc_ifunc_impl_list): Likewise.
47746
47747 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47748 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47749 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47750 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47751 multiarch bzero for PPC32.
47752 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47753 file.
47754 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47755 file.
47756 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47757 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47758 file: multiarch memset for PPC32.
47759 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47761 memset multiarch objects.
47762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47763 (__libc_ifunc_impl_list): Likewise.
47764
47765 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47766 file.
47767 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47768 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47769 memcmp for PPC32.
47770 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47772 multiarch objects.
47773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47774 (__libc_ifunc_impl_list): Likewise.
47775
47776 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47777 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47778 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47779 file.
47780 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47781 file.
47782 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47783 file.
47784 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47785 multiarch memcpy for PPC32.
47786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47787 multiarch objects.
47788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47789 (__libc_ifunc_impl_list): Likewise.
47790
47791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47792 support multiarch for POWER/PPC32.
47793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47794 Likewise.
47795 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47797 Implies file to make multiarch folder appers before the fpu and
47798 default folder for power4 configuration.
47799
47800 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47801
47802 * scripts/bench.pl: Append volatile keyword to type.
47803
47804 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47805
47806 * sysdeps/sh/sotruss-lib.c: New file.
47807 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47808
47809 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47810
47811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47812
47813 2013-12-05 Joseph Myers <joseph@codesourcery.com>
47814
47815 [BZ #6810]
47816 * math/w_tgamma.c: Include <errno.h>.
47817 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
47818 * math/w_tgammaf.c: Include <errno.h>.
47819 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
47820 * math/w_tgammal.c: Include <errno.h>.
47821 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
47822 * math/auto-libm-test-in: Do not allow missing errno on tgamma
47823 underflow. Add more tgamma tests.
47824 * math/auto-libm-test-out: Regenerated.
47825 * sysdeps/i386/fpu/libm-test-ulps: Update.
47826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47827
47828 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47829 sin, sinh, tan, tanh, tgamma, y0 and y1.
47830 * math/auto-libm-test-out: Regenerated.
47831 * math/libm-test.inc (TEST_COND_x86_64): New macro.
47832 (TEST_COND_x86): Likewise.
47833 (M_E2l): Remove macro.
47834 (M_E3l): Likewise.
47835 (M_2_SQRT_PIl): Likewise.
47836 (M_SQRT_PIl): Likewise.
47837 (M_1_DIV_El): Likewise.
47838 (log_test_data): Use AUTO_TESTS_f_f.
47839 (log10_test_data): Likewise.
47840 (log1p_test_data): Likewise.
47841 (log2_test_data): Likewise.
47842 (sin_test_data): Likewise.
47843 (sin_tonearest_test_data): Likewise.
47844 (sin_towardzero_test_data): Likewise.
47845 (sin_downward_test_data): Likewise.
47846 (sin_upward_test_data): Likewise.
47847 (sinh_test_data): Likewise.
47848 (sinh_tonearest_test_data): Likewise.
47849 (sinh_towardzero_test_data): Likewise.
47850 (sinh_downward_test_data): Likewise.
47851 (sinh_upward_test_data): Likewise.
47852 (tan_test_data): Likewise.
47853 (tan_tonearest_test_data): Likewise.
47854 (tan_towardzero_test_data): Likewise.
47855 (tan_downward_test_data): Likewise.
47856 (tan_upward_test_data): Likewise.
47857 (tanh_test_data): Likewise.
47858 (tgamma_test_data): Likewise.
47859 (y0_test_data): Likewise.
47860 (y1_test_data): Likewise.
47861 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47862 (special_real_inputs): Add pi/4.
47863 * sysdeps/i386/fpu/libm-test-ulps: Update.
47864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47865
47866 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47867
47868 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47869 "longjmp_target" static probes.
47870 (__longjmp): Rename to __longjmp_symbol.
47871 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47872 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47873 on which longjmp to generate.
47874 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47875 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47876 probe.
47877 (__sigsetjmp): Rename to __sigsetjmp_symbol.
47878 (__sigjmp_save): Rename to __sigjmp_save_symbol.
47879 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47880 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47881 and __sigjmp_save_symbol based on which sigsetjmp to generated.
47882 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47884 __longjmp_symbol based on which __longjmp to generate.
47885 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47886 probe.
47887 (setjmp): Rename to setjmp_symbol.
47888 (__sigsetjmp): Rename to __sigsetjmp_symbol.
47889 (_setjmp): Rename to _setjmp_symbol.
47890 (__sigsetjmp): Rename to __sigsetjmp_symbol.
47891 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47892 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47893 which setjmp to generate.
47894 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47895 "longjmp_target" static probes.
47896
47897 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47898
47899 * benchtests/README: Add note about output arguments.
47900 * benchtests/bench-sincos.c: Remove file.
47901 * benchtests/sincos-inputs: New file.
47902 * scripts/bench.pl: Identify output arguments and define
47903 static variables for them.
47904
47905 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47906
47907 [BZ #15941]
47908 * Makefile (INSTALL): Add install-plain.texi as the primary
47909 dependency.
47910 * manual/install-plain.texi: New file.
47911 * manual/install.texi: Include node directive only for
47912 non-plaintext output.
47913
47914 2013-12-04 Joseph Myers <joseph@codesourcery.com>
47915
47916 * stdlib/longlong.h: Update from GCC.
47917
47918 [BZ #6807]
47919 [BZ #15901]
47920 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47921 * math/w_j0f.c (y0f): Likewise.
47922 * math/w_j0l.c (__y0l): Likewise.
47923 * math/w_j1.c (y1): Likewise.
47924 * math/w_j1f.c (y1f): Likewise.
47925 * math/w_j1l.c (__y1l): Likewise.
47926 * math/w_jn.c (yn): Likewise.
47927 * math/w_jnf.c (ynf): Likewise.
47928 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47929 Bessel function pole errors in _POSIX_ mode. Use NAN as return
47930 value for Bessel function domain errors outside _SVID_ mode.
47931 Adjust sign of return value for yn (negative integer, 0).
47932 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47933 by zero in return for negative x and set sign appropriately for
47934 negative n.
47935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47936 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47937 * math/libm-test.inc (y0_test_data): Add more tests and adjust
47938 expectations in error cases.
47939 (y1_test_data): Likewise.
47940 (yn_test_data): Likewise.
47941 * sysdeps/i386/fpu/libm-test-ulps: Update.
47942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47943
47944 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
47945
47946 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47947 "64" to "64-v1". Add "64-v2".
47948 (abi-64-options): Rename to ...
47949 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
47950 (abi-64-condition): Rename to ...
47951 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
47952 (abi-64-ld-soname): Rename to ...
47953 (abi-64-v1-ld-soname): ... this.
47954 (abi-64-v2-options): Define.
47955 (abi-64-v2-condition): Likewise.
47956 (abi-64-v2-ld-soname): Likewise.
47957 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47958 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47962
47963 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
47964 Alan Modra <amodra@gmail.com>
47965
47966 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47967 New versions for use with the ELFv2 ABI.
47968 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47969 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47970 declaration.
47971 (struct La_ppc64v2_retval): Likewise.
47972 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47973 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47974 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47975 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47976 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47977 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47978 Do not save or restore CR.
47979 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47980 (_dl_profile_resolve): Do no save or restore CR. Support extended
47981 return values for ELFv2 ABI. Fix location of FPR return registers.
47982 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47983 updated values for _CALL_ELF == 2.
47984 (La_regs, La_retval, int_retval): Likewise.
47985
47986 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
47987
47988 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47989 (FRAME_MIN_SIZE_PARM): Likewise.
47990 (FRAME_BACKCHAIN): Likewise.
47991 (FRAME_CR_SAVE): Likewise.
47992 (FRAME_LR_SAVE): Likewise.
47993 (FRAME_TOC_SAVE): Likewise.
47994 (FRAME_PARM_SAVE): Likewise.
47995 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47996 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47997 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47998 (call_mcount_parm_offset): New macro.
47999 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
48000 (PROF): Use symbolic stack frame offsets.
48001 (TAIL_CALL_SYSCALL_ERROR): Likewise.
48002 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
48003 Redefine in terms of FRAME_MIN_SIZE.
48004 (_dl_runtime_resolve): Use symbolic stack frame offsets.
48005 (_dl_profile_resolve): Likewise. Update comment.
48006 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
48007 symbols stack frame offsets.
48008 (__sigsetjmp): Likewise.
48009 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
48010 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
48011 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
48012 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
48013
48014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
48015 (FRAME_BACKCHAIN): Remove.
48016 (FRAME_CR_SAVE): Likewise.
48017 (FRAME_LR_SAVE): Likewise.
48018 (FRAME_COMPILER_DW): Likewise.
48019 (FRAME_LINKER_DW): Likewise.
48020 (FRAME_TOC_SAVE): Likewise.
48021 (FRAME_PARM_SAVE): Likewise.
48022 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
48023 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
48024 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
48025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
48026 (CHECK_SP): Use symbolic stack frame offsets.
48027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
48028 zone" instead of caller's parameter save area for temp storage.
48029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48030 Likewise. Also, use symbolic stack frame offsets.
48031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
48032 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
48033 our own stack frame instead of the caller's.
48034 (__socket): Use symbolic stack frame offsets.
48035
48036 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
48037 Alan Modra <amodra@gmail.com>
48038
48039 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
48040 Define.
48041 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
48042 (PPC64_LOCAL_ENTRY_OFFSET): Define.
48043 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
48044 New function.
48045 (elf_machine_fixup_plt): Call it.
48046 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
48047 reloc arguments.
48048 (elf_machine_rela): Update call to elf_machine_plt_conflict.
48049 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
48050 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
48051 r2 before calling target.
48052
48053 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
48054 Alan Modra <amodra@gmail.com>
48055
48056 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
48057 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
48058 versions of macros to support ELFv2 ABI.
48059 (LOCALENTRY): New macro.
48060 (ENTRY, EALIGN): Use it.
48061 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
48062 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
48063 fall through into ENTRY entry point.
48064 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
48065 Only define if _CALL_ELF != 2.
48066
48067 (elf_machine_matches_host): Verify ABI version matches.
48068 (RTLD_START): Use LOCALENTRY.
48069 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
48070 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
48071 (PLT_ENTRY_WORDS): New macro.
48072 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
48073 (elf_machine_runtime_setup): Support ELFv2 ABI.
48074 (elf_machine_fixup_plt): Likewise.
48075 (elf_machine_plt_conflict): Likewise.
48076 (resolve_ifunc): Likewise.
48077 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48078 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48079 Likewise.
48080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
48081 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
48082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48083 (makecontext): Support ELFv2 ABI.
48084 * elf/elf.h (EF_PPC64_ABI): Define.
48085
48086 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
48087
48088 * sysdeps/powerpc/powerpc64/sysdep.h
48089 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
48090 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
48091 (ENTRY) [ASSEMBLER]: ... but instead here ...
48092 (EALIGN) [ASSEMBLER]: ... and here.
48093 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
48094 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
48095 (ENTRY_2) [!ASSEMBLER]: Use it.
48096 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
48097 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
48098 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
48099 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
48100 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
48101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
48102 Use PPC64_LOAD_FUNCPTR.
48103
48104 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
48105
48106 2013-12-04 Alan Modra <amodra@gmail.com>
48107
48108 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
48109 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
48110 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
48111 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
48112
48113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
48114 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
48115 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
48116 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
48117 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
48118 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
48119
48120 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
48121
48122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48123 (__makecontext): Fix incorrect CFI when backtracing out of
48124 context created via makecontext.
48125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
48126 (__setcontext): Fix incorrect CFI during switch to new context.
48127 (__novec_setcontext): Likewise.
48128
48129 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
48130
48131 [BZ #4772]
48132 * time/strptime_l.c (__strptime_internal): Allow modifiers
48133 in strptime.
48134 * time/tst-strptime.c (day_tests): Add testcase.
48135
48136 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48137
48138 * scripts/bench.pl: Skip over blank lines.
48139
48140 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
48141
48142 [BZ #926]
48143 * manual/time.texi (Calendar Time): Clarify what timezone functions
48144 use.
48145
48146 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48147
48148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48149
48150 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
48151
48152 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
48153 implementation.
48154 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
48155 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
48156 * debug/memset_chk.c (__memset_chk): Likewise.
48157 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
48158 * debug/strncpy_chk.c: Likewise.
48159
48160 2013-12-03 Joseph Myers <joseph@codesourcery.com>
48161
48162 [BZ #15268]
48163 [BZ #15425]
48164 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
48165 (__ieee754_exp): For possibly underflowing results, check size of
48166 result and force underflow exception if required.
48167 * math/auto-libm-test-in: Add more tests of exp.
48168 * math/auto-libm-test-out: Regenerated.
48169 * sysdeps/i386/fpu/libm-test-ulps: Update.
48170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48171
48172 [BZ #16283]
48173 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
48174 * math/w_exp2f.c (__exp2f): Likewise.
48175 * math/w_exp2l.c (__exp2l): Likewise.
48176 * math/auto-libm-test-in: Do not allow missing errno on exp2
48177 underflow.
48178 * math/auto-libm-test-out: Regenerated.
48179
48180 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
48181
48182 [BZ #16274]
48183 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
48184 handle filename validation.
48185 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
48186 (do_open): Delete.
48187
48188 2013-12-03 Joseph Myers <joseph@codesourcery.com>
48189
48190 [BZ #6786]
48191 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
48192 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
48193 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
48194 <float.h>.
48195 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
48196 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
48197 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48198 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
48199 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48200 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
48201 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48202 * math/auto-libm-test-in: Don't allow missing errno from erfc.
48203 Add more erfc tests.
48204 * math/auto-libm-test-out: Regenerated.
48205 * sysdeps/i386/fpu/libm-test-ulps: Update.
48206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48207
48208 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
48209 exp2, expm1, j0 and j1.
48210 * math/auto-libm-test-out: Regenerated.
48211 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
48212 (erfc_test_data): Likewise.
48213 (exp_test_data): Likewise.
48214 (exp_tonearest_test_data): Likewise.
48215 (exp_towardzero_test_data): Likewise.
48216 (exp_downward_test_data): Likewise.
48217 (exp_upward_test_data): Likewise.
48218 (exp10_test_data): Likewise.
48219 (exp2_test_data): Likewise.
48220 (expm1_test_data): Likewise.
48221 (j0_test_data): Likewise.
48222 (j1_test_data): Likewise.
48223 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
48224 (input_flag_type): Add flag_xfail_rounding.
48225 (input_flags): Add xfail-rounding.
48226 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
48227 (output_for_one_input_case): Handle flag_xfail_rounding.
48228 * sysdeps/i386/fpu/libm-test-ulps: Update.
48229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48230
48231 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
48232
48233 [BZ #16289]
48234 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
48235 division by 0.
48236
48237 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
48238
48239 [BZ #16195]
48240 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
48241 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
48242 (STAP_PROBE0): New macro.
48243 (STAP_PROBE1): Likewise.
48244 (STAP_PROBE2): Likewise.
48245 (STAP_PROBE3): Likewise.
48246 (STAP_PROBE4): Likewise.
48247
48248 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
48249
48250 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
48251
48252 2013-12-02 Steve Ellcey <sellcey@mips.com>
48253
48254 * benchtests/Makefile (bench): Add sqrt.
48255 (LDLIBS-bench-sqrt): New.
48256 * benchtests/sqrt-input: New.
48257
48258 2013-12-02 Pavel Simerda <psimerda@redhat.com>
48259
48260 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
48261 (GAIH_EAI): Likewise.
48262 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
48263 (gaih_inet): Likewise.
48264 (getaddrinfo): Don't use GAIH_EAI.
48265
48266 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
48267 (struct gaih): Remove definition.
48268
48269 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48270
48271 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
48272 Use HERRNOP directly.
48273
48274 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48275
48276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48277
48278 2013-11-30 Joseph Myers <joseph@codesourcery.com>
48279
48280 * math/gen-auto-libm-tests.c (test_functions): Add more
48281 single-argument functions.
48282 (special_fill_pi_2): New function.
48283 (special_fill_minus_pi_2): Likewise.
48284 (special_fill_pi_6): Likewise.
48285 (special_fill_minus_pi_6): Likewise.
48286 (special_fill_pi_3): Likewise.
48287 (special_fill_2pi_3): Likewise.
48288 (special_fill_e): Likewise.
48289 (special_fill_1_e): Likewise.
48290 (special_fill_e_minus_1): Likewise.
48291 (special_real_inputs): Add more special inputs.
48292 (output_for_one_input_case): Do not require ERANGE on underflow to
48293 zero if round-to-nearest result does not underflow to zero, unless
48294 exact results required.
48295 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
48296 atan, atanh, cbrt, cos and cosh.
48297 * math/auto-libm-test-out: Regenerated.
48298 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
48299 (acos_tonearest_test_data): Likewise.
48300 (acos_towardzero_test_data): Likewise.
48301 (acos_downward_test_data): Likewise.
48302 (acos_upward_test_data): Likewise.
48303 (acosh_test_data): Likewise.
48304 (asin_test_data): Likewise.
48305 (asin_tonearest_test_data): Likewise.
48306 (asin_towardzero_test_data): Likewise.
48307 (asin_upward_test_data): Likewise.
48308 (asinh_test_data): Likewise.
48309 (atan_test_data): Likewise.
48310 (atanh_test_data): Likewise.
48311 (cbrt_test_data): Likewise.
48312 (cos_test_data): Likewise.
48313 (cos_tonearest_test_data): Likewise.
48314 (cos_towardzero_test_data): Likewise.
48315 (cos_downward_test_data): Likewise.
48316 (cos_upward_test_data): Likewise.
48317 (cosh_test_data): Likewise.
48318 (cosh_tonearest_test_data): Likewise.
48319 (cosh_towardzero_test_data): Likewise.
48320 (cosh_downward_test_data): Likewise.
48321 (cosh_upward_test_data): Likewise.
48322 * sysdeps/i386/fpu/libm-test-ulps: Update.
48323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48324
48325 2013-11-29 Joseph Myers <joseph@codesourcery.com>
48326
48327 [BZ #6787]
48328 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
48329 * math/w_exp10f.c (__exp10f): Likewise.
48330 * math/w_exp10l.c (__exp10l): Likewise.
48331 * math/libm-test.inc (exp10_test_data): Add more tests and expect
48332 errno settings in existing tests.
48333
48334 [BZ #14032]
48335 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
48336 precision control set to double precision.
48337 * sysdeps/i386/fpu/w_sqrt.c: New file.
48338 * math/auto-libm-test-in: Add more tests.
48339 * math/auto-libm-test-out: Update.
48340
48341 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
48342 (sqrt_test_tonearest): New function.
48343 (sqrt_towardzero_test_data): New variable.
48344 (sqrt_test_towardzero): New function.
48345 (sqrt_downward_test_data): New variable.
48346 (sqrt_test_downward): New function.
48347 (sqrt_upward_test_data): New variable.
48348 (sqrt_test_upward): New function.
48349 (main): Call the new functions.
48350
48351 * math/gen-auto-libm-tests.c: New file.
48352 * math/auto-libm-test-in: Likewise.
48353 * math/auto-libm-test-out: New generated file.
48354 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
48355 variables.
48356 (%beautify): Add generated representations of zero.
48357 (top level): Set $auto_input and call parse_auto_input.
48358 (beautify): Remove trailing "f" from hex float constants.
48359 (parse_args): Handle XFAIL_TEST.
48360 (convert_condition): New function.
48361 (or_value): Likewise.
48362 (or_cond_value): Likewise.
48363 (generate_testfile): Handle AUTO_TESTS_* lines.
48364 (parse_auto_input): New function.
48365 * math/libm-test.inc (XFAIL_TEST): New macro.
48366 (ERRNO_UNCHANGED): Update value.
48367 (ERRNO_EDOM): Likewise.
48368 (ERRNO_ERANGE): Likewise.
48369 (IGNORE_RESULT): Likewise.
48370 (TEST_COND_flt_32): New macro.
48371 (TEST_COND_dbl_64): Likewise.
48372 (TEST_COND_ldbl_96_intel): Likewise.
48373 (TEST_COND_ldbl_96_m68k): Likewise.
48374 (TEST_COND_ldbl_128): Likewise.
48375 (TEST_COND_ldbl_128ibm): Likewise.
48376 (TEST_COND_long32): Likewise.
48377 (TEST_COND_long64): Likewise.
48378 (TEST_COND_before_rounding): Likewise.
48379 (TEST_COND_after_rounding): Likewise.
48380 (enable_test): Handle XFAIL_TEST flag.
48381 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
48382 with finite results.
48383 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
48384 auto-libm-test-out.
48385
48386 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
48387 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48388
48389 [BZ #16214]
48390 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
48391 __tls_get_addr_internal instead of __tls_get_offset in order to
48392 avoid GOT pointer dependency. Make rtld export
48393 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
48394 __tls_get_addr since we are a __tls_get_offset platform.
48395 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
48396 GOT pointer being set up before.
48397 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
48398
48399 2013-11-28 Joseph Myers <joseph@codesourcery.com>
48400
48401 * manual/math.texi (Errors in Math Functions): Document accuracy
48402 goals.
48403
48404 [BZ #15004]
48405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
48406 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
48407 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48408 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48409 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48410 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48411 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48412 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48413 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48414 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48415 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48416 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48417 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48418 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48419 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48420 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48421
48422 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
48423 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
48424 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
48425 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
48426 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
48427 Likewise.
48428 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
48429 Likewise.
48430 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
48431 Likewise.
48432 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
48433 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
48434 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
48435 atomic-feupdateenv and flt-rounds.
48436 * sysdeps/powerpc/nofpu/Versions (libc): Add
48437 __atomic_feholdexcept, __atomic_feclearexcept,
48438 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
48439 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
48440 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
48441 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
48442 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
48443 here.
48444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48445 Update.
48446
48447 * manual/arith.texi (FP Exceptions): Document that exceptions may
48448 not be raised when matherr is used.
48449 (Math Error Reporting): Document overflow in directed rounding
48450 modes. Document that errno may not be set when finite values are
48451 returned on overflow. Document intent to set errno on underflow
48452 only for underflow to zero.
48453
48454 [BZ #16271]
48455 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
48456 round-to-nearest then adjust result for other rounding modes.
48457 * include/fenv.h (fegetround): Use libm_hidden_proto.
48458 * math/fegetround.c (fegetround): Use libm_hidden_def.
48459 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
48460 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
48461 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48462 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
48463 Likewise.
48464 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
48465 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48466 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
48467 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
48468
48469 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48470
48471 [BZ #16077]
48472 * nss/Versions (libnss_files): Add
48473 _nss_files_gethostbyname3_r.
48474 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
48475 New function.
48476 (HOST_DB_LOOKUP): Remove macro.
48477 (_nss_files_gethostbyname_r): Implement function without the
48478 HOST_DB_LOOKUP macro.
48479 (_nss_files_gethostbyname2_r): Likewise.
48480
48481 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
48482
48483 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
48484
48485 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
48486
48487 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
48488 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
48489 warning.
48490
48491 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48492
48493 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
48494 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
48495 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48496 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
48497 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
48498 __fe_nomask_env_priv and attribute_hidden.
48499 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
48500 (libc_feupdateenv_test_ppc): Likewise.
48501 (libc_feresetround_ppc): Likewise.
48502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48503 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
48504 compat_symbol macro.
48505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48506 (__fe_nomask_env): Likewise.
48507 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
48508
48509 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
48510
48511 * string/Makefile: Remove ifunc tests.
48512 * string/test-string.h: Define TEST_IFUNC.
48513 * string/test-bcopy-ifunc.c: Remove.
48514 * string/test-bzero-ifunc.c: Likewise.
48515 * string/test-memccpy-ifunc.c: Likewise.
48516 * string/test-memchr-ifunc.c: Likewise.
48517 * string/test-memcmp-ifunc.c: Likewise.
48518 * string/test-memcpy-ifunc.c: Likewise.
48519 * string/test-memmem-ifunc.c: Likewise.
48520 * string/test-memmove-ifunc.c: Likewise.
48521 * string/test-mempcpy-ifunc.c: Likewise.
48522 * string/test-memrchr-ifunc.c: Likewise.
48523 * string/test-memset-ifunc.c: Likewise.
48524 * string/test-rawmemchr-ifunc.c: Likewise.
48525 * string/test-stpcpy-ifunc.c: Likewise.
48526 * string/test-stpncpy-ifunc.c: Likewise.
48527 * string/test-strcasecmp-ifunc.c: Likewise.
48528 * string/test-strcasestr-ifunc.c: Likewise.
48529 * string/test-strcat-ifunc.c: Likewise.
48530 * string/test-strchr-ifunc.c: Likewise.
48531 * string/test-strchrnul-ifunc.c: Likewise.
48532 * string/test-strcmp-ifunc.c: Likewise.
48533 * string/test-strcpy-ifunc.c: Likewise.
48534 * string/test-strcspn-ifunc.c: Likewise.
48535 * string/test-strlen-ifunc.c: Likewise.
48536 * string/test-strncasecmp-ifunc.c: Likewise.
48537 * string/test-strncat-ifunc.c: Likewise.
48538 * string/test-strncmp-ifunc.c: Likewise.
48539 * string/test-strncpy-ifunc.c: Likewise.
48540 * string/test-strnlen-ifunc.c: Likewise.
48541 * string/test-strpbrk-ifunc.c: Likewise.
48542 * string/test-strrchr-ifunc.c: Likewise.
48543 * string/test-strspn-ifunc.c: Likewise.
48544 * string/test-strstr-ifunc.c: Likewise.
48545
48546 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
48547
48548 * benchtests/Makefile: Remove ifunc tests.
48549 * benchtests/bench-string.h: Define TEST_IFUNC.
48550 * benchtests/bench-bcopy-ifunc.c: Remove.
48551 * benchtests/bench-bzero-ifunc.c: Likewise.
48552 * benchtests/bench-memccpy-ifunc.c: Likewise.
48553 * benchtests/bench-memchr-ifunc.c: Likewise.
48554 * benchtests/bench-memcmp-ifunc.c: Likewise.
48555 * benchtests/bench-memcpy-ifunc.c: Likewise.
48556 * benchtests/bench-memmem-ifunc.c: Likewise.
48557 * benchtests/bench-memmove-ifunc.c: Likewise.
48558 * benchtests/bench-mempcpy-ifunc.c: Likewise.
48559 * benchtests/bench-memrchr-ifunc.c: Likewise.
48560 * benchtests/bench-memset-ifunc.c: Likewise.
48561 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
48562 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
48563 * benchtests/bench-stpcpy-ifunc.c: Likewise.
48564 * benchtests/bench-stpncpy-ifunc.c: Likewise.
48565 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
48566 * benchtests/bench-strcasestr-ifunc.c: Likewise.
48567 * benchtests/bench-strcat-ifunc.c: Likewise.
48568 * benchtests/bench-strchr-ifunc.c: Likewise.
48569 * benchtests/bench-strchrnul-ifunc.c: Likewise.
48570 * benchtests/bench-strcmp-ifunc.c: Likewise.
48571 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
48572 * benchtests/bench-strcpy-ifunc.c: Likewise.
48573 * benchtests/bench-strcspn-ifunc.c: Likewise.
48574 * benchtests/bench-strlen-ifunc.c: Likewise.
48575 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
48576 * benchtests/bench-strncat-ifunc.c: Likewise.
48577 * benchtests/bench-strncmp-ifunc.c: Likewise.
48578 * benchtests/bench-strncpy-ifunc.c: Likewise.
48579 * benchtests/bench-strnlen-ifunc.c: Likewise.
48580 * benchtests/bench-strpbrk-ifunc.c: Likewise.
48581 * benchtests/bench-strrchr-ifunc.c: Likewise.
48582 * benchtests/bench-strsep-ifunc.c: Likewise.
48583 * benchtests/bench-strspn-ifunc.c: Likewise.
48584 * benchtests/bench-strstr-ifunc.c: Likewise.
48585
48586 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
48587
48588 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48589
48590 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
48591
48592 * resolv/netdb.h: Use __glibc_reserved instead __unused.
48593 * rt/aio.h: Likewise.
48594 * sysdeps/gnu/bits/utmp.h: Likewise.
48595 * sysdeps/gnu/bits/utmpx.h: Likewise.
48596 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48597 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48598 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48599 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48600 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48601 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48602 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48603 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48604 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48605 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48606 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48607 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48608 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48610 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48611 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48612 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48613 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48614 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48615 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48616 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48617 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48618 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48619 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48620 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48622 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48623 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48624 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48625 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48626 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48627 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48628 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48629 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48630 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48631 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48632 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48633 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48634 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48635 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48636 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48637 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48638
48639 2013-11-25 Carlos O'Donell <carlos@redhat.com>
48640
48641 [BZ #16245]
48642 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48643 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48644
48645 2013-11-25 Joseph Myers <joseph@codesourcery.com>
48646
48647 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48648 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48649 Likewise.
48650
48651 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48652
48653 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48654 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48655 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48656 (__fesetround): Remove define.
48657 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48658 rounding and exceptions handling.
48659 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48660 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48661 (__fe_nomask_env): Likewise.
48662 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48663 __fegetround instead of fegetround.
48664 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48665 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48666
48667 2013-11-21 Roland McGrath <roland@hack.frob.com>
48668
48669 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48670 it's there.
48671
48672 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48673
48674 2013-11-21 Meador Inge <meadori@codesourcery.com>
48675
48676 [BZ #11157]
48677 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48678 (encrypt_r): Likewise.
48679 * malloc/obstack.h (obstack_free): Likewise.
48680 * posix/unistd.h (encrypt): Likewise.
48681
48682 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
48683
48684 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48685 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48686 DL_CALL_DT_FINI() that call the functions directly.
48687 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48688 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48689 * elf/dl-fini.c: Likewise.
48690
48691 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
48692
48693 * malloc/hooks.c (memalign_check): Add alignment rounding.
48694 * malloc/malloc.c (_mid_memalign): New function.
48695 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48696 Implement by calling _mid_memalign.
48697 * manual/probes.texi (Memory Allocation Probes): Remove
48698 memory_valloc_retry and memory_pvalloc_retry.
48699
48700 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
48701
48702 * locale/programs/locarchive.c (open_archive): Add const
48703 qualifier to ARCHIVEFNAME and copy default fname to
48704 DEFAULT_FNAME.
48705
48706 [BZ #15601]
48707 * libio/tst-widetext.input: Rename Oriya to Odia.
48708 * locale/iso-639.def: Likewise.
48709
48710 * manual/probes.texi (Mathematical Function Probes): Add
48711 documentation for sin, cos, asin and acos probes.
48712 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48713 (__sin32): Add slowasin probe.
48714 (__cos32): Add slowacos probe.
48715 (__mpsin): Add slowsin probe.
48716 (__mpcos): Add slowcos probe.
48717
48718 2013-11-19 Joseph Myers <joseph@codesourcery.com>
48719
48720 [BZ #15483]
48721 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48722 thread-local __sim_exceptions_thread and global
48723 __sim_exceptions_global.
48724 (__sim_disabled_exceptions): Change to thread-local
48725 __sim_disabled_exceptions_thread and global
48726 __sim_disabled_exceptions_global.
48727 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48728 and global __sim_round_mode_global.
48729 (__simulate_exceptions): Use thread-local floating-point state and
48730 set global state from it as needed.
48731 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48732 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48733 __sim_round_mode_thread.
48734 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48735 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48736 and global __sim_exceptions_global.
48737 (__sim_disabled_exceptions): Change to thread-local
48738 __sim_disabled_exceptions_thread and global
48739 __sim_disabled_exceptions_global.
48740 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48741 and global __sim_round_mode_global.
48742 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48743 (SIM_SET_GLOBAL): Likewise.
48744 * sysdeps/powerpc/soft-fp/sfp-machine.h
48745 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48746 __sim_round_mode_thread.
48747 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48748 __sim_disabled_exceptions_thread.
48749 (__sim_exceptions): Change to __sim_exceptions_thread.
48750 (__sim_disabled_exceptions): Change to
48751 __sim_disabled_exceptions_thread.
48752 (__sim_round_mode): Change to __sim_round_mode_thread.
48753 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48754 thread-local floating-point state and set global state from it as
48755 needed.
48756 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48757 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48758 (__sim_disabled_exceptions): Remove extern declaration.
48759 (feenableexcept): Use thread-local floating-point state and set
48760 global state from it as needed.
48761 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48762 extern declaration.
48763 (__sim_disabled_exceptions): Likewise.
48764 (__sim_round_mode): Likewise.
48765 (__fegetenv): Use thread-local floating-point state.
48766 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48767 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48768 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48769 floating-point state and set global state from it as needed.
48770 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48771 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48772 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48773 Likewise.
48774 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48775 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48776 Likewise.
48777 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48778 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48779 Use __sim_round_mode_thread.
48780 * math/test-fenv-tls.c: New file.
48781 * math/Makefile (tests): Add test-fenv-tls.
48782 ($(objpfx)test-fenv-tls): Depend on
48783 $(common-objpfx)nptl/libpthread.so.
48784
48785 2013-11-19 Andreas Schwab <schwab@suse.de>
48786
48787 * locale/programs/locale.c (show_info): Decode wordarray elements.
48788 * locale/categories.def (LC_MONETARY): Add element for
48789 _NL_MONETARY_CRNCYSTR.
48790 * locale/C-monetary.c (conversion_rate): New variable.
48791 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48792 element.
48793
48794 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
48795
48796 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48797 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48798
48799 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48800
48801 * elf/Makefile (tst-auxv): New test.
48802 * elf/tst-auxv.c: New
48803 * elf/rtld.c (dl_main): Adjust AT_EXECFN
48804
48805 2013-11-18 Joseph Myers <joseph@codesourcery.com>
48806
48807 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48808 (hidden_proto): Caller changed.
48809 (hidden_tls_proto): New macro.
48810 (libc_hidden_tls_proto): Likewise.
48811 (rtld_hidden_tls_proto): Likewise.
48812 (libm_hidden_tls_proto): Likewise.
48813 (libresolv_hidden_tls_proto): Likewise.
48814 (librt_hidden_tls_proto): Likewise.
48815 (libdl_hidden_tls_proto): Likewise.
48816 (libnss_files_hidden_tls_proto): Likewise.
48817 (libnsl_hidden_tls_proto): Likewise.
48818 (libnss_nisplus_hidden_tls_proto): Likewise.
48819 (libutil_hidden_tls_proto): Likewise.
48820
48821 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
48822
48823 [BZ #10253]
48824 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48825 (decompose_rpath): Defer expansion to fillin_rpath.
48826 (_dl_init_paths): Pass linkmap to fillin_rpath.
48827
48828 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48829
48830 * benchtests/Makefile: Add strsep.
48831 * benchtests/bench-strsep.c: New file: strsep benchtest.
48832 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48833
48834 2013-11-18 Andreas Schwab <schwab@suse.de>
48835
48836 * locale/programs/locale.c (show_info) [case byte]: Check for
48837 '\377' instead of '\177'.
48838 * locale/C-monetary.c (not_available): Always use "\377".
48839 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48840 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
48841 detect unavailable sign_posn locale elements.
48842 * locale/localeconv.c (__localeconv): For grouping and
48843 mon_grouping handle "\177" and "\377" like no grouping.
48844 (INT_ELEM): New macro. Use it to set all numeric members.
48845 * locale/programs/ld-monetary.c (monetary_read)
48846 <tok_mon_grouping>: Normalize single -1 to the empty string.
48847 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48848 Likewise.
48849
48850 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
48851
48852 [BZ #16055]
48853 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48854 when we match (nil).
48855 * stdio-common/tst-sscanf.c (struct test): Add testcase.
48856
48857 2013-11-16 Joseph Myers <joseph@codesourcery.com>
48858
48859 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48860 (NO_TEST_INLINE): Update value.
48861 (ERRNO_UNCHANGED): Likewise.
48862 (ERRNO_EDOM): Likewise.
48863 (ERRNO_ERANGE): Likewise.
48864 (IGNORE_RESULT): Likewise.
48865 (check_float_internal): Check signs of NaN results if
48866 TEST_NAN_SIGN used.
48867 (check_complex): Pass TEST_NAN_SIGN flag through to second
48868 check_float_internal call.
48869 (copysign_test_data): Add tests with quiet NaNs as second
48870 argument. Use TEST_NAN_SIGN.
48871 (fabs_test_data): Add test of negative quiet NaN argument. Use
48872 TEST_NAN_SIGN.
48873 (signbit_test_data): Add tests of quiet NaN argument.
48874 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48875
48876 * math/gen-libm-test.pl (show_exceptions): Take extra argument
48877 $ignore_result.
48878 (parse_args): Handle function results specified as IGNORE.
48879 * math/libm-test.inc (IGNORE_RESULT): New macro.
48880 (check_float_internal): Do not check numerical result if flag
48881 IGNORE_RESULT set.
48882 (check_complex): Pass through IGNORE_RESULT to second
48883 check_float_internal call.
48884 (check_int): Do not check numerical result if flag IGNORE_RESULT
48885 set.
48886 (check_long): Likewise.
48887 (check_bool): Likewise.
48888 (check_longlong): Likewise.
48889 (lrint_test_data): Add tests of infinite and NaN arguments.
48890 (lrint_tonearest_test_data): Likewise.
48891 (lrint_towardzero_test_data): Likewise.
48892 (lrint_downward_test_data): Likewise.
48893 (lrint_upward_test_data): Likewise.
48894 (llrint_test_data): Likewise.
48895 (llrint_tonearest_test_data): Likewise.
48896 (llrint_towardzero_test_data): Likewise.
48897 (llrint_downward_test_data): Likewise.
48898 (llrint_upward_test_data): Likewise.
48899 (lround_test_data): Likewise.
48900 (llround_test_data): Likewise.
48901
48902 * math/libm-test.inc (NO_TEST_INLINE): New macro.
48903 (ERRNO_UNCHANGED): Update value.
48904 (ERRNO_EDOM): Likewise.
48905 (ERRNO_ERANGE): Likewise.
48906 (NO_TEST_INLINE_FLOAT): New macro.
48907 (NO_TEST_INLINE_DOUBLE): Likewise.
48908 (enable_test): New function.
48909 (RUN_TEST_f_f): Check enable_test before running test.
48910 (RUN_TEST_2_f): Likewise.
48911 (RUN_TEST_fff_f): Likewise.
48912 (RUN_TEST_c_f): Likewise.
48913 (RUN_TEST_f_f1): Likewise.
48914 (RUN_TEST_fF_f1): Likewise.
48915 (RUN_TEST_fI_f1): Likewise.
48916 (RUN_TEST_ffI_f1): Likewise.
48917 (RUN_TEST_c_c): Likewise.
48918 (RUN_TEST_cc_c): Likewise.
48919 (RUN_TEST_f_i): Likewise.
48920 (RUN_TEST_f_i_tg): Likewise.
48921 (RUN_TEST_ff_i_tg): Likewise.
48922 (RUN_TEST_f_b): Likewise.
48923 (RUN_TEST_f_b_tg): Likewise.
48924 (RUN_TEST_f_l): Likewise.
48925 (RUN_TEST_f_L): Likewise.
48926 (RUN_TEST_fFF_11): Likewise.
48927 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48928 conditionals.
48929 (cosh_test_data): Likewise.
48930 (exp_test_data): Likewise.
48931 (expm1_test_data): Likewise.
48932 (hypot_test_data): Likewise.
48933 (pow_test_data): Likewise.
48934 (sinh_test_data): Likewise.
48935 (tanh_test_data): Likewise.
48936 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48937 flags argument.
48938
48939 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48940 tests with quiet NaN input and output.
48941 (acosh_test_data): Likewise.
48942 (asin_test_data): Likewise.
48943 (asinh_test_data): Likewise.
48944 (atan_test_data): Likewise.
48945 (atanh_test_data): Likewise.
48946 (atan2_test_data): Likewise.
48947 (cbrt_test_data): Likewise.
48948 (cos_test_data): Likewise.
48949 (cosh_test_data): Likewise.
48950 (erf_test_data): Likewise.
48951 (erfc_test_data): Likewise.
48952 (exp_test_data): Likewise.
48953 (exp10_test_data): Likewise.
48954 (exp2_test_data): Likewise.
48955 (expm1_test_data): Likewise.
48956 (hypot_test_data): Likewise.
48957 (j0_test_data): Likewise.
48958 (j1_test_data): Likewise.
48959 (jn_test_data): Likewise.
48960 (lgamma_test_data): Likewise.
48961 (log_test_data): Likewise.
48962 (log10_test_data): Likewise.
48963 (log1p_test_data): Likewise.
48964 (log2_test_data): Likewise.
48965 (pow_test_data): Likewise.
48966 (scalb_test_data): Likewise.
48967 (sin_test_data): Likewise.
48968 (sincos_test_data): Likewise.
48969 (sinh_test_data): Likewise.
48970 (tan_test_data): Likewise.
48971 (tanh_test_data): Likewise.
48972 (tgamma_test_data): Likewise.
48973 (y0_test_data): Likewise.
48974 (y1_test_data): Likewise.
48975 (yn_test_data): Likewise.
48976
48977 [BZ #16167]
48978 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48979 argument being NaN and avoid computations with second argument in
48980 that case.
48981 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48982 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48983 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48984
48985 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
48986
48987 * locale/iso-639.def: Add Chitwani Tharu (the).
48988
48989 2013-11-14 Andreas Schwab <schwab@suse.de>
48990
48991 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48992 word instead of empty string.
48993
48994 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48995
48996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48997 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48999 (__fe_nomask_env): Likewise.
49000
49001 2013-11-13 Steve Ellcey <sellcey@mips.com>
49002
49003 * benchtests/bench-timing.h: Include time.h.
49004
49005 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
49006
49007 [BZ #15997]
49008 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
49009 to 3.4.0 for x32.
49010 * sysdeps/unix/sysv/linux/configure: Regenerated.
49011
49012 2013-11-13 Joseph Myers <joseph@codesourcery.com>
49013
49014 [BZ #16151]
49015 * stdlib/strtod_l.c (round_and_return): Do not consider
49016 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
49017 exponent one less than half the least subnormal exponent.
49018 * stdlib/test-strtod-round-data: Add more tests.
49019 * stdlib/tst-strtod-round.c (tests): Regenerated.
49020
49021 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49022
49023 [BZ #14143]
49024 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
49025 (__fe_mask_env): Likewise.
49026 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
49027 libm_hidden_proto and add function prototype.
49028 (__fe_mask_env): Add function prototype.
49029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49030 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
49031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49032 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
49033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49034 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
49035
49036 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49037
49038 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
49039 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
49040
49041 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49042
49043 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
49044 of htab_find_slot().
49045
49046 2013-11-11 David S. Miller <davem@davemloft.net>
49047
49048 [BZ #16150]
49049 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
49050 symbol in the non-vis3 case in static builds.
49051 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
49052 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
49053 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
49054 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
49055
49056 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
49057
49058 [BZ #387]
49059 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
49060 it is empty.
49061
49062 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49063
49064 * benchtests/Makefile: Add bench-strtod.
49065 * benchtests/bench-strtod.c: New file: strtod benchtest
49066
49067 2013-11-11 Andreas Schwab <schwab@suse.de>
49068
49069 [BZ #16153]
49070 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
49071 terminating NUL in key length.
49072
49073 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49074
49075 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49076 Add artificial ODP entry for vDSO symbol for PPC64.
49077 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
49078 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
49079
49080 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
49081
49082 [BZ #15374]
49083 * nss/getent.c (services_keys): Recognize services starting with digit.
49084
49085 2013-11-06 David S. Miller <davem@davemloft.net>
49086
49087 [BZ #15985]
49088 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
49089 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
49090
49091 2013-11-06 Will Newton <will.newton@linaro.org>
49092
49093 * manual/memory.texi (Malloc Examples): Remove register
49094 keyword from examples.
49095
49096 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
49097
49098 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
49099
49100 2013-11-04 Joseph Myers <joseph@codesourcery.com>
49101
49102 [BZ #6981]
49103 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
49104 depending on [__GCC_IEC_559 > 0].
49105 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
49106 depending on [__GCC_IEC_559_COMPLEX > 0].
49107
49108 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
49109
49110 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
49111 to iso-639.def.
49112
49113 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
49114
49115 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
49116
49117 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
49118
49119 [BZ #16112]
49120 * malloc/malloc (malloc_info): Do not handle first bin as
49121 special case.
49122
49123 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
49124
49125 * locale/iso-639.def: Add Central Nahuatl (nhn).
49126
49127 2013-11-01 Bruno Haible <bruno@clisp.org>
49128
49129 [BZ #7003]
49130 * manual/math.texi (BSD Random): Specify range upper bound as
49131 in POSIX.
49132
49133 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
49134
49135 * locale/iso-639.def: Add Meadow Mari (mhr).
49136
49137 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
49138
49139 [BZ #14752], [BZ #15763]
49140 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
49141 Validate name.
49142 * rt/tst_shm.c: Add test for escaping directory.
49143
49144 2013-10-31 Andreas Schwab <schwab@suse.de>
49145
49146 [BZ #15917]
49147 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
49148 followed by 'x' as part of digit sequence.
49149 * stdio-common/tst-sscanf.c (double_tests2): New tests.
49150
49151 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
49152
49153 [BZ #16037]
49154 * configure.ac: allow GNU Make 4.0 and greater.
49155 * configure: Regenerated.
49156
49157 2013-10-30 Will Newton <will.newton@linaro.org>
49158
49159 [BZ #16038]
49160 * malloc/hooks.c (memalign_check): Limit alignment to the
49161 maximum representable power of two.
49162 * malloc/malloc.c (__libc_memalign): Likewise.
49163 * malloc/tst-memalign.c (do_test): Add test for very
49164 large alignment values.
49165 * malloc/tst-posix_memalign.c (do_test): Likewise.
49166
49167 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
49168
49169 [BZ #11087]
49170 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
49171 (munmap_chunk): Likewise.
49172 (mremap_chunk): Likewise.
49173
49174 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
49175
49176 [BZ #15799]
49177 * stdlib/div.c (div): Remove obsolete code.
49178 * stdlib/ldiv.c (ldiv): Likewise.
49179 * stdlib/lldiv.c (lldiv): Likewise.
49180
49181 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49182
49183 [BZ #16071]
49184 * nss/nss_files/files-XXX.c (get_contents_ret): New
49185 enumerator.
49186 (get_contents): New function.
49187 (internal_getent): Use it. Expand size of LINEBUFLEN.
49188
49189 2013-10-30 Mike Frysinger <vapier@gentoo.org>
49190
49191 * configure.in: Moved to ...
49192 * configure.ac: ... here. Change reference to configure.in
49193 to configure.ac.
49194 * sysdeps/arm/preconfigure.ac: ... here.
49195 configure.in to configure.ac.
49196 * sysdeps/gnu/configure.in: Moved to ...
49197 * sysdeps/gnu/configure.ac: ... here.
49198 * sysdeps/i386/configure.in: Moved to ...
49199 * sysdeps/i386/configure.ac: ... here.
49200 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
49201 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
49202 * sysdeps/mach/configure.in: Moved to ...
49203 * sysdeps/mach/configure.ac: ... here.
49204 * sysdeps/mach/hurd/configure.in: Moved to ...
49205 * sysdeps/mach/hurd/configure.ac: ... here.
49206 * sysdeps/powerpc/configure.in: Moved to ...
49207 * sysdeps/powerpc/configure.ac: ... here.
49208 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
49209 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
49210 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
49211 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
49212 * sysdeps/s390/s390-32/configure.in: Moved to ...
49213 * sysdeps/s390/s390-32/configure.ac: ... here.
49214 * sysdeps/s390/s390-64/configure.in: Moved to ...
49215 * sysdeps/s390/s390-64/configure.ac: ... here.
49216 * sysdeps/sh/configure.in: Moved to ...
49217 * sysdeps/sh/configure.ac: ... here.
49218 * sysdeps/sparc/configure.in: Moved to ...
49219 * sysdeps/sparc/configure.ac: ... here.
49220 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
49221 * sysdeps/unix/sysv/linux/configure.ac: ... here.
49222 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
49223 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
49224 * sysdeps/x86_64/configure.in: Moved to ...
49225 * sysdeps/x86_64/configure.ac: ... here.
49226 * sysdeps/x86_64/preconfigure.in: Moved to ...
49227 * sysdeps/x86_64/preconfigure.ac: ... here.
49228 * aclocal.m4: Change reference to configure.in to configure.ac.
49229 * config.h.in: Likewise.
49230 * manual/install.texi: Likewise.
49231 * manual/maint.texi: Likewise.
49232 * Makefile: Likewise.
49233 * malloc/Makefile: Likewise.
49234 * nscd/Makefile: Likewise.
49235 * Makeconfig: Change reference to configure.in and
49236 preconfigure.in to configure.ac and preconfigure.ac
49237 respectively.
49238 * INSTALL: Regenerated.
49239 * configure: Likewise.
49240 * sysdeps/gnu/configure: Likewise.
49241 * sysdeps/i386/configure: Likewise.
49242 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
49243 * sysdeps/mach/configure: Likewise.
49244 * sysdeps/mach/hurd/configure: Likewise.
49245 * sysdeps/powerpc/configure: Likewise.
49246 * sysdeps/powerpc/powerpc32/configure: Likewise.
49247 * sysdeps/powerpc/powerpc64/configure: Likewise.
49248 * sysdeps/s390/s390-32/configure: Likewise.
49249 * sysdeps/s390/s390-64/configure: Likewise.
49250 * sysdeps/sh/configure: Likewise.
49251 * sysdeps/sparc/configure: Likewise.
49252 * sysdeps/unix/sysv/linux/configure: Likewise.
49253 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
49254 * sysdeps/x86_64/configure: Likewise.
49255 * sysdeps/x86_64/preconfigure: Likewise.
49256
49257 2013-10-29 Andreas Schwab <schwab@suse.de>
49258
49259 * stdio-common/Makefile (tst-swscanf-ENV): Define.
49260
49261 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49262
49263 * benchtests/pow-inputs: Add new inputs.
49264
49265 * benchtests/exp-inputs: Add new inputs.
49266
49267 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
49268 conditional check for return value.
49269 (__cos32): Likewise.
49270
49271 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49272
49273 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
49274 to provide a boost for large inputs with word alignment.
49275 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
49276 implementation based on optimized PPC64 strcpy.
49277 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
49278 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
49279 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
49280 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
49281
49282 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
49283
49284 [BZ #2801]
49285 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
49286
49287 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
49288
49289 [BZ #14876]
49290 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
49291 * time/tst-strptime.c (day_tests): Add testcase.
49292
49293 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
49294
49295 [BZ #14029]
49296 * manual/pattern.texi: Acknowledge that fnmatch can fail.
49297
49298 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
49299
49300 [BZ #16074]
49301 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
49302 MAP_FAILED on error.
49303
49304 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49305
49306 [BZ #16072]
49307 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
49308 heap for large requests.
49309
49310 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
49311
49312 [BZ #9954]
49313 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
49314 result if the result has no associated interface.
49315 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
49316 interface for all 127.X.Y.Z addresses.
49317
49318 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
49319
49320 * locale/iso-639.def: Add Ligurian (lij)
49321
49322 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
49323
49324 [BZ #15825]
49325 * sunrpc/rpc_main.c: Document rpcgen -5.
49326
49327 2013-10-19 Michael Stahl <mstahl@redhat.com>
49328
49329 * elf/rtld.c (do_preload): Print the reason why preloading failed.
49330
49331 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
49332
49333 [BZ #10278]
49334 * posix/glob.c: Match only directories when trailing slash is present.
49335 * posix/tst-gnuglob.c (my_opendir): Do not open files.
49336 (main): Add testcase.
49337
49338 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
49339
49340 [BZ #15670]
49341 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
49342
49343 2013-10-18 Carlos O'Donell <carlos@redhat.com>
49344
49345 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
49346 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
49347 AUTH_DES and cindex for FIPS 140-2.
49348 (DES Encryption): Add cindex FIPS 46-3.
49349
49350 * locale/locarchive.h (struct locarhandle): Add fname.
49351 * locale/programs/localedef.c (main): Pass ARGV[remaining]
49352 if an optional argument was specified to --list-archive,
49353 otherwise NULL.
49354 * locale/programs/locarchive.c (show_archive_content): Take new
49355 argument fname and pass it via ah.fname to open_archive.
49356 * locale/programs/localedef.h: Update decl.
49357 (open_archive): If AH->fname is non-null, open that file
49358 rather than the default file name, and don't ignore ENOENT.
49359 (create_archive): Set AH.fname to NULL.
49360 (delete_locales_from_archive): Likewise.
49361 (add_locales_to_archive): Likewise.
49362 * locale/programs/locfile.c (write_all_categories): Likewise.
49363
49364 2013-10-18 Joseph Myers <joseph@codesourcery.com>
49365 Aldy Hernandez <aldyh@redhat.com>
49366
49367 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
49368 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
49369 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
49370 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
49371 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
49372 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
49373 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
49374 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
49375 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
49376 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
49377 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
49378 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
49379 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
49380 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
49381 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
49382 Likewise.
49383 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
49384 Likewise.
49385 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
49386 Likewise.
49387 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
49388 Likewise.
49389 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
49390 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
49391 Likewise.
49392 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
49393 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
49394 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
49395 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
49396 Likewise.
49397 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
49398 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
49399 * sysdeps/powerpc/preconfigure: Likewise.
49400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
49401 Likewise.
49402 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
49403 Replace contents of file by #include of <fenv_libc.h>.
49404 * sysdeps/powerpc/soft-fp/sfp-machine.h
49405 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
49406 and <sys/prctl.h>.
49407 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
49408 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
49409 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
49410 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
49411 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
49412 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
49413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
49414 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
49415 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
49416 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
49417 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
49418 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
49419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49420 Allow copysignl PLT reference to be missing.
49421
49422 2013-10-18 Richard Sandiford <richard@codesourcery.com>
49423 Joseph Myers <joseph@codesourcery.com
49424
49425 [BZ #15948]
49426 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
49427 single character.
49428 (add_to_tablewc): Assert sequence of wide characters is nonempty.
49429
49430 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
49431
49432 * elf/tst-tls-dlinfo.c: Don't include tls.h.
49433 * elf/tst-tls1.c: Likewise.
49434 * elf/tst-tls10.h: Likewise.
49435 * elf/tst-tls14.c: Likewise.
49436 * elf/tst-tls2.c: Likewise.
49437 * elf/tst-tls3.c: Likewise.
49438 * elf/tst-tls4.c: Likewise.
49439 * elf/tst-tls5.c: Likewise.
49440 * elf/tst-tls6.c: Likewise.
49441 * elf/tst-tls7.c: Likewise.
49442 * elf/tst-tls8.c: Likewise.
49443 * elf/tst-tls9.c: Likewise.
49444 * elf/tst-tlsmod1.c: Likewise.
49445 * elf/tst-tlsmod13.c: Likewise.
49446 * elf/tst-tlsmod13a.c: Likewise.
49447 * elf/tst-tlsmod14a.c: Likewise.
49448 * elf/tst-tlsmod16a.c: Likewise.
49449 * elf/tst-tlsmod16b.c: Likewise.
49450 * elf/tst-tlsmod2.c: Likewise.
49451 * elf/tst-tlsmod3.c: Likewise.
49452 * elf/tst-tlsmod4.c: Likewise.
49453 * elf/tst-tlsmod5.c: Likewise.
49454 * elf/tst-tlsmod6.c: Likewise.
49455
49456 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
49457
49458 [BZ #12486]
49459 * malloc/malloc.c: remove checks for statistics.
49460
49461 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
49462
49463 [BZ #15277]
49464 * inet/inet_net.c (inet_network): Detect additional invalid strings.
49465 * inet/tst-network.c: Add testcase.
49466
49467 2013-10-17 Andreas Schwab <schwab@suse.de>
49468
49469 [BZ #15218]
49470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
49471 to determine canonical name.
49472
49473 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
49474
49475 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
49476 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
49477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49478 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49480 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49481 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49482 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49483 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49484 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49485 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49486 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49487 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49488 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49489 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49490 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49492 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49493 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49494 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49495 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49497 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49498 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
49499 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
49500 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49501 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49502 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
49503 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49504 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
49505 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49507 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49508 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49511 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49515 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49516 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49517 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49518 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49519 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49520 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49521 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49522 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49523 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49524 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49525 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49526 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49527 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49528 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49529 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49530 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49532 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49533
49534 2013-10-17 Joseph Myers <joseph@codesourcery.com>
49535
49536 [BZ #16041]
49537 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
49538 make result into a quiet NaN.
49539
49540 2013-10-16 Joseph Myers <joseph@codesourcery.com>
49541
49542 * soft-fp/adddf3.c: Fix horizontal whitespace.
49543 * soft-fp/addsf3.c: Likewise.
49544 * soft-fp/addtf3.c: Likewise.
49545 * soft-fp/divdf3.c: Likewise.
49546 * soft-fp/divsf3.c: Likewise.
49547 * soft-fp/divtf3.c: Likewise.
49548 * soft-fp/double.h: Likewise.
49549 * soft-fp/eqdf2.c: Likewise.
49550 * soft-fp/eqsf2.c: Likewise.
49551 * soft-fp/eqtf2.c: Likewise.
49552 * soft-fp/extenddftf2.c: Likewise.
49553 * soft-fp/extended.h: Likewise.
49554 * soft-fp/extendsfdf2.c: Likewise.
49555 * soft-fp/extendsftf2.c: Likewise.
49556 * soft-fp/extendxftf2.c: Likewise.
49557 * soft-fp/fixdfdi.c: Likewise.
49558 * soft-fp/fixdfsi.c: Likewise.
49559 * soft-fp/fixdfti.c: Likewise.
49560 * soft-fp/fixsfdi.c: Likewise.
49561 * soft-fp/fixsfsi.c: Likewise.
49562 * soft-fp/fixsfti.c: Likewise.
49563 * soft-fp/fixtfdi.c: Likewise.
49564 * soft-fp/fixtfsi.c: Likewise.
49565 * soft-fp/fixtfti.c: Likewise.
49566 * soft-fp/fixunsdfdi.c: Likewise.
49567 * soft-fp/fixunsdfsi.c: Likewise.
49568 * soft-fp/fixunsdfti.c: Likewise.
49569 * soft-fp/fixunssfdi.c: Likewise.
49570 * soft-fp/fixunssfsi.c: Likewise.
49571 * soft-fp/fixunssfti.c: Likewise.
49572 * soft-fp/fixunstfdi.c: Likewise.
49573 * soft-fp/fixunstfsi.c: Likewise.
49574 * soft-fp/fixunstfti.c: Likewise.
49575 * soft-fp/floatdidf.c: Likewise.
49576 * soft-fp/floatdisf.c: Likewise.
49577 * soft-fp/floatditf.c: Likewise.
49578 * soft-fp/floatsidf.c: Likewise.
49579 * soft-fp/floatsisf.c: Likewise.
49580 * soft-fp/floatsitf.c: Likewise.
49581 * soft-fp/floattidf.c: Likewise.
49582 * soft-fp/floattisf.c: Likewise.
49583 * soft-fp/floattitf.c: Likewise.
49584 * soft-fp/floatundidf.c: Likewise.
49585 * soft-fp/floatundisf.c: Likewise.
49586 * soft-fp/floatunditf.c: Likewise.
49587 * soft-fp/floatunsidf.c: Likewise.
49588 * soft-fp/floatunsisf.c: Likewise.
49589 * soft-fp/floatunsitf.c: Likewise.
49590 * soft-fp/floatuntidf.c: Likewise.
49591 * soft-fp/floatuntisf.c: Likewise.
49592 * soft-fp/floatuntitf.c: Likewise.
49593 * soft-fp/fmadf4.c: Likewise.
49594 * soft-fp/fmasf4.c: Likewise.
49595 * soft-fp/fmatf4.c: Likewise.
49596 * soft-fp/gedf2.c: Likewise.
49597 * soft-fp/gesf2.c: Likewise.
49598 * soft-fp/getf2.c: Likewise.
49599 * soft-fp/ledf2.c: Likewise.
49600 * soft-fp/lesf2.c: Likewise.
49601 * soft-fp/letf2.c: Likewise.
49602 * soft-fp/muldf3.c: Likewise.
49603 * soft-fp/mulsf3.c: Likewise.
49604 * soft-fp/multf3.c: Likewise.
49605 * soft-fp/negdf2.c: Likewise.
49606 * soft-fp/negsf2.c: Likewise.
49607 * soft-fp/negtf2.c: Likewise.
49608 * soft-fp/op-1.h: Likewise.
49609 * soft-fp/op-2.h: Likewise.
49610 * soft-fp/op-4.h: Likewise.
49611 * soft-fp/op-8.h: Likewise.
49612 * soft-fp/op-common.h: Likewise.
49613 * soft-fp/quad.h: Likewise.
49614 * soft-fp/single.h: Likewise.
49615 * soft-fp/soft-fp.h: Likewise.
49616 * soft-fp/sqrtdf2.c: Likewise.
49617 * soft-fp/sqrtsf2.c: Likewise.
49618 * soft-fp/sqrttf2.c: Likewise.
49619 * soft-fp/subdf3.c: Likewise.
49620 * soft-fp/subsf3.c: Likewise.
49621 * soft-fp/subtf3.c: Likewise.
49622 * soft-fp/truncdfsf2.c: Likewise.
49623 * soft-fp/trunctfdf2.c: Likewise.
49624 * soft-fp/trunctfsf2.c: Likewise.
49625 * soft-fp/trunctfxf2.c: Likewise.
49626 * soft-fp/unorddf2.c: Likewise.
49627 * soft-fp/unordsf2.c: Likewise.
49628 * soft-fp/unordtf2.c: Likewise.
49629
49630 2013-10-15 Joseph Myers <joseph@codesourcery.com>
49631
49632 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49633 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49634
49635 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
49636
49637 * elf/dl-libc.c: Clear initfini list after freeing.
49638
49639 2013-10-14 Joseph Myers <joseph@codesourcery.com>
49640
49641 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49642 * soft-fp/addsf3.c: Likewise.
49643 * soft-fp/addtf3.c: Likewise.
49644 * soft-fp/divdf3.c: Likewise.
49645 * soft-fp/divsf3.c: Likewise.
49646 * soft-fp/divtf3.c: Likewise.
49647 * soft-fp/double.h: Likewise.
49648 * soft-fp/eqdf2.c: Likewise.
49649 * soft-fp/eqsf2.c: Likewise.
49650 * soft-fp/eqtf2.c: Likewise.
49651 * soft-fp/extenddftf2.c: Likewise.
49652 * soft-fp/extended.h: Likewise.
49653 * soft-fp/extendsfdf2.c: Likewise.
49654 * soft-fp/extendsftf2.c: Likewise.
49655 * soft-fp/extendxftf2.c: Likewise.
49656 * soft-fp/fixdfdi.c: Likewise.
49657 * soft-fp/fixdfsi.c: Likewise.
49658 * soft-fp/fixdfti.c: Likewise.
49659 * soft-fp/fixsfdi.c: Likewise.
49660 * soft-fp/fixsfsi.c: Likewise.
49661 * soft-fp/fixsfti.c: Likewise.
49662 * soft-fp/fixtfdi.c: Likewise.
49663 * soft-fp/fixtfsi.c: Likewise.
49664 * soft-fp/fixtfti.c: Likewise.
49665 * soft-fp/fixunsdfdi.c: Likewise.
49666 * soft-fp/fixunsdfsi.c: Likewise.
49667 * soft-fp/fixunsdfti.c: Likewise.
49668 * soft-fp/fixunssfdi.c: Likewise.
49669 * soft-fp/fixunssfsi.c: Likewise.
49670 * soft-fp/fixunssfti.c: Likewise.
49671 * soft-fp/fixunstfdi.c: Likewise.
49672 * soft-fp/fixunstfsi.c: Likewise.
49673 * soft-fp/fixunstfti.c: Likewise.
49674 * soft-fp/floatdidf.c: Likewise.
49675 * soft-fp/floatdisf.c: Likewise.
49676 * soft-fp/floatditf.c: Likewise.
49677 * soft-fp/floatsidf.c: Likewise.
49678 * soft-fp/floatsisf.c: Likewise.
49679 * soft-fp/floatsitf.c: Likewise.
49680 * soft-fp/floattidf.c: Likewise.
49681 * soft-fp/floattisf.c: Likewise.
49682 * soft-fp/floattitf.c: Likewise.
49683 * soft-fp/floatundidf.c: Likewise.
49684 * soft-fp/floatundisf.c: Likewise.
49685 * soft-fp/floatunsidf.c: Likewise.
49686 * soft-fp/floatunsisf.c: Likewise.
49687 * soft-fp/floatuntidf.c: Likewise.
49688 * soft-fp/floatuntisf.c: Likewise.
49689 * soft-fp/floatuntitf.c: Likewise.
49690 * soft-fp/fmadf4.c: Likewise.
49691 * soft-fp/fmasf4.c: Likewise.
49692 * soft-fp/fmatf4.c: Likewise.
49693 * soft-fp/gedf2.c: Likewise.
49694 * soft-fp/gesf2.c: Likewise.
49695 * soft-fp/getf2.c: Likewise.
49696 * soft-fp/ledf2.c: Likewise.
49697 * soft-fp/lesf2.c: Likewise.
49698 * soft-fp/letf2.c: Likewise.
49699 * soft-fp/muldf3.c: Likewise.
49700 * soft-fp/mulsf3.c: Likewise.
49701 * soft-fp/multf3.c: Likewise.
49702 * soft-fp/negdf2.c: Likewise.
49703 * soft-fp/negsf2.c: Likewise.
49704 * soft-fp/negtf2.c: Likewise.
49705 * soft-fp/op-1.h: Likewise.
49706 * soft-fp/op-2.h: Likewise.
49707 * soft-fp/op-4.h: Likewise.
49708 * soft-fp/op-8.h: Likewise.
49709 * soft-fp/op-common.h: Likewise.
49710 * soft-fp/quad.h: Likewise.
49711 * soft-fp/single.h: Likewise.
49712 * soft-fp/soft-fp.h: Likewise.
49713 * soft-fp/sqrtdf2.c: Likewise.
49714 * soft-fp/sqrtsf2.c: Likewise.
49715 * soft-fp/sqrttf2.c: Likewise.
49716 * soft-fp/subdf3.c: Likewise.
49717 * soft-fp/subsf3.c: Likewise.
49718 * soft-fp/subtf3.c: Likewise.
49719 * soft-fp/truncdfsf2.c: Likewise.
49720 * soft-fp/trunctfdf2.c: Likewise.
49721 * soft-fp/trunctfsf2.c: Likewise.
49722 * soft-fp/trunctfxf2.c: Likewise.
49723 * soft-fp/unorddf2.c: Likewise.
49724 * soft-fp/unordsf2.c: Likewise.
49725 * soft-fp/unordtf2.c: Likewise.
49726
49727 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
49728
49729 [BZ #15672]
49730 * misc/error.c (error_tail): Fix possible buffer overflow.
49731
49732 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
49733
49734 [BZ #13028]
49735 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49736 address.
49737
49738 2013-10-14 P. J. McDermott <pj@pehjota.net>
49739
49740 [BZ #832]
49741 * elf/ldd.bash.in (try_trace): New function. Delete previous code
49742 testing pipefail option.
49743
49744 2013-10-12 Joseph Myers <joseph@codesourcery.com>
49745
49746 * soft-fp/double.h: Indent preprocessor directives inside #if.
49747 * soft-fp/extended.h: Likewise.
49748 * soft-fp/op-2.h: Likewise.
49749 * soft-fp/op-4.h: Likewise.
49750 * soft-fp/op-common.h: Likewise.
49751 * soft-fp/quad.h: Likewise.
49752 * soft-fp/single.h: Likewise.
49753 * soft-fp/soft-fp.h: Likewise.
49754
49755 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
49756
49757 * iconv/iconv_prog.c: Fix typos.
49758 * stdio-common/psiginfo-data.h: Likewise.
49759
49760 2013-10-12 Reuben Thomas <rrt@sc3d.org>
49761
49762 [BZ #15764]
49763 * locale/setlocale.c: Fix typo.
49764
49765 2013-10-12 Joseph Myers <joseph@codesourcery.com>
49766
49767 [BZ #16036]
49768 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49769 signaling NaN arguments.
49770 * soft-fp/unordsf2.c (__unordsf2): Likewise.
49771 * soft-fp/unordtf2.c (__unordtf2): Likewise.
49772
49773 [BZ #14910]
49774 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49775 unordered operands.
49776 * soft-fp/gesf2.c (__gesf2): Likewise.
49777 * soft-fp/getf2.c (__getf2): Likewise.
49778 * soft-fp/ledf2.c (__ledf2): Likewise.
49779 * soft-fp/lesf2.c (__lesf2): Likewise.
49780 * soft-fp/letf2.c (__letf2): Likewise.
49781
49782 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49783 * soft-fp/eqsf2.c (__eqsf2): Likewise.
49784 * soft-fp/eqtf2.c (__eqtf2): Likewise.
49785 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49786 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49787 * soft-fp/fixdfti.c (__fixdfti): Likewise.
49788 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49789 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49790 * soft-fp/fixsfti.c (__fixsfti): Likewise.
49791 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49792 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49793 * soft-fp/fixtfti.c (__fixtfti): Likewise.
49794 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49795 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49796 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49797 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49798 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49799 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49800 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49801 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49802 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49803 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49804 * soft-fp/floatdisf.c (__floatdisf): Likewise.
49805 * soft-fp/floatsisf.c (__floatsisf): Likewise.
49806 * soft-fp/floattidf.c (__floattidf): Likewise.
49807 * soft-fp/floattisf.c (__floattisf): Likewise.
49808 * soft-fp/floattitf.c (__floattitf): Likewise.
49809 * soft-fp/floatundidf.c (__floatundidf): Likewise.
49810 * soft-fp/floatundisf.c (__floatundisf): Likewise.
49811 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49812 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49813 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49814 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49815 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49816 * soft-fp/gesf2.c (__gesf2): Likewise.
49817 * soft-fp/getf2.c (__getf2): Likewise.
49818 * soft-fp/ledf2.c (__ledf2): Likewise.
49819 * soft-fp/lesf2.c (__lesf2): Likewise.
49820 * soft-fp/letf2.c (__letf2): Likewise.
49821
49822 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49823 Undefine and redefine.
49824 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49825 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49826 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49827 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49828 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49829 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49830 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49831 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49832 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49833 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49834 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49835 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49836 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49837 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49838 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49839
49840 [BZ #16032]
49841 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49842 without decrementing exponent if mantissa >= that for the
49843 denominator, not >.
49844 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49845 denominator, not >. Decrement exponent in < case instead of
49846 incrementing in >= case.
49847 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49848 without decrementing exponent if mantissa >= that for the
49849 denominator, not >.
49850
49851 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49852 computing saturated result for unsigned overflow.
49853
49854 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49855 Jeff Law <law@redhat.com>
49856
49857 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49858 (atan2Mp): Add systemtap probe marker.
49859 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49860 (__ieee754_log): Add systemtap probe marker.
49861 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49862 (atanMp): Add systemtap probe marker.
49863 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49864 (tanMp): Add systemtap probe marker.
49865 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49866 (__slowexp): Add systemtap probe marker.
49867 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49868 (__slowpow): Add systemtap probe marker.
49869 * manual/probes.texi: Document probes.
49870
49871 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
49872
49873 [BZ #15362]
49874 * libio/fileops.c (_IO_new_file_write): Return count of bytes
49875 written.
49876 (_IO_new_file_xsputn): Don't return EOF if nothing has been
49877 written.
49878 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49879 written to buffer but not flushed.
49880 * libio/iofwrite_u.c: Likewise.
49881 * libio/iopadn.c: Return bytes returned even if EOF was
49882 encountered.
49883 * libio/iowpadn.c: Likewise.
49884 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49885 if _IO_padn does not write the whole buffer.
49886 [!COMPILE_WPRINTF] (PAD): Likewise.
49887
49888 2013-10-10 David S. Miller <davem@davemloft.net>
49889
49890 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49891 directory block.
49892
49893 2013-10-10 Joseph Myers <joseph@codesourcery.com>
49894
49895 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
49896 instead of FSF address.
49897 * soft-fp/fixdfti.c: Likewise.
49898 * soft-fp/fixsfti.c: Likewise.
49899 * soft-fp/fixtfti.c: Likewise.
49900 * soft-fp/fixunsdfti.c: Likewise.
49901 * soft-fp/fixunssfti.c: Likewise.
49902 * soft-fp/fixunstfti.c: Likewise.
49903 * soft-fp/floattidf.c: Likewise.
49904 * soft-fp/floattisf.c: Likewise.
49905 * soft-fp/floattitf.c: Likewise.
49906 * soft-fp/floatuntidf.c: Likewise.
49907 * soft-fp/floatuntisf.c: Likewise.
49908 * soft-fp/floatuntitf.c: Likewise.
49909 * soft-fp/trunctfxf2.c: Likewise.
49910
49911 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
49912 * soft-fp/fixdfti.c: Likewise.
49913 * soft-fp/fixsfti.c: Likewise.
49914 * soft-fp/fixtfti.c: Likewise.
49915 * soft-fp/fixunsdfti.c: Likewise.
49916 * soft-fp/fixunssfti.c: Likewise.
49917 * soft-fp/fixunstfti.c: Likewise.
49918 * soft-fp/floattidf.c: Likewise.
49919 * soft-fp/floattisf.c: Likewise.
49920 * soft-fp/floattitf.c: Likewise.
49921 * soft-fp/floatuntidf.c: Likewise.
49922 * soft-fp/floatuntisf.c: Likewise.
49923 * soft-fp/floatuntitf.c: Likewise.
49924 * soft-fp/trunctfxf2.c: Likewise.
49925
49926 2013-10-10 David S. Miller <davem@davemloft.net>
49927
49928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49929
49930 2013-10-10 Joseph Myers <joseph@codsourcery.com>
49931
49932 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49933 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49934 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49935 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49936 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49937 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49938 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49939
49940 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49941 for NaNs before doing comparisons on argument.
49942 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49943 Likewise.
49944
49945 2013-10-10 Will Newton <will.newton@linaro.org>
49946
49947 * malloc/hooks.c (memalign_check): Ensure the value of bytes
49948 passed to _int_memalign does not overflow.
49949
49950 2013-10-10 Torvald Riegel <triegel@redhat.com>
49951
49952 * scripts/bench.pl: Add include-sources directive.
49953 * benchtests/README: Update documentation.
49954
49955 2013-10-10 Joseph Myers <joseph@codesourcery.com>
49956
49957 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49958 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49959 instead of FP_INIT_ROUNDMODE.
49960 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49961 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49962
49963 [BZ #16034]
49964 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
49965 copy class of input value.
49966 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
49967 not handle exceptions.
49968 * soft-fp/negsf2.c (__negsf2): Likewise.
49969 * soft-fp/negtf2.c (__negtf2): Likewise.
49970 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49971
49972 2013-10-09 Joseph Myers <joseph@codesourcery.com>
49973
49974 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49975 semicolon. From Linux kernel.
49976
49977 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
49978
49979 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49980
49981 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
49982
49983 [BZ #156]
49984 * manual/socket.texi: Added statement about buffer
49985 for gethostbyname2_r.
49986
49987 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
49988
49989 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49990 Use .p2align directive instead, throughout.
49991 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49992 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49993 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49994 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49995 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49996 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49997 * sysdeps/x86_64/strchr.S: Likewise.
49998 * sysdeps/x86_64/strrchr.S: Likewise.
49999
50000 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
50001
50002 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
50003
50004 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
50005
50006 * sysdeps/generic/math_private.h (__mpsin1): Remove
50007 declaration.
50008 (__mpcos1): Likewise.
50009 (__mpsin): New argument __range_reduce.
50010 (__mpcos): Likewise.
50011 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50012 (slow): Use __mpsin and __mpcos.
50013 (slow1): Likewise.
50014 (slow2): Likewise.
50015 (sloww): Likewise.
50016 (sloww1): Likewise.
50017 (sloww2): Likewise.
50018 (bsloww): Likewise.
50019 (bsloww1): Likewise.
50020 (bsloww2): Likewise.
50021 (cslow2): Likewise.
50022 (csloww): Likewise.
50023 (csloww1): Likewise.
50024 (csloww2): Likewise.
50025 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
50026 range_reduce. Merge in __mpsin1.
50027 (__mpcos): Likewise.
50028 (__mpsin1): Remove.
50029 (__mpcos1): Likewise.
50030
50031 2013-10-07 Joseph Myers <joseph@codesourcery.com>
50032
50033 * locale/loadlocale.c (_nl_intern_locale_data): Use
50034 LOCFILE_ALIGNED_P.
50035 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
50036 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
50037 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
50038 obstack data is appropriately aligned.
50039 (obstack_int32_grow_fast): Likewise.
50040 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
50041 * locale/programs/locfile.c (add_locale_uint32): Likewise.
50042 (add_locale_uint32_array): Likewise.
50043
50044 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
50045
50046 * benchtests/Makefile: Remove ARGLIST and RET variables.
50047 ($(objpfx)bench-%.c): Pass only function name to the script.
50048 * benchtests/README: Update documentation.
50049 * benchtests/acos-inputs: Add new directives.
50050 * benchtests/acosh-inputs: Likewise.
50051 * benchtests/asin-inputs: Likewise.
50052 * benchtests/asinh-inputs: Likewise.
50053 * benchtests/atan-inputs: Likewise.
50054 * benchtests/atanh-inputs: Likewise.
50055 * benchtests/cos-inputs: Likewise.
50056 * benchtests/cosh-inputs: Likewise.
50057 * benchtests/exp-inputs: Likewise.
50058 * benchtests/log-inputs: Likewise.
50059 * benchtests/pow-inputs: Likewise.
50060 * benchtests/rint-inputs: Likewise.
50061 * benchtests/sin-inputs: Likewise.
50062 * benchtests/sinh-inputs: Likewise.
50063 * benchtests/tan-inputs: Likewise.
50064 * benchtests/tanh-inputs: Likewise.
50065 * scripts/bench.pl: Add support for new directives.
50066
50067 2013-10-07 Alan Modra <amodra@gmail.com>
50068
50069 * README: Fix careless merge.
50070
50071 2013-10-05 Alan Modra <amodra@gmail.com>
50072
50073 * NEWS: Mention powerpc64le support and bugs fixed.
50074 * README: Both big-endian and little-endian powerpc64 supported.
50075
50076 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
50077
50078 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
50079 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
50080 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
50081 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
50082
50083 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
50084
50085 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
50086 match prototype.
50087
50088 2013-10-04 Joseph Myers <joseph@codesourcery.com>
50089
50090 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
50091 Move -mhard-float appending from
50092 ports/sysdeps/powerpc/powerpc32/Makefile.
50093 [$(with-fp) = yes] (ASFLAGS): Likewise.
50094 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
50095 * sysdeps/powerpc/nofpu: Move directory from
50096 ports/sysdeps/powerpc/nofpu.
50097 * sysdeps/powerpc/soft-fp: Move directory from
50098 ports/sysdeps/powerpc/soft-fp.
50099 * sysdeps/powerpc/powerpc32/405: Move directory from
50100 ports/sysdeps/powerpc/powerpc32/405.
50101 * sysdeps/powerpc/powerpc32/440: Move directory from
50102 ports/sysdeps/powerpc/powerpc32/440.
50103 * sysdeps/powerpc/powerpc32/464: Move directory from
50104 ports/sysdeps/powerpc/powerpc32/464.
50105 * sysdeps/powerpc/powerpc32/476: Move directory from
50106 ports/sysdeps/powerpc/powerpc32/476.
50107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
50108 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
50109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
50110 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
50111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
50112 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
50113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
50114 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
50115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
50116 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
50117 * README: Update for powerpc-*-linux-gnu software floating point
50118 support in libc.
50119
50120 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
50121 case to powerpc/powerpc32*.
50122 * sysdeps/unix/sysv/linux/configure: Regenerated.
50123
50124 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
50125 (_FPU_MASK_OM): Define as 0x04.
50126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
50127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
50128 0x00c10080.
50129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
50130 0x0000003c.
50131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
50132
50133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
50134 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
50135 getcontext_e500.
50136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
50137 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
50138 setcontext_e500.
50139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
50140 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
50141 and setcontext_e500.
50142
50143 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
50144
50145 * locale/iso-3166.def: Update iso-1366.def and related occurrences
50146
50147 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50148
50149 * manual/threads.texi (Default Thread Attributes): Fix typo.
50150
50151 2013-10-04 Will Newton <will.newton@linaro.org>
50152
50153 * malloc/Makefile: Add tst-memalign.
50154 * malloc/tst-memalign.c: New file.
50155
50156 * malloc/tst-posix_memalign.c: Add comments.
50157 (do_test): Add comments and call free on all potentially
50158 allocated pointers. Add space after cast.
50159
50160 * malloc/tst-pvalloc.c: Add comments.
50161 (do_test): Add comments and call free on all potentially
50162 allocated pointers. Remove duplicate check for NULL pointer.
50163 Add space after cast.
50164
50165 * malloc/tst-valloc.c: Add comments.
50166 (do_test): Add comments and call free on all potentially
50167 allocated pointers. Remove duplicate check for NULL pointer.
50168 Add space after cast.
50169
50170 2013-10-04 Alan Modra <amodra@gmail.com>
50171
50172 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50173 Use stdint types in rather than __attribute__((mode())).
50174 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50175
50176 2013-10-04 Alan Modra <amodra@gmail.com>
50177
50178 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50179 Correct handling of unaligned relocs for little-endian.
50180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50181
50182 2013-10-04 Alan Modra <amodra@gmail.com>
50183
50184 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
50185 * configure: Regenerate.
50186 * nptl/shlib-versions: Powerpc*le starts at 2.18.
50187 * shlib-versions: Likewise.
50188
50189 2013-10-04 Alan Modra <amodra@gmail.com>
50190
50191 * string/tester.c (test_memrchr): Increment reported test cycle.
50192
50193 2013-10-04 Alan Modra <amodra@gmail.com>
50194
50195 * string/test-memcpy.c (do_one_test): When reporting errors, print
50196 string address and don't overrun end of string.
50197
50198 2013-10-04 Alan Modra <amodra@gmail.com>
50199
50200 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
50201 insrdi. Make better use of reg selection to speed exit slightly.
50202 Schedule entry path a little better. Remove useless "are we done"
50203 checks on entry to main loop. Handle wrapping around zero address.
50204 Correct main loop count. Handle single left-over word from main
50205 loop inline rather than by using loop_small. Remove extra word
50206 case in loop_small caused by wrong loop count. Add little-endian
50207 support.
50208 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50209 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
50210 cache hint.
50211 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50212 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
50213 support. Avoid rlwimi.
50214 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
50215
50216 2013-10-04 Alan Modra <amodra@gmail.com>
50217
50218 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
50219 insrdi. Formatting.
50220 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
50221 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50222 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
50223 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50224 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50225 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
50226
50227 2013-10-04 Alan Modra <amodra@gmail.com>
50228
50229 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
50230 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50231 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
50232 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
50233 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50234 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50235 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50236 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50237 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
50238 use of regs. Use power7 mtocrf. Tidy function tails.
50239
50240 2013-10-04 Alan Modra <amodra@gmail.com>
50241
50242 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
50243 Formatting. Consistently use rXXX register defines or rN defines.
50244 Use early exit labels that avoid restoring unused non-volatile regs.
50245 Make cr field use more consistent with rWORDn compares. Rename
50246 regs used as shift registers for unaligned loop, using rN defines
50247 for short lifetime/multiple use regs.
50248 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50249 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
50250 addi 1,1,64 to pop stack frame. Simplify return value code.
50251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50252
50253 2013-10-04 Alan Modra <amodra@gmail.com>
50254
50255 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
50256 support. Correct typos, formatting. Optimize tail. Use insrdi
50257 rather than rlwimi.
50258 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
50259 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
50260 little-endian support. Correct typos.
50261 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
50262 rather than rlwimi.
50263 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
50264 in loop and entry code to keep "and." results.
50265 (strchr): Add little-endian support. Comment. Move cntlzd
50266 earlier in tail.
50267 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
50268
50269 2013-10-04 Alan Modra <amodra@gmail.com>
50270
50271 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
50272 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
50273 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
50274 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
50275
50276 2013-10-04 Alan Modra <amodra@gmail.com>
50277
50278 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
50279 (rTMP): Define as r11.
50280 (strcmp): Add little-endian support. Optimise tail.
50281 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
50282 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50283 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50284 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50285 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50286 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50287 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50288
50289 2013-10-04 Alan Modra <amodra@gmail.com>
50290
50291 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
50292 little-endian support. Remove unnecessary "are we done" tests.
50293 Handle "s" wrapping around zero and extremely large "size".
50294 Correct main loop count. Handle single left-over word from main
50295 loop inline rather than by using small_loop. Correct comments.
50296 Delete "zero" tail, use "end_max" instead.
50297 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
50298
50299 2013-10-04 Alan Modra <amodra@gmail.com>
50300
50301 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
50302 support. Don't branch over align.
50303 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
50304 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
50305 support. Rearrange tmp reg use to suit. Comment.
50306 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
50307
50308 2013-10-04 Alan Modra <amodra@gmail.com>
50309
50310 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
50311
50312 2013-10-04 Alan Modra <amodra@gmail.com>
50313
50314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
50315 conditional form of branch and link when obtaining pc.
50316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
50317
50318 2013-10-04 Alan Modra <amodra@gmail.com>
50319
50320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
50321 HIWORD/LOWORD.
50322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
50323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
50324
50325 2013-10-04 Alan Modra <amodra@gmail.com>
50326
50327 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
50328 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
50329 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
50330 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
50331 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
50332 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50333 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
50334 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50335 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
50336 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
50337
50338 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
50339 Alistair Popple <alistair@ozlabs.au.ibm.com>
50340 Alan Modra <amodra@gmail.com>
50341
50342 [BZ #15723]
50343 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
50344 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
50345 _dl_hwcap access for little-endian.
50346 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
50347 destroy vmx regs when saving unaligned.
50348 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
50349 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
50350 destroy vmx regs when saving unaligned.
50351
50352 2013-10-04 Alan Modra <amodra@gmail.com>
50353
50354 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
50355 Don't use a union to pack hi/low value.
50356
50357 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
50358
50359 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
50360 for little-endian.
50361 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50362 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
50363 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50364 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50365 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50366
50367 2013-10-04 Alan Modra <amodra@gmail.com>
50368
50369 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
50370 constants to usual value for .cst8 section, and remove redundant
50371 high address load.
50372 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
50373 constant for 0x1p52. Load little-endian words of double from
50374 correct stack offsets.
50375
50376 2013-10-04 Alan Modra <amodra@gmail.com>
50377
50378 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
50379 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
50380 words of double from correct stack offsets.
50381 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
50382 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
50383 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50384 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50385 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50386 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50387 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50388 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
50389 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
50390 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50391 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50392 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50393 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50394 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50395 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50396 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
50397 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
50398
50399 2013-10-04 Alan Modra <amodra@gmail.com>
50400
50401 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
50402 64-bit int/double union.
50403 (_FPU_SETCW): Likewise.
50404 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
50405 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
50406
50407 2013-10-04 Alan Modra <amodra@gmail.com>
50408
50409 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
50410 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
50411
50412 2013-10-04 Alan Modra <amodra@gmail.com>
50413
50414 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
50415 use vector int constants.
50416 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
50417
50418 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
50419
50420 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
50421 array with long long.
50422 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
50423 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
50424 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
50425 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
50426 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
50427 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
50428 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
50429 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
50430 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
50431 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
50432 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
50433 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
50434 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
50435
50436 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
50437
50438 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
50439 (__signbit): Likewise. Correct for little-endian.
50440 (__signbitl): Call __signbit.
50441 (lrint): Correct for little-endian.
50442 (lrintf): Call lrint.
50443
50444 2013-10-04 Alan Modra <amodra@gmail.com>
50445
50446 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
50447 union 32-bit int array member with 64-bit int array.
50448 (t515, tm256): Double rather than long double.
50449 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
50450
50451 2013-10-04 Alan Modra <amodra@gmail.com>
50452
50453 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
50454 Delete.
50455 (IEEE854_LONG_DOUBLE_BIAS): Delete.
50456 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
50457 version of math_ldbl.h.
50458
50459 2013-10-04 Alan Modra <amodra@gmail.com>
50460
50461 [BZ #15734], [BZ #15735]
50462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
50463 all uses of ieee875 long double macros and unions. Simplify test
50464 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
50465 ldbl_extract_mantissa value for ix,iy exponents. Properly
50466 normalize after ldbl_extract_mantissa, and don't add hidden bit
50467 already handled. Don't treat low word of ieee854 mantissa like
50468 low word of IBM long double and mask off bit when testing for
50469 zero.
50470 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
50471 all uses of ieee875 long double macros and unions. Simplify tests
50472 for 0.0L and inf. Correct double adjustment of k. Delete dead code
50473 adjusting ha,hb. Simplify code setting kld. Delete two600 and
50474 two1022, instead use their values. Recognise that tests for large
50475 "a" and small "b" are mutually exclusive. Rename vars. Comment.
50476 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
50477 Rewrite all uses of ieee875 long double macros and unions. Simplify
50478 test for 0.0L and nan. Correct negation.
50479 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
50480 ieee875 long double macros and unions. Correct output for large
50481 magnitude x. Correct absolute value calculation.
50482 (__erfcl): Likewise.
50483 * math/libm-test.inc: Add tests for errors discovered in IBM long
50484 double versions of fmodl, remainderl, erfl and erfcl.
50485
50486 2013-10-04 Alan Modra <amodra@gmail.com>
50487
50488 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
50489 all uses of ieee854 long double macros and unions. Simplify tests
50490 for long doubles that are fully specified by the high double.
50491 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
50492 Likewise.
50493 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
50494 Remove dead code too.
50495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50496 (__ieee754_ynl): Likewise.
50497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
50498 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
50499 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50500 Remove dead code too.
50501 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
50502 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
50503 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
50504 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
50505 Simplify.
50506 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
50507 Simplify.
50508 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
50509 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
50510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
50511 Comment on variable precision.
50512 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
50513 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50514 Likewise.
50515 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50516 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50517 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50518 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
50519 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
50520
50521 2013-10-04 Alan Modra <amodra@gmail.com>
50522
50523 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
50524 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
50525 all uses of ieee854 long double macros and unions.
50526 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
50527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50528 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
50529 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
50530 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
50531 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50532 Likewise.
50533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
50534 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50535 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
50536 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50537 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
50538 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
50539 Simplify sign and nan test too.
50540 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
50541 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
50542 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
50543 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
50544 Likewise.
50545 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50546 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
50547 Likewise.
50548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50549 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
50550 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
50551 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
50552 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
50553 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
50554
50555 2013-10-04 Alan Modra <amodra@gmail.com>
50556
50557 * stdio-common/printf_size.c (__printf_size): Don't use
50558 union ieee854_long_double in fpnum union.
50559 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
50560 signbit macro to retrieve sign from long double.
50561 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
50562 retrieve sign from long double.
50563 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
50564 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
50565 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
50566 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50567 * math/test-misc.c (main): Don't use union ieee854_long_double.
50568
50569 2013-10-04 Alan Modra <amodra@gmail.com>
50570
50571 [BZ #15680]
50572 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
50573 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
50574 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
50575 calculation. Remove unnecessary test for denormal exponent.
50576 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
50577 Correct handling of denormals. Avoid undefined shift behaviour.
50578 Correct normalisation of low mantissa when low double is denormal.
50579 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50580 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
50581 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50582 Correct normalisation of low mantissa. Test for overflow of high
50583 mantissa and normalise.
50584 (ldbl_nearbyint): Use more readable constant for two52.
50585 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50586 (__mpn_construct_long_double): Fix test for overflow of high
50587 mantissa and correct normalisation. Avoid undefined shift.
50588
50589 2013-10-04 Alan Modra <amodra@gmail.com>
50590
50591 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50592 (union ibm_extended_long_double): Define as an array of ieee754_double.
50593 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50594 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50595 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50596 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50597 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50599 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50600 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50601 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50602 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50603 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50604
50605 2013-10-03 Joseph Myers <joseph@codesourcery.com>
50606
50607 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50608 page size instead of calling getpagesize.
50609
50610 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50611 (LOCFILE_ALIGN_MASK): Likewise.
50612 (LOCFILE_ALIGN_UP): Likewise.
50613 (LOCFILE_ALIGNED_P): Likewise.
50614 * locale/programs/ld-collate.c (collate_output): Use the new
50615 macros instead of __alignof__ (int32_t).
50616 * locale/weight.h (findidx): Likewise.
50617
50618 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
50619
50620 [BZ #431]
50621 * manual/string.texi: Fix strncat and wcsncat.
50622
50623 2013-10-03 Brooks Moses <bmoses@google.com>
50624
50625 [BZ #15915]
50626 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50627 * Makerules: ...here, and adjust associated comments.
50628
50629 2013-10-02 Will Newton <will.newton@linaro.org>
50630
50631 * malloc/Makefile: Add tst-pvalloc.
50632 * malloc/tst-pvalloc.c: New file.
50633
50634 2013-10-02 Will Newton <will.newton@linaro.org>
50635
50636 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50637 improve test coverage.
50638
50639 2013-10-02 Will Newton <will.newton@linaro.org>
50640
50641 * malloc/Makefile: Add tst-posix_memalign.
50642 * malloc/tst-posix_memalign.c: New file.
50643
50644 2013-10-01 Eric Blake <eblake@redhat.com>
50645
50646 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50647 Use __THROWNL rather than __THROW on static functions.
50648
50649 2013-09-30 Petr Machata <pmachata@redhat.com>
50650
50651 * elf/elf.h (R_AARCH64_ABS16): New macro.
50652 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50653 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50654 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50655 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50656 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50657 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50658 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50659 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50660 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50661 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50662 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50663 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50664 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50665 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50666 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50667 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50668 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50669 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50670 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50671 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50672 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50673 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50674 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50675 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50676 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50677 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50678 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50679 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50680 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50681 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50682 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50683 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50684 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50685 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50686 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50687 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50688 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50689 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50690 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50691 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50692 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50693 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50694 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50695 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50696 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50697 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50698 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50699 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50700 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50701 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50702 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50703 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50704 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50705 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50706 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50707 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50708 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50709 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50710 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50711 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50712 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50713 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50714 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50715 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50716 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50717 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50718 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50719 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50720 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50721 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50722 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50723 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50724 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50725 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50726 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50727 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50728 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50729 (R_AARCH64_TLSDESC_LDR): Likewise.
50730 (R_AARCH64_TLSDESC_ADD): Likewise.
50731 (R_AARCH64_TLSDESC_CALL): Likewise.
50732
50733 2013-09-30 Andreas Schwab <schwab@suse.de>
50734
50735 [BZ #15048]
50736 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50737 the nss database lookup.
50738 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50740
50741 2013-09-28 Mike Frysinger <vapier@gentoo.org>
50742
50743 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50744
50745 2013-09-28 P. J. McDermott <pj@pehjota.net>
50746
50747 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50748 ${Bash-specific parameter/pattern/string} parameter expansion.
50749 * sysdeps/unix/make-syscalls.sh: Likewise.
50750
50751 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50752
50753 * sysdeps/sh/stackguard-macros.h: New file.
50754
50755 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
50756
50757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50759 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50760 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50761 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50762 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50763
50764 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50765
50766 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50767 Fix thread ID register.
50768
50769 2013-09-25 Joseph Myers <joseph@codesourcery.com>
50770
50771 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50772 [POSIX || UNIX98]: Require rather than permitting all symbols from
50773 <time.h>.
50774 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50775 element of struct sched_param.
50776 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50777 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50778 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50779 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50780 constant.
50781
50782 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
50783
50784 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50785 argument calculation.
50786
50787 2013-09-24 Joseph Myers <joseph@codesourcery.com>
50788
50789 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50790 Expect macro.
50791 [POSIX] (pthread_attr_t): Do not require type.
50792 [POSIX] (pthread_cond_t): Likewise.
50793 [POSIX] (pthread_condattr_t): Likewise.
50794 [POSIX] (pthread_key_t): Likewise.
50795 [POSIX] (pthread_mutex_t): Likewise.
50796 [POSIX] (pthread_mutexattr_t): Likewise.
50797 [POSIX] (pthread_once_t): Likewise.
50798 [POSIX] (pthread_t): Likewise.
50799 [POSIX-based standards] (pthread_atfork): Expect function.
50800
50801 2013-09-24 Joseph Myers <joseph@codesourcery.com>
50802 Richard Sandiford <richard@codesourcery.com>
50803
50804 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50805 (swap_endianness_p): New extern variable.
50806 (set_big_endian): New inline function.
50807 (maybe_swap_uint32): Likewise.
50808 (maybe_swap_uint32_array): Likewise.
50809 (maybe_swap_uint32_obstack): Likewise.
50810 * locale/programs/locfile.c: Include <stdbool.h>.
50811 (swap_endianness_p): New variable.
50812 (add_locale_uint32): Call maybe_swap_uint32.
50813 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50814 (write_locale_data): Call maybe_swap_uint32_array.
50815 * locale/programs/ld-collate.c (obstack_int32_grow): Call
50816 maybe_swap_uint32.
50817 (obstack_int32_grow_fast): Likewise.
50818 (output_weightwc): Call maybe_swap_uint32_obstack.
50819 (collate_output): Likewise.
50820 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50821 (OPT_LITTLE_ENDIAN): Likewise.
50822 (options): Add --little-endian and --big-endian options.
50823 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50824 * locale/programs/locarchive.c: Include "locfile.h".
50825 (GET): New macro.
50826 (SET): Likewise.
50827 (INC): Likewise.
50828 (create_archive): Use the new macros to access fields of
50829 structures directly mapped from or written to locale archives.
50830 (oldlocrecentcmp): Likewise.
50831 (enlarge_archive): Likewise.
50832 (insert_name): Likewise.
50833 (add_alias): Likewise.
50834 (add_locale): Likewise.
50835 (delete_locales_from_archive): Likewise.
50836 (show_archive_content): Likewise.
50837 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
50838 locale data.
50839
50840 2013-09-24 Roland McGrath <roland@hack.frob.com>
50841
50842 * manual/freemanuals.texi: Updated from (newly) canonical copy at
50843 http://www.gnu.org/doc/freemanuals.texi.
50844 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50845
50846 2013-09-24 Will Newton <will.newton@linaro.org>
50847
50848 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50849 macro.
50850
50851 2013-09-23 Joseph Myers <joseph@codesourcery.com>
50852
50853 * locale/hashval.h (compute_hashval): Interpret bytes of key as
50854 unsigned char.
50855
50856 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
50857
50858 * manual/threads.texi (POSIX Threads): Fix a typo.
50859
50860 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
50861
50862 [BZ #14547]
50863 * string/tst-strcoll-overflow.c: New test case.
50864 * string/Makefile (xtests): Add tst-strcoll-overflow.
50865 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50866 cache if string sizes may cause integer overflow.
50867
50868 [BZ #14547]
50869 * string/strcoll_l.c (coll_seq): New members rule, idx,
50870 save_idx and back_us.
50871 (get_next_seq_nocache): New function.
50872 (do_compare_nocache): New function.
50873 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50874 when malloc fails.
50875
50876 2013-09-23 Carlos O'Donell <carlos@redhat.com>
50877
50878 [BZ #15754]
50879 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50880 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50881 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50882
50883 [BZ #15754]
50884 * elf/Makefile (tests): Add tst-ptrguard1.
50885 (tests-static): Add tst-ptrguard1-static.
50886 (tst-ptrguard1-ARGS): Define.
50887 (tst-ptrguard1-static-ARGS): Define.
50888 * elf/tst-ptrguard1.c: New file.
50889 * elf/tst-ptrguard1-static.c: New file.
50890 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50891 * sysdeps/i386/stackguard-macros.h: Likewise.
50892 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50893 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50894 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50895 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50896 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50897 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50898
50899 2013-09-23 Hector Marco <hecmargi@upv.es>
50900 Ismael Ripoll <iripoll@disca.upv.es>
50901 Carlos O'Donell <carlos@redhat.com>
50902
50903 [BZ #15754]
50904 * sysdeps/generic/stackguard-macros.h: Define
50905 __pointer_chk_guard_local and POINTER_CHK_GUARD.
50906 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50907 Define __pointer_chk_guard_local.
50908 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50909 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50910
50911 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
50912
50913 [BZ #15859]
50914 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50915
50916 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
50917
50918 * include/string.h (__ffs): Declare as hidden.
50919 * string/ffs.c (__ffs): Define as hidden.
50920 * sysdeps/i386/ffs.c (__ffs): Likewise.
50921 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50922 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50923 * sysdeps/s390/ffs.c (__ffs): Likewise.
50924 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50925
50926 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
50927
50928 * NEWS: Mention malloc probes.
50929
50930 * malloc/arena.c (new_heap): New memory_heap_new probe.
50931 (grow_heap): New memory_heap_more probe.
50932 (shrink_heap): New memory_heap_less probe.
50933 (heap_trim): New memory_heap_free probe.
50934 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50935 (systrim): New memory_sbrk_less probe.
50936 * manual/probes.texi: Document them.
50937
50938 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50939 * manual/probes.texi: Document it.
50940
50941 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50942 (__libc_realloc): Add memory_realloc_retry probe.
50943 (__libc_memalign): Add memory_memalign_retry probe.
50944 (__libc_valloc): Add memory_valloc_retry probe.
50945 (__libc_pvalloc): Add memory_pvalloc_retry probe.
50946 (__libc_calloc): Add memory_calloc_retry probe.
50947 * manual/probes.texi: Document them.
50948
50949 * malloc/arena.c (get_free_list): Add probe
50950 memory_arena_reuse_free_list.
50951 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50952 and memory_arena_reuse.
50953 (arena_get2) [!PER_THREAD]: Likewise.
50954 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50955 memory_arena_reuse_realloc.
50956 * manual/probes.texi: Document them.
50957
50958 * malloc/malloc.c (__libc_free): Add
50959 memory_mallopt_free_dyn_thresholds probe.
50960 (__libc_mallopt): Add multiple memory_mallopt probes.
50961 * manual/probes.texi: Document them.
50962
50963 * malloc/malloc.c: Include stap-probe.h.
50964 (__libc_mallopt): Add memory_mallopt probe.
50965 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50966 * manual/probes.texi: New.
50967 * manual/Makefile (chapters): Add probes.
50968 * manual/threads.texi: Set next node.
50969
50970 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
50971
50972 [BZ #15963, #13985]
50973 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50974 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50975 Add `Chinese' to `nan' entry name.
50976
50977 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50978
50979 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50980 (POLYNOMIAL): Likewise.
50981 (TAYLOR_SINCOS): Likewise.
50982 (TAYLOR_SLOW): Likewise.
50983 (__sin): Use TAYLOR_SINCOS.
50984 (__cos): Likewise.
50985 (slow): Use TAYLOR_SLOW.
50986 (sloww): Likewise.
50987 (bsloww): Likewise.
50988 (csloww): Likewise.
50989
50990 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50991
50992 * stdlib/strtod_l.c: Fix buffer overrun.
50993
50994 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50995
50996 * benchtests/Makefile (bench): Add sincos.
50997 * benchtests/bench-sincos.c: New file.
50998
50999 * math/libm-test.inc (cos_test_data): New test inputs.
51000 (sin_test_data): Likewise.
51001
51002 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
51003 macro.
51004 (__sin): Use it.
51005 (__cos): Likewise.
51006 (slow1): Likewise.
51007 (slow2): Likewise.
51008 (sloww1): Likewise.
51009 (sloww2): Likewise.
51010 (bsloww1): Likewise.
51011 (bsloww2): Likewise.
51012 (cslow2): Likewise.
51013 (csloww1): Likewise.
51014 (csloww2): Likewise.
51015
51016 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
51017 function.
51018 (__sin): Use it.
51019 (__cos): Likewise.
51020
51021 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
51022 gotos.
51023 (__cos): Likewise.
51024
51025 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
51026
51027 * config.h.in (HAVE_MIPS_NAN2008): New macro.
51028 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
51029 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
51030 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
51031 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
51032 * elf/cache.c (print_entry): Handle the new cache flags.
51033
51034 2013-09-18 Joseph Myers <joseph@codesourcery.com>
51035 Aldy Hernandez <aldyh@redhat.com>
51036
51037 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
51038 Change condition to [_SOFT_FLOAT].
51039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
51040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
51041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
51042 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
51043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
51044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
51045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
51046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
51047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
51048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
51049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
51050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
51051 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
51052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
51053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
51054 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
51055 declaration.
51056
51057 2013-09-18 Joseph Myers <joseph@codesourcery.com>
51058
51059 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
51060 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
51061 (__longjmp): Use LOAD_GP to load saved GPRs.
51062 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
51063 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
51064 (__sigsetjmp): Use SAVE_GP to save GPRs.
51065
51066 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
51067 Do not append -msoft-float.
51068 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
51069
51070 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51071
51072 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
51073
51074 2013-09-17 Joseph Myers <joseph@codesourcery.com>
51075
51076 [BZ #15966]
51077 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
51078 (_FPU_GETCW): Use initial "__" on variable and field names but not
51079 on macro parameter name.
51080 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
51081 parentheses around reference to macro parameter.
51082
51083 2013-09-13 Richard Sandiford <richard@codesourcery.com>
51084
51085 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
51086 prototype.
51087 (ctype_startup): Use uint32_t in cast and sizeof for
51088 ctype->charnames.
51089
51090 2013-09-11 Jia Liu <proljc@gmail.com>
51091
51092 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
51093 __daddr_t_defined.
51094 [__FreeBSD__]: Likewise.
51095
51096 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
51097
51098 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
51099 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
51100 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
51101 (strchr): Remove __strchr_sse42 ifunc selection.
51102 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
51103 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
51104
51105 2013-09-11 Will Newton <will.newton@linaro.org>
51106
51107 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
51108 parameter to RES. Remove hardcoded 1000 value.
51109 * benchtests/bench-skeleton.c (main): Pass RES parameter
51110 to TIMING_INIT and multiply result by 1000.
51111
51112 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51113
51114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51115
51116 2013-09-11 Andreas Schwab <schwab@suse.de>
51117
51118 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
51119 if not defined.
51120 (O_TMPFILE) [__USE_GNU]: Define.
51121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
51122 Define.
51123
51124 2013-09-11 Will Newton <will.newton@linaro.org>
51125
51126 [BZ #15857]
51127 * malloc/malloc.c (__libc_memalign): Check the value of bytes
51128 does not overflow.
51129
51130 2013-09-11 Will Newton <will.newton@linaro.org>
51131
51132 [BZ #15856]
51133 * malloc/malloc.c (__libc_valloc): Check the value of bytes
51134 does not overflow.
51135
51136 2013-09-11 Will Newton <will.newton@linaro.org>
51137
51138 [BZ #15855]
51139 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
51140 does not overflow.
51141
51142 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
51143
51144 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
51145 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51146 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51147 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51148 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51149
51150 2013-09-10 Allan McRae <allan@archlinux.org>
51151
51152 [BZ #15748]
51153 * manual/arith.texi (Parsing of Floats): Clarify
51154 cross-reference.
51155
51156 [BZ #15849]
51157 * manual/install.texi (Running make install): Mention
51158 --enable-pt-chown.
51159 * INSTALL: Regenerated.
51160
51161 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
51162
51163 * csu/init-first.c (_init): Remove the !SHARED condition around
51164 FPU control word initialization.
51165 * elf/dl-support.c (_dl_fpu_control): New variable.
51166 (_dl_aux_init) <AT_FPUCW>: Initialize it.
51167 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
51168 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
51169 * math/test-fpucw-static.c: New file.
51170 * math/test-fpucw-ieee.c: New file.
51171 * math/test-fpucw-ieee-static.c: New file.
51172 * math/Makefile (tests): Add `test-fpucw-ieee' and
51173 `$(tests-static)'.
51174 (tests-static): New variable.
51175 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
51176 dependency to...
51177 [($(build-shared),yes)]
51178 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51179 ... this.
51180 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
51181 New dependency.
51182
51183 2013-09-09 Allan McRae <allan@archlinux.org>
51184
51185 [BZ #15939]
51186 * manual/string.texi (Collation Functions): Fix typo in
51187 strcoll example.
51188 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
51189
51190 [BZ #15893]
51191 * stdlib/isomac.c (get_null_defines): Fix memory leak.
51192
51193 [BZ #15892]
51194 * libio/memstream.c (open_memstream): Fix memory leak.
51195 * libio/wmemstream.c (open_wmemstream): Likewise.
51196
51197 [BZ #15895]
51198 * nscd/netgroupcache.c: Fix nesting of ifdefs.
51199
51200 2013-09-09 Will Newton <will.newton@linaro.org>
51201
51202 * malloc/Makefile: Add tst-realloc to tests.
51203 * malloc/tst-realloc.c: New file.
51204
51205 2013-09-09 Allan McRae <allan@archlinux.org>
51206
51207 [BZ #15844]
51208 * COPYING: Update from GNU website to fix FSF address.
51209 * COPYING.LIB: Likewise.
51210
51211 2013-09-06 David S. Miller <davem@davemloft.net>
51212
51213 * po/zh_TW.po: Update Chinese (traditional) translation from
51214 translation project.
51215
51216 2013-09-06 Richard Sandiford <richard@codesourcery.com>
51217 Joseph Myers <joseph@codesourcery.com>
51218
51219 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
51220 "localeinfo.h".
51221 (obstack_chunk_alloc): New macro.
51222 (obstack_chunk_free): Likewise.
51223 (record_offset): New function.
51224 (init_locale_data): Likewise.
51225 (align_locale_data): Likewise.
51226 (add_locale_empty): Likewise.
51227 (add_locale_raw_data): Likewise.
51228 (add_locale_raw_obstack): Likewise.
51229 (add_locale_string): Likewise.
51230 (add_locale_wstring): Likewise.
51231 (add_locale_uint32): Likewise.
51232 (add_locale_uint32_array): Likewise.
51233 (add_locale_char): Likewise.
51234 (start_locale_structure): Likewise.
51235 (end_locale_structure): Likewise.
51236 (start_locale_prelude): Likewise.
51237 (end_locale_prelude): Likewise.
51238 (write_locale_data): Take locale_file structure rather than an
51239 iovec.
51240 * locale/programs/locfile.h: Include "obstack.h".
51241 (struct locale_file): Change to store locale file contents instead
51242 of header.
51243 (init_locale_data): New prototype.
51244 (align_locale_data): Likewise.
51245 (add_locale_empty): Likewise.
51246 (add_locale_raw_data): Likewise.
51247 (add_locale_raw_obstack): Likewise.
51248 (add_locale_string): Likewise.
51249 (add_locale_wstring): Likewise.
51250 (add_locale_uint32): Likewise.
51251 (add_locale_uint32_array): Likewise.
51252 (add_locale_char): Likewise.
51253 (start_locale_structure): Likewise.
51254 (end_locale_structure): Likewise.
51255 (start_locale_prelude): Likewise.
51256 (end_locale_prelude): Likewise.
51257 (write_locale_data): Update prototype.
51258 * locale/programs/3level.h (struct TABLE): Remove result field.
51259 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
51260 Use new locale_file interface.
51261 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
51262 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
51263 * locale/programs/ld-address.c (address_output): Use new
51264 locale_file interface.
51265 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
51266 NO_ADD_LOCALE.
51267 (collate_finish): Don't call collseq_table_finalize.
51268 (collate_output): Use new locale_file interface.
51269 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
51270 in file.
51271 (NO_FINALIZE): Change to NO_ADD_LOCALE.
51272 (TABLE): Move defines earlier in file.
51273 (ELEMENT): Likewise.
51274 (DEFAULT): Likewise.
51275 (wctrans_table_add): Move macro and inline function earlier in
51276 file.
51277 (struct wctype_table): Move type earlier in file.
51278 (add_locale_wctype_table): New static prototype.
51279 (struct locale_ctype_t): Use logical types instead of struct iovec
51280 pointers for members.
51281 (ctype_output): Use new locale_file interface.
51282 (wctype_table_finalize): Change to add_locale_wctype_table. Use
51283 new locale_file interface.
51284 (allocate_arrays): Update for use of new locale_file interface.
51285 * locale/programs/ld-identification.c (identification_output): Use
51286 new locale_file interface.
51287 * locale/programs/ld-measurement.c (measurement_output): Likewise.
51288 * locale/programs/ld-messages.c (messages_output): Likewise.
51289 * locale/programs/ld-monetary.c (monetary_output): Likewise.
51290 * locale/programs/ld-name.c (name_output): Likewise.
51291 * locale/programs/ld-numeric.c (numeric_output): Likewise.
51292 * locale/programs/ld-paper.c (paper_output): Likewise.
51293 * locale/programs/ld-telephone.c (telephone_output): Likewise.
51294 * locale/programs/ld-time.c (time_output): Likewise.
51295
51296 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51297
51298 * benchtests/Makefile: Add memrchr benchmark.
51299 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
51300 benchmark as memrchr.
51301 * benchtests/bench-memrchr-ifunc.c: New file.
51302 * benchtests/bench-memrchr.c: New file.
51303
51304 2013-09-06 Will Newton <will.newton@linaro.org>
51305
51306 * benchtests/Makefile (string-bench): Add memcpy.
51307
51308 2013-09-05 Carlos O'Donell <carlos@redhat.com>
51309 Cong Wang <amwang@redhat.com>
51310
51311 [BZ #15850]
51312 * sysdeps/unix/sysv/linux/bits/in.h
51313 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
51314 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
51315 before __USE_KERNEL_IPV6_DEFS uses.
51316 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
51317 IPPROTO_BEETPH.
51318 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
51319 sockaddr_in6, or ipv6_mreq.
51320
51321 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51322
51323 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
51324 memory access for final bytes in some large inputs.
51325 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
51326
51327 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51328
51329 * string/test-memrchr.c: New file.
51330 * string/test-memrchr-ifunc.c: New file.
51331 * string/Makefile: Add new memrchr testcase.
51332
51333 2013-09-05 Mike Frysinger <vapier@gentoo.org>
51334
51335 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
51336 fanotify_init returns EPERM.
51337
51338 2013-09-04 Joseph Myers <joseph@codesourcery.com>
51339
51340 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
51341 errors.
51342 (top level): Treat second token from macro or constant entries for
51343 allowed headers as allowed.
51344 * include/complex.h: Condition internal declarations on
51345 [!_ISOMAC].
51346 * include/fenv.h: Condition include of <stdbool.h> and internal
51347 declarations on [!_ISOMAC].
51348
51349 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
51350
51351 [BZ #15923]
51352 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
51353
51354 2013-09-04 Joseph Myers <joseph@codesourcery.com>
51355
51356 * configure.in (--enable-versioning): Remove configure option.
51357 (libc_cv_asm_symver_directive): Remove configure test.
51358 (libc_cv_ld_version_script_option): Likewise.
51359 (VERSIONING): Remove variable and AC_SUBST.
51360 (DO_VERSIONING): Remove AC_DEFINE.
51361 * configure: Regenerated.
51362 * config.h.in (DO_VERSIONING): Remove macro.
51363 * Makerules [$(versioning) = yes]: Change conditionals to
51364 [$(build-shared) = yes].
51365 * config.make.in (versioning): Remove variable.
51366 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
51367 [$(build-shared) = yes].
51368 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
51369 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
51370 * elf/Makefile [$(versioning) = yes]: Change conditionals to
51371 [$(build-shared) = yes].
51372 * extra-lib.mk [$(versioning) = yes]: Likewise.
51373 * hurd/Makefile [$(versioning) = yes]: Likewise.
51374 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
51375 [SHARED].
51376 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
51377 [SHARED].
51378 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
51379 [SHARED && !NO_HIDDEN].
51380 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
51381 [SHARED].
51382 [SHARED && DO_VERSIONING]: Likewise..
51383 * libio/Makefile [$(versioning) = yes]: Change conditionals to
51384 [$(build-shared) = yes].
51385 * manual/install.texi (--disable-versioning): Remove
51386 documentation.
51387 * INSTALL: Regenerated.
51388 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
51389 to [SHARED].
51390 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
51391 [$(build-shared) = yes].
51392 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
51393 * sysdeps/i386/i686/multiarch/strstr-c.c
51394 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
51395 [SHARED && !NO_HIDDEN].
51396 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
51397 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
51398 * sysdeps/powerpc/powerpc32/dl-machine.c
51399 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
51400 * sysdeps/powerpc/powerpc32/sysdep.h
51401 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
51402 to [SHARED && PIC && !NO_HIDDEN].
51403 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
51404 conditional to [SHARED].
51405
51406 2013-09-04 Will Newton <will.newton@linaro.org>
51407
51408 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
51409 * benchtests/bench-string.h: Include bench-timing.h instead
51410 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
51411 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
51412 call to HP_TIMING_DIFF_INIT.
51413 * benchtests/bench-memccpy.c: Use bench-timing.h macros
51414 instead of hp-timing.h macros.
51415 * benchtests/bench-memchr.c: Likewise.
51416 * benchtests/bench-memcmp.c: Likewise.
51417 * benchtests/bench-memcpy.c: Likewise.
51418 * benchtests/bench-memmem.c: Likewise.
51419 * benchtests/bench-memmove.c: Likewise.
51420 * benchtests/bench-memset.c: Likewise.
51421 * benchtests/bench-rawmemchr.c: Likewise.
51422 * benchtests/bench-strcasecmp.c: Likewise.
51423 * benchtests/bench-strcasestr.c: Likewise.
51424 * benchtests/bench-strcat.c: Likewise.
51425 * benchtests/bench-strchr.c: Likewise.
51426 * benchtests/bench-strcmp.c: Likewise.
51427 * benchtests/bench-strcpy.c: Likewise.
51428 * benchtests/bench-strcpy_chk.c: Likewise.
51429 * benchtests/bench-strlen.c: Likewise.
51430 * benchtests/bench-strncasecmp.c: Likewise.
51431 * benchtests/bench-strncat.c: Likewise.
51432 * benchtests/bench-strncmp.c: Likewise.
51433 * benchtests/bench-strncpy.c: Likewise.
51434 * benchtests/bench-strnlen.c: Likewise.
51435 * benchtests/bench-strpbrk.c: Likewise.
51436 * benchtests/bench-strrchr.c: Likewise.
51437 * benchtests/bench-strspn.c: Likewise.
51438 * benchtests/bench-strstr.c: Likewise.
51439
51440 2013-09-04 Will Newton <will.newton@linaro.org>
51441
51442 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
51443
51444 2013-09-03 Joseph Myers <joseph@codesourcery.com>
51445
51446 [BZ #15427]
51447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
51448 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
51449 * math/libm-test.inc (lgamma_test_data): Add more tests.
51450 * sysdeps/i386/fpu/libm-test-ulps: Update.
51451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51452
51453 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
51454
51455 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
51456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51457 Add ifunc.
51458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51459 Add strcmp-sse2-unaligned
51460 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
51461
51462 2013-09-02 Mike Frysinger <vapier@gentoo.org>
51463
51464 * Versions.def (libc): Add GLIBC_2.19.
51465
51466 2013-09-02 Mike Frysinger <vapier@gentoo.org>
51467
51468 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
51469 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
51470
51471 2013-09-02 Joseph Myers <joseph@codesourcery.com>
51472
51473 [BZ #14155]
51474 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
51475 intermediate calculations in recurrence.
51476 (__ieee754_ynf): Likewise.
51477 * math/libm-test.inc (jn_test_data): Do not allow spurious
51478 underflow exception. Add more tests.
51479 (yn_test_data): Add more tests.
51480 * sysdeps/i386/fpu/libm-test-ulps: Update.
51481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51482
51483 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
51484
51485 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
51486
51487 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
51488
51489 * csu/init-first.c: Fix then/than typos.
51490 * locale/programs/ld-collate.c: Likewise.
51491 * locale/programs/linereader.h: Likewise.
51492 * manual/charset.texi: Likewise.
51493 * manual/filesys.texi: Likewise.
51494 * manual/stdio.texi: Likewise.
51495 * manual/string.texi: Likewise.
51496 * stdlib/fmtmsg.c: Likewise.
51497 * sysdeps/i386/stpncpy.S: Likewise.
51498 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51499 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51500 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51501 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51502
51503 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
51504
51505 * elf/dl-open.c: Fix typos.
51506 * iconvdata/gbbig5.c: Likewise.
51507 * iconvdata/iso-2022-jp.c: Likewise.
51508 * iconv/gconv_int.h: Likewise.
51509 * iconv/loop.c: Likewise.
51510 * nis/rpcsvc/nis.h: Likewise.
51511 * resolv/ns_name.c: Likewise.
51512 * stdio-common/vfscanf.c: Likewise.
51513 * streams/stropts.h: Likewise.
51514 * sunrpc/rpc_thread.c: Likewise.
51515 * sysdeps/i386/strpbrk.S: Likewise.
51516 * sysdeps/ieee754/k_standard.c: Likewise.
51517 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51518 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51519 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
51520 * sysdeps/mach/hurd/profil.c: Likewise.
51521 * sysdeps/s390/dl-procinfo.h: Likewise.
51522 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
51523 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
51524 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
51525 * sysdeps/x86_64/dl-trampoline.S: Likewise.
51526 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51527
51528 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
51529
51530 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
51531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
51532
51533 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
51534
51535 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51536 aix specific files.
51537 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
51538 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
51539 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
51540 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
51541 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
51542 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
51543 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
51544 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
51545
51546 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
51547 Roland McGrath <roland@hack.frob.com>
51548
51549 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
51550 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
51551
51552 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
51553
51554 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
51555 __executable_start symbol instead of _start.
51556
51557 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
51558
51559 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
51560 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
51561 Move macros to...
51562 * sysdeps/gnu/ldsodefs.h: ... this new file.
51563
51564 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
51565 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
51566 instead of ELFOSABI_LINUX.
51567
51568 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
51569 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
51570 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
51571 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
51572 Likewise.
51573 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
51574 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
51575 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
51576 Likewise.
51577 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51578 (ibm_extended_long_double): Add ieee_nan member.
51579 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51580 (do_test): New function.
51581
51582 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51583 TEST_TRUNC.
51584 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51585 functions, renamed from truncdfsf_test, trunctfsf_test,
51586 trunctfdf_test.
51587 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51588 functions.
51589 (do_test): Run all these.
51590
51591 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
51592
51593 * argp/argp-help.c: Fix typos.
51594 * argp/argp-parse.c: Likewise.
51595 * debug/backtracesyms.c: Likewise.
51596 * elf/elf.h: Likewise.
51597 * malloc/malloc.c: Likewise.
51598 * nis/nis_print.c: Likewise.
51599 * resolv/res_comp.c: Likewise.
51600 * stdlib/stdlib.h: Likewise.
51601 * sunrpc/clnt_tcp.c: Likewise.
51602 * sunrpc/clnt_udp.c: Likewise.
51603 * sunrpc/clnt_unix.c: Likewise.
51604 * sysdeps/unix/bsd/ptsname.c: Likewise.
51605 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51606 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51608 Likewise.
51609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51610 Likewise.
51611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51612 Likewise.
51613 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51614
51615 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51616
51617 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51619
51620 2013-08-27 Mike Frysinger <vapier@gentoo.org>
51621
51622 [BZ #15897]
51623 * dlfcn/Makefile (tests): Add bug-dl-leaf.
51624 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51625 ($(objpfx)bug-dl-leaf): New rule.
51626 ($(objpfx)bug-dl-leaf.so): Likewise.
51627 ($(objpfx)bug-dl-leaf.out): Likewise.
51628 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51629 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51630 * dlfcn/bug-dl-leaf.c: New test.
51631 * dlfcn/bug-dl-leaf-lib.c: Likewise.
51632 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51633 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51634 (dlclose): Likewise.
51635 (dlmopen): Likewise.
51636
51637 2013-08-27 Roland McGrath <roland@hack.frob.com>
51638
51639 * include/netdb.h [!_ISOMAC]:
51640 Don't include <tls.h>.
51641 (h_errno, __libc_h_errno): Move declaration and macros out of
51642 [_LIBC_REENTRANT].
51643
51644 * include/resolv.h [_RESOLV_H_]:
51645 Don't include <tls.h>.
51646 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51647 * resolv/res_libc.c: Don't include <tls.h>.
51648 (_res): Use __attribute__ ((nocommon)) in place of
51649 __attribute__ ((section (".bss"))).
51650
51651 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51652 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51653
51654 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51655
51656 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51657 only under [SIOCGIFCONF && SIOCGIFNETMASK].
51658
51659 * resolv/res_mkquery.c: Include <sys/time.h>.
51660
51661 * inet/ifreq.c: Moved to ...
51662 * sysdeps/unix/ifreq.c: ... here.
51663 * inet/ifreq.c: New file, true stub version.
51664
51665 * socket/sa_len.c: New file.
51666 * socket/Makefile (aux): Add it.
51667 * sysdeps/unix/sysv/linux/Makefile
51668 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51669 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51670 and #include <socket/sa_len.c>.
51671 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51672 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51673
51674 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51675 * bits/socket.h: ... here.
51676
51677 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51678 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51679 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51680
51681 2013-08-27 Andreas Schwab <schwab@suse.de>
51682
51683 [BZ #15736]
51684 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51685 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51686 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51687 * string/test-strcasecmp.c (test_main): Run tests in several
51688 locales.
51689 * string/test-strncasecmp.c (test_main): Likewise.
51690
51691 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51692 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51693 to __strcasecmp_nonascii and __strncasecmp_nonascii.
51694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51695 (__strncasecmp_ssse3) [PIC]: Likewise.
51696
51697 2013-08-26 Roland McGrath <roland@hack.frob.com>
51698
51699 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51700
51701 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51702 instead of explicitly declaring xdecrypt.
51703 * nis/nss_nis/nis-publickey.c: Likewise.
51704
51705 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51706
51707 [BZ #15890]
51708 * nscd/aicache.c: Include res_hconf.h.
51709 (addhstaiX): Initialize res_hconf.
51710
51711 2013-08-26 Andreas Schwab <schwab@suse.de>
51712
51713 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51714 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51715
51716 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51717
51718 * nscd/aicache.c (addhstaiX): Fix indentation.
51719
51720 2013-08-25 Mike Frysinger <vapier@gentoo.org>
51721
51722 * configure.ac: Quote $build_pt_chown test.
51723 * configure: Regenerated.
51724
51725 2013-08-23 Joseph Myers <joseph@codesourcery.com>
51726
51727 [BZ #15532]
51728 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51729 * math/s_cexpf.c (__cexpf): Likewise.
51730 * math/s_cexpl.c (__cexpl): Likewise.
51731 * math/libm-test.inc (cexp_test_data): Correct expected return
51732 value for NaN + i0. Add another test.
51733
51734 2013-08-22 David S. Miller <davem@davemloft.net>
51735
51736 * po/ca.po: Update Catalan translation from translation project.
51737 * po/uk.po: Add Ukrainian translations from translation project.
51738
51739 2013-08-21 Joseph Myers <joseph@codesourcery.com>
51740
51741 [BZ #15797]
51742 * math/s_fdim.c (__fdim): Check for infinite arguments if result
51743 is infinite, not alongside NaN test.
51744 * math/s_fdimf.c (__fdimf): Likewise.
51745 * math/s_fdiml.c (__fdiml): Likewise.
51746 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
51747 errno is unchanged.
51748
51749 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
51750
51751 * argp/argp-help.c: Fix typos.
51752 * crypt/speeds.c: Likewise.
51753 * csu/check_fds.c: Likewise.
51754 * elf/dl-load.c: Likewise.
51755 * elf/dl-open.c: Likewise.
51756 * elf/reldep3.c: Likewise.
51757 * elf/reldep.c: Likewise.
51758 * elf/sprof.c: Likewise.
51759 * iconv/iconv_charmap.c: Likewise.
51760 * iconv/skeleton.c: Likewise.
51761 * iconv/strtab.c: Likewise.
51762 * io/lockf64.c: Likewise.
51763 * libio/libioP.h: Likewise.
51764 * resolv/gai_notify.c: Likewise.
51765 * resolv/ns_name.c: Likewise.
51766 * resolv/ns_samedomain.c: Likewise.
51767 * resolv/res_send.c: Likewise.
51768 * stdlib/random.c: Likewise.
51769 * sunrpc/rpc/xdr.h: Likewise.
51770 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51771 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51772 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51773 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51774 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51775 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51778 * sysdeps/mach/hurd/check_fds.c: Likewise.
51779 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51780 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51781 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51782 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51783 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51784 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51785 * sysdeps/pthread/aio_notify.c: Likewise.
51786 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51787 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51788 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51790 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51791
51792 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51793
51794 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51795 version if bit_Slow_SSE4_2 is set.
51796 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51797 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51798
51799 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51800
51801 [BZ #15867]
51802 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51803 trampoline stack frame information.
51804 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51806 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51807 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51808 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51809 * sysdeps/unix/sysv/linux/powerpc/init-first.c
51810 (_libc_vdso_platform_setup): Initialize the signal trampolines.
51811 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51812 sa_flags value.
51813 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51814 interrupting a syscall and set with option SA_SIGINFO.
51815
51816 2013-08-20 Joseph Myers <joseph@codesourcery.com>
51817
51818 [BZ #15531]
51819 * math/s_cproj.c (__cproj): Only return an infinity if one part of
51820 argument is infinite.
51821 * math/s_cprojf.c (__cprojf): Likewise.
51822 * math/s_cprojl.c (__cprojl): Likewise.
51823 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51824 * math/libm-test.inc (cproj_test_data): Add more tests.
51825
51826 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51827
51828 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51829 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51830 size. Use __ffs to determine corresponding shift.
51831
51832 2013-08-20 Joseph Myers <joseph@codesourcery.com>
51833 Roland McGrath <roland@hack.frob.com>
51834
51835 * Makefile (INSTALL): Remove trailing blank lines from output of
51836 makeinfo.
51837
51838 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51839
51840 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51841 Align 32 bit compat elf_greg to 8 bytes.
51842
51843 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
51844
51845 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51846
51847 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
51848
51849 * string/strcoll_l.c (coll_seq): New structure.
51850 (get_next_seq_cached): New function.
51851 (get_next_seq): New function.
51852 (do_compare): New function.
51853 (STRCOLL): Use GNU style definition. Simplify implementation
51854 by using get_next_seq, get_next_seq_cached and do_compare.
51855
51856 2013-08-16 Florian Weimer <fweimer@redhat.com>
51857
51858 [BZ #14699]
51859 CVE-2013-4237
51860 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51861 member.
51862 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51863 member.
51864 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51865 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51866 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
51867 conditional.
51868 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51869 GETDENTS_64BIT_ALIGNED.
51870 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51871 * manual/filesys.texi (Reading/Closing Directory): Document
51872 ENAMETOOLONG return value of readdir_r. Recommend readdir more
51873 strongly.
51874 * manual/conf.texi (Limits for Files): Add portability note to
51875 NAME_MAX, PATH_MAX.
51876 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51877
51878 2013-08-13 Andreas Schwab <schwab@suse.de>
51879
51880 [BZ #15749]
51881 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51882 of fabs.
51883 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51884 LDBL_MAX_EXP >= 16384]: Add tests for it.
51885
51886 2013-08-12 David S. Miller <davem@davemloft.net>
51887
51888 * version.h (RELEASE): Set to "development".
51889 (VERSION): Set to "2.18.90".
51890 * NEWS: Add 2.19 section.
51891
51892 2013-08-03 David S. Miller <davem@davemloft.net>
51893
51894 * po/ko.po: Update Korean translation from translation project.
51895
51896 2013-08-01 David S. Miller <davem@davemloft.net>
51897
51898 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
51899 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51900 Bilka.
51901
51902 2013-07-30 David S. Miller <davem@davemloft.net>
51903
51904 * po/fr.po: Update French translation from translation project.
51905
51906 2013-07-28 David S. Miller <davem@davemloft.net>
51907
51908 * po/cs.po: Update Czech translation from translation project.
51909
51910 * po/sv.po: Update Swedish translation from translation project.
51911
51912 2013-07-27 David S. Miller <davem@davemloft.net>
51913
51914 * po/eo.po: Update Esperanto translation from translation project.
51915
51916 * po/vi.po: Update Vietnamese translation from translation project.
51917
51918 * po/de.po: Update German translation from translation project.
51919
51920 2013-07-26 David S. Miller <davem@davemloft.net>
51921
51922 * po/bg.po: Update Bulgarian translation from translation project.
51923
51924 * po/nl.po: Update Dutch translation from translation project.
51925 * po/pl.po: Update Polish translation from translation project.
51926 * po/ru.po: Update Russian translation from translation project.
51927
51928 2013-07-24 David S. Miller <davem@davemloft.net>
51929
51930 * po/libc.pot: Update.
51931
51932 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51933
51934 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51935 variable page size.
51936 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51937 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51938 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51939
51940 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51941
51942 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51943
51944 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51945 Andreas Schwab <schwab@suse.de>
51946 Roland McGrath <roland@hack.frob.com>
51947 Joseph Myers <joseph@codesourcery.com>
51948 Carlos O'Donell <carlos@redhat.com>
51949
51950 [BZ #15755]
51951 * config.h.in: Define HAVE_PT_CHOWN.
51952 * config.make.in (build-pt-chown): New variable.
51953 * configure.in (--enable-pt_chown): New configure option.
51954 * configure: Regenerate.
51955 * login/Makefile: Include Makeconfig. Build pt_chown only if
51956 build-pt-chown is enabled.
51957 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51958 pt_chown to fix pty ownership.
51959 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51960 CLOSE_ALL_FDS.
51961 * manual/install.texi (Configuring and compiling): Mention
51962 --enable-pt_chown. Add @findex for grantpt.
51963 * INSTALL: Regenerate.
51964
51965 2013-07-20 David S. Miller <davem@davemloft.net>
51966
51967 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51968 difference between 32-bit and 64-bit.
51969
51970 2013-07-15 Carlos O'Donell <carlos@redhat.com>
51971
51972 [BZ #15711]
51973 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51974 Avoid system header dependency with -ffreestanding.
51975 ($(objpfx)bits/syscall%d): Likewise.
51976
51977 2013-07-13 David S. Miller <davem@davemloft.net>
51978
51979 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51980 underflows from atanl/atan2l due to bug 15319.
51981 (casinh_test_data): Likewise.
51982
51983 2013-07-07 David S. Miller <davem@davemloft.net>
51984
51985 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51986
51987 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
51988
51989 * sysdeps/i386/fpu/libm-test-ulps: Update.
51990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51991
51992 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51993
51994 * configure.in (--enable-lock-elision): Fix message text.
51995 * INSTALL: Regenerate.
51996 * configure: Regenerate.
51997
51998 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51999
52000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52001
52002 2013-07-03 Andreas Jaeger <aj@suse.de>
52003
52004 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
52005 define.
52006 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
52007 (ptrace_peeksiginfo_args): Add.
52008 (__ptrace_peeksiginfo_flags): Add.
52009 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52010 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52011 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52012
52013 2013-07-03 Allan McRae <allan@archlinux.org>
52014
52015 * sysdeps/i386/fpu/libm-test-ulps: Update.
52016
52017 2013-07-02 David S. Miller <davem@davemloft.net>
52018
52019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52020
52021 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
52022
52023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52024
52025 2013-07-02 Joseph Myers <joseph@codesourcery.com>
52026
52027 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52029
52030 2013-07-02 Andi Kleen <ak@linux.intel.com>
52031
52032 * config.h.in (ENABLE_LOCK_ELISION): Add.
52033 * configure.in (--enable-lock-elision): Add option.
52034 * manual/install.texi: Document --enable lock elision.
52035 * configure: Regenerate
52036 * INSTALL: Regenerate.
52037
52038 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
52039
52040 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
52041 SSE4.2 strcasecmp for libc.a.
52042 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
52043
52044 2013-07-02 Joseph Myers <joseph@codesourcery.com>
52045
52046 [BZ #13304]
52047 * soft-fp/op-common.h (_FP_FMA): New macro.
52048 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
52049 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
52050 (_FP_MUL_MEAT_1_imm): ... here.
52051 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
52052 (_FP_MUL_MEAT_1_wide): ... here.
52053 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
52054 (_FP_MUL_MEAT_1_hard): ... here.
52055 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
52056 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
52057 (_FP_MUL_MEAT_2_wide): ... here.
52058 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
52059 (_FP_MUL_MEAT_2_wide_3mul): ... here.
52060 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
52061 (_FP_MUL_MEAT_2_gmp): ... here.
52062 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
52063 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
52064 (_FP_MUL_MEAT_4_wide): ... here.
52065 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
52066 (_FP_MUL_MEAT_4_gmp): ... here.
52067 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
52068 (_FP_WFRACBITS_DW_S): Likewise.
52069 (_FP_WFRACXBITS_DW_S): Likewise.
52070 (_FP_HIGHBIT_DW_S): Likewise.
52071 (FP_FMA_S): Likewise.
52072 (_FP_FRAC_HIGH_DW_S): Likewise.
52073 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
52074 (_FP_WFRACBITS_DW_D): Likewise.
52075 (_FP_WFRACXBITS_DW_D): Likewise.
52076 (_FP_HIGHBIT_DW_D): Likewise.
52077 (FP_FMA_D): Likewise.
52078 (_FP_FRAC_HIGH_DW_D): Likewise.
52079 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
52080 (_FP_WFRACBITS_DW_E): Likewise.
52081 (_FP_WFRACXBITS_DW_E): Likewise.
52082 (_FP_HIGHBIT_DW_E): Likewise.
52083 (FP_FMA_E): Likewise.
52084 (_FP_FRAC_HIGH_DW_E): Likewise.
52085 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
52086 (_FP_WFRACBITS_DW_Q): Likewise.
52087 (_FP_WFRACXBITS_DW_Q): Likewise.
52088 (_FP_HIGHBIT_DW_Q): Likewise.
52089 (FP_FMA_Q): Likewise.
52090 (_FP_FRAC_HIGH_DW_Q): Likewise.
52091 * soft-fp/fmasf4.c: New file.
52092 * soft-fp/fmadf4.c: Likewise.
52093 * soft-fp/fmatf4.c: Likewise.
52094
52095 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52096
52097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52098 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
52099 Silvermont.
52100 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
52101 macro.
52102 (index_Slow_SSE4_2): Likewise.
52103 (index_Prefer_PMINUB_for_stringop): Likewise.
52104 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
52105 bit_Slow_SSE4_2 is set.
52106 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52107 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52108
52109 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
52110
52111 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
52112 rtld_global._dl_hwcap2.
52113 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
52114 POWER8.
52115 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
52116 POWER8 feature descriptions defined in _dl_hwcap2.
52117 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
52118 string handling for POWER8 feature bits.
52119 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
52120 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
52121 _dl_powerpc_cap_flags.
52122 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
52123 * sysdeps/powerpc/rtld-global-offsets.sym
52124 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
52125 _dl_hwcap2 in the rtld_global_ro structure.
52126
52127 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
52128
52129 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
52130 hardware capabilities in support of AT_HWCAP2.
52131 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
52132 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
52133 GLRO(dl_hwcap2).
52134 (_dl_show_auxv): Add support for calling _dl_procinfo to display
52135 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
52136 explicitly the unknown a_type display mechanism is used.
52137 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
52138 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
52139 struct member.
52140 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
52141 to macro prototype for AT_HWCAP2 support.
52142 * sysdeps/i386/dl-procinfo.h: Likewise.
52143 * sysdeps/s390/dl-procinfo.h: Likewise.
52144 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
52145 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
52146 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
52147 return -1 for unknown a_type display fallback.
52148 * sysdeps/sparc/dl-procinfo.h: Likewise.
52149 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
52150 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
52151
52152 2013-06-28 Joseph Myers <joseph@codesourcery.com>
52153
52154 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
52155 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
52156
52157 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
52158
52159 [BZ #12492]
52160 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
52161 mprotect making __stack_prot writable.
52162
52163 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
52164 Joseph Myers <joseph@codesourcery.com>
52165
52166 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
52167 as being properly aligned.
52168
52169 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
52170
52171 * dlfcn/modstatic5.c: New file.
52172 * dlfcn/tststatic5.c: New file.
52173 * dlfcn/Makefile (tests): Add tststatic5.
52174 (tests-static): Likewise.
52175 (modules-names): Add modstatic5.
52176 (tststatic5-ENV): New variable.
52177 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
52178
52179 [BZ #15022]
52180 * elf/dl-support.c (_dl_main_map): New variable.
52181 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
52182 (_dl_nns, _dl_load_adds): Set to 1.
52183 (_dl_initial_searchlist): Refer to _dl_main_map.
52184 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
52185 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
52186 call to _dl_get_origin.
52187 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
52188 around call_map.
52189 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
52190 * dlfcn/modstatic3.c: New file.
52191 * dlfcn/tststatic3.c: New file.
52192 * dlfcn/tststatic4.c: New file.
52193 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
52194 (tests-static): Likewise.
52195 (modules-names): Add modstatic3.
52196 (tststatic3-ENV, tststatic4-ENV): New variables.
52197 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
52198 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
52199
52200 2013-06-26 Joseph Myers <joseph@codesourcery.com>
52201
52202 * configure.in (CC): Require GCC version 4.4 or later.
52203 * configure: Regenerated.
52204 * manual/install.texi (Tools for Compilation): Update GCC version
52205 requirement.
52206 * INSTALL: Regenerated.
52207
52208 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52209
52210 [BZ #15674]
52211 * string/test-memcmp.c (check2): New.
52212 (main): Call check2.
52213
52214 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
52215
52216 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
52217
52218 [BZ #15022]
52219 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
52220 over to...
52221 (dl_open_worker) [!SHARED]: ... here.
52222
52223 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
52224
52225 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
52226
52227 2013-06-25 Richard Henderson <rth@redhat.com>
52228
52229 * locale/programs/locarchive.c: Include <libc-internal.h>
52230
52231 2013-06-25 Joseph Myers <joseph@codesourcery.com>
52232
52233 * manual/texinfo.tex: Update to version 2013-06-21.17, with
52234 trailing whitespace removed.
52235
52236 2013-06-24 Mike Frysinger <vapier@gentoo.org>
52237
52238 [BZ #10283]
52239 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
52240 * locale/programs/locarchive.c: Include libc-mmap.h.
52241 (prepare_address_space): Take two new outputs (the mmap base and len).
52242 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
52243 values.
52244 (create_archive): Declare new mmap base and len values for
52245 prepare_address_space, and store the result in ah.
52246 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
52247 (enlarge_archive): If ah->mmap_base is not NULL, use that and
52248 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
52249 Declare new mmap base and len values for
52250 prepare_address_space, and store the result in new_ah.
52251 (open_archive): Declare new mmap base and len values for
52252 prepare_address_space, and store the result in ah.
52253 (close_archive): If ah->mmap_base is not NULL, use that and
52254 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
52255 * sysdeps/generic/libc-mmap.h: New file.
52256
52257 2013-06-24 Mike Frysinger <vapier@gentoo.org>
52258
52259 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
52260 (ALIGN_UP): Likewise.
52261 (PTR_ALIGN_DOWN): Likewise.
52262 (PTR_ALIGN_UP): Likewise.
52263
52264 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
52265
52266 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
52267 entry mapped to PPC_PLATFORM_POWER8.
52268 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
52269 POWER8.
52270 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
52271 (_dl_string_platform): Add case for exporting platform position for
52272 POWER8.
52273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
52274 search path to sysdeps/powerpc/powerpc32/power8 directory.
52275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
52276 search path to sysdeps/powerpc/powerpc64/power8 directory.
52277 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
52278 power7 directories.
52279 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
52280 power7 directories.
52281
52282 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
52283
52284 * INSTALL: Regenerate.
52285
52286 * nscd/connections.c (nscd_init): Fix comment.
52287
52288 2013-06-22 Joseph Myers <joseph@codesourcery.com>
52289
52290 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
52291
52292 [BZ #15667]
52293 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
52294 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
52295
52296 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
52297
52298 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
52299 DL_DST_REQ_STATIC.
52300 (DL_DST_REQ_STATIC): Remove macro.
52301
52302 2013-06-21 Joseph Myers <joseph@codesourcery.com>
52303
52304 [BZ #7006]
52305 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
52306 with a shift of 0 bits.
52307
52308 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
52309
52310 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
52311 $(tststatic-ENV).
52312
52313 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52314
52315 [BZ #15655]
52316 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
52317
52318 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52319
52320 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
52321 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
52322 accepts -fno-tree-loop-distribute-patterns.
52323 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
52324 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
52325 recursive call.
52326 * string/memset.c (memset): Likewise.
52327 * string/test-memmove.c (simple_memmove): Disable loop transformation
52328 to library calls.
52329 * string/test-memset.c (simple_memset): Likewise.
52330 * benchtests/bench-memmove.c (simple_memmove): Likewise.
52331 * benchtests/bench-memset.c (simple_memset): Likewise.
52332 * configure: Regenerated.
52333
52334 2013-06-20 Joseph Myers <joseph@codesourcery.com>
52335
52336 * math/test-misc.c (main): Ignore fesetround failure when failures
52337 of subsequent rounding tests would be ignored.
52338
52339 [BZ #15654]
52340 * math/fedisblxcpt.c (fedisableexcept): Return 0.
52341 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
52342 * math/fegetenv.c (__fegetenv): Return 0.
52343 * math/fegetexcept.c (fegetexcept): Return 0.
52344 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
52345 FE_TONEAREST.
52346 * math/feholdexcpt.c (feholdexcept): Return 0.
52347 * math/fesetenv.c (__fesetenv): Return 0.
52348 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
52349 argument FE_TONEAREST.
52350 * math/feupdateenv.c (__feupdateenv): Return 0.
52351 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
52352
52353 2013-06-18 Roland McGrath <roland@hack.frob.com>
52354
52355 * elf/rtld-Rules (rtld-compile-command.S): New variable.
52356 (rtld-compile-command.s, rtld-compile-command.c): New variables.
52357 ($(objpfx)rtld-%.os rules): Use them.
52358
52359 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52360
52361 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
52362 fields.
52363
52364 2013-06-17 Roland McGrath <roland@hack.frob.com>
52365
52366 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
52367 length of target pattern, then descending length of dependency pattern.
52368 * configure.in (AWK): Require gawk 3.1.2 or newer.
52369 * manual/install.texi (Tools for Compilation): Say that we do.
52370 * configure: Regenerated.
52371
52372 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
52373 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
52374 * scripts/sysd-rules.awk: ... this new script.
52375 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
52376 than a glob-style pattern.
52377
52378 2013-06-17 Joseph Myers <joseph@codesourcery.com>
52379
52380 * math/test-misc.c (main): Do not treat incorrectly rounded
52381 conversions as failure unless ROUNDING_TESTS passes.
52382
52383 2013-06-15 Joseph Myers <joseph@codesourcery.com>
52384
52385 [BZ #15631]
52386 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
52387 restore exception state around main square root computation, then
52388 check for inexactness explicitly.
52389
52390 * math/libm-test.inc (fma_test_data): Add another test.
52391
52392 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52393
52394 * manual/threads.texi (Non-POSIX Extensions): New document
52395 node. Document pthread_getattr_default_np and
52396 pthread_setattr_default_np.
52397
52398 * Versions.def (libpthread): Add GLIBC_2.18.
52399 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
52400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52401 Likewise.
52402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52403 Likewise.
52404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52405 Likewise.
52406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52407 Likewise.
52408 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
52409 Likewise.
52410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52411 Likewise.
52412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52413 Likewise.
52414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52415 Likewise.
52416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
52417 Likewise.
52418
52419 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52420
52421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52422 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
52423
52424 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
52425 H.J. Lu <hjl.tools@gmail.com>
52426
52427 [BZ #15627]
52428 * sysdeps/x86_64/rtld-memset.c: Remove file.
52429 * sysdeps/x86_64/rtld-memset.S: New file.
52430
52431 2013-06-14 Joseph Myers <joseph@codesourcery.com>
52432
52433 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
52434 (test_in_one_mode): Take arguments for whether the rounding mode
52435 is supported for each floating-point type.
52436 (do_test): Pass new arguments to test_in_one_mode using
52437 ROUNDING_TESTS.
52438
52439 2013-06-13 Roland McGrath <roland@hack.frob.com>
52440
52441 * posix/tst-waitid.c (do_test): Distinguish different instances of
52442 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
52443 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
52444 before entering the kernel for waitpid.
52445
52446 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
52447
52448 * NEWS: Fix note on clock function precision. Text by Roland
52449 McGrath.
52450
52451 2013-06-13 Roland McGrath <roland@hack.frob.com>
52452
52453 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
52454 it into place only when and if the sanity check passes.
52455
52456 2013-06-13 Joseph Myers <joseph@codesourcery.com>
52457
52458 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
52459 output for whether conversion result is exact. Take argument
52460 indicating whether type is IBM long double.
52461 (round_for_all): Change need_exact field to ibm_ld.
52462 * stdlib/tst-strtod-round.c (struct exactness): New type.
52463 (struct test): Change bool ld_ok field to struct exactness exact.
52464 (TEST): Update all definitions for change to field.
52465 (tests): Regenerate array contents.
52466 (test_in_one_mode): Take pointer to new field instead of old ld_ok
52467 field value. Check for IBM long double here.
52468 (do_test): Update calls to test_in_one_mode.
52469
52470 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
52471
52472 [BZ #12515]
52473 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
52474 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
52475
52476 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52477
52478 [BZ #15605]
52479 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
52480 generated by the compiler on loop optimizations.
52481 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
52482 general definitions.
52483
52484 2013-06-12 Joseph Myers <joseph@codesourcery.com>
52485
52486 * math/bug-nextafter.c: Include <math-tests.h>.
52487 (main): Only test for exceptions if EXCEPTION_TESTS is true for
52488 the relevant type.
52489 * math/bug-nexttoward.c: Include <math-tests.h>.
52490 (main): Only test for exceptions if EXCEPTION_TESTS is true for
52491 the relevant type.
52492 * math/test-misc.c: Include <math-tests.h>.
52493 (main): Only test for exceptions if EXCEPTION_TESTS is true for
52494 the relevant type.
52495
52496 2013-06-12 Andreas Jaeger <aj@suse.de>
52497
52498 * po/ia.po: Update Interlingua translation from translation
52499 project.
52500
52501 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
52502
52503 * include/fenv.h: Include stdbool.h.
52504 (struct rm_ctx): New structure.
52505 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
52506 Define macro.
52507 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
52508 (SET_RESTORE_ROUNDF): Likewise.
52509 (SET_RESTORE_ROUNDL): Likewise.
52510 (SET_RESTORE_ROUND_NOEX): Likewise.
52511 (SET_RESTORE_ROUND_NOEXF): Likewise.
52512 (SET_RESTORE_ROUND_NOEXL): Likewise.
52513 (SET_RESTORE_ROUND_53BIT): Likewise.
52514 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
52515 (libc_feresetround_noexf_ctx): Likewise.
52516 (libc_feresetround_noexl_ctx): Likewise.
52517 (libc_feholdsetround_53bit_ctx): Likewise.
52518 (libc_feresetround_53bit_ctx): Likewise.
52519 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
52520 (libc_feholdexcept_setround_sse_ctx): New function.
52521 (libc_fesetenv_sse_ctx): Likewise.
52522 (libc_feupdateenv_sse_ctx): Likewise.
52523 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
52524 (libc_feholdexcept_setround_387_ctx): Likewise.
52525 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
52526 (libc_feholdsetround_387_prec_ctx): Likewise.
52527 (libc_feholdsetround_387_ctx): Likewise.
52528 (libc_feholdsetround_387_53bit_ctx): Likewise.
52529 (libc_feholdsetround_sse_ctx): Likewise.
52530 (libc_feresetround_sse_ctx): Likewise.
52531 (libc_feresetround_387_ctx): Likewise.
52532 (libc_feupdateenv_387_ctx): Likewise.
52533 (libc_feholdexcept_setroundf_ctx): Define macro.
52534 (libc_fesetenvf_ctx): Likewise.
52535 (libc_feupdateenvf_ctx): Likewise.
52536 (libc_feholdsetroundf_ctx): Likewise.
52537 (libc_feresetroundf_ctx): Likewise.
52538 (libc_feholdexcept_setround_ctx): Likewise.
52539 (libc_fesetenv_ctx): Likewise.
52540 (libc_feupdateenv_ctx): Likewise.
52541 (libc_feholdsetround_ctx): Likewise.
52542 (libc_feresetround_ctx): Likewise.
52543 (libc_feholdexcept_setroundl_ctx): Likewise.
52544 (libc_feupdateenvl_ctx): Likewise.
52545 (libc_feholdsetroundl_ctx): Likewise.
52546 (libc_feresetroundl_ctx): Likewise.
52547 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
52548 (libc_feresetround_53bit_ctx): Likewise.
52549
52550 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
52551
52552 * locale/iso-639.def: Convert to UTF-8.
52553
52554 2013-06-11 Joseph Myers <joseph@codesourcery.com>
52555
52556 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
52557 (EXCEPTION_TESTS_double): Likewise.
52558 (EXCEPTION_TESTS_long_double): Likewise.
52559 (EXCEPTION_TESTS): Likewise.
52560 * math/libm-test.inc (test_exceptions): Only test exceptions if
52561 EXCEPTION_TESTS (FLOAT).
52562
52563 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
52564
52565 * benchtests/Makefile (string-bench): Add strcpy_chk and
52566 stpcpy_chk.
52567 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
52568 * benchtests/bench-stpcpy_chk.c: New file.
52569 * benchtests/bench-strcpy_chk-ifunc.c: New file.
52570 * benchtests/bench-strcpy_chk.c: New file.
52571 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
52572 code.
52573 (do_test): Likewise.
52574
52575 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
52576
52577 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52578 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52579 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52580 with tabs where appropriate.
52581 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52582 dl-procinfo.h.
52583 [PPC_PLATFORM_PPC440]: Likewise.
52584 [PPC_PLATFORM_PPC464]: Likewise.
52585 [PPC_PLATFORM_PPC476]: Likewise.
52586 (_dl_string_platform): Add support for detecting ppc405, ppc440,
52587 ppc464, and ppc476 platform strings merging from ports/
52588 dl-procinfo.h.
52589
52590 2013-06-11 Andreas Schwab <schwab@suse.de>
52591
52592 [BZ #14991]
52593 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52594 (from_ucs4_idx): Regenerate.
52595 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52596 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52597 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52598 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52599 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52600 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52601 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52602 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52603 from FROM_LOOP and TO_LOOP specific macros.
52604 (BODY): Handle combining characters.
52605 * iconvdata/BIG5HKSCS.irreversible: Update.
52606 * iconvdata/BIG5HKSCS.precomposed: New file.
52607 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52608 characters.
52609 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52610
52611 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
52612
52613 * include/sys/time.h: Fix indentation and add copyright header.
52614
52615 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52616 (do_test): Likewise.
52617 * string/test-memchr.c (do_one_test): Likewise.
52618 (do_test): Likewise.
52619 * string/test-memcmp.c (do_one_test): Likewise.
52620 (do_test): Likewise.
52621 * string/test-memcpy.c (do_one_test): Likewise.
52622 (do_test): Likewise.
52623 * string/test-memmem.c (do_one_test): Likewise.
52624 (do_test): Likewise.
52625 (do_random_tests): Likewise.
52626 * string/test-memmove.c (do_one_test): Likewise.
52627 (do_test): Likewise.
52628 * string/test-memset.c (do_one_test): Likewise.
52629 (do_test): Likewise.
52630 * string/test-rawmemchr.c (do_one_test): Likewise.
52631 (do_test): Likewise.
52632 * string/test-strcasecmp.c (do_one_test): Likewise.
52633 (do_test): Likewise.
52634 * string/test-strcasestr.c (do_one_test): Likewise.
52635 (do_test): Likewise.
52636 * string/test-strcat.c (do_one_test): Likewise.
52637 (do_test): Likewise.
52638 * string/test-strchr.c (do_one_test): Likewise.
52639 (do_test): Likewise.
52640 * string/test-strcmp.c (do_one_test): Likewise.
52641 (do_test): Likewise.
52642 * string/test-strcpy.c (do_one_test): Likewise.
52643 (do_test): Likewise.
52644 * string/test-string.h: Likewise.
52645 (test_init): Likewise.
52646 * string/test-strlen.c (do_one_test): Likewise.
52647 (do_test): Likewise.
52648 * string/test-strncasecmp.c (do_one_test): Likewise.
52649 (do_test): Likewise.
52650 * string/test-strncat.c (do_one_test): Likewise.
52651 (do_test): Likewise.
52652 * string/test-strncmp.c (do_one_test): Likewise.
52653 (do_test_limit): Likewise.
52654 (do_test): Likewise.
52655 * string/test-strncpy.c (do_one_test): Likewise.
52656 (do_test): Likewise.
52657 * string/test-strnlen.c (do_one_test): Likewise.
52658 (do_test): Likewise.
52659 * string/test-strpbrk.c (do_one_test): Likewise.
52660 (do_test): Likewise.
52661 * string/test-strrchr.c (do_one_test): Likewise.
52662 (do_test): Likewise.
52663 * string/test-strspn.c (do_one_test): Likewise.
52664 (do_test): Likewise.
52665 * string/test-strstr.c (do_one_test): Likewise.
52666 (do_test): Likewise.
52667
52668 * benchtests/Makefile (string-bench): Add string benchmarks.
52669 * benchtests/bench-bcopy-ifunc.c: New file.
52670 * benchtests/bench-bcopy.c: New file.
52671 * benchtests/bench-bzero-ifunc.c: New file.
52672 * benchtests/bench-bzero.c: New file.
52673 * benchtests/bench-memccpy-ifunc.c: New file.
52674 * benchtests/bench-memccpy.c: New file.
52675 * benchtests/bench-memchr-ifunc.c: New file.
52676 * benchtests/bench-memchr.c: New file.
52677 * benchtests/bench-memcmp-ifunc.c: New file.
52678 * benchtests/bench-memcmp.c: New file.
52679 * benchtests/bench-memmem-ifunc.c: New file.
52680 * benchtests/bench-memmem.c: New file.
52681 * benchtests/bench-memmove-ifunc.c: New file.
52682 * benchtests/bench-memmove.c: New file.
52683 * benchtests/bench-mempcpy-ifunc.c: New file.
52684 * benchtests/bench-mempcpy.c: New file.
52685 * benchtests/bench-memset-ifunc.c: New file.
52686 * benchtests/bench-memset.c: New file.
52687 * benchtests/bench-rawmemchr-ifunc.c: New file.
52688 * benchtests/bench-rawmemchr.c: New file.
52689 * benchtests/bench-stpcpy-ifunc.c: New file.
52690 * benchtests/bench-stpcpy.c: New file.
52691 * benchtests/bench-stpncpy-ifunc.c: New file.
52692 * benchtests/bench-stpncpy.c: New file.
52693 * benchtests/bench-strcasecmp-ifunc.c: New file.
52694 * benchtests/bench-strcasecmp.c: New file.
52695 * benchtests/bench-strcasestr-ifunc.c: New file.
52696 * benchtests/bench-strcasestr.c: New file.
52697 * benchtests/bench-strcat-ifunc.c: New file.
52698 * benchtests/bench-strcat.c: New file.
52699 * benchtests/bench-strchr-ifunc.c: New file.
52700 * benchtests/bench-strchr.c: New file.
52701 * benchtests/bench-strchrnul-ifunc.c: New file.
52702 * benchtests/bench-strchrnul.c: New file.
52703 * benchtests/bench-strcmp-ifunc.c: New file.
52704 * benchtests/bench-strcmp.c: New file.
52705 * benchtests/bench-strcpy-ifunc.c: New file.
52706 * benchtests/bench-strcpy.c: New file.
52707 * benchtests/bench-strcspn-ifunc.c: New file.
52708 * benchtests/bench-strcspn.c: New file.
52709 * benchtests/bench-strlen-ifunc.c: New file.
52710 * benchtests/bench-strlen.c: New file.
52711 * benchtests/bench-strncasecmp-ifunc.c: New file.
52712 * benchtests/bench-strncasecmp.c: New file.
52713 * benchtests/bench-strncat-ifunc.c: New file.
52714 * benchtests/bench-strncat.c: New file.
52715 * benchtests/bench-strncmp-ifunc.c: New file.
52716 * benchtests/bench-strncmp.c: New file.
52717 * benchtests/bench-strncpy-ifunc.c: New file.
52718 * benchtests/bench-strncpy.c: New file.
52719 * benchtests/bench-strnlen-ifunc.c: New file.
52720 * benchtests/bench-strnlen.c: New file.
52721 * benchtests/bench-strpbrk-ifunc.c: New file.
52722 * benchtests/bench-strpbrk.c: New file.
52723 * benchtests/bench-strrchr-ifunc.c: New file.
52724 * benchtests/bench-strrchr.c: New file.
52725 * benchtests/bench-strspn-ifunc.c: New file.
52726 * benchtests/bench-strspn.c: New file.
52727 * benchtests/bench-strstr-ifunc.c: New file.
52728 * benchtests/bench-strstr.c: New file.
52729
52730 * benchtests/Makefile: Disable parallel execution of targets.
52731 (string-bench): Add memcpy.
52732 (benchset): New variable to store a list of benchmark sets.
52733 (bench-func): Renamed from bench.
52734 (bench-set): New target.
52735 (bench): Depend on bench-func and bench-set.
52736 * benchtests/README: Add section on benchmark sets.
52737 * benchtests/bench-memcpy-ifunc.c: New file.
52738 * benchtests/bench-memcpy.c: New file.
52739 * benchtests/bench-string.h: New file.
52740
52741 2013-06-11 Andreas Schwab <schwab@suse.de>
52742
52743 [BZ #15577]
52744 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52745 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52746 values in the triple.
52747 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52748 terminator in the group key.
52749
52750 2013-06-11 Andreas Jaeger <aj@suse.de>
52751
52752 * po/zh_TW.po: Update Chinese (traditional) translation from
52753 translation project.
52754
52755 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
52756
52757 * include/time.h (__clock_gettime): Add libc_hidden_proto.
52758 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52759 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
52760 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52761 (clock_getcpuclockid): Likewise.
52762 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52763 Add weak_alias and libc_hidden_def.
52764 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52765 * rt/clock_gettime.c (clock_gettime): Rename to
52766 __clock_gettime. Add weak_alias and libc_hidden_def.
52767 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52768 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52769 __clock_nanosleep. Add weak_alias and libc_hidden_def.
52770 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52771 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52772 Likewise.
52773 * rt/clock_settime.c (clock_settime): Rename to
52774 __clock_settime. Add weak_alias and libc_hidden_def.
52775 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52776
52777 2013-06-10 Joseph Myers <joseph@codesourcery.com>
52778
52779 * mach/err_boot.sub: Remove trailing whitespace.
52780 * mach/err_ipc.sub: Likewise.
52781 * mach/err_mach.sub: Likewise.
52782
52783 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52784 (ROUNDING_TESTS_double): Likewise.
52785 (ROUNDING_TESTS_long_double): Likewise.
52786 (ROUNDING_TESTS): Likewise.
52787 * math/libm-test.inc: Include <math-tests.h>.
52788 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52789 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52790 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52791 (IF_ROUND_INIT_FE_UPWARD): Likewise.
52792
52793 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
52794
52795 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52796 of assigning.
52797
52798 2013-06-08 Joseph Myers <joseph@codesourcery.com>
52799
52800 * sysdeps/gnu/errlist.awk: Do not generate space at end of
52801 otherwise empty TRANS lines.
52802 * sysdeps/gnu/errlist.c: Regenerated.
52803
52804 * catgets/gencat.c (error_print): Use (void) in function
52805 definition.
52806 * crypt/crypt_util.c (__init_des): Likewise.
52807 * crypt/speeds.c (Stop): Likewise.
52808 (main): Likewise.
52809 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52810 * inet/ruserpass.c (token): Likewise.
52811 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52812 * intl/localealias.c (extend_alias_table): Likewise.
52813 * intl/plural-exp.c (init_germanic_plural): Likewise.
52814 * libio/fcloseall.c (__fcloseall): Likewise.
52815 * libio/genops.c (_IO_flush_all): Likewise.
52816 (_IO_flush_all_linebuffered): Likewise.
52817 (_IO_cleanup): Likewise.
52818 (_IO_iter_begin): Likewise.
52819 (_IO_iter_end): Likewise.
52820 (_IO_list_lock): Likewise.
52821 (_IO_list_unlock): Likewise.
52822 (_IO_list_resetlock): Likewise.
52823 * libio/getchar.c (getchar): Likewise.
52824 * libio/getchar_u.c (getchar_unlocked): Likewise.
52825 * libio/getwchar.c (getwchar): Likewise.
52826 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52827 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52828 * login/getpt.c (__getpt): Likewise.
52829 * login/tst-utmp.c (main): Likewise.
52830 * malloc/hooks.c (__malloc_check_init): Likewise.
52831 * malloc/malloc.c (__malloc_stats): Likewise.
52832 * malloc/mtrace.c (tr_break): Likewise.
52833 (mtrace): Likewise.
52834 (muntrace): Likewise.
52835 * misc/fstab.c (endfsent): Likewise.
52836 * misc/getclktck.c (__getclktck): Likewise.
52837 * misc/getdtsz.c (__getdtablesize): Likewise.
52838 * misc/gethostid.c (gethostid): Likewise.
52839 * misc/getpagesize.c (__getpagesize): Likewise.
52840 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52841 (__get_nprocs): Likewise.
52842 (__get_phys_pages): Likewise.
52843 (__get_avphys_pages): Likewise.
52844 * misc/getttyent.c (getttyent): Likewise.
52845 (setttyent): Likewise.
52846 (endttyent): Likewise.
52847 * misc/getusershell.c (getusershell): Likewise.
52848 (endusershell): Likewise.
52849 (setusershell): Likewise.
52850 (initshells): Likewise.
52851 * misc/hsearch.c (__hdestroy): Likewise.
52852 * misc/sync.c (sync): Likewise.
52853 * misc/syslog.c (closelog_internal): Likewise.
52854 (closelog): Likewise.
52855 * misc/ttyslot.c (ttyslot): Likewise.
52856 * misc/vhangup.c (vhangup): Likewise.
52857 * posix/fork.c (__fork): Likewise.
52858 * posix/getegid.c (__getegid): Likewise.
52859 * posix/geteuid.c (__geteuid): Likewise.
52860 * posix/getgid.c (__getgid): Likewise.
52861 * posix/getpid.c (__getpid): Likewise.
52862 * posix/getppid.c (__getppid): Likewise.
52863 * posix/getuid.c (__getuid): Likewise.
52864 * posix/pause.c (pause): Likewise.
52865 * posix/setpgrp.c (setpgrp): Likewise.
52866 * posix/setsid.c (__setsid): Likewise.
52867 * posix/test-vfork.c (noop): Likewise.
52868 * resolv/gethnamaddr.c (_endhtent): Likewise.
52869 (_gethtent): Likewise.
52870 (ht_endhostent): Likewise.
52871 (gethostent): Likewise.
52872 (dns_service): Likewise.
52873 * stdlib/drand48.c (drand48): Likewise.
52874 * stdlib/lrand48.c (lrand48): Likewise.
52875 * stdlib/mrand48.c (mrand48): Likewise.
52876 * stdlib/rand.c (rand): Likewise.
52877 * stdlib/random.c (__random): Likewise.
52878 * stdlib/setenv.c (clearenv): Likewise.
52879 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52880 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52881 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52882 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52883 (__get_nprocs): Likewise.
52884 (__get_phys_pages): Likewise.
52885 (__get_avphys_pages): Likewise.
52886 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52887 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52888 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52889 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52890 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52891 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52892 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52893 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52894 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52895 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52896 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52897 * sysdeps/mach/hurd/sync.c (sync): Likewise.
52898 * sysdeps/posix/clock.c (clock): Likewise.
52899 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52900 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52901 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52902 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52903 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52905 (__get_nprocs_conf): Likewise.
52906 (__get_phys_pages): Likewise.
52907 (__get_avphys_pages): Likewise.
52908 * time/clock.c (clock): Likewise.
52909 * time/tzset.c (__tzname_max): Likewise.
52910
52911 2013-06-07 Joseph Myers <joseph@codesourcery.com>
52912
52913 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52914 (__bswap_32): Do not use "register".
52915 * crypt/crypt.c (_ufc_doit_r): Likewise.
52916 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52917 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52918 * gmon/gmon.c (__monstartup): Likewise.
52919 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52920 * hurd/hurdmalloc.c (more_memory): Likewise.
52921 (malloc): Likewise.
52922 (free): Likewise.
52923 (realloc): Likewise.
52924 (malloc_fork_prepare): Likewise.
52925 (malloc_fork_parent): Likewise.
52926 (malloc_fork_child): Likewise.
52927 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52928 (_svcauth_des): Likewise.
52929 * inet/inet_lnaof.c (inet_lnaof): Likewise.
52930 * inet/inet_net.c (inet_network): Likewise.
52931 * inet/inet_netof.c (inet_netof): Likewise.
52932 * inet/rcmd.c (__validuser2_sa): Likewise.
52933 * io/fts.c (fts_open): Likewise.
52934 (fts_load): Likewise.
52935 (fts_close): Likewise.
52936 (fts_read): Likewise.
52937 (fts_children): Likewise.
52938 (fts_build): Likewise.
52939 (fts_stat): Likewise.
52940 (fts_sort): Likewise.
52941 (fts_alloc): Likewise.
52942 (fts_lfree): Likewise.
52943 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52944 (_IO_file_xsgetn): Likewise.
52945 (_IO_file_xsgetn_mmap): Likewise.
52946 * libio/iofopncook.c (_IO_cookie_read): Likewise.
52947 (_IO_cookie_write): Likewise.
52948 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52949 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52950 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52951 * malloc/obstack.c (_obstack_begin): Likewise.
52952 (_obstack_begin_1): Likewise.
52953 (_obstack_newchunk): Likewise.
52954 (_obstack_allocated_p): Likewise.
52955 (obstack_free): Likewise.
52956 (_obstack_memory_used): Likewise.
52957 * misc/getttyent.c (getttynam): Likewise.
52958 (getttyent): Likewise.
52959 (skip): Likewise.
52960 (value): Likewise.
52961 * misc/getusershell.c (initshells): Likewise.
52962 * misc/syslog.c (__vsyslog_chk): Likewise.
52963 * misc/ttyslot.c (ttyslot): Likewise.
52964 * nis/nis_hash.c (__nis_hash): Likewise.
52965 * posix/fnmatch_loop.c (FCT): Likewise.
52966 * posix/getconf.c (print_all): Likewise.
52967 (main): Likewise.
52968 * posix/getopt.c (exchange): Likewise.
52969 * posix/glob.c (globfree): Likewise.
52970 (prefix_array): Likewise.
52971 (__glob_pattern_type): Likewise.
52972 * resolv/arpa/nameser.h (NS_GET16): Likewise.
52973 (NS_GET32): Likewise.
52974 (NS_PUT16): Likewise.
52975 (NS_PUT32): Likewise.
52976 * resolv/gethnamaddr.c (getanswer): Likewise.
52977 (gethostbyname2): Likewise.
52978 (gethostbyaddr): Likewise.
52979 (_gethtent): Likewise.
52980 (_gethtbyname2): Likewise.
52981 (_gethtbyaddr): Likewise.
52982 * resolv/ns_print.c (dst_s_get_int16): Likewise.
52983 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52984 * resolv/res_init.c (__res_vinit): Likewise.
52985 (net_mask): Likewise.
52986 * resolv/res_mkquery.c (outchar): Likewise.
52987 (PRINT): Likewise.
52988 * stdio-common/printf_fp.c (outchar): Likewise.
52989 (PRINT): Likewise.
52990 * stdio-common/printf_fphex.c (outchar): Likewise.
52991 (PRINT): Likewise.
52992 * stdio-common/printf_size.c (outchar): Likewise.
52993 (PRINT): Likewise.
52994 * stdio-common/test_rdwr.c (main): Likewise.
52995 * stdio-common/tfformat.c (matches): Likewise.
52996 * stdio-common/vfprintf.c (outchar): Likewise.
52997 (printf_unknown): Likewise.
52998 (buffered_vfprintf): Likewise.
52999 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53000 * stdio-common/xbug.c (AppendToBuffer): Likewise.
53001 (ReadFile): Likewise.
53002 * stdlib/qsort.c (SWAP): Likewise.
53003 (_quicksort): Likewise.
53004 * stdlib/setenv.c (__add_to_environ): Likewise.
53005 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53006 * stdlib/strtol_l.c (__strtol_l): Likewise.
53007 * stdlib/tst-strtod.c (main): Likewise.
53008 * stdlib/tst-strtol.c (main): Likewise.
53009 * stdlib/tst-strtoll.c (main): Likewise.
53010 * string/bits/string2.h (__strcmp_cc): Likewise.
53011 (__strcmp_cg): Likewise.
53012 (__strcspn_c1): Likewise.
53013 (__strcspn_c2): Likewise.
53014 (__strcspn_c3): Likewise.
53015 (__strspn_c1): Likewise.
53016 (__strspn_c2): Likewise.
53017 (__strspn_c3): Likewise.
53018 (__strsep_1c): Likewise.
53019 (__strsep_2c): Likewise.
53020 (__strsep_3c): Likewise.
53021 * string/memccpy.c (__memccpy): Likewise.
53022 * string/stpcpy.c (__stpcpy): Likewise.
53023 * string/strcmp.c (strcmp): Likewise.
53024 * string/strrchr.c (strrchr): Likewise.
53025 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
53026 Likewise.
53027 * sysdeps/mach/hurd/getcwd.c
53028 (_hurd_canonicalize_directory_name_internal): Likewise.
53029 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
53030 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
53031 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
53032 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
53033 Likewise, in both definitions.
53034 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
53035 definitions.
53036 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
53037 64] (__bswap_64): Likewise.
53038 * time/test_time.c (main): Likewise.
53039 * time/tzfile.c (__tzfile_read): Likewise.
53040 (__tzfile_compute): Likewise.
53041 * time/tzset.c (__tzset_parse_tz): Likewise.
53042 (tzset_internal): Likewise.
53043 (compute_change): Likewise.
53044 * wcsmbs/wcscat.c (__wcscat): Likewise.
53045 * wcsmbs/wcschr.c (wcschr): Likewise.
53046 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
53047 * wcsmbs/wcscspn.c (wcscspn): Likewise.
53048 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
53049 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
53050 * wcsmbs/wcsspn.c (wcsspn): Likewise.
53051 * wcsmbs/wcsstr.c (wcsstr): Likewise.
53052 * wcsmbs/wmemchr.c (wmemchr): Likewise.
53053 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53054 * wcsmbs/wmemset.c (wmemset): Likewise.
53055
53056 2013-06-06 Joseph Myers <joseph@codesourcery.com>
53057
53058 * scripts/config.guess: Update to version 2013-05-16.
53059 * scripts/config.sub: Update to version 2013-04-24.
53060 * scripts/install-sh: Update to version 2011-11-20.07.
53061 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
53062 * scripts/move-if-change: Update to version 2012-01-06 07:23.
53063
53064 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
53065
53066 * debug/fgetws_u_chk.c: Fix leading whitespaces.
53067 * elf/sln.c: Likewise.
53068 * hurd/hurd/ioctl.h: Likewise.
53069 * hurd/hurdmalloc.c: Likewise.
53070 * hurd/xattr.c: Likewise.
53071 * include/shlib-compat.h: Likewise.
53072 * inet/ruserpass.c: Likewise.
53073 * libio/iofgets_u.c: Likewise.
53074 * libio/iofgetws_u.c: Likewise.
53075 * locale/programs/ld-identification.c: Likewise.
53076 * locale/programs/ld-time.c: Likewise.
53077 * mach/msg-destroy.c: Likewise.
53078 * nss/nss_files/files-netgrp.c: Likewise.
53079 * resolv/res_data.c: Likewise.
53080 * soft-fp/op-1.h: Likewise.
53081 * soft-fp/op-2.h: Likewise.
53082 * soft-fp/op-4.h: Likewise.
53083 * soft-fp/op-common.h: Likewise.
53084 * stdio-common/printf_fphex.c: Likewise.
53085 * stdlib/strtod_l.c: Likewise.
53086 * sunrpc/rpc/clnt.h: Likewise.
53087 * sysdeps/generic/framestate.c: Likewise.
53088 * sysdeps/i386/bsd-_setjmp.S: Likewise.
53089 * sysdeps/i386/bsd-setjmp.S: Likewise.
53090 * sysdeps/i386/__longjmp.S: Likewise.
53091 * sysdeps/i386/setjmp.S: Likewise.
53092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53093 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53095 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53097 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53098 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53101 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53102 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53103 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53104 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53105 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53106 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53107 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53108 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53109 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
53110 * sysdeps/ieee754/support.c: Likewise.
53111 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53112 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
53113 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
53114 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
53115 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
53116 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
53117 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
53118 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
53119 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
53120 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
53121 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
53122 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
53123 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
53124 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
53125 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
53126 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
53127 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
53129
53130 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
53131
53132 * posix/transbug.c: Remove executable mode.
53133
53134 2013-06-05 Joseph Myers <joseph@codesourcery.com>
53135
53136 * crypt/speeds.c: Remove trailing whitespace.
53137 * dlfcn/default.c: Likewise.
53138 * elf/ifuncdep2.c: Likewise.
53139 * elf/ifuncmain1.c: Likewise.
53140 * elf/ifuncmain1vis.c: Likewise.
53141 * elf/testobj.h: Likewise.
53142 * elf/tst-stackguard1.c: Likewise.
53143 * gmon/sys/gmon.h: Likewise.
53144 * hurd/hurdmsg.c: Likewise.
53145 * hurd/new-fd.c: Likewise.
53146 * hurd/ports-get.c: Likewise.
53147 * iconvdata/ibm1008_420.c: Likewise.
53148 * inet/tst-getni1.c: Likewise.
53149 * inet/tst-getni2.c: Likewise.
53150 * libio/ioungetc.c: Likewise.
53151 * libio/wfiledoalloc.c: Likewise.
53152 * manual/libm-err-tab.pl: Likewise.
53153 * math/w_dremf.c: Likewise.
53154 * misc/ftruncate.c: Likewise.
53155 * posix/bug-glob2.c: Likewise.
53156 * posix/tst-pcre.c: Likewise.
53157 * posix/wait4.c: Likewise.
53158 * resolv/README: Likewise.
53159 * resolv/res_debug.h: Likewise.
53160 * resolv/tst-inet_ntop.c: Likewise.
53161 * setjmp/bug269-setjmp.c: Likewise.
53162 * soft-fp/extended.h: Likewise.
53163 * soft-fp/op-1.h: Likewise.
53164 * soft-fp/op-2.h: Likewise.
53165 * soft-fp/op-4.h: Likewise.
53166 * soft-fp/op-8.h: Likewise.
53167 * soft-fp/testit.c: Likewise.
53168 * stdio-common/bug16.c: Likewise.
53169 * stdlib/random.c: Likewise.
53170 * sunrpc/rpcsvc/rquota.x: Likewise.
53171 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
53172 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53173 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53174 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53175 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53176 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53177 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53178 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53179 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53180 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53181 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53182 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53184 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53185 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53186 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53187 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53188 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53189 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53190 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53191 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53192 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53193 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
53194 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53195 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53196 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53198 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53199 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53200 * sysdeps/ieee754/s_lib_version.c: Likewise.
53201 * sysdeps/mach/hurd/check_fds.c: Likewise.
53202 * sysdeps/mach/hurd/getsockname.c: Likewise.
53203 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
53204 * sysdeps/mach/hurd/recvfrom.c: Likewise.
53205 * sysdeps/powerpc/bits/link.h: Likewise.
53206 * sysdeps/powerpc/dl-procinfo.c: Likewise.
53207 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
53208 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
53209 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
53210 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53211 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53212 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
53213 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53214 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
53215 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53216 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
53217 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
53218 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
53219 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53220 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53221 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53222 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
53223 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
53224 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53225 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53226 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53227 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
53228 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53229 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53230 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
53231 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
53232 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
53233 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53234 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53235 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
53236 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
53237 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
53238 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53239 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53240 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
53241 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53242 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
53243 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
53244 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
53245 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
53246 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
53247 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
53248 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
53249 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
53250 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
53251 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
53252 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
53253 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
53254 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
53255 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
53256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53258 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53259 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53260 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
53261 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
53262 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
53263 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53264 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
53265 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
53266 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
53267 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
53268 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
53269 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53270 * sysdeps/powerpc/sysdep.h: Likewise.
53271 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53272 * sysdeps/s390/s390-64/sub_n.S: Likewise.
53273 * sysdeps/sh/dl-trampoline.S: Likewise.
53274 * sysdeps/sh/memset.S: Likewise.
53275 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
53276 * sysdeps/sh/strlen.S: Likewise.
53277 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
53278 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
53279 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
53280 * sysdeps/sparc/sparc32/rem.S: Likewise.
53281 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
53282 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
53283 * sysdeps/sparc/sparc32/strchr.S: Likewise.
53284 * sysdeps/sparc/sparc32/udiv.S: Likewise.
53285 * sysdeps/sparc/sparc32/urem.S: Likewise.
53286 * sysdeps/sparc/sparc64/add_n.S: Likewise.
53287 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53288 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
53289 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
53290 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
53291 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
53292 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
53293 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
53294 * sysdeps/unix/bsd/times.c: Likewise.
53295 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
53296 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
53297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
53298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
53299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
53300 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
53301 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53302 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
53303 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
53304 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
53305 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
53306 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53307 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
53308 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53309 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53310 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
53311 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53312 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
53313 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
53314 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
53315 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
53316 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
53317 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53318 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
53319 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
53320 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
53321 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
53322 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53323 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
53324 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
53325 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
53326 * sysdeps/x86_64/strcspn.S: Likewise.
53327
53328 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53329
53330 * locale/C-translit.h: Revert #include <stdint.h> because this is a
53331 generated file. Regenerate properly from gen-translit.pl.
53332 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
53333 locale/C-translit.h.
53334
53335 2013-06-05 Andreas Schwab <schwab@suse.de>
53336
53337 [BZ #15100]
53338 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
53339 week as 6 instead of -1.
53340 * time/tst-strptime.c (day_tests): Add test case.
53341
53342 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
53343
53344 * sysdeps/generic/math_private.h
53345 (libc_feholdexcept_setround_53bit): Replace with
53346 libc_feholdsetround_53bit.
53347 (libc_feupdateenv_53bit): Replace with
53348 libc_feresetround_53bit.
53349 (SET_RESTORE_ROUND_53BIT): Adjust.
53350
53351 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
53352
53353 * string/test-strchrnul.c: Add copyright header.
53354
53355 * posix/tst-getaddrinfo4.c: Increase test timeout.
53356
53357 2013-06-03 Carlos O'Donell <carlos@redhat.com>
53358
53359 [BZ #15536]
53360 * math/libm-test.inc (MAX_EXP): Remove
53361 (MIN_EXP): Define.
53362 (ulp): Use MIN_EXP - MANT_DIG.
53363 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
53364
53365 2013-05-31 Carlos O'Donell <carlos@redhat.com>
53366
53367 * po/be.po: Revert last change.
53368 * po/zh_CN.po: Likewise.
53369 * po/header.pot: Likewise.
53370
53371 2013-05-31 Joseph Myers <joseph@codesourcery.com>
53372
53373 * Makefile ($(common-objpfx)linkobj/libc.so): Define
53374 link-libc-deps to empty as target-specific variable.
53375 * Makerules (link-libc-args): New variable.
53376 (libc-for-link): Likewise.
53377 (link-libc-deps): Likewise.
53378 (lib%.so): Depend on $(link-libc-deps). Link with
53379 $(link-libc-args).
53380 (build-module): Link with $(link-libc-args).
53381 (build-module-asneeded): Likewise.
53382 (build-module-helper-objlist): Filter out $(link-libc-deps) from
53383 list of objects.
53384 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
53385 target-specific variable.
53386 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
53387 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
53388 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
53389 libc.
53390 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
53391 libc and ld.so.
53392 ($(objpfx)libpcprofile.so): Likewise.
53393 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
53394 libc_nonshared.a.
53395 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
53396 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
53397 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
53398 $(link-libc-deps).
53399 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
53400 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
53401 * login/Makefile ($(objpfx)libutil.so): Likewise.
53402 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
53403 * math/Makefile ($(objpfx)libm.so): Likewise.
53404 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
53405 $(objpfx)libnsl.so): Define libc-for-link as target-specific
53406 variable instead of depending directly on libc.
53407 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
53408 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
53409 $(link-libc-deps).
53410 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
53411 libc.
53412 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
53413 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
53414 ($(objpfx)libanl.so): Likewise.
53415 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
53416 ld.so.
53417 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
53418 $(link-libc-deps).
53419 * sysdeps/i386/fpu/Makefile: Remove file.
53420 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
53421 ($(objpfx)libm.so): Remove dependency on ld.so.
53422
53423 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
53424
53425 [BZ # 15553]
53426 * nis/yp_xdr.c (XDRMAXNAME): Define.
53427 (XDRMAXRECORD): Define.
53428 (xdr_domainname): Use XDRMAXNAME.
53429 (xdr_mapname): Likewise.
53430 (xdr_peername): Likewise.
53431 (xdr_keydat): Use XDRMAXRECORD.
53432 (xdr_valdat): Likewise.
53433
53434 2013-05-30 Jeff Law <law@redhat.com>
53435
53436 [BZ #14256]
53437 * manual/errno.texi (ESTALE): Update to account for more than
53438 just NFS file systems.
53439 * sysdeps/gnu/errlist.c: Regenerated.
53440
53441 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53442
53443 [BZ #15465]
53444 * elf/Makefile (tests): Add tst-null-argv.
53445 (modules-names): Add tst-null-argv-lib.
53446 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
53447 (tst-null-argv-ENV): Set environment for tst-null-argv.
53448 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
53449 (RTLD_PROGNAME): New macro.
53450 * elf/tst-null-argv.c: New test case.
53451 * elf/tst-null-argv-lib.c: Library for test case.
53452 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
53453 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
53454 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
53455 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
53456 * elf/dl-init.c (call_init): Likewise.
53457 (_dl_init): Likewise.
53458 * elf/dl-load.c (print_search_path): Likewise.
53459 (_dl_map_object): Likewise.
53460 * elf/dl-lookup.c (do_lookup_x): Likewise.
53461 (add_dependency): Likewise.
53462 (_dl_lookup_symbol_x): Likewise.
53463 (_dl_debug_bindings): Likewise.
53464 * elf/dl-open.c (_dl_show_scope): Likewise.
53465 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53466 * elf/dl-version.c (match_symbol): Likewise.
53467 (_dl_check_map_versions): Likewise.
53468 * elf/rtld.c (dl_main): Likewise.
53469 (print_unresolved): Use RTLD_PROGNAME.
53470 (print_missing_version): Likewise.
53471 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
53472 (elf_machine_rela): Likewise.
53473 * sysdeps/powerpc/powerpc32/dl-machine.c
53474 (__process_machine_rela): Likewise.
53475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53476 Likewise.
53477 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53478 Likewise.
53479 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
53480 Likewise.
53481 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
53483 Likewise.
53484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
53485 Likewise.
53486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53487
53488 2013-05-28 Carlos O'Donell <carlos@redhat.com>
53489
53490 * po/be.po: Add descriptive title.
53491 * po/zh_CN.po: Likewise.
53492 * po/header.pot: Likewise.
53493
53494 2013-05-28 Mike Frysinger <vapier@gentoo.org>
53495
53496 * locale/programs/locarchive.c (create_archive): Inlucde fname in
53497 error message.
53498 (enlarge_archive): Likewise.
53499
53500 2013-05-28 Ben North <ben@redfrontdoor.org>
53501
53502 * manual/arith.texi (frexp): It is the magnitude of the return
53503 value which lies in [0.5, 1), not the return value itself.
53504
53505 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53506
53507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53508
53509 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
53510
53511 * stdio-common/bug26.c (main): Correct fscanf template.
53512
53513 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
53514 declare _dl_skip_args.
53515
53516 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
53517 Don't declare.
53518
53519 * manual/platform.texi: Add missing @end deftypefun.
53520
53521 2013-05-24 Joseph Myers <joseph@codesourcery.com>
53522
53523 [BZ #15529]
53524 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
53525 bit of mantissa of 2^16382.
53526 * math/libm-test.inc (hypot_test_data): Add more tests.
53527
53528 * math/libm-test.inc: Add drem and pow10 to list of tested
53529 functions.
53530 (pow10_test): New function.
53531 (drem_test): Likewise.
53532 (drem_test_tonearest): Likewise.
53533 (drem_test_towardzero): Likewise.
53534 (drem_test_downward): Likewise.
53535 (drem_test_upward): Likewise.
53536 (main): Call the new functions.
53537
53538 * math/libm-test.inc (finite_test_data): Remove.
53539 (finite_test): Run tests from isfinite_test_data.
53540 (gamma_test_data): Remove.
53541 (gamma_test): Run tests from lgamma_test_data.
53542 * sysdeps/i386/fpu/libm-test-ulps: Update.
53543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53544
53545 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53546
53547 * manual/platform.texi: Add PowerPC PPR function set documentation.
53548 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
53549 implementation.
53550
53551 2013-05-24 Carlos O'Donell <carlos@redhat.com>
53552
53553 * math/libm-test.inc (MAX_EXP): Define.
53554 (ULPDIFF): Define.
53555 (ulp): New function.
53556 (check_float_internal): Use ULPDIFF.
53557 (cpow_test): Disable failing test.
53558 (check_ulp): Test ulp() implemetnation.
53559 (main): Call check_ulp before starting tests.
53560
53561 2013-05-24 Joseph Myers <joseph@codesourcery.com>
53562
53563 * math/gen-libm-test.pl (generate_testfile): Do not handle
53564 START_DATA and END_DATA.
53565 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53566 END_DATA.
53567 (acos_tonearest_test_data): Likewise.
53568 (acos_towardzero_test_data): Likewise.
53569 (acos_downward_test_data): Likewise.
53570 (acos_upward_test_data): Likewise.
53571 (acosh_test_data): Likewise.
53572 (asin_test_data): Likewise.
53573 (asin_tonearest_test_data): Likewise.
53574 (asin_towardzero_test_data): Likewise.
53575 (asin_downward_test_data): Likewise.
53576 (asin_upward_test_data): Likewise.
53577 (asinh_test_data): Likewise.
53578 (atan_test_data): Likewise.
53579 (atanh_test_data): Likewise.
53580 (atan2_test_data): Likewise.
53581 (cabs_test_data): Likewise.
53582 (cacos_test_data): Likewise.
53583 (cacosh_test_data): Likewise.
53584 (carg_test_data): Likewise.
53585 (casin_test_data): Likewise.
53586 (casinh_test_data): Likewise.
53587 (catan_test_data): Likewise.
53588 (catanh_test_data): Likewise.
53589 (cbrt_test_data): Likewise.
53590 (ccos_test_data): Likewise.
53591 (ccosh_test_data): Likewise.
53592 (ceil_test_data): Likewise.
53593 (cexp_test_data): Likewise.
53594 (cimag_test_data): Likewise.
53595 (clog_test_data): Likewise.
53596 (clog10_test_data): Likewise.
53597 (conj_test_data): Likewise.
53598 (copysign_test_data): Likewise.
53599 (cos_test_data): Likewise.
53600 (cos_tonearest_test_data): Likewise.
53601 (cos_towardzero_test_data): Likewise.
53602 (cos_downward_test_data): Likewise.
53603 (cos_upward_test_data): Likewise.
53604 (cosh_test_data): Likewise.
53605 (cosh_tonearest_test_data): Likewise.
53606 (cosh_towardzero_test_data): Likewise.
53607 (cosh_downward_test_data): Likewise.
53608 (cosh_upward_test_data): Likewise.
53609 (cpow_test_data): Likewise.
53610 (cproj_test_data): Likewise.
53611 (creal_test_data): Likewise.
53612 (csin_test_data): Likewise.
53613 (csinh_test_data): Likewise.
53614 (csqrt_test_data): Likewise.
53615 (ctan_test_data): Likewise.
53616 (ctan_tonearest_test_data): Likewise.
53617 (ctan_towardzero_test_data): Likewise.
53618 (ctan_downward_test_data): Likewise.
53619 (ctan_upward_test_data): Likewise.
53620 (ctanh_test_data): Likewise.
53621 (ctanh_tonearest_test_data): Likewise.
53622 (ctanh_towardzero_test_data): Likewise.
53623 (ctanh_downward_test_data): Likewise.
53624 (ctanh_upward_test_data): Likewise.
53625 (erf_test_data): Likewise.
53626 (erfc_test_data): Likewise.
53627 (exp_test_data): Likewise.
53628 (exp_tonearest_test_data): Likewise.
53629 (exp_towardzero_test_data): Likewise.
53630 (exp_downward_test_data): Likewise.
53631 (exp_upward_test_data): Likewise.
53632 (exp10_test_data): Likewise.
53633 (exp2_test_data): Likewise.
53634 (expm1_test_data): Likewise.
53635 (fabs_test_data): Likewise.
53636 (fdim_test_data): Likewise.
53637 (finite_test_data): Likewise.
53638 (floor_test_data): Likewise.
53639 (fma_test_data): Likewise.
53640 (fma_towardzero_test_data): Likewise.
53641 (fma_downward_test_data): Likewise.
53642 (fma_upward_test_data): Likewise.
53643 (fmax_test_data): Likewise.
53644 (fmin_test_data): Likewise.
53645 (fmod_test_data): Likewise.
53646 (fpclassify_test_data): Likewise.
53647 (frexp_test_data): Likewise.
53648 (gamma_test_data): Likewise.
53649 (hypot_test_data): Likewise.
53650 (ilogb_test_data): Likewise.
53651 (isfinite_test_data): Likewise.
53652 (isgreater_test_data): Likewise.
53653 (isgreaterequal_test_data): Likewise.
53654 (isinf_test_data): Likewise.
53655 (isless_test_data): Likewise.
53656 (islessequal_test_data): Likewise.
53657 (islessgreater_test_data): Likewise.
53658 (isnan_test_data): Likewise.
53659 (isnormal_test_data): Likewise.
53660 (issignaling_test_data): Likewise.
53661 (isunordered_test_data): Likewise.
53662 (j0_test_data): Likewise.
53663 (j1_test_data): Likewise.
53664 (jn_test_data): Likewise.
53665 (ldexp_test_data): Likewise.
53666 (lgamma_test_data): Likewise.
53667 (lrint_test_data): Likewise.
53668 (lrint_tonearest_test_data): Likewise.
53669 (lrint_towardzero_test_data): Likewise.
53670 (lrint_downward_test_data): Likewise.
53671 (lrint_upward_test_data): Likewise.
53672 (llrint_test_data): Likewise.
53673 (llrint_tonearest_test_data): Likewise.
53674 (llrint_towardzero_test_data): Likewise.
53675 (llrint_downward_test_data): Likewise.
53676 (llrint_upward_test_data): Likewise.
53677 (log_test_data): Likewise.
53678 (log10_test_data): Likewise.
53679 (log1p_test_data): Likewise.
53680 (log2_test_data): Likewise.
53681 (logb_test_data): Likewise.
53682 (logb_downward_test_data): Likewise.
53683 (lround_test_data): Likewise.
53684 (llround_test_data): Likewise.
53685 (modf_test_data): Likewise.
53686 (nearbyint_test_data): Likewise.
53687 (nextafter_test_data): Likewise.
53688 (nexttoward_test_data): Likewise.
53689 (pow_test_data): Likewise.
53690 (pow_tonearest_test_data): Likewise.
53691 (pow_towardzero_test_data): Likewise.
53692 (pow_downward_test_data): Likewise.
53693 (pow_upward_test_data): Likewise.
53694 (remainder_test_data): Likewise.
53695 (remainder_tonearest_test_data): Likewise.
53696 (remainder_towardzero_test_data): Likewise.
53697 (remainder_downward_test_data): Likewise.
53698 (remainder_upward_test_data): Likewise.
53699 (remquo_test_data): Likewise.
53700 (rint_test_data): Likewise.
53701 (rint_tonearest_test_data): Likewise.
53702 (rint_towardzero_test_data): Likewise.
53703 (rint_downward_test_data): Likewise.
53704 (rint_upward_test_data): Likewise.
53705 (round_test_data): Likewise.
53706 (scalb_test_data): Likewise.
53707 (scalbn_test_data): Likewise.
53708 (scalbln_test_data): Likewise.
53709 (signbit_test_data): Likewise.
53710 (sin_test_data): Likewise.
53711 (sin_tonearest_test_data): Likewise.
53712 (sin_towardzero_test_data): Likewise.
53713 (sin_downward_test_data): Likewise.
53714 (sin_upward_test_data): Likewise.
53715 (sincos_test_data): Likewise.
53716 (sinh_test_data): Likewise.
53717 (sinh_tonearest_test_data): Likewise.
53718 (sinh_towardzero_test_data): Likewise.
53719 (sinh_downward_test_data): Likewise.
53720 (sinh_upward_test_data): Likewise.
53721 (sqrt_test_data): Likewise.
53722 (tan_test_data): Likewise.
53723 (tan_tonearest_test_data): Likewise.
53724 (tan_towardzero_test_data): Likewise.
53725 (tan_downward_test_data): Likewise.
53726 (tan_upward_test_data): Likewise.
53727 (tanh_test_data): Likewise.
53728 (tgamma_test_data): Likewise.
53729 (trunc_test_data): Likewise.
53730 (y0_test_data): Likewise.
53731 (y1_test_data): Likewise.
53732 (yn_test_data): Likewise.
53733 (significand_test_data): Likewise.
53734
53735 * math/gen-libm-test.pl (@functions): Remove variable.
53736 (generate_testfile): Don't handle START and END lines.
53737 * math/libm-test.inc (START): New macro.
53738 (END): Likewise.
53739 (END_COMPLEX): Likewise.
53740 (acos_test): Use END macro without arguments.
53741 (acos_test_tonearest): Likewise.
53742 (acos_test_towardzero): Likewise.
53743 (acos_test_downward): Likewise.
53744 (acos_test_upward): Likewise.
53745 (acosh_test): Likewise.
53746 (asin_test): Likewise.
53747 (asin_test_tonearest): Likewise.
53748 (asin_test_towardzero): Likewise.
53749 (asin_test_downward): Likewise.
53750 (asin_test_upward): Likewise.
53751 (asinh_test): Likewise.
53752 (atan_test): Likewise.
53753 (atanh_test): Likewise.
53754 (atan2_test): Likewise.
53755 (cabs_test): Likewise.
53756 (cacos_test): Use END_COMPLEX macro without arguments.
53757 (cacosh_test): Likewise.
53758 (carg_test): Use END macro without arguments.
53759 (casin_test): Use END_COMPLEX macro without arguments.
53760 (casinh_test): Likewise.
53761 (catan_test): Likewise.
53762 (catanh_test): Likewise.
53763 (cbrt_test): Use END macro without arguments.
53764 (ccos_test): Use END_COMPLEX macro without arguments.
53765 (ccosh_test): Likewise.
53766 (ceil_test): Use END macro without arguments.
53767 (cexp_test): Use END_COMPLEX macro without arguments.
53768 (cimag_test): Use END macro without arguments.
53769 (clog_test): Use END_COMPLEX macro without arguments.
53770 (clog10_test): Likewise.
53771 (conj_test): Likewise.
53772 (copysign_test): Use END macro without arguments.
53773 (cos_test): Likewise.
53774 (cos_test_tonearest): Likewise.
53775 (cos_test_towardzero): Likewise.
53776 (cos_test_downward): Likewise.
53777 (cos_test_upward): Likewise.
53778 (cosh_test): Likewise.
53779 (cosh_test_tonearest): Likewise.
53780 (cosh_test_towardzero): Likewise.
53781 (cosh_test_downward): Likewise.
53782 (cosh_test_upward): Likewise.
53783 (cpow_test): Use END_COMPLEX macro without arguments.
53784 (cproj_test): Likewise.
53785 (creal_test): Use END macro without arguments.
53786 (csin_test): Use END_COMPLEX macro without arguments.
53787 (csinh_test): Likewise.
53788 (csqrt_test): Likewise.
53789 (ctan_test): Likewise.
53790 (ctan_test_tonearest): Likewise.
53791 (ctan_test_towardzero): Likewise.
53792 (ctan_test_downward): Likewise.
53793 (ctan_test_upward): Likewise.
53794 (ctanh_test): Likewise.
53795 (ctanh_test_tonearest): Likewise.
53796 (ctanh_test_towardzero): Likewise.
53797 (ctanh_test_downward): Likewise.
53798 (ctanh_test_upward): Likewise.
53799 (erf_test): Use END macro without arguments.
53800 (erfc_test): Likewise.
53801 (exp_test): Likewise.
53802 (exp_test_tonearest): Likewise.
53803 (exp_test_towardzero): Likewise.
53804 (exp_test_downward): Likewise.
53805 (exp_test_upward): Likewise.
53806 (exp10_test): Likewise.
53807 (exp2_test): Likewise.
53808 (expm1_test): Likewise.
53809 (fabs_test): Likewise.
53810 (fdim_test): Likewise.
53811 (finite_test): Likewise.
53812 (floor_test): Likewise.
53813 (fma_test): Likewise.
53814 (fma_test_towardzero): Likewise.
53815 (fma_test_downward): Likewise.
53816 (fma_test_upward): Likewise.
53817 (fmax_test): Likewise.
53818 (fmin_test): Likewise.
53819 (fmod_test): Likewise.
53820 (fpclassify_test): Likewise.
53821 (frexp_test): Likewise.
53822 (gamma_test): Likewise.
53823 (hypot_test): Likewise.
53824 (ilogb_test): Likewise.
53825 (isfinite_test): Likewise.
53826 (isgreater_test): Likewise.
53827 (isgreaterequal_test): Likewise.
53828 (isinf_test): Likewise.
53829 (isless_test): Likewise.
53830 (islessequal_test): Likewise.
53831 (islessgreater_test): Likewise.
53832 (isnan_test): Likewise.
53833 (isnormal_test): Likewise.
53834 (issignaling_test): Likewise.
53835 (isunordered_test): Likewise.
53836 (j0_test): Likewise.
53837 (j1_test): Likewise.
53838 (jn_test): Likewise.
53839 (ldexp_test): Likewise.
53840 (lgamma_test): Likewise.
53841 (lrint_test): Likewise.
53842 (lrint_test_tonearest): Likewise.
53843 (lrint_test_towardzero): Likewise.
53844 (lrint_test_downward): Likewise.
53845 (lrint_test_upward): Likewise.
53846 (llrint_test): Likewise.
53847 (llrint_test_tonearest): Likewise.
53848 (llrint_test_towardzero): Likewise.
53849 (llrint_test_downward): Likewise.
53850 (llrint_test_upward): Likewise.
53851 (log_test): Likewise.
53852 (log10_test): Likewise.
53853 (log1p_test): Likewise.
53854 (log2_test): Likewise.
53855 (logb_test): Likewise.
53856 (logb_test_downward): Likewise.
53857 (lround_test): Likewise.
53858 (llround_test): Likewise.
53859 (modf_test): Likewise.
53860 (nearbyint_test): Likewise.
53861 (nextafter_test): Likewise.
53862 (nexttoward_test): Likewise.
53863 (pow_test): Likewise.
53864 (pow_test_tonearest): Likewise.
53865 (pow_test_towardzero): Likewise.
53866 (pow_test_downward): Likewise.
53867 (pow_test_upward): Likewise.
53868 (remainder_test): Likewise.
53869 (remainder_test_tonearest): Likewise.
53870 (remainder_test_towardzero): Likewise.
53871 (remainder_test_downward): Likewise.
53872 (remainder_test_upward): Likewise.
53873 (remquo_test): Likewise.
53874 (rint_test): Likewise.
53875 (rint_test_tonearest): Likewise.
53876 (rint_test_towardzero): Likewise.
53877 (rint_test_downward): Likewise.
53878 (rint_test_upward): Likewise.
53879 (round_test): Likewise.
53880 (scalb_test): Likewise.
53881 (scalbn_test): Likewise.
53882 (scalbln_test): Likewise.
53883 (signbit_test): Likewise.
53884 (sin_test): Likewise.
53885 (sin_test_tonearest): Likewise.
53886 (sin_test_towardzero): Likewise.
53887 (sin_test_downward): Likewise.
53888 (sin_test_upward): Likewise.
53889 (sincos_test): Likewise.
53890 (sinh_test): Likewise.
53891 (sinh_test_tonearest): Likewise.
53892 (sinh_test_towardzero): Likewise.
53893 (sinh_test_downward): Likewise.
53894 (sinh_test_upward): Likewise.
53895 (sqrt_test): Likewise.
53896 (tan_test): Likewise.
53897 (tan_test_tonearest): Likewise.
53898 (tan_test_towardzero): Likewise.
53899 (tan_test_downward): Likewise.
53900 (tan_test_upward): Likewise.
53901 (tanh_test): Likewise.
53902 (tgamma_test): Likewise.
53903 (trunc_test): Likewise.
53904 (y0_test): Likewise.
53905 (y1_test): Likewise.
53906 (yn_test): Likewise.
53907 (significand_test): Likewise.
53908
53909 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
53910
53911 [BZ #15381]
53912 * libio/genops.c (_IO_no_init): Initialize wide struct info.
53913
53914 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
53915
53916 [BZ #14894]
53917 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53918 __ppc_mdoio and __ppc_mdoom.
53919 * manual/platform.texi: Document new functions __ppc_yield,
53920 __ppc_mdoio and __ppc_mdoom.
53921
53922 2013-05-22 Carlos O'Donell <carlos@redhat.com>
53923
53924 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53925 (main): Mention "tls" pseudo-hwcap is legacy.
53926 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53927
53928 2013-05-22 Joseph Myers <joseph@codesourcery.com>
53929
53930 * math/gen-libm-test.pl (parse_args): Output only string of
53931 arguments as text for test name, not full call or descriptions of
53932 tests for extra outputs.
53933 (generate_testfile): Do not pass function name to parse_args.
53934 Generate this_func variable from START.
53935 * math/libm-test.inc (struct test_f_f_data): Rename test_name
53936 field to arg_str.
53937 (struct test_ff_f_data): Likewise.
53938 (test_ff_f_data_nexttoward): Likewise.
53939 (struct test_fi_f_data): Likewise.
53940 (struct test_fl_f_data): Likewise.
53941 (struct test_if_f_data): Likewise.
53942 (struct test_fff_f_data): Likewise.
53943 (struct test_c_f_data): Likewise.
53944 (struct test_f_f1_data): Likewise. Remove field extra_name.
53945 (struct test_fF_f1_data): Likewise.
53946 (struct test_ffI_f1_data): Likewise.
53947 (struct test_c_c_data): Rename test_name field to arg_str.
53948 (struct test_cc_c_data): Likewise.
53949 (struct test_f_i_data): Likewise.
53950 (struct test_ff_i_data): Likewise.
53951 (struct test_f_l_data): Likewise.
53952 (struct test_f_L_data): Likewise.
53953 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
53954 and extra2_name.
53955 (COMMON_TEST_SETUP): New macro.
53956 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53957 (COMMON_TEST_CLEANUP): Likewise.
53958 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53959 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
53960 macros.
53961 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53962 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
53963 macros.
53964 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53965 (RUN_TEST_fff_f): Take argument string. Call new setup and
53966 cleanup macros.
53967 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53968 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
53969 macros.
53970 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53971 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
53972 macros.
53973 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53974 (RUN_TEST_fF_f1): Take argument string. Call new setup and
53975 cleanup macros.
53976 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53977 (RUN_TEST_fI_f1): Take argument string. Call new setup and
53978 cleanup macros.
53979 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53980 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
53981 cleanup macros.
53982 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53983 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
53984 macros.
53985 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53986 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
53987 macros.
53988 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53989 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
53990 macros.
53991 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53992 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
53993 cleanup macros.
53994 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53995 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
53996 cleanup macros.
53997 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53998 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
53999 macros.
54000 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
54001 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
54002 cleanup macros.
54003 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
54004 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
54005 macros.
54006 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
54007 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
54008 macros.
54009 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
54010 (RUN_TEST_fFF_11): Take argument string. Call new setup and
54011 cleanup macros.
54012 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
54013
54014 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
54015
54016 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
54017 to _sifields.sigfault.
54018 (si_addr_lsb): Define new macro.
54019 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54020 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54021 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
54022
54023 2013-05-03 Carlos O'Donell <carlos at redhat.com>
54024
54025 [BZ #15441]
54026 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
54027 returns -1.
54028 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
54029 null return -1.
54030 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
54031 loading the domain.
54032
54033 2013-05-22 Joseph Myers <joseph@codesourcery.com>
54034
54035 * math/gen-libm-test.pl (parse_args): Do not include expected
54036 result in test name.
54037 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
54038 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54039 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54040 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54041 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54043
54044 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54045
54046 * benchtests/Makefile: Sort function entries.
54047
54048 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
54049 tanh, asinh, acosh, atanh.
54050 * benchtests/acos-inputs: New file.
54051 * benchtests/acosh-inputs: New file.
54052 * benchtests/asin-inputs: New file.
54053 * benchtests/asinh-inputs: New file.
54054 * benchtests/atanh-inputs: New file.
54055 * benchtests/cosh-inputs: New file.
54056 * benchtests/log-inputs: New file.
54057 * benchtests/sinh-inputs: New file.
54058 * benchtests/tanh-inputs: New file.
54059
54060 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
54061
54062 [BZ #15339]
54063 * posix/tst-getaddrinfo4.c: New test.
54064 * posix/Makefile (tests): Add it.
54065
54066 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54067
54068 [BZ #15339]
54069 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
54070 when no services were used.
54071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
54072 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
54073
54074 2013-05-21 Andreas Schwab <schwab@suse.de>
54075
54076 [BZ #15014]
54077 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
54078 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
54079 successful.
54080 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
54081 redundant variable declarations and reallocation of buffer when
54082 parsing as IPv6 address. Always set NSS status when called from
54083 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
54084 buffer too small. Correct computation of needed size.
54085 * nss/Makefile (tests): Add test-digits-dots.
54086 * nss/test-digits-dots.c: New test.
54087
54088 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54089
54090 * benchtests/Makefile: Remove instructions for adding
54091 benchmark tests.
54092 * benchtests/README: New file to explain how to execute and
54093 enhance the benchmark tests.
54094
54095 2013-05-21 Andreas Schwab <schwab@suse.de>
54096
54097 [BZ #15493]
54098 * setjmp/Makefile (tests): Add tst-sigsetjmp.
54099 * setjmp/tst-sigsetjmp.c: New test.
54100
54101 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
54102
54103 * sysdeps/x86_64/memset.S (memset): New implementation.
54104 (__bzero): Likewise.
54105 (__memset_tail): New function.
54106
54107 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
54108
54109 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
54110 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
54111 __memcpy_sse2_unaligned ifunc selection.
54112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54113 Add memcpy-sse2-unaligned.S.
54114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54115 Add: __memcpy_sse2_unaligned.
54116
54117 2013-05-19 Joseph Myers <joseph@codesourcery.com>
54118
54119 [BZ #15490]
54120 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54121 math_force_eval before restoring floating-point envrionment.
54122 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
54123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
54124 Likewise.
54125 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
54126 <math_private.h>.
54127 (__nearbyintl): Use math_force_eval before restoring
54128 floating-point environment.
54129 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
54130
54131 * math/gen-libm-test.pl (special_functions): Remove.
54132 (parse_args): Don't handle TEST_extra. Handle functions with no
54133 return value.
54134 * math/libm-test.inc (struct test_sincos_data): Replace with
54135 struct test_fFF_11_data.
54136 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
54137 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
54138 (sincos_test_data): Change element type to struct
54139 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
54140 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
54141 RUN_TEST_LOOP_sincos.
54142 * math/README.libm-test: Don't mention special handling of
54143 individual functions.
54144 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
54145 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54146 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54147 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54148 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54150
54151 * math/gen-libm-test.pl (get_variable): Remove function.
54152 (parse_args): Don't show pointer parameters to call in test
54153 names. Use "extra output N" in test names for extra outputs
54154 rather than naming variables.
54155
54156 2013-05-18 Joseph Myers <joseph@codesourcery.com>
54157
54158 [BZ #15488]
54159 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
54160 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
54161 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
54162 double tests.
54163 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
54164 disable.
54165 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
54166 check_long_double.
54167
54168 * math/gen-libm-test.pl (@tests): Remove variable.
54169 ($count): Likewise.
54170 (new_test): Remove function.
54171 (show_exceptions): New function.
54172 (special_functions): Use show_exceptions instead of new_test.
54173 (parse_args): Likewise.
54174 (generate_testfile): Pass only function name in generated call to
54175 print_max_error or print_complex_max_error.
54176 (get_ulps): Do not handle complex tests specially.
54177 (output_test): Rename to ...
54178 (get_all_ulps_for_test): ... this. Return a string rather than
54179 printing to a file. Require ulps to be present.
54180 (output_ulps): Generate arrays rather than #defines.
54181 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
54182 (struct ulp_data): New type.
54183 (BUILD_COMPLEX_ULP): Remove macro.
54184 (compare_ulp_data): New function.
54185 (find_ulps): Likewise.
54186 (find_test_ulps): Likewise.
54187 (find_function_ulps): Likewise.
54188 (find_complex_function_ulps): Likewise.
54189 (print_max_error): Determine allowed ulps using
54190 find_function_ulps.
54191 (print_complex_max_error): Determine allowed ulps using
54192 find_complex_function_ulps.
54193 (check_float_internal): Determine max ulps using find_test_ulps.
54194 (check_float): Do not take max_ulp parameter. Update call to
54195 check_float_internal.
54196 (check_complex): Likewise.
54197 (check_int): Do not take max_ulp parameter.
54198 (check_long): Likewise.
54199 (check_bool): Likewise.
54200 (check_longlong): Likewise.
54201 (struct test_f_f_data): Remove max_ulp field.
54202 (struct test_ff_f_data): Likewise.
54203 (struct test_ff_f_data_nexttoward): Likewise.
54204 (struct test_fi_f_data): Likewise.
54205 (struct test_fl_f_data): Likewise.
54206 (struct test_if_f_data): Likewise.
54207 (struct test_fff_f_data): Likewise.
54208 (struct test_c_f_data): Likewise.
54209 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
54210 (struct test_fF_f1_data): Likewise.
54211 (struct test_ffI_f1_data): Likewise.
54212 (struct test_c_c_data): Remove max_ulp field.
54213 (struct test_cc_c_data): Likewise.
54214 (struct test_f_i_data): Likewise.
54215 (struct test_ff_i_data): Likewise.
54216 (struct test_f_l_data): Likewise.
54217 (struct test_f_L_data): Likewise.
54218 (struct test_sincos_data): Likewise.
54219 (RUN_TEST_f_f): Do not handle ulps.
54220 (RUN_TEST_LOOP_f_f): Likewise.
54221 (RUN_TEST_2_f): Likewise.
54222 (RUN_TEST_LOOP_2_f): Likewise.
54223 (RUN_TEST_fff_f): Likewise.
54224 (RUN_TEST_LOOP_fff_f): Likewise.
54225 (RUN_TEST_c_f): Likewise.
54226 (RUN_TEST_LOOP_c_f): Likewise.
54227 (RUN_TEST_f_f1): Likewise.
54228 (RUN_TEST_LOOP_f_f1): Likewise.
54229 (RUN_TEST_fF_f1): Likewise.
54230 (RUN_TEST_LOOP_fF_f1): Likewise.
54231 (RUN_TEST_fI_f1): Likewise.
54232 (RUN_TEST_LOOP_fI_f1): Likewise.
54233 (RUN_TEST_ffI_f1): Likewise.
54234 (RUN_TEST_LOOP_ffI_f1): Likewise.
54235 (RUN_TEST_c_c): Likewise.
54236 (RUN_TEST_LOOP_c_c): Likewise.
54237 (RUN_TEST_cc_c): Likewise.
54238 (RUN_TEST_LOOP_cc_c): Likewise.
54239 (RUN_TEST_f_i): Likewise.
54240 (RUN_TEST_LOOP_f_i): Likewise.
54241 (RUN_TEST_f_i_tg): Likewise.
54242 (RUN_TEST_LOOP_f_i_tg): Likewise.
54243 (RUN_TEST_ff_i_tg): Likewise.
54244 (RUN_TEST_LOOP_ff_i_tg): Likewise.
54245 (RUN_TEST_f_b): Likewise.
54246 (RUN_TEST_LOOP_f_b): Likewise.
54247 (RUN_TEST_f_b_tg): Likewise.
54248 (RUN_TEST_LOOP_f_b_tg): Likewise.
54249 (RUN_TEST_f_l): Likewise.
54250 (RUN_TEST_LOOP_f_l): Likewise.
54251 (RUN_TEST_f_L): Likewise.
54252 (RUN_TEST_LOOP_f_L): Likewise.
54253 (RUN_TEST_sincos): Likewise.
54254 (RUN_TEST_LOOP_sincos): Likewise.
54255
54256 2013-05-17 Joseph Myers <joseph@codesourcery.com>
54257
54258 [BZ #15480]
54259 [BZ #15485]
54260 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
54261 main case of finite arguments, set rounding mode to FE_TONEAREST
54262 and discard exceptions.
54263 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
54264 exceptions.
54265 (remainder_tonearest_test_data): New variable.
54266 (remainder_test_tonearest): New function.
54267 (remainder_towardzero_test_data): New variable.
54268 (remainder_test_towardzero): New function.
54269 (remainder_downward_test_data): New variable.
54270 (remainder_test_downward): New function.
54271 (remainder_upward_test_data): New variable.
54272 (remainder_test_upward): New function.
54273 (main): Call the new test functions.
54274
54275 * math/libm-test.inc (struct test_f_f1_data): Remove field
54276 extra_init.
54277 (struct test_fF_f1_data): Likewise.
54278 (struct test_ffI_f1_data): Likewise.
54279 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
54280 based on value of EXTRA_EXPECTED.
54281 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
54282 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
54283 EXTRA_VAR based on value of EXTRA_EXPECTED.
54284 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
54285 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
54286 EXTRA_VAR based on value of EXTRA_EXPECTED.
54287 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
54288 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
54289 EXTRA_VAR based on value of EXTRA_EXPECTED.
54290 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
54291 * math/gen-libm-test.pl (parse_args): Don't output initializers
54292 for extra output values.
54293
54294 * math/libm-test.inc (check_int): Expect result to be exactly
54295 equal to expected value and do not handle ulps.
54296 (check_long): Likewise.
54297 (check_longlong): Likewise.
54298
54299 * math/libm-test.inc (ceil_test_data): Test for "inexact"
54300 exceptions.
54301 (cimag_test_data): Likewise.
54302 (conj_test_data): Likewise.
54303 (copysign_test_data): Likewise.
54304 (cproj_test_data): Likewise.
54305 (creal_test_data): Likewise.
54306 (fabs_test_data): Likewise.
54307 (fdim_test_data): Likewise.
54308 (finite_test_data): Likewise.
54309 (floor_test_data): Likewise.
54310 (fmax_test_data): Likewise.
54311 (fmin_test_data): Likewise.
54312 (fmod_test_data): Likewise.
54313 (fpclassify_test_data): Likewise.
54314 (frexp_test_data): Likewise.
54315 (ilogb_test_data): Likewise.
54316 (isfinite_test_data): Likewise.
54317 (isgreater_test_data): Likewise.
54318 (isgreaterequal_test_data): Likewise.
54319 (isinf_test_data): Likewise.
54320 (isless_test_data): Likewise.
54321 (islessequal_test_data): Likewise.
54322 (islessgreater_test_data): Likewise.
54323 (isnan_test_data): Likewise.
54324 (isnormal_test_data): Likewise.
54325 (issignaling_test_data): Likewise.
54326 (isunordered_test_data): Likewise.
54327 (ldexp_test_data): Likewise.
54328 (lrint_test_data): Likewise.
54329 (lrint_test_data) [TEST_FLOAT]: Disable one test.
54330 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
54331 (lrint_tonearest_test_data): Test for "inexact" exceptions.
54332 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
54333 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
54334 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
54335 test input.
54336 (lrint_towardzero_test_data): Test for "inexact" exceptions.
54337 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
54338 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
54339 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
54340 that test input.
54341 (lrint_downward_test_data): Test for "inexact" exceptions.
54342 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
54343 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
54344 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
54345 test input.
54346 (lrint_upward_test_data): Test for "inexact" exceptions.
54347 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
54348 test input.
54349 (llrint_test_data): Test for "inexact" exceptions.
54350 (llrint_test_data) [TEST_FLOAT]: Disable one test.
54351 (llrint_tonearest_test_data): Test for "inexact" exceptions.
54352 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
54353 (llrint_towardzero_test_data): Test for "inexact" exceptions.
54354 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
54355 (llrint_downward_test_data): Test for "inexact" exceptions.
54356 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
54357 (llrint_upward_test_data): Test for "inexact" exceptions.
54358 (logb_test_data): Likewise.
54359 (logb_downward_test_data): Likewise.
54360 (nextafter_test_data): Likewise.
54361 (nexttoward_test_data): Likewise.
54362 (remainder_test_data): Likewise.
54363 (remquo_test_data): Likewise.
54364 (scalbn_test_data): Likewise.
54365 (scalbln_test_data): Likewise.
54366 (signbit_test_data): Likewise.
54367 (sqrt_test_data): Likewise.
54368 (significand_test_data): Likewise.
54369
54370 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54371
54372 [BZ #15424]
54373 * benchtests/bench-modf.c (struct args): Mark arg0 as
54374 volatile.
54375 * scripts/bench.pl: Mark members of struct args as volatile.
54376
54377 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54378
54379 [BZ # 15497]
54380 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
54381 negative infinity on POWER6 or lower.
54382 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
54383
54384 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
54385
54386 [BZ #15442]
54387 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
54388 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
54389 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
54390 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
54391 (_FP_SETQNAN): New macro.
54392 (_FP_SETQNAN_SEMIRAW): Likewise.
54393 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
54394 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
54395 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
54396 (FP_EXTEND): Use _FP_FRAC_SNANP.
54397 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
54398 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
54399 into account.
54400 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
54401 New macro.
54402 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
54403 Likewise.
54404
54405 2013-05-16 Joseph Myers <joseph@codesourcery.com>
54406
54407 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
54408 with DIVIDE_BY_ZERO_EXCEPTION.
54409 (gamma_test_data): Likewise.
54410 (lgamma_test_data): Likewise.
54411 (log_test_data): Likewise.
54412 (log10_test_data): Likewise.
54413 (log2_test_data): Likewise.
54414 (tgamma_test_data): Likewise.
54415
54416 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
54417 (acos_test_tonearest): Likewise.
54418 (acos_test_towardzero): Likewise.
54419 (acos_test_downward): Likewise.
54420 (acos_test_upward): Likewise.
54421 (acosh_test): Likewise.
54422 (asin_test): Likewise.
54423 (asin_test_tonearest): Likewise.
54424 (asin_test_towardzero): Likewise.
54425 (asin_test_downward): Likewise.
54426 (asin_test_upward): Likewise.
54427 (asinh_test): Likewise.
54428 (atan_test): Likewise.
54429 (atanh_test): Likewise.
54430 (atan2_test): Likewise.
54431 (cabs_test): Likewise.
54432 (cacos_test): Likewise.
54433 (cacosh_test): Likewise.
54434 (casin_test): Likewise.
54435 (casinh_test): Likewise.
54436 (catan_test): Likewise.
54437 (catanh_test): Likewise.
54438 (cbrt_test): Likewise.
54439 (ccos_test): Likewise.
54440 (ccosh_test): Likewise.
54441 (cexp_test): Likewise.
54442 (clog_test): Likewise.
54443 (clog10_test): Likewise.
54444 (cos_test): Likewise.
54445 (cos_test_tonearest): Likewise.
54446 (cos_test_towardzero): Likewise.
54447 (cos_test_downward): Likewise.
54448 (cos_test_upward): Likewise.
54449 (cosh_test): Likewise.
54450 (cosh_test_tonearest): Likewise.
54451 (cosh_test_towardzero): Likewise.
54452 (cosh_test_downward): Likewise.
54453 (cosh_test_upward): Likewise.
54454 (cpow_test): Likewise.
54455 (csin_test): Likewise.
54456 (csinh_test): Likewise.
54457 (csqrt_test): Likewise.
54458 (ctan_test): Likewise.
54459 (ctan_test_tonearest): Likewise.
54460 (ctan_test_towardzero): Likewise.
54461 (ctan_test_downward): Likewise.
54462 (ctan_test_upward): Likewise.
54463 (ctanh_test): Likewise.
54464 (ctanh_test_tonearest): Likewise.
54465 (ctanh_test_towardzero): Likewise.
54466 (ctanh_test_downward): Likewise.
54467 (ctanh_test_upward): Likewise.
54468 (erf_test): Likewise.
54469 (erfc_test): Likewise.
54470 (exp_test): Likewise.
54471 (exp_test_tonearest): Likewise.
54472 (exp_test_towardzero): Likewise.
54473 (exp_test_downward): Likewise.
54474 (exp_test_upward): Likewise.
54475 (exp10_test): Likewise.
54476 (exp2_test): Likewise.
54477 (expm1_test): Likewise.
54478 (fmod_test): Likewise.
54479 (gamma_test): Likewise.
54480 (hypot_test): Likewise.
54481 (j0_test): Likewise.
54482 (j1_test): Likewise.
54483 (jn_test): Likewise.
54484 (lgamma_test): Likewise.
54485 (log_test): Likewise.
54486 (log10_test): Likewise.
54487 (log1p_test): Likewise.
54488 (log2_test): Likewise.
54489 (logb_test_downward): Likewise.
54490 (pow_test): Likewise.
54491 (pow_test_tonearest): Likewise.
54492 (pow_test_towardzero): Likewise.
54493 (pow_test_downward): Likewise.
54494 (pow_test_upward): Likewise.
54495 (remainder_test): Likewise.
54496 (remquo_test): Likewise.
54497 (sin_test): Likewise.
54498 (sin_test_tonearest): Likewise.
54499 (sin_test_towardzero): Likewise.
54500 (sin_test_downward): Likewise.
54501 (sin_test_upward): Likewise.
54502 (sincos_test): Likewise.
54503 (sinh_test): Likewise.
54504 (sinh_test_tonearest): Likewise.
54505 (sinh_test_towardzero): Likewise.
54506 (sinh_test_downward): Likewise.
54507 (sinh_test_upward): Likewise.
54508 (sqrt_test): Likewise.
54509 (tan_test): Likewise.
54510 (tan_test_tonearest): Likewise.
54511 (tan_test_towardzero): Likewise.
54512 (tan_test_downward): Likewise.
54513 (tan_test_upward): Likewise.
54514 (tanh_test): Likewise.
54515 (tgamma_test): Likewise.
54516 (y0_test): Likewise.
54517 (y1_test): Likewise.
54518 (yn_test): Likewise.
54519
54520 * math/gen-libm-test.pl (adjust_arg): Remove function.
54521 (special_function): Remove argument $in_func. Only handle
54522 generating output for tables of tests, not inside functions.
54523 (parse_args): Likewise.
54524 (generate_testfile): Remove variable $in_func. Update call to
54525 parse_args.
54526 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
54527 (MINUS_ZERO_INIT): Rename macro to minus_zero.
54528 (PLUS_INFTY_INIT): Rename macro to plus_infty.
54529 (MINUS_INFTY_INIT): Rename macro to minus_infty.
54530 (QNAN_VALUE_INIT): Rename macro to qnan_value.
54531 (MAX_VALUE_INIT): Rename macro to max_value.
54532 (MIN_VALUE_INIT): Rename macro to min_value.
54533 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
54534 (plus_zero): Remove variable.
54535 (minus_zero): Likewise.
54536 (plus_infty): Likewise.
54537 (minus_infty): Likewise.
54538 (qnan_value): Likewise.
54539 (max_value): Likewise.
54540 (min_value): Likewise.
54541 (min_subnorm_value): Likewise.
54542
54543 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54544
54545 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
54546 uint64_t or uint32_t usage.
54547 * crypt/sha256-block.c: Likewise.
54548 * crypt/sha256-crypt.c: Likewise.
54549 * crypt/sha256.c: Likewise.
54550 * crypt/sha512-block.c: Likewise.
54551 * crypt/sha512-crypt.c: Likewise.
54552 * crypt/sha512.c: Likewise.
54553 * debug/backtrace-tst.c: Likewise.
54554 * debug/pcprofiledump.c: Likewise.
54555 * elf/cache.c: Likewise.
54556 * elf/dl-cache.c: Likewise.
54557 * elf/dl-misc.c: Likewise.
54558 * elf/dl-profile.c: Likewise.
54559 * elf/dl-support.c: Likewise.
54560 * elf/ldconfig.c: Likewise.
54561 * elf/sprof.c: Likewise.
54562 * iconv/dummy-repertoire.c: Likewise.
54563 * iconv/iconv_charmap.c: Likewise.
54564 * iconv/skeleton.c: Likewise.
54565 * iconvdata/8bit-generic.c: Likewise.
54566 * iconvdata/cp737.h: Likewise.
54567 * iconvdata/cp775.h: Likewise.
54568 * iconvdata/ibm1008.h: Likewise.
54569 * iconvdata/ibm1025.h: Likewise.
54570 * iconvdata/ibm1046.h: Likewise.
54571 * iconvdata/ibm1097.h: Likewise.
54572 * iconvdata/ibm1112.h: Likewise.
54573 * iconvdata/ibm1122.h: Likewise.
54574 * iconvdata/ibm1123.h: Likewise.
54575 * iconvdata/ibm1124.h: Likewise.
54576 * iconvdata/ibm1129.h: Likewise.
54577 * iconvdata/ibm1130.h: Likewise.
54578 * iconvdata/ibm1132.h: Likewise.
54579 * iconvdata/ibm1133.h: Likewise.
54580 * iconvdata/ibm1137.h: Likewise.
54581 * iconvdata/ibm1140.h: Likewise.
54582 * iconvdata/ibm1141.h: Likewise.
54583 * iconvdata/ibm1142.h: Likewise.
54584 * iconvdata/ibm1143.h: Likewise.
54585 * iconvdata/ibm1144.h: Likewise.
54586 * iconvdata/ibm1145.h: Likewise.
54587 * iconvdata/ibm1146.h: Likewise.
54588 * iconvdata/ibm1147.h: Likewise.
54589 * iconvdata/ibm1148.h: Likewise.
54590 * iconvdata/ibm1149.h: Likewise.
54591 * iconvdata/ibm1153.h: Likewise.
54592 * iconvdata/ibm1154.h: Likewise.
54593 * iconvdata/ibm1155.h: Likewise.
54594 * iconvdata/ibm1156.h: Likewise.
54595 * iconvdata/ibm1157.h: Likewise.
54596 * iconvdata/ibm1158.h: Likewise.
54597 * iconvdata/ibm1160.h: Likewise.
54598 * iconvdata/ibm1161.h: Likewise.
54599 * iconvdata/ibm1162.h: Likewise.
54600 * iconvdata/ibm1163.h: Likewise.
54601 * iconvdata/ibm1164.h: Likewise.
54602 * iconvdata/ibm1166.h: Likewise.
54603 * iconvdata/ibm1167.h: Likewise.
54604 * iconvdata/ibm12712.h: Likewise.
54605 * iconvdata/ibm1390.h: Likewise.
54606 * iconvdata/ibm1399.h: Likewise.
54607 * iconvdata/ibm16804.h: Likewise.
54608 * iconvdata/ibm4517.h: Likewise.
54609 * iconvdata/ibm4899.h: Likewise.
54610 * iconvdata/ibm4909.h: Likewise.
54611 * iconvdata/ibm4971.h: Likewise.
54612 * iconvdata/ibm5347.h: Likewise.
54613 * iconvdata/ibm803.h: Likewise.
54614 * iconvdata/ibm856.h: Likewise.
54615 * iconvdata/ibm901.h: Likewise.
54616 * iconvdata/ibm902.h: Likewise.
54617 * iconvdata/ibm9030.h: Likewise.
54618 * iconvdata/ibm9066.h: Likewise.
54619 * iconvdata/ibm921.h: Likewise.
54620 * iconvdata/ibm922.h: Likewise.
54621 * iconvdata/ibm9448.h: Likewise.
54622 * iconvdata/isiri-3342.h: Likewise.
54623 * iconvdata/jis0201.h: Likewise.
54624 * include/link.h: Likewise.
54625 * include/netdb.h: Likewise.
54626 * inet/check_native.c: Likewise.
54627 * inet/check_pf.c: Likewise.
54628 * inet/getipv4sourcefilter.c: Likewise.
54629 * inet/getnameinfo.c: Likewise.
54630 * inet/getsourcefilter.c: Likewise.
54631 * inet/htonl.c: Likewise.
54632 * inet/setipv4sourcefilter.c: Likewise.
54633 * inet/setsourcefilter.c: Likewise.
54634 * inet/test-inet6_opt.c: Likewise.
54635 * inet/tst-network.c: Likewise.
54636 * locale/C-collate.c: Likewise.
54637 * locale/C-ctype.c: Likewise.
54638 * locale/C-time.c: Likewise.
54639 * locale/C-translit.h: Likewise.
54640 * locale/loadarchive.c: Likewise.
54641 * locale/programs/3level.h: Likewise.
54642 * locale/programs/charmap.c: Likewise.
54643 * locale/programs/charmap.h: Likewise.
54644 * locale/programs/ld-address.c: Likewise.
54645 * locale/programs/ld-collate.c: Likewise.
54646 * locale/programs/ld-ctype.c: Likewise.
54647 * locale/programs/ld-identification.c: Likewise.
54648 * locale/programs/ld-measurement.c: Likewise.
54649 * locale/programs/ld-messages.c: Likewise.
54650 * locale/programs/ld-monetary.c: Likewise.
54651 * locale/programs/ld-name.c: Likewise.
54652 * locale/programs/ld-numeric.c: Likewise.
54653 * locale/programs/ld-paper.c: Likewise.
54654 * locale/programs/ld-telephone.c: Likewise.
54655 * locale/programs/ld-time.c: Likewise.
54656 * locale/programs/linereader.c: Likewise.
54657 * locale/programs/locale.c: Likewise.
54658 * locale/programs/locarchive.c: Likewise.
54659 * locale/programs/locfile.h: Likewise.
54660 * locale/programs/repertoire.c: Likewise.
54661 * locale/programs/simple-hash.c: Likewise.
54662 * locale/programs/simple-hash.h: Likewise.
54663 * malloc/memusage.c: Likewise.
54664 * malloc/memusagestat.c: Likewise.
54665 * nis/nis_defaults.c: Likewise.
54666 * nis/nis_hash.c: Likewise.
54667 * nis/nis_print.c: Likewise.
54668 * nis/nis_xdr.c: Likewise.
54669 * nscd/connections.c: Likewise.
54670 * nscd/hstcache.c: Likewise.
54671 * nscd/nscd_gethst_r.c: Likewise.
54672 * nscd/nscd_getserv_r.c: Likewise.
54673 * nscd/nscd_helper.c: Likewise.
54674 * nscd/servicescache.c: Likewise.
54675 * nss/makedb.c: Likewise.
54676 * nss/nss_db/db-XXX.c: Likewise.
54677 * nss/nss_db/db-initgroups.c: Likewise.
54678 * nss/nss_db/db-netgrp.c: Likewise.
54679 * nss/nss_files/files-network.c: Likewise.
54680 * nss/nss_files/files-parse.c: Likewise.
54681 * posix/bug-regex5.c: Likewise.
54682 * posix/fnmatch_loop.c: Likewise.
54683 * posix/regcomp.c: Likewise.
54684 * posix/regexec.c: Likewise.
54685 * posix/tst-rfc3484-2.c: Likewise.
54686 * posix/tst-rfc3484-3.c: Likewise.
54687 * posix/tst-rfc3484.c: Likewise.
54688 * resolv/nss_dns/dns-canon.c: Likewise.
54689 * resolv/nss_dns/dns-network.c: Likewise.
54690 * resolv/res_init.c: Likewise.
54691 * resolv/res_mkquery.c: Likewise.
54692 * resolv/tst-aton.c: Likewise.
54693 * stdlib/cxa_atexit.c: Likewise.
54694 * stdlib/cxa_finalize.c: Likewise.
54695 * stdlib/gen-fpioconst.c: Likewise.
54696 * stdlib/strtol_l.c: Likewise.
54697 * string/tst-endian.c: Likewise.
54698 * sunrpc/auth_des.c: Likewise.
54699 * sunrpc/clnt_udp.c: Likewise.
54700 * sunrpc/rtime.c: Likewise.
54701 * sunrpc/svcauth_des.c: Likewise.
54702 * sunrpc/xdr.c: Likewise.
54703 * sunrpc/xdr_intXX_t.c: Likewise.
54704 * sunrpc/xdr_rec.c: Likewise.
54705 * sysdeps/generic/ldconfig.h: Likewise.
54706 * sysdeps/generic/ldsodefs.h: Likewise.
54707 * sysdeps/generic/memusage.h: Likewise.
54708 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54709 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54710 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54711 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54712 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54714 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54715 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54716 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54717 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54718 * sysdeps/posix/getaddrinfo.c: Likewise.
54719 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54720 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54721 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54722 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54723 * sysdeps/powerpc/test-gettimebase.c: Likewise.
54724 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54725 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54726 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54727 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54728 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54729 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54730 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54731 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54732 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54733 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54734 * sysdeps/x86_64/dl-tls.h: Likewise.
54735 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54736 * time/alt_digit.c: Likewise.
54737 * time/era.c: Likewise.
54738 * wcsmbs/tst-c16c32-1.c: Likewise.
54739
54740 2013-05-16 Joseph Myers <joseph@codesourcery.com>
54741
54742 * math/libm-test.inc (struct test_sincos_data): New type.
54743 (RUN_TEST_LOOP_sincos): New macro.
54744 (sincos_test_data): New variable.
54745 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54746
54747 2013-05-16 Richard Henderson <rth@redhat.com>
54748
54749 * math/atest-exp2.c (LIMB64): New macro.
54750 (CONSTSZ): New macro.
54751 (mp_exp1, mp_exp_m1, mp_log2): New variables.
54752 (hexdig): Move ...
54753 (print_mpn_fp): ... to function scope.
54754 (read_mpn_hex): Remove.
54755 (get_log2): Remove.
54756 (exp2_mpn): Use mp_log2.
54757 (main): Use mp_exp1.
54758
54759 2013-05-16 Joseph Myers <joseph@codesourcery.com>
54760
54761 * math/libm-test.inc: Remove comment about not testing "inexact"
54762 exceptions.
54763 (INEXACT_EXCEPTION): New macro.
54764 (NO_INEXACT_EXCEPTION): Likewise.
54765 (INVALID_EXCEPTION_OK): Update value.
54766 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54767 (OVERFLOW_EXCEPTION_OK): Likewise.
54768 (UNDERFLOW_EXCEPTION_OK): Likewise.
54769 (IGNORE_ZERO_INF_SIGN): Likewise.
54770 (ERRNO_UNCHANGED): Likewise.
54771 (ERRNO_EDOM): Likewise.
54772 (ERRNO_ERANGE): Likewise.
54773 (test_exceptions): Handle testing "inexact" exceptions.
54774 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54775 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54776 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54777 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54778 INEXACT_EXCEPTION.
54779 (rint_towardzero_test_data): Likewise.
54780 (rint_downward_test_data): Likewise.
54781 (rint_upward_test_data): Likewise.
54782
54783 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54784 with OVERFLOW_EXCEPTION.
54785 (exp10_test_data): Likewise.
54786 (exp2_test_data): Likewise.
54787 (expm1_test_data): Likewise.
54788 (lgamma_test_data): Likewise.
54789 (pow_test_data): Likewise.
54790 (tgamma_test_data): Likewise.
54791 (yn_test_data): Remove duplicate test of overflow.
54792
54793 * math/libm-test.inc (struct test_cc_c_data): New type.
54794 (RUN_TEST_LOOP_cc_c): New macro.
54795 (cpow_test_data): New variable.
54796 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54797
54798 * math/libm-test.inc (struct test_f_L_data): New type.
54799 (RUN_TEST_LOOP_f_L): New macro.
54800 (llrint_test_data): New variable.
54801 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54802 (llrint_tonearest_test_data): New variable.
54803 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54804 (llrint_towardzero_test_data): New variable.
54805 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54806 (llrint_downward_test_data): New variable.
54807 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54808 (llrint_upward_test_data): New variable.
54809 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54810 (llround_test_data): New variable.
54811 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54812
54813 2013-05-13 Peter Collingbourne <pcc@google.com>
54814
54815 * math/atest-exp2.c (get_log2): Remove const attribute.
54816
54817 2013-05-15 Joseph Myers <joseph@codesourcery.com>
54818
54819 * math/libm-test.inc (struct test_f_l_data): New type.
54820 (RUN_TEST_LOOP_f_l): New macro.
54821 (lrint_test_data): New variable.
54822 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54823 (lrint_tonearest_test_data): New variable.
54824 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54825 (lrint_towardzero_test_data): New variable.
54826 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54827 (lrint_downward_test_data): New variable.
54828 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54829 (lrint_upward_test_data): New variable.
54830 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54831 (lround_test_data): New variable.
54832 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54833
54834 2013-05-15 Peter Collingbourne <pcc@google.com>
54835
54836 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54837 (EXTRACT_WORDS64) Use where appropriate.
54838 (INSERT_WORDS64) Likewise.
54839
54840 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54841 constraints with x constraints.
54842 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54843
54844 * malloc/obstack.c (_obstack_compat): Add initializer.
54845
54846 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
54847
54848 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54849 si_trapno and add si_addr_lsb to _sifields.sigfault.
54850 (si_trapno): Remove macro.
54851 (si_addr_lsb): Define new macro.
54852 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54853
54854 2013-05-15 Joseph Myers <joseph@codesourcery.com>
54855
54856 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54857 instead of TEST_f_l.
54858 (llrint_test_tonearest): Likewise.
54859 (llrint_test_towardzero): Likewise.
54860 (llrint_test_downward): Likewise.
54861 (llrint_test_upward): Likewise.
54862 (llround_test): Likewise.
54863
54864 * math/libm-test.inc (struct test_f_i_data): Add comment.
54865 (RUN_TEST_LOOP_f_b): New macro.
54866 (RUN_TEST_LOOP_f_b_tg): Likewise.
54867 (finite_test_data): New variable.
54868 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54869 (isfinite_test_data): New variable.
54870 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54871 (isinf_test_data): New variable.
54872 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54873 (isnan_test_data): New variable.
54874 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54875 (isnormal_test_data): New variable.
54876 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54877 (issignaling_test_data): New variable.
54878 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54879 (signbit_test_data): New variable.
54880 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54881
54882 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54883 with INVALID_EXCEPTION.
54884 (acosh_test_data): Likewise.
54885 (asin_test_data): Likewise.
54886 (atanh_test_data): Likewise.
54887 (fmod_test_data): Likewise.
54888 (log_test_data): Likewise.
54889 (log10_test_data): Likewise.
54890 (log2_test_data): Likewise.
54891 (pow_test_data): Likewise.
54892 (sqrt_test_data): Likewise.
54893 (y0_test_data): Likewise.
54894 (y1_test_data): Likewise.
54895 (yn_test_data): Likewise.
54896
54897 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54898 function contents.
54899
54900 * math/libm-test.inc (struct test_ff_i_data): New type.
54901 (RUN_TEST_LOOP_ff_i_tg): New macro.
54902 (isgreater_test_data): New variable.
54903 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54904 (isgreaterequal_test_data): New variable.
54905 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54906 (isless_test_data): New variable.
54907 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54908 (islessequal_test_data): New variable.
54909 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54910 (islessgreater_test_data): New variable.
54911 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54912 (isunordered_test_data): New variable.
54913 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54914
54915 2013-05-14 David S. Miller <davem@davemloft.net>
54916
54917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54918
54919 2013-05-14 Joseph Myers <joseph@codesourcery.com>
54920
54921 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54922
54923 * math/libm-test.inc (struct test_fF_f1_data): Change type of
54924 extra_test to int.
54925 (struct test_f_i_data): Change type of max_ulp to int.
54926
54927 * math/libm-test.inc (test_ffI_f1_data): New type.
54928 (RUN_TEST_LOOP_ffI_f1): New macro.
54929 (remquo_test_data): New variable.
54930 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54931
54932 * setjmp/tst-setjmp-fp.c: New file.
54933 * setjmp/Makefile (tests): Add tst-setjmp-fp.
54934 (link-libm): New variable.
54935 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54936
54937 * math/libm-test.inc (struct test_f_i_data): New type.
54938 (RUN_TEST_LOOP_f_i): New macro.
54939 (RUN_TEST_LOOP_f_i_tg): Likewise.
54940 (fpclassify_test_data): New variable.
54941 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54942 (ilogb_test_data): New variable.
54943 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54944
54945 * math/libm-test.inc (scalbln_test): Correct function name in END
54946 call.
54947
54948 * math/libm-test.inc (struct test_f_f1_data): Add comment.
54949 (RUN_TEST_LOOP_fI_f1): New macro.
54950 (frexp_test_data): New variable.
54951 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54952
54953 * math/libm-test.inc (struct test_fF_f1_data): New type.
54954 (RUN_TEST_LOOP_fF_f1): New macro.
54955 (modf_test_data): New variable.
54956 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54957
54958 * math/libm-test.inc (struct test_f_f1_data): New type.
54959 (RUN_TEST_LOOP_f_f1): New macro.
54960 (gamma_test_data): New variable.
54961 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54962 (lgamma_test_data): New variable.
54963 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54964
54965 2013-05-13 Carlos O'Donell <carlos@redhat.com>
54966
54967 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54968 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54969 (main): Comment "tls" pseudo-hwcap.
54970
54971 2013-05-13 Joseph Myers <joseph@codesourcery.com>
54972
54973 * math/libm-test.inc (struct test_fl_f_data): New type.
54974 (RUN_TEST_LOOP_fl_f): New variable.
54975 (scalbln_test_data): New variable.
54976 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54977
54978 * math/libm-test.inc (struct test_fi_f_data): New type.
54979 (RUN_TEST_LOOP_fi_f): New macro.
54980 (ldexp_test_data): New variable.
54981 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54982 (scalbn_test_data): New variable.
54983 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54984
54985 * math/libm-test.inc (struct test_c_f_data): New type.
54986 (RUN_TEST_LOOP_c_f): New macro.
54987 (cabs_test_data): New variable.
54988 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54989 (carg_test_data): New variable.
54990 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54991 (cimag_test_data): New variable.
54992 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54993 (creal_test_data): New variable.
54994 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54995
54996 * math/libm-test.inc (struct test_if_f_data): New type.
54997 (RUN_TEST_LOOP_if_f): New macro.
54998 (jn_test_data): New variable.
54999 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
55000 (yn_test_data): New variable.
55001 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
55002
55003 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
55004
55005 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55006
55007 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
55008 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
55009
55010 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
55011
55012 * benchtests/Makefile (CPPFLAGS-nonlib): Add
55013 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
55014 (bench-deps): Add bench-timing.h.
55015 * benchtests-bench-skeleton.c: Include bench-timing.h.
55016 (main): Use TIMING_* macros instead of clock_gettime.
55017 * benchtests/bench-timing.h: New file.
55018
55019 [BZ #14582]
55020 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
55021 Renamed from _LIB_VERSION.
55022 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
55023
55024 2013-05-12 Joseph Myers <joseph@codesourcery.com>
55025
55026 * math/libm-test.inc (struct test_fff_f_data): New type.
55027 (RUN_TEST_LOOP_fff_f): New macro.
55028 (fma_test_data): New variable.
55029 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
55030 (fma_towardzero_test_data): New variable.
55031 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
55032 (fma_downward_test_data): New variable.
55033 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
55034 (fma_upward_test_data): New variable.
55035 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
55036
55037 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
55038 (struct test_c_c_data): New type.
55039 (RUN_TEST_LOOP_c_c): New macro.
55040 (cacos_test_data): New variable.
55041 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
55042 (cacosh_test_data): New variable.
55043 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
55044 (casin_test_data): New variable.
55045 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
55046 (casinh_test_data): New variable.
55047 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
55048 (catan_test_data): New variable.
55049 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
55050 (catanh_test_data): New variable.
55051 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
55052 (ccos_test_data): New variable.
55053 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
55054 (ccosh_test_data): New variable.
55055 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
55056 (cexp_test_data): New variable.
55057 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
55058 (clog_test_data): New variable.
55059 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
55060 (clog10_test_data): New variable.
55061 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
55062 (conj_test_data): New variable.
55063 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
55064 (cproj_test_data): New variable.
55065 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
55066 (csin_test_data): New variable.
55067 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
55068 (csinh_test_data): New variable.
55069 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
55070 (csqrt_test_data): New variable.
55071 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
55072 (ctan_test_data): New variable.
55073 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
55074 (ctan_tonearest_test_data): New variable.
55075 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
55076 (ctan_towardzero_test_data): New variable.
55077 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
55078 (ctan_downward_test_data): New variable.
55079 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
55080 (ctan_upward_test_data): New variable.
55081 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
55082 (ctanh_test_data): New variable.
55083 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
55084 (ctanh_tonearest_test_data): New variable.
55085 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
55086 (ctanh_towardzero_test_data): New variable.
55087 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
55088 (ctanh_downward_test_data): New variable.
55089 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
55090 (ctanh_upward_test_data): New variable.
55091 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
55092 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
55093 of BUILD_COMPLEX.
55094
55095 * math/libm-test.inc (struct test_ff_f_data): New type.
55096 (struct test_ff_f_data_nexttoward): Likewise.
55097 (RUN_TEST_LOOP_2_f): New macro.
55098 (RUN_TEST_LOOP_ff_f): Likewise.
55099 (atan2_test_data): New variable.
55100 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
55101 (copysign_test_data): New variable.
55102 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
55103 (fdim_test_data): New variable.
55104 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
55105 (fmax_test_data): New variable.
55106 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
55107 (fmin_test_data): New variable.
55108 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
55109 (fmod_test_data): New variable.
55110 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
55111 (hypot_test_data): New variable.
55112 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
55113 (nextafter_test_data): New variable.
55114 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
55115 (nexttoward_test_data): New variable.
55116 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
55117 (pow_test_data): New variable.
55118 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
55119 (pow_tonearest_test_data): New variable.
55120 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
55121 (pow_towardzero_test_data): New variable.
55122 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
55123 (pow_downward_test_data): New variable.
55124 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
55125 (pow_upward_test_data): New variable.
55126 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
55127 (remainder_test_data): New variable.
55128 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
55129 (scalb_test_data): New variable.
55130 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
55131 * sysdeps/i386/fpu/libm-test-ulps: Update.
55132
55133 2013-05-11 Joseph Myers <joseph@codesourcery.com>
55134
55135 * math/libm-test.inc (fma_test): Use max_value instead of local
55136 variable fltmax.
55137 (nextafter_test): Likewise.
55138
55139 * math/libm-test.inc (acos_towardzero_test_data): New variable.
55140 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55141 (acos_downward_test_data): New variable.
55142 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55143 (acos_upward_test_data): New variable.
55144 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55145 (acosh_test_data): New variable.
55146 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
55147 (asin_test_data): New variable.
55148 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
55149 (asin_tonearest_test_data): New variable.
55150 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55151 (asin_towardzero_test_data): New variable.
55152 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55153 (asin_downward_test_data): New variable.
55154 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55155 (asin_upward_test_data): New variable.
55156 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55157 (asinh_test_data): New variable.
55158 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
55159 (atan_test_data): New variable.
55160 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
55161 (atanh_test_data): New variable.
55162 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
55163 (cbrt_test_data): New variable.
55164 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
55165 (ceil_test_data): New variable.
55166 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
55167 (cos_test_data): New variable.
55168 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
55169 (cos_tonearest_test_data): New variable.
55170 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55171 (cos_towardzero_test_data): New variable.
55172 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55173 (cos_downward_test_data): New variable.
55174 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55175 (cos_upward_test_data): New variable.
55176 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55177 (cosh_test_data): New variable.
55178 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
55179 (cosh_tonearest_test_data): New variable.
55180 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55181 (cosh_towardzero_test_data): New variable.
55182 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55183 (cosh_downward_test_data): New variable.
55184 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55185 (cosh_upward_test_data): New variable.
55186 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55187 (erf_test_data): New variable.
55188 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
55189 (erfc_test_data): New variable.
55190 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
55191 (exp_test_data): New variable.
55192 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
55193 (exp_tonearest_test_data): New variable.
55194 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55195 (exp_towardzero_test_data): New variable.
55196 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55197 (exp_downward_test_data): New variable.
55198 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55199 (exp_upward_test_data): New variable.
55200 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55201 (exp10_test_data): New variable.
55202 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
55203 (exp2_test_data): New variable.
55204 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
55205 (expm1_test_data): New variable.
55206 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
55207 (fabs_test_data): New variable.
55208 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
55209 (floor_test_data): New variable.
55210 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
55211 (j0_test_data): New variable.
55212 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
55213 (j1_test_data): New variable.
55214 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
55215 (log_test_data): New variable.
55216 (log_test): Run tests with RUN_TEST_LOOP_f_f.
55217 (log10_test_data): New variable.
55218 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
55219 (log1p_test_data): New variable.
55220 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
55221 (log2_test_data): New variable.
55222 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
55223 (logb_test_data): New variable.
55224 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
55225 (logb_downward_test_data): New variable.
55226 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55227 (nearbyint_test_data): New variable.
55228 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
55229 (rint_test_data): New variable.
55230 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
55231 (rint_tonearest_test_data): New variable.
55232 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55233 (rint_towardzero_test_data): New variable.
55234 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55235 (rint_downward_test_data): New variable.
55236 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55237 (rint_upward_test_data): New variable.
55238 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55239 (round_test_data): New variable.
55240 (round_test): Run tests with RUN_TEST_LOOP_f_f.
55241 (sin_test_data): New variable.
55242 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
55243 (sin_tonearest_test_data): New variable.
55244 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55245 (sin_towardzero_test_data): New variable.
55246 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55247 (sin_downward_test_data): New variable.
55248 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55249 (sin_upward_test_data): New variable.
55250 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55251 (sinh_test_data): New variable.
55252 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
55253 (sinh_tonearest_test_data): New variable.
55254 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55255 (sinh_towardzero_test_data): New variable.
55256 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55257 (sinh_downward_test_data): New variable.
55258 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55259 (sinh_upward_test_data): New variable.
55260 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55261 (sqrt_test_data): New variable.
55262 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
55263 (tan_test_data): New variable.
55264 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
55265 (tan_tonearest_test_data): New variable.
55266 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55267 (tan_towardzero_test_data): New variable.
55268 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55269 (tan_downward_test_data): New variable.
55270 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55271 (tan_upward_test_data): New variable.
55272 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55273 (tanh_test_data): New variable.
55274 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
55275 (tgamma_test_data): New variable.
55276 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
55277 (trunc_test_data): New variable.
55278 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
55279 (y0_test_data): New variable.
55280 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
55281 (y1_test_data): New variable.
55282 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
55283 (significand_test_data): New variable.
55284 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
55285
55286 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
55287
55288 [BZ #12387]
55289 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
55290
55291 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
55292
55293 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
55294
55295 2013-05-10 Andreas Jaeger <aj@suse.de>
55296
55297 [BZ #15448]
55298 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
55299 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
55300
55301 2013-05-10 Joseph Myers <joseph@codesourcery.com>
55302
55303 * math/gen-libm-test.pl (adjust_arg): New function.
55304 (special_functions): Handle generating output in both functions
55305 and arrays.
55306 (parse_args): Likewise.
55307 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
55308 $in_func argument to parse_args.
55309 * math/libm-test.inc (struct test_f_f_data): New type.
55310 (IF_ROUND_INIT_): New macro.
55311 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
55312 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
55313 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
55314 (IF_ROUND_INIT_FE_UPWARD): Likewise.
55315 (ROUND_RESTORE_): Likewise.
55316 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
55317 (ROUND_RESTORE_FE_TONEAREST): Likewise.
55318 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
55319 (ROUND_RESTORE_FE_UPWARD): Likewise.
55320 (RUN_TEST_LOOP_f_f): New macro.
55321 (acos_test_data): New variable.
55322 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
55323 (acos_tonearest_test_data): New variable.
55324 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55325
55326 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55327
55328 * benchtests/bench-skeleton.c (startup): Fix coding style.
55329
55330 2013-05-10 Joseph Myers <joseph@codesourcery.com>
55331
55332 [BZ #6809]
55333 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
55334 negative infinity argument.
55335 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
55336 negative infinity argument.
55337 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
55338 negative infinity argument.
55339 * math/libm-test.inc (tgamma_test): Expect errno to be set for
55340 domain errors.
55341
55342 2013-05-10 Florian Weimer <fweimer@redhat.com>
55343
55344 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
55345 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
55346 * iconv/iconv_prog.c (main): Likewise.
55347 * locale/programs/charmap-dir.c (charmap_readdir)
55348 (fopen_uncompressed): Likewise.
55349 * locale/programs/locfile.c (siblings_uncached)
55350 (write_locale_data): Use lstat64 instead of lstat.
55351 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
55352 stat.
55353
55354 2013-05-10 Andreas Jaeger <aj@suse.de>
55355
55356 [BZ #15395]
55357 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
55358 localization.
55359 Include <locale.h>.
55360
55361 2013-05-09 Carlos O'Donell <carlos@redhat.com>
55362
55363 * elf/dl-close.c (_dl_close_worker): Add comments.
55364
55365 2013-05-09 Joseph Myers <joseph@codesourcery.com>
55366
55367 [BZ #15359]
55368 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
55369 high part of pi/2.
55370 (__ieee754_rem_pio2l): Update comments.
55371
55372 [BZ #15429]
55373 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
55374 high part of pi/2.
55375 (__ieee754_rem_pio2l): Update comments.
55376
55377 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
55378 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
55379
55380 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
55381 M_PI_4l.
55382
55383 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
55384 (M_PI_34_LOG10El): Likewise.
55385 (M_PI2_LOG10El): Likewise.
55386 (M_PI4_LOG10El): Likewise.
55387 (M_PI_LOG10El): Likewise.
55388
55389 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55390
55391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55392
55393 2013-05-08 Joseph Myers <joseph@codesourcery.com>
55394
55395 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
55396 (MINUS_ZERO_INIT): Likewise.
55397 (PLUS_INFTY_INIT): Likewise.
55398 (MINUS_INFTY_INIT): Likewise.
55399 (QNAN_VALUE_INIT): Likewise.
55400 (MAX_VALUE_INIT): Likewise.
55401 (MIN_VALUE_INIT): Likewise.
55402 (MIN_SUBNORM_VALUE_INIT): Likewise.
55403 (plus_zero): Initialize with PLUS_ZERO_INIT.
55404 (minus_zero): Initialize with MINUS_ZERO_INIT.
55405 (plus_infty): Initialize with PLUS_INFTY_INIT.
55406 (minus_infty): Initialize with MINUS_INFTY_INIT.
55407 (qnan_value): Initialize with QNAN_VALUE_INIT.
55408 (max_value): Initialize with MAX_VALUE_INIT.
55409 (min_value): Initialize with MIN_VALUE_INIT.
55410 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
55411
55412 * math/libm-test.inc (RUN_TEST_if_f): New macro.
55413 (jn_test): Use TEST_if_f instead of TEST_ff_f.
55414 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
55415 (yn_test): Use TEST_if_f instead of TEST_ff_f.
55416
55417 * math/libm-test.inc (RUN_TEST_f_f): New macro.
55418 (RUN_TEST_2_f): Likewise.
55419 (RUN_TEST_ff_f): Likewise.
55420 (RUN_TEST_fi_f): Likewise.
55421 (RUN_TEST_fl_f): Likewise.
55422 (RUN_TEST_fff_f): Likewise.
55423 (RUN_TEST_c_f): Likewise.
55424 (RUN_TEST_f_f1): Likewise.
55425 (RUN_TEST_fF_f1): Likewise.
55426 (RUN_TEST_fI_f1): Likewise.
55427 (RUN_TEST_ffI_f1): Likewise.
55428 (RUN_TEST_c_c): Likewise.
55429 (RUN_TEST_cc_c): Likewise.
55430 (RUN_TEST_f_i): Likewise.
55431 (RUN_TEST_f_i_tg): Likewise.
55432 (RUN_TEST_ff_i_tg): Likewise.
55433 (RUN_TEST_f_b): Likewise.
55434 (RUN_TEST_f_b_tg): Likewise.
55435 (RUN_TEST_f_l): Likewise.
55436 (RUN_TEST_f_L): Likewise.
55437 (RUN_TEST_sincos): Likewise.
55438 * math/gen-libm-test.pl (new_test): Take new argument to indicate
55439 whether to show exceptions. Do not include ");\n" in return
55440 value.
55441 (special_functions): Output call to RUN_TEST_sincos instead of
55442 check_float calls. Update calls to new_test.
55443 (parse_args): Output call to single RUN_TEST_* macro instead of
55444 check_* calls and other assignments. Update calls to new_test.
55445
55446 [BZ #2546]
55447 [BZ #2560]
55448 [BZ #5159]
55449 [BZ #15426]
55450 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
55451 input to result for tgamma overflow.
55452 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
55453 (gamma_coeff): New variable.
55454 (NCOEFF): New macro.
55455 (gamma_positive): New function.
55456 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
55457 underflow here. Use gamma_positive instead of exp (lgamma) for
55458 other arguments.
55459 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
55460 (gamma_coeff): New variable.
55461 (NCOEFF): New macro.
55462 (gammaf_positive): New function.
55463 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
55464 underflow here. Use gamma_positive instead of exp (lgamma) for
55465 other arguments.
55466 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
55467 (gamma_coeff): New variable.
55468 (NCOEFF): New macro.
55469 (gammal_positive): New function.
55470 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
55471 underflow here. Use gamma_positive instead of exp (lgamma) for
55472 other arguments.
55473 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
55474 (gamma_coeff): New variable.
55475 (NCOEFF): New macro.
55476 (gammal_positive): New function.
55477 (__ieee754_gammal_r): Handle positive infinity, overflow and
55478 underflow here. Handle NaN the same as positive infinity. Remove
55479 check x < 0xffffffff for negative integers. Use gamma_positive
55480 instead of exp (lgamma) for other arguments.
55481 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
55482 (gamma_coeff): New variable.
55483 (NCOEFF): New macro.
55484 (gammal_positive): New function.
55485 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
55486 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
55487 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
55488 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
55489 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
55490 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
55491 * sysdeps/generic/math_private.h (__gamma_productf): New
55492 prototype.
55493 (__gamma_product): Likewise.
55494 (__gamma_productl): Likewise.
55495 * math/Makefile (libm-calls): Add gamma_product.
55496 * math/libm-test.inc (tgamma_test): Add more tests.
55497 * sysdeps/i386/fpu/libm-test-ulps: Update.
55498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55499
55500 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
55501
55502 * benchtests/bench-skeleton.c (main): Preheat CPU.
55503
55504 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
55505
55506 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
55507
55508 2013-05-07 Roland McGrath <roland@hack.frob.com>
55509
55510 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
55511 and _dl_skip_args_internal.
55512
55513 2013-05-07 Carlos O'Donell <carlos@redhat.com>
55514
55515 * manual/message.texi (Message Translation): Talk about users.
55516 Message to key mapping impacts design.
55517
55518 2013-05-06 Roland McGrath <roland@hack.frob.com>
55519
55520 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
55521
55522 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
55523
55524 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
55525 * sysdeps/wordsize-64/glob64.c: ... here.
55526
55527 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
55528 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
55529 New macros.
55530
55531 * debug/getlogin_r_chk.c: Moved to ...
55532 * login/getlogin_r_chk.c: ... here.
55533 * debug/Makefile (routines): Move getlogin_r_chk to ...
55534 * login/Makefile (routines): ... here.
55535 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
55536 * login/Versions (libc: GLIBC_2.4): ... here.
55537
55538 * io/poll.c (__poll): Renamed from poll.
55539 Add libc_hidden_def.
55540 (poll): Define as weak alias.
55541
55542 * debug/ptsname_r_chk.c: Moved to ...
55543 * login/ptsname_r_chk.c: ... here.
55544 * debug/Makefile (routines): Move ptsname_r_chk to ...
55545 * login/Makefile (routines): ... here.
55546 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
55547 * login/Versions (libc: GLIBC_2.4): ... here.
55548
55549 * posix/getlogin.c: Moved to ...
55550 * login/getlogin.c: ... here.
55551 * posix/getlogin_r.c: Moved to ...
55552 * login/getlogin_r.c: ... here.
55553 * posix/getlogin_r.c: Moved to ...
55554 * login/getlogin_r.c: ... here.
55555 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
55556 * login/Makefile (routines): ... here.
55557 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55558 * login/Versions (libc: GLIBC_2.0): ... here.
55559
55560 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
55561 (setrlimit): Define as weak alias.
55562
55563 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
55564 Call __ names for open, ftruncate, and close.
55565 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
55566 (truncate): Define as weak alias.
55567
55568 2013-05-06 Joseph Myers <joseph@codesourcery.com>
55569
55570 * math/gen-libm-test.pl (parse_args): Initialize x before each
55571 test of frexp, modf and remquo.
55572
55573 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
55574 test signgam value.
55575
55576 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55577
55578 [BZ #15418]
55579 [BZ #15419]
55580 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55581 internal tests.
55582 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55583
55584 2013-05-06 Roland McGrath <roland@hack.frob.com>
55585
55586 * elf/dl-writev.h: New file.
55587 * elf/dl-misc.c: Include it.
55588 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55589 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55590
55591 2013-05-04 Joseph Myers <joseph@codesourcery.com>
55592
55593 * math/libm-test.inc (noXFails): Remove variable.
55594 (noXPasses): Likewise.
55595 (BUILD_COMPLEX_INT): Remove macro.
55596 (print_screen): Remove xfail argument.
55597 (print_screen_max_error): Likewise.
55598 (update_stats): Likewise.
55599 (print_max_error): Likewise. Update calls to other affected
55600 functions.
55601 (print_complex_max_error): Likewise.
55602 (test_single_exception): Update calls to print_screen.
55603 (test_single_errno): Likewise.
55604 (check_float_internal): Remove xfail argument. Update calls to
55605 other affected functions.
55606 (check_float): Likewise.
55607 (check_complex): Likewise.
55608 (check_int): Likewise.
55609 (check_long): Likewise.
55610 (check_bool): Likewise.
55611 (check_longlong): Likewise.
55612 (main): Don't print noXFails and noXPasses.
55613 * math/gen-libm-test.pl (top level): Don't mention expected
55614 failure handling in comment.
55615 (new_test): Don't handle expected failures.
55616 (parse_args): Don't mention expected failure handling in comment.
55617 (generate_testfile): Don't handle expected failures.
55618 (parse_ulps): Likewise.
55619 (print_ulps_file): Likewise.
55620 (get_failure): Remove function.
55621 (output_test): Don't handle expected failures.
55622 * make/README.libm-test: Don't mention expected failure handling.
55623
55624 * math/libm-test.inc (plus_zero): Make const. Add initializer.
55625 (minus_zero): Likewise.
55626 (plus_infty): Likewise.
55627 (minus_infty): Likewise.
55628 (qnan_value): Likewise.
55629 (max_value): Likewise.
55630 (min_value): Likewise.
55631 (min_subnorm_value): Likewise.
55632 (initialize): Do not initialize those variables dynamically.
55633
55634 2013-05-03 Roland McGrath <roland@hack.frob.com>
55635
55636 * io/open.c (__open_2): Moved to ...
55637 * io/open_2.c: ... this new file.
55638 * io/open64.c (__open64_2): Moved to ...
55639 * io/open64_2.c: ... this new file.
55640 * io/openat.c (__openat_2): Moved to ...
55641 * io/openat_2.c: ... this new file.
55642 * io/openat64.c (__openat64_2): Moved to ...
55643 * io/openat64_2.c: ... this new file.
55644 * io/Makefile (routines): Add them.
55645 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55646 * sysdeps/unix/sysv/linux/open_2.c: File removed.
55647 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55648 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55649 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55650 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55651 (__openat64): Add hidden_ver.
55652 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55653 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55654
55655 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55656 Separately conditionalize setting of GLRO(dl_sysinfo) so
55657 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55658 as well, but the actual setting is only under [NEED_DL_SYSINFO].
55659
55660 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55661
55662 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55663 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55664 definition.
55665 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55666 * sysdeps/unix/sysv/linux/powerpc/init-first.c
55667 (_libc_vdso_platform_setup): Add __vdso_time initialization.
55668 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55669 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55670
55671 2013-05-03 Joseph Myers <joseph@codesourcery.com>
55672
55673 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55674 test signgam value.
55675
55676 * math/libm-test.inc (hypot_test): Do not use
55677 IGNORE_ZERO_INF_SIGN.
55678
55679 2013-05-03 Andreas Jaeger <aj@suse.de>
55680
55681 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55682 Linux 3.9.
55683 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55684 (PF_MAX): Adjust for VSOCK change.
55685
55686 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55687
55688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55689
55690 2013-05-02 Carlos O'Donell <carlos@redhat.com>
55691
55692 [BZ #15264]
55693 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55694 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55695 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55696
55697 2013-05-02 David S. Miller <davem@davemloft.net>
55698
55699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55700
55701 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
55702
55703 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55704
55705 2013-05-01 Roland McGrath <roland@hack.frob.com>
55706
55707 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55708
55709 2013-05-01 Richard Smith <richard@metafoo.co.uk>
55710
55711 [BZ #14952]
55712 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55713 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55714 Use __attribute__ ((__gnu_inline__)).
55715 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55716 Don't use __attribute__ ((__gnu_inline__)).
55717
55718 2013-05-01 Joseph Myers <joseph@codesourcery.com>
55719
55720 [BZ #15423]
55721 * math/s_catan.c (__catan): Handle small real or imaginary part of
55722 input specially to avoid spurious underflow.
55723 * math/s_catanf.c (__catanf): Likewise.
55724 * math/s_catanh.c (__catanh): Likewise.
55725 * math/s_catanhf.c (__catanhf): Likewise.
55726 * math/s_catanhl.c (__catanhl): Likewise.
55727 * math/s_catanl.c (__catanl): Likewise.
55728 * math/libm-test.inc (catan_test): Add more tests.
55729 (catanh_test): Likewise.
55730 * sysdeps/i386/fpu/libm-test-ulps: Update.
55731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55732
55733 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55734
55735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55736
55737 2013-04-30 Joseph Myers <joseph@codesourcery.com>
55738
55739 [BZ #15416]
55740 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55741 accurately for denominator in atan2.
55742 * math/s_catanf.c (__catanf): Likewise.
55743 * math/s_catanh.c (__catanh): Likewise.
55744 * math/s_catanhf.c (__catanhf): Likewise.
55745 * math/s_catanhl.c (__catanhl): Likewise.
55746 * math/s_catanl.c (__catanl): Likewise.
55747 * math/libm-test.inc (catan_test): Add more tests.
55748 (catanh_test): Likewise.
55749 * sysdeps/i386/fpu/libm-test-ulps: Update.
55750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55751
55752 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55753
55754 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55755
55756 * benchtests/Makefile (bench): Remove slow benchmarks.
55757 * benchtests/atan-inputs: Add slow benchmark inputs.
55758 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55759 (BENCH_FUNC): Accept variant offset.
55760 (VARIANT): Define.
55761 * benchtests/bench-skeleton.c (main): Run benchmark for each
55762 variant.
55763 * benchtests/cos-inputs: Add slow benchmark inputs.
55764 * benchtests/exp-inputs: Likewise.
55765 * benchtests/pow-inputs: Likewise.
55766 * benchtests/sin-inputs: Likewise.
55767 * benchtests/slowatan-inputs: Remove.
55768 * benchtests/slowatan.c: Remove.
55769 * benchtests/slowcos-inputs: Remove.
55770 * benchtests/slowcos.c: Remove.
55771 * benchtests/slowexp-inputs: Remove.
55772 * benchtests/slowexp.c: Remove.
55773 * benchtests/slowpow-inputs: Remove.
55774 * benchtests/slowpow.c: Remove.
55775 * benchtests/slowsin-inputs: Remove.
55776 * benchtests/slowsin.c: Remove.
55777 * benchtests/slowtan-inputs: Remove.
55778 * benchtests/slowtan.c: Remove.
55779 * benchtests/tan-inputs: Add slow benchmark inputs.
55780 * scripts/bench.pl: Parse comments and directives.
55781
55782 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
55783 in CPPFLAGS.
55784 ($(objpfx)bench-%.c): Remove *-ITER.
55785 * benchtests/bench-modf.c: Remove definition of ITER.
55786 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55787 (main): Loop for DURATION seconds instead of fixed number of
55788 iterations.
55789 * scripts/bench.pl: Don't expect iterations in parameters.
55790
55791 2013-04-29 Roland McGrath <roland@hack.frob.com>
55792
55793 * io/fchdir.c (__fchdir): Renamed from fchdir.
55794 (fchdir): Define as weak alias.
55795
55796 2013-04-29 Joseph Myers <joseph@codesourcery.com>
55797
55798 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55799 (ERRNO_EDOM): Likewise.
55800 (ERRNO_ERANGE): Likewise.
55801 (noErrnoTests): New variable.
55802 (init_max_error): Set errno to 0.
55803 (test_single_errno): New function.
55804 (test_errno): Likewise.
55805 (check_float_internal): Call test_errno. Set errno to 0.
55806 (check_complex): Refer to errno tests in comment.
55807 (check_int): Call test_errno. Set errno to 0.
55808 (check_long): Likewise.
55809 (check_bool): Likewise.
55810 (check_longlong): Likewise.
55811 (cos_test): Use ERRNO_* flags for errno tests instead of
55812 check_int.
55813 (expm1_test): Likewise.
55814 (fmod_test): Likewise.
55815 (ilogb_test): Likewise.
55816 (lgamma_test): Likewise.
55817 (pow_test): Likewise.
55818 (remainder_test): Likewise.
55819 (sin_test): Likewise.
55820 (tan_test): Likewise.
55821 (yn_test): Likewise.
55822 (initialize): Set errno to 0.
55823 (main): Print number of errno tests.
55824 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55825
55826 2013-04-29 Andreas Jaeger <aj@suse.de>
55827
55828 [BZ #15084]
55829 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55830 and RES_USEVC.
55831
55832 [BZ #15085]
55833 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55834 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55835 unimplemented.
55836
55837 [BZ #15380]
55838 * stdlib/random.c (__initstate): Return NULL if
55839 __initstate fails.
55840
55841 [BZ #15086]
55842 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55843 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55844 RES_SNGLKUPREOP.
55845
55846 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55847
55848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55849
55850 2013-04-29 Joseph Myers <joseph@codesourcery.com>
55851
55852 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55853 of individual tests.
55854 (casin_test): Likewise.
55855 (casinh_test): Likewise.
55856
55857 2013-04-27 Joseph Myers <joseph@codesourcery.com>
55858
55859 [BZ #15409]
55860 * math/s_catan.c (__catan): Handle arguments with large real or
55861 imaginary part separately without squaring.
55862 * math/s_catanf.c (__catanf): Likewise.
55863 * math/s_catanh.c (__catanh): Likewise.
55864 * math/s_catanhf.c (__catanhf): Likewise.
55865 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55866 and redefine.
55867 (__catanhl): Handle arguments with large real or imaginary part
55868 separately without squaring.
55869 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55870 and redefine.
55871 (__catanl): Handle arguments with large real or imaginary part
55872 separately without squaring.
55873 * math/libm-test.inc (catan_test): Add more tests.
55874 (catanh_test): Likewise.
55875 * sysdeps/i386/fpu/libm-test-ulps: Update.
55876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55877
55878 2013-04-27 Andreas Jaeger <aj@suse.de>
55879
55880 [BZ #15007]
55881 * stdlib/stdlib.h: Update guards for qecvt.
55882 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55883 <stdlib.h>.
55884
55885 2013-04-27 Allan McRae <allan@archlinux.org>
55886
55887 * sysdeps/i386/fpu/libm-test-ulps: Update.
55888
55889 2013-04-26 Joseph Myers <joseph@codesourcery.com>
55890
55891 [BZ #15406]
55892 * math/s_catan.c: Include <float.h>.
55893 (__catan): Ensure underflow exception occurs for underflowed
55894 result.
55895 * math/s_catanf.c: Include <float.h>.
55896 (__catanf): Ensure underflow exception occurs for underflowed
55897 result.
55898 * math/s_catanh.c: Include <float.h>.
55899 (__catanh): Ensure underflow exception occurs for underflowed
55900 result.
55901 * math/s_catanhf.c: Include <float.h>.
55902 (__catanhf): Ensure underflow exception occurs for underflowed
55903 result.
55904 * math/s_catanhl.c: Include <float.h>.
55905 (__catanhl): Ensure underflow exception occurs for underflowed
55906 result.
55907 * math/s_catanl.c: Include <float.h>.
55908 (__catanl): Ensure underflow exception occurs for underflowed
55909 result.
55910 * math/libm-test.inc (catan_test): Add more tests.
55911 (catanh_test): Likewise.
55912
55913 [BZ #15405]
55914 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55915 underflowed result.
55916 * math/s_ccoshf.c (__ccoshf): Likewise.
55917 * math/s_ccoshl.c (__ccoshl): Likewise.
55918 * math/s_csin.c (__csin): Likewise.
55919 * math/s_csinf.c (__csinf): Likewise.
55920 * math/s_csinh.c (__csinh): Likewise.
55921 * math/s_csinhf.c (__csinhf): Likewise.
55922 * math/s_csinhl.c (__csinhl): Likewise.
55923 * math/s_csinl.c (__csinl): Likewise.
55924 * math/libm-test.inc (ccos_test): Add more tests.
55925 (ccosh_test): Likewise.
55926 (csin_test): Likewise.
55927 (csinh_test): Likewise.
55928
55929 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55930
55931 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55932 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55933 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55934 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55935 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55936 powerpc/power5+/fpu folders.
55937 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55938
55939
55940 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
55941
55942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55943
55944 2013-04-25 Joseph Myers <joseph@codesourcery.com>
55945
55946 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55947 additions to variable.
55948 [$(config-machine) = x86_64] (modules-names): Likewise.
55949 ($(objpfx)tst-audit3): Remove dependency.
55950 ($(objpfx)tst-audit3.out): Likewise.
55951 ($(objpfx)tst-audit4): Likewise.
55952 ($(objpfx)tst-audit4.out): Likewise.
55953 ($(objpfx)tst-audit5): Likewise.
55954 ($(objpfx)tst-audit5.out): Likewise.
55955 ($(objpfx)tst-audit6): Likewise.
55956 ($(objpfx)tst-audit6.out): Likewise.
55957 ($(objpfx)tst-audit7): Likewise.
55958 ($(objpfx)tst-audit7.out): Likewise.
55959 (tst-audit3-ENV): Remove variable.
55960 (tst-audit4-ENV): Likewise.
55961 (tst-audit5-ENV): Likewise.
55962 (tst-audit6-ENV): Likewise.
55963 (tst-audit7-ENV): Likewise.
55964 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55965 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55966 addition to variable.
55967 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55968 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55969 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55970 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55971 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55972 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55973 tst-audit3, tst-audit4 and tst-audit5.
55974 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55975 tst-audit6 and tst-audit7.
55976 [$(subdir) = elf] (modules-names): Add audit modules for those
55977 tests.
55978 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55979 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55980 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55981 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55982 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55983 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55984 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55985 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55986 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55987 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55988 [$(subdir) = elf] (tst-audit3-ENV): New variable.
55989 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55990 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55991 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55992 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55993 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55994 Likewise.
55995 [$(subdir) = elf && $(config-cflags-avx) = yes]
55996 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55997 [$(subdir) = elf && $(config-cflags-avx) = yes]
55998 (CFLAGS-tst-auditmod4a.c): Likewise.
55999 [$(subdir) = elf && $(config-cflags-avx) = yes]
56000 (CFLAGS-tst-auditmod4b.c): Likewise.
56001 [$(subdir) = elf && $(config-cflags-avx) = yes]
56002 (CFLAGS-tst-auditmod6b.c): Likewise.
56003 [$(subdir) = elf && $(config-cflags-avx) = yes]
56004 (CFLAGS-tst-auditmod6c.c): Likewise.
56005 [$(subdir) = elf && $(config-cflags-avx) = yes]
56006 (CFLAGS-tst-auditmod7b.c): Likewise.
56007 * elf/tst-audit3.c: Move to ...
56008 * sysdeps/x86_64/tst-audit3.c: ... here.
56009 * elf/tst-audit4.c: Move to ...
56010 * sysdeps/x86_64/tst-audit4.c: ... here.
56011 * elf/tst-audit5.c: Move to ...
56012 * sysdeps/x86_64/tst-audit5.c: ... here.
56013 * elf/tst-audit6.c: Move to ...
56014 * sysdeps/x86_64/tst-audit6.c: ... here.
56015 * elf/tst-audit7.c: Move to ...
56016 * sysdeps/x86_64/tst-audit7.c: ... here.
56017 * elf/tst-auditmod3a.c: Move to ...
56018 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
56019 * elf/tst-auditmod3b.c: Move to ...
56020 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
56021 * elf/tst-auditmod4a.c: Move to ...
56022 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
56023 * elf/tst-auditmod4b.c: Move to ...
56024 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
56025 * elf/tst-auditmod5a.c: Move to ...
56026 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
56027 * elf/tst-auditmod5b.c: Move to ...
56028 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
56029 * elf/tst-auditmod6a.c: Move to ...
56030 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
56031 * elf/tst-auditmod6b.c: Move to ...
56032 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
56033 * elf/tst-auditmod6c.c: Move to ...
56034 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
56035 * elf/tst-auditmod7a.c: Move to ...
56036 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
56037 * elf/tst-auditmod7b.c: Move to ...
56038 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
56039
56040 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
56041
56042 [BZ #15366]
56043 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
56044 define unconditionally.
56045 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
56046 define unconditionally.
56047 (INT8_C, INT16_C, etc.): Likewise.
56048
56049 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
56050
56051 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
56052 __ehdr_start with hidden visibility.
56053
56054 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
56055
56056 2013-04-24 Carlos O'Donell <carlos@redhat.com>
56057
56058 * math/libm-test.inc (cos_test): Use accurate hex constants.
56059 (sincost_test): Likewise.
56060
56061 2013-04-24 Joseph Myers <joseph@codesourcery.com>
56062
56063 * math/libm-test.inc (catan_test): Add more tests.
56064 (catanh_test): Likewise.
56065
56066 * math/s_catanf.c (__catanf): Use suffixed floating-point
56067 constants.
56068 * math/s_catanhf.c (__catanhf): Likewise.
56069 * math/s_catanhl.c (__catanhl): Likewise.
56070 * math/s_catanl.c (__catanl): Likewise.
56071
56072 [BZ #15394]
56073 * math/s_catan.c (__catan): Calculate imaginary part of result
56074 with log1p not log unless computing log of number close to 0.
56075 * math/s_catanf.c (__catanf): Likewise.
56076 * math/s_catanl.c (__catanl): Likewise.
56077 * math/s_catanh.c (__catanh): Calculate real part of result with
56078 log1p not log unless computing log of number close to 0.
56079 * math/s_catanhf.c (__catanhf): Likewise.
56080 * math/s_catanhl.c (__catanhl): Likewise.
56081 * math/libm-test.inc (catan_test): Add more tests.
56082 (catanh_test): Likewise.
56083 * sysdeps/i386/fpu/libm-test-ulps: Update.
56084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56085
56086 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
56087
56088 * benchtests/Makefile: Mention files in which fast and slow
56089 paths of math functions are implemented.
56090
56091 2013-04-23 Roland McGrath <roland@hack.frob.com>
56092
56093 * sysdeps/posix/timespec_get.c: New file.
56094
56095 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56096
56097 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
56098 POWER.
56099 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
56100 for POWER.
56101 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
56102 powerpc/power5/fpu folders.
56103 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
56104 * benchtests/Makefile: Add modf testcase.
56105 * benchtests/bench-modf.c: New file: Benchmark test for mo
56106
56107 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
56108
56109 [BZ #14888]
56110 * time/Makefile (tests): Add tst-strptime-whitespace.
56111 * time/strptime_l.c (get_number): Use ISSPACE.
56112 (__strptime_internal): Likewise.
56113 * time/tst-strptime-whitespace.c: New test case.
56114
56115 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
56116
56117 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
56118 member.
56119 (_nss_files_init): Set it here.
56120
56121 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
56122
56123 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
56124 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
56125 unsigned.
56126
56127 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
56128
56129 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
56130
56131 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
56132
56133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
56134 size just once.
56135
56136 2013-04-21 David S. Miller <davem@davemloft.net>
56137
56138 * po/ru.po: Update Russion translation from translation project.
56139
56140 2013-04-17 Adam Conrad <adconrad@0c3.net>
56141
56142 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
56143 and setfsgid.
56144
56145 2013-04-17 Carlos O'Donell <carlos@redhat.com>
56146
56147 * configure.in: Remove i386 configure warning. Remove i386 case.
56148 * configure: Regenerate.
56149 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
56150 Add example to error message.
56151 * sysdeps/i386/configure: Regenerate.
56152
56153 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56154
56155 * benchtests/Makefile (bench): Add cos, tan, slowcos and
56156 slowtan.
56157 * benchtests/cos-inputs: New file.
56158 * benchtests/slowcos-inputs: New file.
56159 * benchtests/slowcos.c: New file.
56160 * benchtests/slowtan-inputs: New file.
56161 * benchtests/slowtan.c: New file.
56162 * benchtests/tan-inputs: New file.
56163
56164 2013-04-16 Roland McGrath <roland@hack.frob.com>
56165
56166 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
56167 considered kosher.
56168
56169 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
56170
56171 * benchtests/Makefile: Include cppflags-iterator.mk to add
56172 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
56173
56174 * Makefile.in (bench-clean): New target.
56175 * benchtests/Makefile (bench-clean): Likewise.
56176
56177 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
56178
56179 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
56180
56181 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
56182
56183 * stdio-common/tstdiomisc.c: Fix coding-style violation.
56184
56185 2013-04-15 Andreas Schwab <schwab@suse.de>
56186
56187 * nscd/grpcache.c (cache_addgr): Properly check for short write.
56188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56189 * nscd/pwdcache.c (cache_addpw): Likewise.
56190 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
56191 more than recsize.
56192
56193 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
56194
56195 * benchtests/Makefile (bench): Write all output to
56196 bench-out.tmp together.
56197
56198 2013-04-15 Andreas Schwab <schwab@suse.de>
56199
56200 * nscd/nscd.c (main): Don't fork again after closing files.
56201
56202 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
56203
56204 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
56205
56206 * benchtests/Rules (bench-deps): Collect dependencies into a
56207 single variable. Add Makefile to dependencies.
56208 ($(objpfx)bench-%.c): Depend on bench-deps.
56209
56210 2013-04-12 Roland McGrath <roland@hack.frob.com>
56211 Xavier Roche <roche+kml2@exalead.com>
56212
56213 [BZ #15361]
56214 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
56215 just that it's a file descriptor.
56216 * manual/llio.texi (Synchronizing AIO Operations): Update description
56217 for EBADF error from aio_fsync.
56218
56219 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
56220
56221 * Rules (bench): Move target definition...
56222 * benchtests/Makefile: ... here.
56223
56224 2013-04-11 Carlos O'Donell <carlos@redhat.com>
56225
56226 * math/libm-test.inc (cos_test): Fix PI/2 test.
56227 (sincos_test): Likewise.
56228 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56229 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
56230
56231 2013-04-11 Andreas Schwab <schwab@suse.de>
56232
56233 [BZ #13988]
56234 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
56235 accept exponent character only when digits were seen.
56236 * stdio-common/Makefile (tests): Add bug26.
56237 * stdio-common/bug26.c: New file.
56238
56239 [BZ #14293]
56240 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
56241 non-freeable.
56242
56243 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
56244
56245 * Makeconfig (rtld-prefix): Define built linker prefix.
56246 * Rules (run-bench): Use it.
56247 * math/Makefile (run-regen-ulps): Likewise.
56248
56249 * Rules (bench): Remove eval.
56250
56251 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56252 Roland McGrath <roland@hack.frob.com>
56253 Ondrej Bilka <neleai@seznam.cz>
56254
56255 [BZ #15346]
56256 * time/getdate.c: Include ctype.h and alloca.h.
56257 (__getdate_r): Trim leading and trailing spaces of input.
56258 * time/tst-getdate.c (tests): Add tests with leading and
56259 trailing spaces.
56260
56261 2013-04-08 Roland McGrath <roland@hack.frob.com>
56262
56263 [BZ #14280]
56264 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
56265 when computing value.
56266
56267 2013-04-06 Carlos O'Donell <carlos@redhat.com>
56268
56269 * math/README.libm-test (How can I generate "libm-test-ulps"?):
56270 Use testrun.sh to run libm tests.
56271
56272 [BZ #15309]
56273 * elf/dl-open.c (dl_open_worker): memset all of seen array.
56274
56275 2013-04-06 Marko Myllynen <myllynen@redhat.com>
56276
56277 [BZ #15264]
56278 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
56279
56280 2013-04-06 Carlos O'Donell <carlos@redhat.com>
56281
56282 * Makefile.in (regen-ulps): New target.
56283 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
56284 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
56285 [ifneq (no,$(PERL)] (regen-ulps): New target.
56286 [ifeq (no,$(PERL)] (regen-ulps): New target.
56287 * math/libm-test.inc (ulps_file_name): Define.
56288 (output_dir): New variable.
56289 (options): Add "output-dir" option.
56290 (parse_opt): Handle 'o' case.
56291 (main): If output_dir is non-NULL use it as a prefix
56292 otherwise use "".
56293 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
56294
56295 2013-04-06 Carlos O'Donell <carlos@redhat.com>
56296
56297 [BZ #10060, #10062]
56298 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
56299 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
56300 fail configure if __sync_val_compare_and_swap is not inlined.
56301 * sysdeps/i386/configure: Regenerate.
56302 * configure.in: Build for i686 when configured for i386.
56303 * configure: Regenerate.
56304 * README: Remove i386 reference.
56305
56306 2013-04-06 Carlos O'Donell <carlos@redhat.com>
56307
56308 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
56309 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56310
56311 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
56312
56313 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
56314 (lmsnanval): New variables.
56315 (F): Add conversion tests.
56316 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
56317 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
56318
56319 * stdio-common/tstdiomisc.c (F): Properly collect individual
56320 tests' results.
56321
56322 [BZ #14686, #15336]
56323 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
56324 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
56325 Instead, use input NaN values or generate a qNaN by arithmetic
56326 operation. Also fix bugs to comply with the standard.
56327 * math/libm-test.inc (remainder_test): Add more tests.
56328
56329 [BZ #15335, #15342]
56330 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
56331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
56332 input NaN values or generate a qNaN by arithmetic operation.
56333
56334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
56335 unreachable code.
56336
56337 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
56338 definitions.
56339
56340 2013-04-03 Joseph Myers <joseph@codesourcery.com>
56341
56342 [BZ #14478]
56343 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
56344 underflowed result.
56345 * math/s_cexpf.c (__cexpf): Likewise.
56346 * math/s_cexpl.c (__cexpl): Likewise.
56347 * math/libm-test.inc (cexp_test): Add more tests.
56348
56349 2013-04-03 Andreas Schwab <schwab@suse.de>
56350
56351 [BZ #15330]
56352 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
56353 order arrays from heap if bigger than alloca cutoff.
56354
56355 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
56356
56357 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
56358 (SNAN_TESTS_double): Refer to GCC PR56831.
56359 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
56360 GCC PR56828.
56361
56362 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
56363
56364 * Rules (bench): Move bench.out after the run is complete.
56365
56366 * Rules (bench): Echo currently running benchmark.
56367
56368 * benchtests/Makefile (bench): Add atan and slowatan.
56369 * benchtests/atan-inputs: New file.
56370 * benchtests/slowatan-inputs: New file.
56371 * benchtests/slowatan.c: New file.
56372
56373 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
56374 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
56375 its value.
56376
56377 [BZ #15305]
56378 * sysdeps/unix/sysv/linux/kernel-features.h
56379 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
56380 __ASSUME_XFS_RESTRICTED_CHOWN.
56381 * sysdeps/unix/sysv/linux/pathconf.c
56382 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
56383 Save and restore errno.
56384
56385 2013-04-02 Joseph Myers <joseph@codesourcery.com>
56386
56387 [BZ #15327]
56388 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
56389 arguments using __kernel_casinh.
56390 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
56391 arguments using __kernel_casinhf.
56392 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
56393 arguments using __kernel_casinhl.
56394 * math/libm-test.inc (cacosh_test): Add more tests.
56395 * sysdeps/i386/fpu/libm-test-ulps: Update.
56396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56397
56398 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
56399
56400 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
56401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
56402
56403 * bench/Makefile (bench): Add sin and slowsin.
56404 * benchtests/sin-inputs: New file.
56405 * benchtests/slowsin-inputs: New file.
56406 * benchtests/slowsin.c: New file.
56407
56408 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
56409 (bench): Add slowexp and slowpow.
56410 (exp-ITER): Increase iterations.
56411 (pow-ITER): Likewise.
56412 * benchtests/exp-inputs: Change input.
56413 * benchtests/pow-inputs: Likewise.
56414 * benchtests/slowexp-inputs: New file.
56415 * benchtests/slowexp.c: New file.
56416 * benchtests/slowpow-inputs: New file.
56417 * benchtests/slowpow.c: New file.
56418
56419 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56420
56421 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
56422 instructions.
56423 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56424 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
56425 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56426 * benchtests/Makefile: Add rint benchtest.
56427 * benchtests/rint-inputs: Input for rint benchtest.
56428
56429 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
56430
56431 * Versions.def (libm): Add GLIBC_2.18.
56432 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
56433 hidden libm prototypes.
56434 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
56435 * math/Makefile (libm-calls): Add s_issignaling.
56436 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
56437 __issignalingf, __issignalingl. Adjust all libm.abilist files.
56438 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
56439 declaration.
56440 * math/math.h [__USE_GNU] (issignaling): New macro.
56441 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
56442 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
56443 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
56444 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
56445 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
56446 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
56447 * manual/arith.texi (issignaling): New section.
56448 * manual/libm-err-tab.pl (@all_functions): Update comment.
56449 * math/gen-libm-test.pl (parse_args): Apply special handling for
56450 issignaling.
56451 * math/libm-test.inc (print_float, issignaling_test): New
56452 functions.
56453 (check_float_internal): Add issignaling checks.
56454 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
56455 default definition.
56456 * sysdeps/powerpc/math-tests.h: New file.
56457 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
56458 tests.
56459 * math/test-snan.c (TEST_FUNC): Likewise.
56460
56461 2013-03-30 David S. Miller <davem@davemloft.net>
56462
56463 * po/de.po: Update from translation team.
56464
56465 2013-03-30 Joseph Myers <joseph@codesourcery.com>
56466
56467 [BZ #10357]
56468 * math/k_casinh.c (__kernel_casinh): Handle arguments with
56469 imaginary part less than 1.0 and real part less than 0.5
56470 specially.
56471 * math/k_casinhf.c (__kernel_casinhf): Likewise.
56472 * math/k_casinhl.c (__kernel_casinhl): Likewise.
56473 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
56474 (cacos_test): Add more tests.
56475 (casin_test): Likewise.
56476 (casinh_test): Likewise.
56477 * sysdeps/i386/fpu/libm-test-ulps: Update.
56478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56479
56480 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
56481
56482 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
56483 ONE with its value.
56484
56485 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
56486 (__pow_mp): Replace ONE and MONE with their values.
56487 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
56489 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56490 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
56491 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56492 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56493
56494 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
56495
56496 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
56497 (__pow_mp): Replace ZERO and MZERO with their values.
56498 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56499 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56500 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56502 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56503 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
56504 (__sqr): Likewise.
56505
56506 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
56507
56508 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
56509
56510 2013-03-28 Roland McGrath <roland@hack.frob.com>
56511
56512 * include/stdlib.h [!SHARED] (__call_tls_dtors):
56513 Declare with __attribute__ ((weak)).
56514 * stdlib/exit.c (__libc_atexit) [!SHARED]:
56515 Call __call_tls_dtors only if it's not NULL.
56516
56517 2013-03-28 Roland McGrath <roland@hack.frob.com>
56518
56519 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56520 didn't do it already, then set _dl_phdr and _dl_phnum based on the
56521 magic __ehdr_start linker symbol if it's defined.
56522 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
56523 them up here if it was already done.
56524
56525 * elf/dl-support.c (_dl_phdr): Make pointer to const.
56526 (_dl_aux_init): Use const in cast when setting it.
56527 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
56528 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
56529 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
56530
56531 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
56532 Declare them here.
56533 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
56534 * csu/libc-tls.c: Nor here.
56535 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
56536
56537 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
56538 (__libc_message): Never call vsyslog.
56539
56540 2013-03-28 Alan Modra <amodra@gmail.com>
56541
56542 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
56543 Define as empty.
56544 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
56545 Likewise.
56546
56547 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56548
56549 [BZ #15214]
56550 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
56551 underflow.
56552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56553
56554 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
56555
56556 [BZ #15304]
56557 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56558 Don't add gid passed as argument.
56559
56560 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
56561
56562 2013-03-27 Joseph Myers <joseph@codesourcery.com>
56563
56564 [BZ #15307]
56565 * math/k_casinh.c (__kernel_casinh): Handle arguments with
56566 imaginary part between 1.0 and 1.5 and real part less than 0.5
56567 specially.
56568 * math/k_casinhf.c (__kernel_casinhf): Likewise.
56569 * math/k_casinhl.c (__kernel_casinhl): Likewise.
56570 * math/libm-test.inc (cacos_test): Add more tests.
56571 (casin_test): Likewise.
56572 (casinh_test): Likewise.
56573 * sysdeps/i386/fpu/libm-test-ulps: Update.
56574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56575
56576 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
56577
56578 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56579 constants.
56580 (norm): Likewise.
56581 (denorm): Likewise.
56582 (__dbl_mp): Likewise.
56583 (add_magnitudes): Likewise.
56584 (sub_magnitudes): Likewise.
56585 (__add): Likewise.
56586 (__sub): Likewise.
56587 (__mul): Likewise.
56588 (__sqr): Likewise.
56589 (__inv): Likewise.
56590 (__dvd): Likewise.
56591
56592 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56593 commented code.
56594 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56595 (__dubcos): Likewise.
56596 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56597 (__ieee754_acos): Likewise.
56598 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56599 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56600 (__exp1): Likewise.
56601 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56603 (log1): Likewise.
56604 (my_log2): Likewise.
56605 (checkint): Likewise.
56606 * sysdeps/ieee754/dbl-64/e_remainder.c
56607 (__ieee754_remainder): Likewise.
56608 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56610 (bsloww): Likewise.
56611 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56612
56613 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56614 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56615 MANTISSA_STORE_T to store computations on mantissa. Use
56616 macros for rounding and division.
56617 (denorm): Likewise.
56618 (__dbl_mp): Likewise.
56619 (add_magnitudes): Likewise.
56620 (sub_magnitudes): Likewise.
56621 (__mul): Likewise.
56622 (__sqr): Likewise.
56623 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
56624 powers of two in terms of TWOPOW macro.
56625 (mp_no): Make type of mantissa as MANTISSA_T.
56626 [!RADIXI]: Define RADIXI.
56627 [!TWO52]: Define TWO52.
56628 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56629
56630 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56631
56632 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56633 llroundl symbol when building for PPC32.
56634
56635 2013-03-24 Mark H Weaver <mhw@netris.org>
56636
56637 * manual/arith.texi (Normalization Functions): Fix prototypes for
56638 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56639
56640 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56641
56642 [BZ #13889]
56643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56644 high value to check if expl overflow.
56645 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56646 to check for underflow and overflow.
56647 * math/libm-test.inc: Add exp test.
56648
56649 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
56650
56651 [BZ #11120]
56652 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56653 with NOT_IN_libc.
56654
56655 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56656
56657 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56658 symbol.
56659
56660 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
56661
56662 * math/gen-libm-test.pl (parse_args, special_functions): Properly
56663 wrap blocks consisting of several statements.
56664
56665 * sysdeps/generic/math-tests.h: New file.
56666 * sysdeps/i386/fpu/math-tests.h: Likewise.
56667 * math/test-snan.c: Include it.
56668 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56669
56670 2013-03-21 Joseph Myers <joseph@codesourcery.com>
56671
56672 [BZ #15285]
56673 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56674 (__ieee754_j0l): Do not improve calculations using cos of twice
56675 input for inputs above LDBL_MAX / 2.0L.
56676 (__ieee754_y0l): Likewise.
56677 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56678 (__ieee754_j1l): Do not improve calculations using cos of twice
56679 input for inputs above LDBL_MAX / 2.0L.
56680 (__ieee754_y1l): Likewise.
56681 * math/libm-test.inc (j0_test): Add another test.
56682 (j1_test): Likewise.
56683 (y0_test): Likewise.
56684 (y1_test): Likewise.
56685 * sysdeps/i386/fpu/libm-test-ulps: Update.
56686
56687 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56688
56689 * Rules ($(objpfx)bench-%.c): Include code from a C source
56690 file.
56691
56692 2013-03-21 Joseph Myers <joseph@codesourcery.com>
56693
56694 [BZ #15287]
56695 * math/k_casinh.c (__kernel_casinh): Handle arguments with
56696 imaginary part 1.0 and real part less than 0.5 specially.
56697 * math/k_casinhf.c (__kernel_casinhf): Likewise.
56698 * math/k_casinhl.c (__kernel_casinhl): Likewise.
56699 * math/libm-test.inc (cacos_test): Add more tests.
56700 (casin_test): Likewise.
56701 (casinh_test): Likewise.
56702 * sysdeps/i386/fpu/libm-test-ulps: Update.
56703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56704
56705 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56706
56707 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56708 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56709
56710 2013-03-20 Joseph Myers <joseph@codesourcery.com>
56711
56712 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56713 * config.make.in (config-cflags-sse4): Remove variable.
56714 (config-cflags-avx): Likewise.
56715 (config-cflags-sse2avx): Likewise.
56716 (config-cflags-novzeroupper): Likewise.
56717 (config-asflags-i686): Likewise.
56718 (have-mfma4): Likewise.
56719 (have-as-vis3): Likewise.
56720 (MIG): Likewise.
56721 * configure.in (MIG): Do not AC_SUBST.
56722 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56723 (libc_cv_cc_sse4): Do not AC_SUBST.
56724 (libc_cv_cc_avx): Likewise.
56725 (libc_cv_cc_sse2avx): Likewise.
56726 (libc_cv_cc_novzeroupper): Likewise.
56727 (libc_cv_cc_fma4): Likewise.
56728 (libc_cv_as_i686): Likewise.
56729 (libc_cv_sparc_as_vis3): Likewise.
56730 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56731 LIBC_CONFIG_VAR.
56732 (config-asflags-i686): Likewise.
56733 (config-cflags-avx): Likewise.
56734 (config-cflags-sse2avx): Likewise.
56735 (have-mfma4): Likewise.
56736 (config-cflags-novzeroupper): Likewise.
56737 * sysdeps/mach/configure.in (MIG): Likewise.
56738 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56739 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56740 LIBC_CONFIG_VAR.
56741 (config-cflags-avx): Likewise.
56742 (config-cflags-sse2avx): Likewise.
56743 (have-mfma4): Likewise.
56744 (config-cflags-novzeroupper): Likewise.
56745 * configure: Regenerated.
56746 * sysdeps/i386/configure: Likewise.
56747 * sysdeps/mach/configure: Likewise.
56748 * sysdeps/sparc/configure: Likewise.
56749 * sysdeps/x86_64/configure: Likewise.
56750
56751 2013-03-20 Roland McGrath <roland@hack.frob.com>
56752
56753 [BZ #14812]
56754 * locale/programs/localedef.c (options): Put N_ translation marker
56755 on argument names, not just descriptions.
56756
56757 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56758
56759 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56760
56761 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
56762
56763 [BZ #14176]
56764 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56765
56766 2013-03-19 Roland McGrath <roland@hack.frob.com>
56767
56768 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56769 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56770 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56771 [!BEFORE_ABORT] (before_abort): New function.
56772 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56773 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56774 (writev_for_fatal): New function.
56775 (WRITEV_FOR_FATAL): New macro; call that.
56776 (backtrace_and_maps): New function.
56777 (BEFORE_ABORT): New macro; call that.
56778 (struct str_list): Type removed.
56779 (__libc_message, __libc_fatal): Functions removed.
56780 Include <sysdeps/posix/libc_fatal.c> instead.
56781
56782 2013-03-19 Joseph Myers <joseph@codesourcery.com>
56783
56784 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56785 constants.
56786 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56787 double constants.
56788
56789 2013-03-19 Andreas Schwab <schwab@suse.de>
56790
56791 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56792 * sysdeps/gnu/configure: Regenerate.
56793
56794 * configure.in: Substitute libc_cv_rtlddir.
56795 * configure: Regenerate.
56796 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56797 * Makeconfig (rtlddir, inst_rtlddir): New variables.
56798 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56799 * elf/Makefile (install-others, CFLAGS-interp.c)
56800 (ldso_install, common-ldd-rewrite): Likewise.
56801 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56802 $(inst_slibdir)/$(rtld-installed-name).
56803 * scripts/rellns-sh: Add -p option.
56804 * Makerules (make-shlib-link): Use rellns-sh to get relative name
56805 for source.
56806
56807 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
56808
56809 * manual/nptl.texi: Renamed to ...
56810 * manual/threads.texi: ... this.
56811 * manual/Makefile (chapters): Update.
56812
56813 2013-03-18 Roland McGrath <roland@hack.frob.com>
56814
56815 [BZ #14812]
56816 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56817 on argument names, not just descriptions.
56818 * malloc/memusagestat.c (options): Likewise.
56819 * nss/getent.c (options): Likewise.
56820
56821 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
56822
56823 [BZ #14812]
56824 * iconv/iconv_prog.c (options): Put N_ translation marker
56825 on argument names, not just descriptions.
56826 * iconv/iconvconfig.c (options): Likewise.
56827
56828 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
56829
56830 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56831 implementation which is faster on all x86_64 architectures.
56832 Tested on AMD, Intel Nehalem, SNB, IVB.
56833 * sysdeps/x86_64/strnlen.S: Likewise.
56834
56835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56836 Remove all multiarch strlen and strnlen versions.
56837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56838 Remove strlen and strnlen related parts.
56839
56840 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56841 Inline strlen part.
56842 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56843
56844 * sysdeps/x86_64/multiarch/strlen.S: Remove.
56845 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56846 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56847 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56848 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56849 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56850
56851 2013-03-17 Carlos O'Donell <carlos@redhat.com>
56852
56853 * manual/memory.texi (Malloc Tunable Parameters):
56854 Sort parameters alphabetically. Add comments for missing entries.
56855
56856 2013-03-17 David S. Miller <davem@davemloft.net>
56857
56858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56859
56860 2013-03-16 Joseph Myers <joseph@codesourcery.com>
56861
56862 [BZ #15283]
56863 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56864 for arguments at most half maximum finite value.
56865 * math/libm-test.inc (j0_test): Add more tests.
56866 (j1_test): Likewise.
56867 (y0_test): Likewise.
56868 (y1_test): Likewise.
56869 * sysdeps/i386/fpu/libm-test-ulps: Update.
56870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56871
56872 [BZ #14155]
56873 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56874 1 / x and functions P and Q for arguments above 0x1p256L.
56875 (__ieee754_y0l): Likewise.
56876 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56877 (__ieee754_y1l): Likewise.
56878 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56879 (j1_test): Likewise.
56880 (y0_test): Likewise.
56881 (y1_test): Likewise.
56882
56883 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
56884
56885 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56886 variable.
56887
56888 2013-03-15 Roland McGrath <roland@hack.frob.com>
56889
56890 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56891 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56892 zero since it's initialized to EXEC_PAGESIZE.
56893
56894 * sysdeps/unix/sysv/linux/ldsodefs.h
56895 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56896 * sysdeps/generic/ldsodefs.h: ... here.
56897
56898 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
56899
56900 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56901
56902 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56903 math/test-snan.c.
56904 * math/test-snan.c: Renamed from
56905 sysdeps/powerpc/fpu/test-powerpc-snan.c.
56906 * math/Makefile (tests): Add test-snan.
56907 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56908 test-powerpc-snan.
56909
56910 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56911 SUFFIX. Initialize qNaN_var with __builtin_nan family of
56912 functions.
56913 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
56914 __builtin_nan family of functions.
56915 * math/libm-test.inc (initialize): Initialize qnan_value with
56916 __builtin_nan family of functions.
56917 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56918 Remove variables.
56919 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56920 Remove functions.
56921 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
56922 storage class. Initialize qNaN_var and sNaN_var with
56923 __builtin_nan and __builtin_nans families of functions,
56924 respectively.
56925
56926 * math/libm-test.inc (acosh_test): Also test with qNaN input.
56927 (sqrt_test): Remove duplicate test with qNaN input.
56928 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56929 (round_test, signbit_test, significand_test): Note missing +/-Inf
56930 as well as qNaN tests.
56931
56932 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56933 qNaN_var. Fix a few strings, too.
56934 * math/libm-test.inc (nan_value): Rename to qnan_value.
56935 * math/gen-libm-test.pl (%beautify): Adjust to that.
56936 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56937 * math/test-misc.c (main): Likewise.
56938 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56939 to __qnan_bytes, and __qnan_union, respectively.
56940 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56941 Likewise.
56942 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56943 and lqnanval, respectively.
56944 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56945 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56946 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56947 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56948
56949 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56950 * math/test-misc.c (main) [__x86_64__]: Enable test for long
56951 doubles.
56952
56953 * math/test-misc.c (main): Fix copy'n'pastos.
56954 * misc/tst-efgcvt.c (special): Likewise.
56955
56956 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56957 Remove declarations.
56958
56959 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
56960
56961 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56962 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56963 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56964 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56965
56966 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56967
56968 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56969 macro to return vdso values correctly in IFUNC implementations.
56970 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56971 Optimization by using IFUNC.
56972
56973 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
56974 Richard Henderson <rth@redhat.com>
56975 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56976
56977 * Makefile.in (bench): New target.
56978 * NEWS: Mention the benchmark framework.
56979 * Rules (bench): Likewise.
56980 (binaries-bench): Generate binaries for functions to
56981 benchmark.
56982 * benchtests/Makefile: New makefile for benchmark tests.
56983 * benchtests/bench-skeleton.c: New skeleton file for benchmark
56984 programs.
56985 * benchtests/exp-inputs: New input file for EXP function.
56986 * benchtests/pow-inputs: New input file for POW function.
56987 * scripts/bench.pl: New script to generate source files for
56988 benchmark programs.
56989
56990 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
56991
56992 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56993 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56994 computations on mantissa. Use macros for rounding and
56995 division.
56996 (denorm): Likewise.
56997 (__dbl_mp): Likewise.
56998 (add_magnitudes): Likewise.
56999 (sub_magnitudes): Likewise.
57000 (__mul): Likewise.
57001 (__sqr): Likewise.
57002 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
57003 powers of two in terms of TWOPOW macro.
57004 (mp_no): Make type of mantissa as MANTISSA_T.
57005 [!RADIXI]: Define RADIXI.
57006 [!TWO52]: Define TWO52.
57007 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57008
57009 * manual/nptl.texi (cindex): Modify threads to pthreads.
57010
57011 2013-03-15 Joseph Myers <joseph@codesourcery.com>
57012
57013 * sysdeps/x86_64/preconfigure: Regenerated.
57014
57015 2013-03-14 Joseph Myers <joseph@codesourcery.com>
57016
57017 [BZ #14155]
57018 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
57019 0x1p28 and above.
57020 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
57021 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
57022 0x1p28 and above.
57023 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
57024 * math/libm-test.inc (j0_test): Do not allow one spurious
57025 underflow exception.
57026 (y1_test): Likewise.
57027
57028 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
57029
57030 * manual/Makefile (chapters): Add nptl.
57031 * manual/debug.texi (Debugging Support): Add link to Threads
57032 chapter.
57033 * manual/nptl.texi: New file.
57034
57035 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
57036
57037 2013-03-14 Petr Baudis <pasky@ucw.cz>
57038
57039 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
57040 for non-NULL pointer before the memory validity test. Pointed
57041 out by Holger Brunck <holger.brunck@keymile.com>.
57042
57043 2013-03-13 Andreas Schwab <schwab@suse.de>
57044
57045 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
57046 instead of .os.
57047
57048 2013-03-13 Joseph Myers <joseph@codesourcery.com>
57049
57050 * timezone/zic.c: Update from tzcode 2013b.
57051
57052 2013-03-12 Carlos O'Donell <carlos@redhat.com>
57053
57054 * manual/install.texi (Configuring and compiling):
57055 Mention i686 and i586.
57056 * INSTALL: Regenerate.
57057
57058 2013-03-12 Roland McGrath <roland@hack.frob.com>
57059
57060 * sysdeps/init_array/elf-init.c: New file.
57061 * csu/elf-init.c
57062 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
57063 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
57064
57065 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
57066 __gmon_start__ as global, but as static with a .preinit_array pointer.
57067 * sysdeps/init_array/gmon-start.c: New file. Use that.
57068 * sysdeps/init_array/crti.S: New file, empty except for comments.
57069 * sysdeps/init_array/crtn.S: Likewise.
57070
57071 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
57072
57073 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
57074 definining bcopy.
57075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57076 Remove Prefer_SSE_for_memop.
57077 * sysdeps/x86_64/multiarch/init-arch.h: Remove
57078 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
57079 HAS_PREFER_SSE_FOR_MEMOP.
57080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
57081 memset-x86-64.
57082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57083 Remove bzero, memset ifunc support.
57084 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
57085 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
57086 * sysdeps/x86_64/multiarch/memset.S: Likewise.
57087 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57088
57089 2013-03-11 Andreas Schwab <schwab@suse.de>
57090
57091 [BZ #15234]
57092 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
57093 by SHLIB_COMPAT.
57094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
57095 (GLIBC_2.16): Remove pthread_atfork.
57096
57097 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
57098
57099 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
57100 (ptestcases.h): Likewise.
57101
57102 2013-03-08 Roland McGrath <roland@hack.frob.com>
57103
57104 * Makeconfig ($(common-objpfx)config.status): Depend on
57105 sysdeps/*/preconfigure{,.in} too.
57106
57107 2013-03-08 Joseph Myers <joseph@codesourcery.com>
57108
57109 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
57110 (__free_hook): Use void * instead of __malloc_ptr_t.
57111 (__malloc_hook): Likewise.
57112 (__realloc_hook): Likewise.
57113 (__memalign_hook): Likewise.
57114 (__after_morecore_hook): Likewise.
57115 * malloc/arena.c (save_malloc_hook): Likewise.
57116 (save_free_hook): Likewise.
57117 * malloc/hooks.c (malloc_hook_ini): Likewise.
57118 (realloc_hook_ini): Likewise.
57119 (memalign_hook_ini): Likewise.
57120 * malloc/malloc.c (malloc_hook_ini): Likewise.
57121 (realloc_hook_ini): Likewise.
57122 (memalign_hook_ini): Likewise.
57123 (__free_hook): Likewise.
57124 (__malloc_hook): Likewise.
57125 (__realloc_hook): Likewise.
57126 (__memalign_hook): Likewise.
57127 (__libc_malloc): Likewise.
57128 (__libc_free): Likewise.
57129 (__libc_realloc): Likewise.
57130 (__libc_memalign): Likewise.
57131 (__libc_valloc): Likewise.
57132 (__libc_pvalloc): Likewise.
57133 (__libc_calloc): Likewise.
57134 (__posix_memalign): Likewise.
57135 * malloc/morecore.c (__sbrk): Likewise.
57136 (__default_morecore): Likewise.
57137
57138 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
57139
57140 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
57141 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
57142 __malloc_ptrdiff_t.
57143
57144 * malloc/malloc.h (__malloc_size_t): Remove macro.
57145 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
57146 __malloc_size_t.
57147 (old_memalign_hook): Likewise.
57148 (old_realloc_hook): Likewise.
57149 (struct hdr): Likewise.
57150 (flood): Likewise.
57151 (mallochook): Likewise.
57152 (memalignhook): Likewise.
57153 (reallochook): Likewise.
57154 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
57155 (tr_old_realloc_hook): Likewise.
57156 (tr_old_memalign_hook): Likewise.
57157 (tr_mallochook): Likewise.
57158 (tr_reallochook): Likewise.
57159 (tr_memalignhook): Likewise.
57160
57161 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57162
57163 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
57164 default_ldbl_pack and using as default implementation.
57165 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
57166 implementation.
57167 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
57168 redundant definition.
57169 (ldbl_insert_mantissa): Likewise.
57170 (ldbl_canonicalize): Likewise.
57171 (ldbl_nearbyint): Likewise.
57172 (ldbl_pack): Rename to ldbl_pack_ppc.
57173 (ldbl_unpack): Rename to ldbl_unpack_ppc.
57174 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
57175 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
57176
57177 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
57178
57179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
57180 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
57181 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
57182 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
57183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
57184 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
57185 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
57186 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
57187
57188 2013-03-07 Andreas Jaeger <aj@suse.de>
57189
57190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57191 bits/mman-linux.h.
57192
57193 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
57194
57195 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
57196 Include mpa.h and declare __MPEXP.
57197 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
57198 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
57199 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
57200 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
57201 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
57202 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
57203 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
57204
57205 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
57206 (__slowpow): Use long double EXPL and LOGL functions to
57207 compute POW.
57208 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
57209 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
57210 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
57211 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
57212 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
57213 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
57214
57215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
57216 intermediate variable to calculate exponent.
57217 (__sqr): Likewise.
57218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57219 Likewise.
57220 (__sqr): Likewise.
57221
57222 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
57223 [!NO__SQR]: Define __sqr.
57224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
57225 and NO__SQR. Remove all code except __mul and __sqr. Include
57226 sysdeps/ieee754/dbl-64/mpa.c.
57227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57228
57229 [BZ #12723]
57230 * posix/Makefile (tests): Add tst-pathconf.
57231 * posix/tst-pathconf.c: New test case.
57232 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
57233 _PC_PIPE_BUF.
57234 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
57235
57236 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
57237
57238 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
57239
57240 2013-03-06 Andreas Jaeger <aj@suse.de>
57241
57242 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
57243 definition via __MAP_ANONYMOUS.
57244
57245 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
57246 it's not part of Linux headers.
57247
57248 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
57249 (MAP_HUGE_MASK): Define.
57250
57251 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57252 Define.
57253 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57255 Define.
57256 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57257 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57258 Define.
57259 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57260 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
57261 Define.
57262 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57263
57264 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
57265 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
57266 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
57267 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
57268 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
57269 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
57270
57271 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57272 Handle f2fs.
57273
57274 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57275 Handle f2fs and efivarfs.
57276
57277 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
57278 f2fs.
57279
57280 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
57281 (EFIVARFS_MAGIC): Add.
57282 (F2FS_LINK_MAX): Add.
57283
57284 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
57285
57286 * stdio-common/vfprintf.c: Replace __builtin_expect with
57287 __glibc_unlikely.
57288
57289 2013-03-06 Joseph Myers <joseph@codesourcery.com>
57290
57291 [BZ #13550]
57292 * sysdeps/generic/bp-sym.h: Remove file.
57293 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
57294 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
57295 <bp-sym.h> and <bp-asm.h>.
57296 (__longjmp): Don't use BP_SYM.
57297 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
57298 and <bp-asm.h>.
57299 (memcpy): Don't use BP_SYM.
57300 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
57301 <bp-sym.h> and <bp-asm.h>.
57302 (memcpy): Don't use BP_SYM.
57303 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
57304 <bp-asm.h>.
57305 (memcpy): Don't use BP_SYM.
57306 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
57307 <bp-asm.h>.
57308 (memset): Don't use BP_SYM.
57309 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57310 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57311 (__bzero): Don't use BP_SYM.
57312 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57313 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57314 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
57315 <bp-sym.h> and <bp-asm.h>.
57316 (memcmp): Don't use BP_SYM. Remove comment about bounded
57317 pointers.
57318 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
57319 <bp-sym.h> and <bp-asm.h>.
57320 (memcpy): Don't use BP_SYM.
57321 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
57322 <bp-sym.h> and <bp-asm.h>.
57323 (memset): Don't use BP_SYM.
57324 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57325 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57326 (__bzero): Don't use BP_SYM.
57327 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57328 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57329 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
57330 <bp-sym.h> and <bp-asm.h>.
57331 (strncmp): Don't use BP_SYM. Remove comment about bounded
57332 pointers.
57333 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
57334 <bp-sym.h> and <bp-asm.h>.
57335 (memcpy): Don't use BP_SYM.
57336 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
57337 <bp-sym.h> and <bp-asm.h>.
57338 (memset): Don't use BP_SYM.
57339 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57340 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57341 (__bzero): Don't use BP_SYM.
57342 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57343 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57344 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
57345 <bp-sym.h> and <bp-asm.h>.
57346 (__memchr): Don't use BP_SYM.
57347 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
57348 <bp-sym.h> and <bp-asm.h>.
57349 (memcmp): Don't use BP_SYM. Remove comment about bounded
57350 pointers.
57351 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
57352 <bp-sym.h> and <bp-asm.h>.
57353 (memcpy): Don't use BP_SYM.
57354 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
57355 <bp-sym.h> and <bp-asm.h>.
57356 (__mempcpy): Don't use BP_SYM.
57357 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
57358 <bp-sym.h> and <bp-asm.h>.
57359 (__memrchr): Don't use BP_SYM.
57360 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
57361 <bp-sym.h> and <bp-asm.h>.
57362 (memset): Don't use BP_SYM.
57363 (__bzero): Likewise.
57364 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
57365 <bp-sym.h> and <bp-asm.h>.
57366 (__rawmemchr): Don't use BP_SYM.
57367 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
57368 <bp-sym.h> and <bp-asm.h>.
57369 (__STRCMP): Don't use BP_SYM.
57370 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
57371 <bp-sym.h> and <bp-asm.h>.
57372 (strchr): Don't use BP_SYM.
57373 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
57374 <bp-sym.h> and <bp-asm.h>.
57375 (__strchrnul): Don't use BP_SYM.
57376 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
57377 <bp-sym.h> and <bp-asm.h>.
57378 (strlen): Don't use BP_SYM.
57379 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
57380 <bp-sym.h> and <bp-asm.h>.
57381 (strncmp): Don't use BP_SYM. Remove comment about bounded
57382 pointers.
57383 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
57384 <bp-sym.h> and <bp-asm.h>.
57385 (__strnlen): Don't use BP_SYM.
57386 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
57387 <bp-sym.h> and <bp-asm.h>.
57388 (__GI__setjmp): Don't use BP_SYM.
57389 (_setjmp): Likewise.
57390 (__sigsetjmp): Likewise.
57391 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
57392 (L(start_addresses)): Don't use BP_SYM.
57393 (_start): Likewise.
57394 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
57395 <bp-asm.h>.
57396 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
57397 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
57398 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57399 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57400 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
57401 <bp-asm.h>.
57402 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
57403 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
57404 about bounded pointers.
57405 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57406 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57407 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
57408 <bp-asm.h>.
57409 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
57410 about bounded pointers. Remove GKM FIXME comments.
57411 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57412 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
57413 <bp-asm.h>.
57414 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
57415 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
57416 Remove GKM FIXME comments.
57417 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57418 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57419 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
57420 <bp-asm.h>.
57421 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
57422 about bounded pointers. Remove GKM FIXME comment.
57423 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
57424 and <bp-asm.h>.
57425 (strncmp): Don't use BP_SYM. Remove comment about bounded
57426 pointers.
57427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
57428 <bp-sym.h> and <bp-asm.h>.
57429 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
57431 <bp-sym.h> and <bp-asm.h>.
57432 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
57433 comment.
57434
57435 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57436
57437 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
57438 call free(NULL).
57439
57440 2013-03-05 David S. Miller <davem@davemloft.net>
57441
57442 * po/es.po: Update from translation team.
57443
57444 2013-03-05 Andreas Jaeger <aj@suse.de>
57445
57446 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
57447 <bits/mman-linux.h>.
57448 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57449 is fine.
57450 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
57451 <bits/mman-linux.h> to end of file.
57452 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57453 is fine.
57454 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
57455 <bits/mman-linux.h> to end of file.
57456 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57457 is fine.
57458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
57459 <bits/mman-linux.h> to end of file.
57460
57461 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
57462 (MCL_CURRENT, MCL_FUTURE): Define here.
57463
57464 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57465
57466 [BZ #15232]
57467 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
57468 attribute_hidden.
57469 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57470
57471 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57472
57473 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
57474 fourth parameter needed for rt_sigprocmask syscall.
57475 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
57476 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57477 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
57478 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57479 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57480 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
57481
57482 2013-03-04 Joseph Myers <joseph@codesourcery.com>
57483
57484 [BZ #13550]
57485 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
57486 comment about bounded pointers.
57487 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
57488 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
57489
57490 2013-03-04 Andreas Jaeger <aj@suse.de>
57491
57492 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
57493 common definitions.
57494
57495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
57496 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57497 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
57498 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57499 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57500 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57501
57502 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57503
57504 [BZ #15055]
57505 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
57506 __ieee754_sqrl instead of __sqrl.
57507
57508 2013-03-01 Joseph Myers <joseph@codesourcery.com>
57509
57510 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
57511 * sysdeps/powerpc/fpu_control.h: ... here.
57512 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
57513 * sysdeps/powerpc/bits/fenvinline.h: ... here.
57514 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
57515 * sysdeps/powerpc/bits/mathinline.h: ... here.
57516
57517 2013-03-01 Roland McGrath <roland@hack.frob.com>
57518
57519 * elf/dl-hwcaps.c (_dl_important_hwcaps):
57520 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
57521 to just [NEED_DL_SYSINFO_DSO].
57522 * elf/dl-support.c: Likewise.
57523 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
57524 * elf/rtld.c (dl_main): Likewise.
57525 * elf/setup-vdso.h (setup_vdso): Likewise.
57526 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
57527 * sysdeps/unix/sysv/linux/dl-sysdep.c
57528 (_dl_discover_osversion): Likewise.
57529
57530 2013-03-01 Carlos O'Donell <carlos@redhat.com>
57531
57532 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
57533 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57534
57535 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
57536
57537 * NEWS: Mention libm performance improvements and non-x86 PI
57538 futex support.
57539
57540 * csu/libc-start.c (__pthread_initialize_minimal): Change
57541 function arguments.
57542 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57543
57544 2013-02-28 Joseph Myers <joseph@codesourcery.com>
57545
57546 [BZ #13550]
57547 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
57548 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
57549 <bp-sym.h> and <bp-asm.h>.
57550 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57551 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
57552 and <bp-asm.h>.
57553 (memcpy): Don't use BP_SYM.
57554 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
57555 <bp-asm.h>.
57556 (__mpn_add_n): Don't use BP_SYM.
57557 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
57558 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
57559 and <bp-asm.h>.
57560 (__mpn_addmul_1): Don't use BP_SYM.
57561 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57562 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57563 <bp-sym.h>.
57564 (_setjmp): Don't use BP_SYM.
57565 (__novmx_setjmp): Likewise.
57566 (__GI__setjmp): Likewise.
57567 (__vmx_setjmp): Likewise.
57568 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
57569 <bp-sym.h>.
57570 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
57571 (__bzero): Don't use BP_SYM.
57572 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57573 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57574 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
57575 <bp-sym.h> and <bp-asm.h>.
57576 (memcpy): Don't use BP_SYM.
57577 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57578 <bp-sym.h> and <bp-asm.h>.
57579 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57581 <bp-sym.h> and <bp-asm.h>.
57582 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57583 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57584 <bp-asm.h>.
57585 (__mpn_lshift): Don't use BP_SYM.
57586 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57587 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57588 <bp-asm.h>.
57589 (memset): Don't use BP_SYM.
57590 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57591 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57592 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57593 <bp-asm.h>.
57594 (__mpn_mul_1): Don't use BP_SYM.
57595 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57596 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57597 <bp-sym.h> and <bp-asm.h>.
57598 (memcmp): Don't use BP_SYM.
57599 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57600 <bp-sym.h> and <bp-asm.h>.
57601 (memcpy): Don't use BP_SYM.
57602 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57603 <bp-sym.h> and <bp-asm.h>.
57604 (memset): Don't use BP_SYM.
57605 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57606 <bp-sym.h> and <bp-asm.h>.
57607 (strncmp): Don't use BP_SYM.
57608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57609 <bp-sym.h> and <bp-asm.h>.
57610 (memcpy): Don't use BP_SYM.
57611 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57612 <bp-sym.h> and <bp-asm.h>.
57613 (memset): Don't use BP_SYM.
57614 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57615 <bp-sym.h> and <bp-asm.h>.
57616 (__memchr): Don't use BP_SYM.
57617 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57618 <bp-sym.h> and <bp-asm.h>.
57619 (memcmp): Don't use BP_SYM.
57620 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57621 <bp-sym.h> and <bp-asm.h>.
57622 (memcpy): Don't use BP_SYM.
57623 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57624 <bp-sym.h> and <bp-asm.h>.
57625 (__mempcpy): Don't use BP_SYM.
57626 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57627 <bp-sym.h> and <bp-asm.h>.
57628 (__memrchr): Don't use BP_SYM.
57629 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57630 <bp-sym.h> and <bp-asm.h>.
57631 (memset): Don't use BP_SYM.
57632 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57633 <bp-sym.h> and <bp-asm.h>.
57634 (__rawmemchr): Don't use BP_SYM.
57635 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57636 <bp-sym.h> and <bp-asm.h>.
57637 (__STRCMP): Don't use BP_SYM.
57638 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57639 <bp-sym.h> and <bp-asm.h>.
57640 (strchr): Don't use BP_SYM.
57641 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57642 <bp-sym.h> and <bp-asm.h>.
57643 (__strchrnul): Don't use BP_SYM.
57644 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57645 <bp-sym.h> and <bp-asm.h>.
57646 (strlen): Don't use BP_SYM.
57647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57648 <bp-sym.h> and <bp-asm.h>.
57649 (strncmp): Don't use BP_SYM.
57650 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57651 <bp-sym.h> and <bp-asm.h>.
57652 (__strnlen): Don't use BP_SYM.
57653 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57654 <bp-asm.h>.
57655 (__mpn_rshift): Don't use BP_SYM.
57656 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57657 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57658 <bp-sym.h> and <bp-asm.h>.
57659 (__sigsetjmp): Don't use BP_SYM.
57660 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57661 (L(start_addresses)): Don't use BP_SYM.
57662 (_start): Likewise.
57663 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57664 <bp-asm.h>.
57665 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57666 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57667 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57668 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57669 <bp-asm.h>.
57670 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57671 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57672 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57673 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57674 <bp-asm.h>.
57675 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
57676 comments.
57677 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57678 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57679 <bp-asm.h>.
57680 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
57681 FIXME comments.
57682 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57683 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57684 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57685 <bp-asm.h>.
57686 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
57687 comment.
57688 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57689 and <bp-asm.h>.
57690 (strncmp): Don't use BP_SYM,
57691 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57692 <bp-asm.h>.
57693 (__mpn_sub_n): Don't use BP_SYM.
57694 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57695 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57696 and <bp-asm.h>.
57697 (__mpn_submul_1): Don't use BP_SYM.
57698 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57700 <bp-sym.h> and <bp-asm.h>.
57701 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57703 <bp-sym.h> and <bp-asm.h>.
57704 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
57705 comment.
57706
57707 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57708
57709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57710 Use ZK to minimize writes to Z.
57711 (sub_magnitudes): Simplify code a bit.
57712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57713 Use ZK to minimize writes to Z.
57714 (sub_magnitudes): Simplify code a bit.
57715
57716 2013-02-27 Roland McGrath <roland@hack.frob.com>
57717
57718 * csu/gmon-start.c: Add special exception to license text.
57719
57720 2013-02-27 Richard Henderson <rth@redhat.com>
57721
57722 * scripts/config.guess: Update from config.git.
57723 * scripts/config.sub: Likewise.
57724
57725 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57726
57727 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57728
57729 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57730
57731 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57732
57733 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57734
57735 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57736
57737 2013-02-26 Roland McGrath <roland@hack.frob.com>
57738
57739 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57740 [$(build-shared = yes].
57741
57742 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57743
57744 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57745 (__mul): Reduce iterations for calculating mantissa.
57746
57747 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57748 MPTWO.
57749 (__mpranred): Likewise.
57750
57751 [BZ #15160]
57752 * malloc/memusagestat.c (main): Draw graphs for heap and stack
57753 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57754
57755 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
57756
57757 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57758 Define __attribute__.
57759
57760 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57761
57762 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57763 unused.
57764 * posix/regex_internal.h (__attribute): Remove.
57765 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57766 (re_string_context_at): Likewise.
57767 (bitset_not): Use __attribute__ and mark function as possibly
57768 unused.
57769 (bitset_merge): Likewise.
57770 (bitset_mask): Likewise.
57771 (re_string_char_size_at): Likewise.
57772 (re_string_wchar_at): Likewise.
57773 (re_string_elem_size_at): Likewise.
57774
57775 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
57776
57777 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57778 code.
57779 (cc32): Likewise.
57780
57781 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57782 (__acr): Likewise.
57783 (__cpy): Likewise.
57784 (norm): Likewise.
57785 (denorm): Likewise.
57786 (__dbl_mp): Likewise.
57787 (add_magnitudes): Likewise.
57788 (sub_magnitudes): Likewise.
57789 (__mul): Likewise.
57790 (__inv): Likewise.
57791
57792 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57793 style.
57794
57795 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57796 style.
57797
57798 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57799 code.
57800
57801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57802 up changes with default code.
57803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57804 Likewise.
57805
57806 2013-02-24 Allan McRae <allan@archlinux.org>
57807
57808 * manual/socket.texi (The Internet Namespace): Order menu items
57809 to match that in the file.
57810
57811 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57812 node listing of the info page menu.
57813
57814 2013-02-21 Joseph Myers <joseph@codesourcery.com>
57815
57816 [BZ #13550]
57817 * sysdeps/i386/bp-asm.h: Remove file.
57818 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57819 (PARMS): Do not use macros from bp-asm.h.
57820 (S1): Likewise.
57821 (S2): Likewise.
57822 (SIZE): Likewise.
57823 (__mpn_add_n): Do not use BP_SYM
57824 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57825 "bp-asm.h".
57826 (PARMS): Do not use macros from bp-asm.h.
57827 (S1): Likewise.
57828 (SIZE): Likewise.
57829 (__mpn_addmul_1): Do not use BP_SYM
57830 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57831 "bp-asm.h".
57832 (PARMS): Do not use macros from bp-asm.h.
57833 (SIGMSK): Likewise.
57834 (_setjmp): Likewise. Do not use BP_SYM.
57835 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57836 "bp-asm.h".
57837 (PARMS): Do not use macros from bp-asm.h.
57838 (SIGMSK): Likewise.
57839 (setjmp): Likewise. Do not use BP_SYM.
57840 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57841 "bp-asm.h".
57842 (PARMS): Do not use macros from bp-asm.h.
57843 (__frexp): Do not use BP_SYM.
57844 (frexp): Likewise.
57845 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57846 "bp-asm.h".
57847 (PARMS): Do not use macros from bp-asm.h.
57848 (__frexpf): Do not use BP_SYM.
57849 (frexpf): Likewise.
57850 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57851 "bp-asm.h".
57852 (PARMS): Do not use macros from bp-asm.h.
57853 (__frexpl): Do not use BP_SYM.
57854 (frexpl): Likewise.
57855 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57856 "bp-asm.h".
57857 (PARMS): Do not use macros from bp-asm.h.
57858 (__remquo): Do not use BP_SYM.
57859 (remquo): Likewise.
57860 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57861 "bp-asm.h".
57862 (PARMS): Do not use macros from bp-asm.h.
57863 (__remquof): Do not use BP_SYM.
57864 (remquof): Likewise.
57865 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57866 "bp-asm.h".
57867 (PARMS): Do not use macros from bp-asm.h.
57868 (__remquol): Do not use BP_SYM.
57869 (remquol): Likewise.
57870 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57871 "bp-asm.h".
57872 (PARMS): Do not use macros from bp-asm.h.
57873 (DEST): Likewise.
57874 (SRC): Likewise.
57875 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
57876 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57877 "bp-asm.h".
57878 (PARMS): Do not use macros from bp-asm.h.
57879 (strlen): Do not use BP_SYM.
57880 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57881 "bp-asm.h".
57882 (PARMS): Do not use macros from bp-asm.h.
57883 (S1): Likewise.
57884 (S2): Likewise.
57885 (SIZE): Likewise.
57886 (__mpn_add_n): Do not use BP_SYM.
57887 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57888 "bp-asm.h".
57889 (PARMS): Do not use macros from bp-asm.h.
57890 (S1): Likewise.
57891 (SIZE): Likewise.
57892 (__mpn_addmul_1): Do not use BP_SYM.
57893 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57894 weak_alias.
57895 (bzero): Likewise.
57896 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57897 "bp-asm.h".
57898 (PARMS): Do not use macros from bp-asm.h.
57899 (S): Likewise.
57900 (SIZE): Likewise.
57901 (__mpn_lshift): Do not use BP_SYM.
57902 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57903 "bp-asm.h".
57904 (PARMS): Do not use macros from bp-asm.h.
57905 (DEST): Likewise.
57906 (SRC): Likewise.
57907 (LEN): Likewise.
57908 (memcpy): Likewise. Do not use BP_SYM.
57909 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57910 libc_hidden_def and weak_alias.
57911 (mempcpy): Do not use BP_SYM in weak_alias.
57912 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57913 "bp-asm.h".
57914 (PARMS): Do not use macros from bp-asm.h.
57915 (DEST): Likewise.
57916 (LEN): Likewise.
57917 [!BZERO_P] (CHR): Likewise.
57918 (memset): Likewise. Do not use BP_SYM.
57919 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57920 "bp-asm.h".
57921 (PARMS): Do not use macros from bp-asm.h.
57922 (S1): Likewise.
57923 (SIZE): Likewise.
57924 (__mpn_mul_1): Do not use BP_SYM.
57925 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57926 "bp-asm.h".
57927 (PARMS): Do not use macros from bp-asm.h.
57928 (S): Likewise.
57929 (SIZE): Likewise.
57930 (__mpn_rshift): Do not use BP_SYM.
57931 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57932 "bp-asm.h".
57933 (PARMS): Do not use macros from bp-asm.h.
57934 (STR): Likewise.
57935 (CHR): Likewise.
57936 (strchr): Likewise. Do not use BP_SYM.
57937 (index): Do not use BP_SYM in weak_alias.
57938 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57939 "bp-asm.h".
57940 (PARMS): Do not use macros from bp-asm.h.
57941 (DEST): Likewise.
57942 (SRC): Likewise.
57943 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
57944 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57945 "bp-asm.h".
57946 (PARMS): Do not use macros from bp-asm.h.
57947 (strlen): Do not use BP_SYM.
57948 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57949 "bp-asm.h".
57950 (PARMS): Do not use macros from bp-asm.h.
57951 (S1): Likewise.
57952 (S2): Likewise.
57953 (SIZE): Likewise.
57954 (__mpn_sub_n): Do not use BP_SYM.
57955 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57956 "bp-asm.h".
57957 (PARMS): Do not use macros from bp-asm.h.
57958 (S1): Likewise.
57959 (SIZE): Likewise.
57960 (__mpn_submul_1): Do not use BP_SYM.
57961 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57962 "bp-asm.h".
57963 (PARMS): Do not use macros from bp-asm.h.
57964 (S1): Likewise.
57965 (S2): Likewise.
57966 (SIZE): Likewise.
57967 (__mpn_add_n): Do not use BP_SYM.
57968 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57969 weak_alias.
57970 (bzero): Likewise.
57971 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57972 "bp-asm.h".
57973 (PARMS): Do not use macros from bp-asm.h.
57974 (BLK2): Likewise.
57975 (LEN): Likewise.
57976 (memcmp): Do not use BP_SYM.
57977 (bcmp): Do not use BP_SYM in weak_alias.
57978 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57979 "bp-asm.h".
57980 (PARMS): Do not use macros from bp-asm.h.
57981 (DEST): Likewise.
57982 (SRC): Likewise.
57983 (LEN): Likewise.
57984 (memcpy): Likewise. Do not use BP_SYM.
57985 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57986 "bp-asm.h".
57987 (PARMS): Do not use macros from bp-asm.h.
57988 (DEST): Likewise.
57989 (SRC): Likewise.
57990 (LEN): Likewise.
57991 (memmove): Likewise. Do not use BP_SYM.
57992 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57993 "bp-asm.h".
57994 (PARMS): Do not use macros from bp-asm.h.
57995 (DEST): Likewise.
57996 (SRC): Likewise.
57997 (LEN): Likewise.
57998 (__mempcpy): Likewise. Do not use BP_SYM.
57999 (mempcpy): Do not use BP_SYM in weak_alias.
58000 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
58001 "bp-asm.h".
58002 (PARMS): Do not use macros from bp-asm.h.
58003 (DEST): Likewise.
58004 (LEN): Likewise.
58005 [!BZERO_P] (CHR): Likewise.
58006 (memset): Likewise. Do not use BP_SYM.
58007 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
58008 "bp-asm.h".
58009 (PARMS): Do not use macros from bp-asm.h.
58010 (STR2): Likewise.
58011 (strcmp): Do not use BP_SYM.
58012 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
58013 "bp-asm.h".
58014 (PARMS): Do not use macros from bp-asm.h.
58015 (STR): Likewise.
58016 (DELIM): Likewise.
58017 [USE_AS_STRTOK_R] (SAVE): Likewise.
58018 (FUNCTION): Likewise. Do not use BP_SYM.
58019 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
58020 aliases.
58021 (strtok_r): Likewise.
58022 (__GI___strtok_r): Likewise.
58023 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
58024 (PARMS): Do not use macros from bp-asm.h.
58025 (S): Likewise.
58026 (SIZE): Likewise.
58027 (__mpn_lshift): Do not use BP_SYM.
58028 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
58029 (PARMS): Do not use macros from bp-asm.h.
58030 (STR): Likewise.
58031 (CHR): Likewise.
58032 (__memchr): Do not use BP_SYM.
58033 (memchr): Do not use BP_SYM in weak_alias.
58034 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
58035 (PARMS): Do not use macros from bp-asm.h.
58036 (BLK2): Likewise.
58037 (LEN): Likewise.
58038 (memcmp): Do not use BP_SYM.
58039 (bcmp): Do not use BP_SYM in weak_alias.
58040 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
58041 (PARMS): Do not use macros from bp-asm.h.
58042 (S1): Likewise.
58043 (SIZE): Likewise.
58044 (__mpn_mul_1): Do not use BP_SYM.
58045 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
58046 "bp-asm.h".
58047 (PARMS): Do not use macros from bp-asm.h.
58048 (STR): Likewise.
58049 (CHR): Likewise.
58050 (__rawmemchr): Do not use BP_SYM.
58051 (rawmemchr): Do not use BP_SYM in weak_alias.
58052 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
58053 (PARMS): Do not use macros from bp-asm.h.
58054 (S): Likewise.
58055 (SIZE): Likewise.
58056 (__mpn_rshift): Do not use BP_SYM.
58057 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
58058 (PARMS): Do not use macros from bp-asm.h.
58059 (SIGMSK): Likewise.
58060 (__sigsetjmp): Likewise. Do not use BP_SYM.
58061 * sysdeps/i386/start.S: Do not include "bp-sym.h".
58062 (_start): Do not use BP_SYM.
58063 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
58064 (PARMS): Do not use macros from bp-asm.h.
58065 (DEST): Likewise.
58066 (SRC): Likewise.
58067 (__stpcpy): Likewise. Do not use BP_SYM.
58068 (stpcpy): Do not use BP_SYM in weak_alias.
58069 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
58070 "bp-asm.h".
58071 (PARMS): Do not use macros from bp-asm.h.
58072 (DEST): Likewise.
58073 (SRC): Likewise.
58074 (LEN): Likewise.
58075 (__stpncpy): Likewise. Do not use BP_SYM.
58076 (stpncpy): Do not use BP_SYM in weak_alias.
58077 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
58078 (PARMS): Do not use macros from bp-asm.h.
58079 (STR): Likewise.
58080 (CHR): Likewise.
58081 (strchr): Likewise. Do not use BP_SYM.
58082 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
58083 "bp-asm.h".
58084 (PARMS): Do not use macros from bp-asm.h.
58085 (STR): Likewise.
58086 (CHR): Likewise.
58087 (__strchrnul): Likewise. Do not use BP_SYM.
58088 (strchrnul): Do not use BP_SYM in weak_alias.
58089 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
58090 "bp-asm.h".
58091 (PARMS): Do not use macros from bp-asm.h.
58092 (STOP): Likewise.
58093 (strcspn): Do not use BP_SYM.
58094 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
58095 "bp-asm.h".
58096 (PARMS): Do not use macros from bp-asm.h.
58097 (STR): Likewise.
58098 (STOP): Likewise.
58099 (strpbrk): Likewise. Do not use BP_SYM.
58100 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
58101 "bp-asm.h".
58102 (PARMS): Do not use macros from bp-asm.h.
58103 (STR): Likewise.
58104 (CHR): Likewise.
58105 (strrchr): Likewise. Do not use BP_SYM.
58106 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
58107 (PARMS): Do not use macros from bp-asm.h.
58108 (SKIP): Likewise.
58109 (strspn): Do not use BP_SYM.
58110 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
58111 (PARMS): Do not use macros from bp-asm.h.
58112 (STR): Likewise.
58113 (DELIM): Likewise.
58114 (SAVE): Likewise.
58115 (FUNCTION): Likewise. Do not use BP_SYM.
58116 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
58117 aliases.
58118 (strtok_r): Likewise.
58119 (__GI___strtok_r): Likewise.
58120 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
58121 (PARMS): Do not use macros from bp-asm.h.
58122 (S1): Likewise.
58123 (S2): Likewise.
58124 (SIZE): Likewise.
58125 (__mpn_sub_n): Do not use BP_SYM.
58126 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
58127 "bp-asm.h".
58128 (PARMS): Do not use macros from bp-asm.h.
58129 (S1): Likewise.
58130 (SIZE): Likewise.
58131 (__mpn_submul_1): Do not use BP_SYM.
58132 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
58133 <bp-sym.h>.
58134 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
58135 and <bp-asm.h>.
58136 (PARMS): Do not use macros from bp-asm.h.
58137 (FLAGS): Likewise.
58138 (PTID): Likewise.
58139 (TLS): Likewise.
58140 (CTID): Likewise.
58141 (__clone): Do not use BP_SYM.
58142 (clone): Do not use BP_SYM in weak_alias.
58143 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
58144 and <bp-asm.h>.
58145 (PARMS): Do not use macros from bp-asm.h.
58146 (LEN): Likewise.
58147 (__mmap64): Do not use BP_SYM.
58148 (mmap64): Do not use BP_SYM in weak_alias.
58149 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58150 <bp-sym.h> and <bp-asm.h>.
58151 (PARMS): Do not use macros from bp-asm.h.
58152 (__posix_fadvise64_l64): Do not use BP_SYM.
58153 * sysdeps/unix/sysv/linux/i386/semtimedop.S
58154 (PARMS): Do not use macros from bp-asm.h.
58155 (NSOPS): Likewise.
58156 (semtimedop): Do not use BP_SYM.
58157 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
58158 and <bp-asm.h>.
58159
58160 2013-02-21 Allan McRae <allan@archlinux.org>
58161
58162 * manual/message.texi (Charset conversion in gettext):
58163 Move @end statement to beginning of line.
58164
58165 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58166
58167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
58168 static.
58169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58170 Likewise.
58171
58172 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
58173 (denorm): Likewise.
58174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
58175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
58176
58177 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58178
58179 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
58180 tail-call to the resolved function if pltexit isn't needed.
58181
58182 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58183
58184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
58185 or Y being zero as being unlikely.
58186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58187 Likewise.
58188
58189 2013-02-20 Carlos O'Donell <carlos@redhat.com>
58190
58191 * manual/nss.texi (System Databases and Name Service Switch):
58192 Remove frobnicate @pxref.
58193
58194 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
58195
58196 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
58197 __attribute__ ((unused)) to __attribute__ ((__unused__)).
58198
58199 2013-02-20 Petr Machata <pmachata@redhat.com>
58200
58201 * elf/elf.h (R_ARM_TARGET1): New macro.
58202 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
58203 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
58204 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
58205 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
58206 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
58207 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
58208 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
58209 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
58210 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
58211 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
58212 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
58213 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
58214 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
58215 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
58216 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
58217 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
58218 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
58219 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
58220 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
58221 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
58222 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
58223 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
58224 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
58225 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
58226 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
58227 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
58228 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
58229 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
58230 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
58231 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
58232 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
58233 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
58234 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
58235 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
58236 (R_ARM_THM_GOT_BREL12): Likewise.
58237 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
58238 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
58239 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
58240 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
58241 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
58242 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
58243 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
58244 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
58245 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
58246
58247 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
58248
58249 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
58250 __attribute_used__ to __attribute__ ((unused)).
58251
58252 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58253
58254 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
58255 powerpc mpa.c.
58256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
58257 comment formatting.
58258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
58259
58260 2013-02-19 Joseph Myers <joseph@codesourcery.com>
58261
58262 [BZ #13550]
58263 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
58264 Remove macro.
58265 (ENTER): Remove both macro definitions.
58266 (LEAVE): Likewise.
58267 (CHECK_BOUNDS_LOW): Likewise.
58268 (CHECK_BOUNDS_HIGH): Likewise.
58269 (CHECK_BOUNDS_BOTH): Likewise.
58270 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
58271 (RETURN_BOUNDED_POINTER): Likewise.
58272 (RETURN_NULL_BOUNDED_POINTER): Likewise.
58273 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
58274 (POP_ERRNO_LOCATION_RETURN): Likewise.
58275 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
58276 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58277 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
58278 macros.
58279 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58280 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
58281 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
58282 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
58283 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
58284 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
58285 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
58286 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
58287 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
58288 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
58289 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
58290 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
58291 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58292 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
58293 removed macros.
58294 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58295 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
58296 macros.
58297 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58298 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
58299 * sysdeps/i386/i586/memset.S (memset): Likewise.
58300 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
58301 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58302 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
58303 macros.
58304 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58305 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
58306 Change uses of L(2) to L(out).
58307 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
58308 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
58309 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
58310 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58311 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
58312 removed macros.
58313 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58314 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
58315 macros.
58316 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58317 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
58318 (RETURN): Do not use macro LEAVE.
58319 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
58320 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
58321 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
58322 * sysdeps/i386/i686/memset.S (memset): Likewise.
58323 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
58324 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
58325 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58326 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
58327 Likewise.
58328 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58329 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
58330 L(1_2) and L(1_3) into L(1).
58331 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
58332 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
58333 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58334 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
58335 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58336 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
58337 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
58338 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58339 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
58340 macros.
58341 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
58342 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58343 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
58344 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
58345 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
58346 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58347 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
58348 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
58349 * sysdeps/i386/strcspn.S (strcspn): Likewise.
58350 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
58351 * sysdeps/i386/strrchr.S (strrchr): Likewise.
58352 * sysdeps/i386/strspn.S (strspn): Likewise.
58353 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
58354 conditional code.
58355 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58356 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
58357 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
58358 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
58359 L(1_3) into L(1_1).
58360 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
58361 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58362 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
58363 macros.
58364 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58365
58366 2013-02-19 Jakub Jelinek <jakub@redhat.com>
58367
58368 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
58369 macro.
58370
58371 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58372
58373 * math/atest-exp.c (exp_mpn): Remove ROUND.
58374 * math/atest-exp2.c (exp_mpn): Likewise.
58375 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
58376
58377 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
58378 * stdlib/tst-tls-atexit-lib.c: Likewise.
58379 * stdlib/tst-tls-atexit.c: Likewise.
58380
58381 2013-02-18 Mike Frysinger <vapier@gentoo.org>
58382
58383 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
58384 and __attribute_alloc_size__.
58385
58386 2013-02-18 Mike Frysinger <vapier@gentoo.org>
58387
58388 * include/programs/xmalloc.h: Change __attribute_alloc_size to
58389 __attribute_alloc_size__.
58390 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
58391 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
58392
58393 2013-02-18 Mike Frysinger <vapier@gentoo.org>
58394
58395 * include/programs/xmalloc.h: New file.
58396 * catgets/gencat.c: Include it.
58397 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
58398 * elf/pldd.c: Likewise.
58399 * iconv/iconv_charmap.c: Likewise.
58400 * iconv/iconvconfig.c: Likewise.
58401 * iconv/strtab.c: Likewise.
58402 * locale/programs/locale.c: Likewise.
58403 * locale/programs/localedef.h: Likewise.
58404 * locale/programs/simple-hash.c: Likewise.
58405 * nscd/nscd.h: Likewise.
58406 * nss/makedb.c: Likewise.
58407 * sysdeps/generic/ldconfig.h: Likewise.
58408
58409 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
58410
58411 * Versions.def: Add GLIBC_2.18.
58412 * include/link.h (struct link_map): New member l_tls_dtor_count.
58413 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
58414 (__call_tls_dtors): Likewise.
58415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
58416 __cxa_thread_atexit_impl.
58417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58418 Likewise.
58419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58420 Likewise.
58421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58422 Likewise.
58423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58424 Likewise.
58425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
58427 Likewise.
58428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
58429 Likewise.
58430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58432 Likewise.
58433 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
58434 (tests): Add test case tst-tls-atexit.
58435 (modules-names): Add shared library for tst-tls-atexit.
58436 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
58437 (GLIBC_PRIVATE): Add __call_tls_dtors.
58438 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
58439 for libstdc++.
58440 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
58441 * stdlib/tst-tls-atexit.c: New test case.
58442 * stdlib/tst-tls-atexit-lib.c: New test case.
58443
58444 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
58445
58446 * elf/Versions (ld): Add _dl_find_dso_for_object.
58447 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
58448 * elf/dl-open.c (_dl_find_dso_for_object): New function.
58449 (dl_open_worker): Use _dl_find_dso_for_object.
58450 * elf/dl-sym.c (do_sym): Likewise.
58451 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
58452
58453 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58454
58455 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
58456 Syntactic changes only.
58457 (_dl_runtime_profile): Do a tail-call to the resolved function.
58458
58459 2013-02-17 Joseph Myers <joseph@codesourcery.com>
58460
58461 [BZ #13550]
58462 * sysdeps/x86_64/bp-asm.h: Remove file.
58463 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
58464 <bp-sym.h> and <bp-asm.h>.
58465 (__clone): Do not use BP_SYM.
58466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
58467 <bp-sym.h> and <bp-asm.h>.
58468 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58469 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
58470 "bp-asm.h".
58471 (_setjmp): Do not use BP_SYM.
58472 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
58473 "bp-asm.h".
58474 (setjmp): Do not use BP_SYM.
58475 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
58476 libc_hidden_def.
58477 (mempcpy): Do not use BP_SYM in weak_alias.
58478 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
58479 "bp-asm.h".
58480 (strchr): Do not use BP_SYM.
58481 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
58482 "bp-asm.h".
58483 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
58484 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
58485 (_start): Do not use BP_SYM.
58486 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
58487 "bp-asm.h".
58488 (strcat): Do not use BP_SYM.
58489 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
58490 "bp-asm.h".
58491 (STRCMP): Do not use BP_SYM.
58492 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
58493 "bp-asm.h".
58494 (STRCPY): Do not use BP_SYM.
58495 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
58496 "bp-asm.h".
58497 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
58498 "bp-asm.h".
58499 (FUNCTION): Do not use BP_SYM.
58500 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58501 weak_alias.
58502 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
58503
58504 2013-02-17 Andreas Jaeger <aj@suse.de>
58505
58506 * time/Versions: Sort entries.
58507 * string/Versions: Likewise.
58508 * resolv/Versions: Likewise.
58509 * posix/Versions: Likewise.
58510 * iconv/Versions: Likewise.
58511 * elf/Versions: Likewise.
58512 * wcsmbs/Versions: Likewise.
58513
58514 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58515
58516 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
58517 loop termination condition.
58518
58519 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
58520 variable to calculate EZ.
58521 (__sqr): Likewise.
58522
58523 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
58524 the lower precision input.
58525
58526 2013-02-15 Joseph Myers <joseph@codesourcery.com>
58527
58528 [BZ #13550]
58529 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
58530 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
58531 (run-via-rtld-prefix): Do not handle %-bp tests.
58532 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
58533 (all-object-suffixes): Remove .ob.
58534 (bppfx): Remove variable.
58535 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
58536 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
58537 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
58538 [$(build-bounded) = yes] (libtype.ob): Likewise.
58539 * Makerules (elide-routines.ob): Remove variable.
58540 (do-tests-clean): Do not handle *-bp.out.
58541 (common-mostlyclean): Do not handle *-bp and *-bp.out.
58542 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
58543 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
58544 (tests): Do not include $(tests-bp.out).
58545 (xtests): Do not include $(xtests-bp.out).
58546 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
58547 [$(build-bounded) = yes] ($(addprefix
58548 $(objpfx),$(binaries-bounded))): Remove rule.
58549 ($(objpfx)%-bp.out): Remove rule.
58550 * config.make.in (build-bounded): Remove variable.
58551 * crypt/Makefile [$(build-bounded) = yes]
58552 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
58553 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
58554 append to variable.
58555 [$(build-bounded) = yes] (install-lib): Likewise.
58556 [$(build-bounded) = yes] (generated): Likewise.
58557 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
58558 Remove rule.
58559 * intl/Makefile [$(build-bounded) = yes]
58560 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58561 * math/Makefile [$(build-bounded) = yes]
58562 ($(tests:%=$(objpfx)%-bp): Likewise.
58563 * misc/Makefile [$(build-bounded) = yes]
58564 ($(objpfx)tst-tsearch-bp): Likewise.
58565 * nptl/Makeconfig (bounded-thread-library): Remove variable.
58566 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
58567 Remove dependency.
58568 * string/Makefile (o-objects.ob): Remove variable.
58569 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
58570 (CFLAGS-.ob): Remove variable.
58571 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
58572 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
58573 both definitions of variable.
58574 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
58575 (ASFLAGS-.ob): Remove variable.
58576
58577 2013-02-14 Joseph Myers <joseph@codesourcery.com>
58578
58579 [BZ #13550]
58580 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58581 Remove __BOUNDED_POINTERS__ from condition.
58582 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58583 * string/bits/string2.h [!__NO_STRING_INLINES &&
58584 !__BOUNDED_POINTERS__]: Likewise.
58585 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58586 Likewise.
58587 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58588 Remove conditional code.
58589 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58590 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58591 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58592 condition.
58593
58594 [BZ #13550]
58595 * csu/libc-start.c: Do not include <bp-sym.h>.
58596 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58597 * elf/dl-open.c: Do not include <bp-sym.h>.
58598 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58599 * math/fegetenv.c: Do not include <bp-sym.h>.
58600 (fegetenv): Do not use BP_SYM in versioned symbols.
58601 * nptl/sysdeps/pthread/bits/libc-lockP.h
58602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58603 <bp-sym.h>.
58604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58605 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58607 (__pthread_mutex_destroy): Likewise.
58608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58609 (__pthread_mutex_lock): Likewise.
58610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58611 (__pthread_mutex_trylock): Likewise.
58612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58613 (__pthread_mutex_unlock): Likewise.
58614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58615 (__pthread_mutexattr_init): Likewise.
58616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58617 (__pthread_mutexattr_destroy): Likewise.
58618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58619 (__pthread_mutexattr_settype): Likewise.
58620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58621 (__pthread_rwlock_init): Likewise.
58622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58623 (__pthread_rwlock_destroy): Likewise.
58624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58625 (__pthread_rwlock_rdlock): Likewise.
58626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58627 (__pthread_rwlock_tryrdlock): Likewise.
58628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58629 (__pthread_rwlock_wrlock): Likewise.
58630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58631 (__pthread_rwlock_trywrlock): Likewise.
58632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58633 (__pthread_rwlock_unlock): Likewise.
58634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58635 (__pthread_key_create): Likewise.
58636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58637 (__pthread_setspecific): Likewise.
58638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58639 (__pthread_getspecific): Likewise.
58640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58641 Likewise.
58642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58643 (_pthread_cleanup_push_defer): Likewise.
58644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58645 (_pthread_cleanup_pop_restore): Likewise.
58646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58647 (pthread_setcancelstate): Likewise.
58648 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58649 <bp-sym.h>.
58650 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58651 (memchr): Do not use BP_SYM in weak_alias.
58652 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58653 (fegetenv): Do not use BP_SYM in versioned symbols.
58654 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58655 (fesetenv): Do not use BP_SYM in versioned symbols.
58656 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58657 (feupdateenv): Do not use BP_SYM in versioned symbols.
58658 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58659 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58660 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58661 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58662 (open64): Do not use BP_SYM in weak_alias.
58663 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58664 (fegetenv): Do not use BP_SYM in versioned symbols.
58665 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58666 (fesetenv): Do not use BP_SYM in versioned symbols.
58667 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58668 (feupdateenv): Do not use BP_SYM in versioned symbols.
58669 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58670 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58671 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58672 (feraiseexcept): Do not use BP_SYM in versioned symbols.
58673 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58674 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58675 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58676 <bp-sym.h>.
58677 (__libc_start_main): Do not use BP_SYM.
58678
58679 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58680
58681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58682 redundant return line.
58683 (norm): Likewise.
58684 (denorm): Likewise.
58685 (dbl_mp): Likewise.
58686 (sub_magnitudes): Likewise.
58687 (__add): Likewise.
58688 (__sub): Likewise.
58689 (__mul): Likewise.
58690 (__inv): Likewise.
58691 (__dvd): Likewise.
58692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58693 (norm): Likewise.
58694 (denorm): Likewise.
58695 (dbl_mp): Likewise.
58696 (sub_magnitudes): Likewise.
58697 (__add): Likewise.
58698 (__sub): Likewise.
58699 (__mul): Likewise.
58700 (__inv): Likewise.
58701 (__dvd): Likewise.
58702
58703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58704 instead of __mul.
58705 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58706 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58707 (cc32): Likewise.
58708
58709 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58710 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58712 of __mul for squares.
58713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58714 function
58715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58716 Likewise.
58717 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58718 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58719
58720 2013-02-13 Joseph Myers <joseph@codesourcery.com>
58721
58722 [BZ #13550]
58723 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58724 code.
58725 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58726 prototype or function definition. Rename ubp_* variables and
58727 parameters. Remove argv definitions conditional on
58728 [__BOUNDED_POINTERS__].
58729 * debug/backtrace.c (__backtrace): Do not use __unbounded.
58730 * elf/dl-runtime.c (_dl_fixup): Likewise.
58731 * include/set-hooks.h (RUN_HOOK): Likewise.
58732 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58733 definition.
58734 * string/strcpy.c (strcpy): Do not use __unbounded.
58735 * sysdeps/generic/frame.h (struct layout): Likewise.
58736 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58737 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58738 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58739 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58740 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58741 (__backtrace): Likewise.
58742 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58743 use __ptrvalue.
58744 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58745 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58746 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58747 Likewise.
58748 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58749 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58750 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58751 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58752 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58753 Do not use __unbounded.
58754 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58755 Rename __unboundedrlimits parameter to rlimits in prototype.
58756 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58757 Do not use __unbounded.
58758 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58759 not use __ptrvalue.
58760 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58761 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58762 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58763 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58764 __ptrvalue or __unbounded.
58765 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58766 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58767 use __unbounded.
58768 (__new_msgctl): Do not use __ptrvalue.
58769 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58770 __unbounded.
58771 (__libc_msgrcv): Do not use __ptrvalue.
58772 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58773 startup_info): Do not use __unbounded.
58774 (__libc_start_main): Likewise. Rename ubp_* variables and
58775 parameters. Remove argv definitions conditional on
58776 [__BOUNDED_POINTERS__].
58777 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58778 __ptrvalue.
58779 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58780 use __unbounded.
58781 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58782 or __ptrvalue.
58783 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58784 use __unbounded.
58785 (__new_shmctl): Do not use __ptrvalue.
58786 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58787 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58788 Likewise.
58789 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58790 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58791 (__libc_sigaction): Likewise.
58792 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58793 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58794 Likewise.
58795 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58796
58797 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
58798
58799 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58800
58801 * string/mempcpy.c: Implement by calling memcpy.
58802
58803 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
58804
58805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58806
58807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58808 evaluation.
58809
58810 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58811 values in the mantissa.
58812
58813 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58814 minimize writes to Z.
58815 (sub_magnitudes): Simplify code a bit.
58816
58817 2013-02-12 Roland McGrath <roland@hack.frob.com>
58818
58819 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58820 from the message. The linker prefixes all warnings with that already.
58821
58822 2013-02-12 Andreas Schwab <schwab@suse.de>
58823
58824 [BZ #15078]
58825 * posix/regexec.c (extend_buffers): Add parameter min_len.
58826 (check_matching): Pass minimum needed length.
58827 (clean_state_log_if_needed): Likewise.
58828 (get_subexp): Likewise.
58829 * posix/Makefile (tests): Add bug-regex34.
58830 (bug-regex34-ENV): Define.
58831 * posix/bug-regex34.c: New file.
58832
58833 [BZ #11561]
58834 * posix/regcomp.c (parse_bracket_exp): When looking up collating
58835 elements compare against the byte sequence of it, not its name.
58836 * posix/Makefile (tests): Add bug-regex35.
58837 (bug-regex35-ENV): Define.
58838 * posix/bug-regex35.c: New file.
58839
58840 2013-02-11 Tom de Vries <tom@codesourcery.com>
58841
58842 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
58843 comment.
58844 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58845 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58846 (CHECK_EOL): Add undef.
58847
58848 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
58849
58850 * bits/stdlib-bsearch.h: New file.
58851 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58852 * stdlib/stdlib.h: Likewise.
58853
58854 2013-02-11 Roland McGrath <roland@hack.frob.com>
58855
58856 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58857 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58858 declaration.
58859 * manual/search.texi (Array Search Function): Add missing const in
58860 lfind prototype.
58861 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58862 declaration to use rlim_t.
58863 (Basic Scheduling Functions): Remove erroneous const from
58864 sched_getparam prototype. Remove erroneous * from
58865 sched_get_priority_max and sched_get_priority_min prototypes.
58866 (Resource Usage): Fix summary @comment on vtimes to refer to
58867 sys/vtimes.h rather than vtimes.h.
58868 Add missing *s in vtimes prototype.
58869 (Limits on Resources): Fix ulimit prototype to return long int.
58870 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58871 prototypes to use long int rather than double.
58872 (BSD Random): Fix initstate and setstate to use char *, not void *.
58873 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58874 prototype to make second argument 'struct aiocb64 *const[]'.
58875 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58876 (Status of AIO Operations): Remove erroneous const in aio_return and
58877 aio_return64 prototypes.
58878 (Synchronizing I/O): Fix sync prototype to return void.
58879 * manual/startup.texi (Suboptions): Remove an erroneous const in
58880 getsubopt prototype.
58881 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58882 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58883 use size_t rather than int.
58884 (Scanning All Users): Likewise for getpwent_r.
58885 (Setting Groups): Add missing const to setgroups prototype.
58886 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58887 * manual/socket.texi (Host Names): Fix gethostbyaddr and
58888 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58889 'const void *' rather than 'const char *'.
58890 (Host Address Functions): Likewise for inet_ntop.
58891 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58892 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58893 ssize_t for return value.
58894 (Sending Data): Likewise for send, sendto, sendmsg.
58895 (Socket Option Functions): Add a missing const in setsockopt prototype.
58896 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58897 use wchar_t for the argument.
58898 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58899 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58900 take no arguments.
58901 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58902 double/float/long double for second argument.
58903 Fix return types of significand, significandf, significandl.
58904 * manual/filesys.texi (Setting Permissions): Use mode_t for second
58905 argument in fchmod prototype.
58906 (File Owner): Use uid_t and gid_t in fchown prototype.
58907 (File Times): Add const to utimes, futimes, and lutimes prototypes.
58908 (Making Special Files): Use mode_t and dev_t in mknod prototype.
58909 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58910 use 'const struct dirent **' as argument types to CMP function pointer
58911 argument.
58912 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58913 (File Times): Fix summary magic @comment for struct utimbuf and utime
58914 to refer to utime.h, not time.h.
58915 * manual/string.texi (Argz Functions): Add missing const in
58916 argz_extract and argz_next prototypes.
58917 (Finding Tokens in a String): Likewise for basename.
58918 (String/Array Comparison): Fix typo in wcscasecmp prototype.
58919 (Copying and Concatenation): Fix typo in wmemmove prototype.
58920 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58921 (Signal Stack): Remove erroneous const in sigstack prototype.
58922 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58923 prototype.
58924 (Simple Calendar Time): Likewise for stime.
58925 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58926 prototype.
58927 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58928 say sys/sysctl.h instead.
58929 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58930 and vsyslog prototypes.
58931
58932 2013-02-11 Tom de Vries <tom@codesourcery.com>
58933
58934 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58935 Remove.
58936
58937 2013-02-11 Roland McGrath <roland@hack.frob.com>
58938
58939 * misc/sys/mman.h: Fix typo in mremap comment.
58940
58941 2013-02-08 Roland McGrath <roland@hack.frob.com>
58942
58943 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58944 the '\0' terminator.
58945
58946 2013-02-08 Joseph Myers <joseph@codesourcery.com>
58947
58948 [BZ #13550]
58949 * debug/segfault.c: Don't include <bp-checks.h>.
58950 * sysdeps/generic/bp-checks.h: Remove file.
58951 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58952 (__GETDENTS): Don't use CHECK_N.
58953 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58954 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58955 (__getgroups): Don't use CHECK_N.
58956 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58957 (setgroups): Don't use CHECK_N.
58958 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58959 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58960 (__libc_msgrcv): Don't use CHECK_N.
58961 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58962 (__libc_msgsnd): Don't use CHECK_N.
58963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58964 <bp-checks.h>.
58965 (__libc_pread): Don't use CHECK_N.
58966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58967 include <bp-checks.h>.
58968 (__libc_pread64): Don't use CHECK_N.
58969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58970 include <bp-checks.h>.
58971 (__libc_pwrite): Don't use CHECK_N.
58972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58973 include <bp-checks.h>.
58974 (__libc_pwrite64): Don't use CHECK_N.
58975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58976 <bp-checks.h>.
58977 (__libc_pread): Don't use CHECK_N.
58978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58979 include <bp-checks.h>.
58980 (__libc_pread64): Don't use CHECK_N.
58981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58982 include <bp-checks.h>.
58983 (__libc_pwrite): Don't use CHECK_N.
58984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58985 include <bp-checks.h>.
58986 (__libc_pwrite64): Don't use CHECK_N.
58987 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58988 (do_pread): Don't use CHECK_N.
58989 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58990 (do_pread64): Don't use CHECK_N.
58991 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58992 (do_pwrite): Don't use CHECK_N.
58993 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58994 (do_pwrite64): Don't use CHECK_N.
58995 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58996 (__libc_readv): Don't use CHECK_N.
58997 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58998 (semop): Don't use CHECK_N.
58999 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
59000 <bp-checks.h>.
59001 (semtimedop): Don't use CHECK_N.
59002 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
59003 (__libc_pread): Don't use CHECK_N.
59004 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
59005 <bp-checks.h>.
59006 (__libc_pread64): Don't use CHECK_N.
59007 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
59008 <bp-checks.h>.
59009 (__libc_pwrite): Don't use CHECK_N.
59010 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
59011 <bp-checks.h>.
59012 (__libc_pwrite64): Don't use CHECK_N.
59013 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
59014 <bp-checks.h>.
59015 (__libc_msgrcv): Don't use CHECK_N.
59016 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
59017 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
59018 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
59019 (__libc_writev): Don't use CHECK_N.
59020
59021 2013-02-08 Roland McGrath <roland@hack.frob.com>
59022
59023 * string/strcpy.c: Removed unused variable.
59024
59025 * Makeconfig (+sysdep-includes): Define with := rather than =.
59026 Use an existing include/ subdir of each sysdeps dir before it.
59027
59028 2013-02-08 Carlos O'Donell <carlos@redhat.com>
59029
59030 * nscd/connection.c (register_traced_file): Comment function.
59031 [HAVE_INOTIFY] (union __inev): Define.
59032 [HAVE_INOTIFY] (inotify_check_files): New function.
59033 [HAVE_INOTIFY] (clear_db_cache): Likewise.
59034 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
59035 clear_db_cache.
59036 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
59037
59038 2013-02-08 Carlos O'Donell <carlos@redhat.com>
59039
59040 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
59041 loaded if not already and that a failure is permanent.
59042
59043 2013-02-08 Carlos O'Donell <carlos@redhat.com>
59044
59045 [BZ #15006]
59046 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
59047 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
59048
59049 2013-02-08 Joseph Myers <joseph@codesourcery.com>
59050
59051 [BZ #13550]
59052 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
59053 (CHECK_1_NULL_OK): Likewise.
59054 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
59055 (__fxstat): Do not use CHECK_1.
59056 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
59057 <bp-checks.h>.
59058 (___fxstat64): Do not use CHECK_1.
59059 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
59060 <bp-checks.h>.
59061 (__fxstatat): Do not use CHECK_1.
59062 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
59063 <bp-checks.h>.
59064 (__fxstatat64): Do not use CHECK_1.
59065 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
59066 <bp-checks.h>.
59067 (__fxstat): Do not use CHECK_1.
59068 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
59069 <bp-checks.h>.
59070 (__fxstatat): Do not use CHECK_1.
59071 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59072 <bp-checks.h>.
59073 (__getresgid): Do not use CHECK_1.
59074 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59075 <bp-checks.h>.
59076 (__getresuid): Do not use CHECK_1.
59077 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
59078 <bp-checks.h>.
59079 (__lxstat): Do not use CHECK_1.
59080 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59081 <bp-checks.h>.
59082 (__old_msgctl): Do not use CHECK_1.
59083 (__new_msgctl): Likewise.
59084 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
59085 <bp-checks.h>.
59086 (__new_setrlimit): Do not use CHECK_1.
59087 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59088 <bp-checks.h>.
59089 (__old_shmctl): Do not use CHECK_1.
59090 (__new_shmctl): Likewise.
59091 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
59092 <bp-checks.h>.
59093 (__xstat): Do not use CHECK_1.
59094 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
59095 (__lxstat): Do not use CHECK_1.
59096 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
59097 <bp-checks.h>.
59098 (___lxstat64): Do not use CHECK_1.
59099 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
59100 (__old_msgctl): Do not use CHECK_1.
59101 (__new_msgctl): Likewise.
59102 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
59103 <bp-checks.h>.
59104 (__gettimeofday): Do not use CHECK_1.
59105 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
59106 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
59107 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
59108 <bp-checks.h>.
59109 (__gettimeofday): Do not use CHECK_1.
59110 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
59111 (__old_shmctl): Do not use CHECK_1_NULL_OK.
59112 (__new_shmctl): Do not use CHECK_1.
59113 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
59114 <bp-checks.h>.
59115 (do_sigtimedwait): Do not use CHECK_1.
59116 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
59117 <bp-checks.h>.
59118 (do_sigwaitinfo): Do not use CHECK_1.
59119 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
59120 <bp-checks.h>.
59121 (msgctl): Do not use CHECK_1.
59122 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
59123 <bp-checks.h>.
59124 (shmctl): Do not use CHECK_1.
59125 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
59126 (ustat): Do not use CHECK_1.
59127 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
59128 <bp-checks.h>.
59129 (__fxstat): Do not use CHECK_1.
59130 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
59131 <bp-checks.h>.
59132 (__fxstatat): Do not use CHECK_1.
59133 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
59134 <bp-checks.h>.
59135 (__lxstat): Do not use CHECK_1.
59136 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
59137 <bp-checks.h>.
59138 (__xstat): Do not use CHECK_1.
59139 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
59140 (__xstat): Do not use CHECK_1.
59141 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
59142 (___xstat64): Do not use CHECK_1.
59143
59144 [BZ #13550]
59145 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
59146 definitions.
59147 (CHECK_BOUNDS_HIGH): Likewise.
59148 * string/strcpy.c: Do not include <bp-checks.h>.
59149 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
59150
59151 2013-02-07 Roland McGrath <roland@hack.frob.com>
59152
59153 * nscd/nscd-client.h (__nscd_drop_map_ref):
59154 Add __attribute__ ((unused)).
59155 * nis/nss-nisplus.h (niserr2nss): Likewise.
59156
59157 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
59158 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
59159
59160 * csu/libc-tls.c (init_static_tls, init_slotinfo):
59161 Remove inline keyword.
59162 * include/rounding-mode.h (round_away): Likewise.
59163 * libio/wfileops.c (adjust_wide_data): Likewise.
59164 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
59165 (__m128i_strloadu_tolower): Likewise.
59166 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
59167 (__m128i_strloadu_tolower): Likewise.
59168 * time/mktime.c (ydhms_diff): Likewise.
59169 * locale/elem-hash.h (elem_hash): Likewise.
59170 * locale/setlocale.c (setdata): Likewise.
59171 * posix/regex_internal.h (re_string_char_size_at): Likewise.
59172 (re_string_wchar_at): Likewise.
59173 (bitset_not, bitset_merge, bitset_mask): Likewise.
59174 [!(__GNUC__ > 3)] (inline): Remove macro.
59175 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
59176 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
59177 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
59178 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
59179 * string/memcmp.c (memcmp_bytes): Likewise.
59180 * locale/programs/locarchive.c (compute_hashval): Likewise.
59181 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
59182 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
59183 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
59184 * nss/getent.c (print_rpc, print_protocols): Likewise.
59185 (print_passwd, print_group, print_aliases): Likewise.
59186 * nis/nss-nisplus.h (niserr2nss): Likewise.
59187 * nscd/connections.c (restart_p): Likewise.
59188 Change return type to bool.
59189
59190 2013-02-05 Roland McGrath <roland@hack.frob.com>
59191
59192 * Makeconfig (all-Depend-files): Add existing
59193 $(sorted-subdirs:=/Depend) files.
59194 (all-subdirs): Remove nss.
59195 * sysdeps/unix/inet/Subdirs: Add it here instead.
59196 * hesiod/Depend: New file.
59197
59198 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
59199 instead of calling alloca.
59200
59201 * io/lseek.c (__lseek): Rename to __libc_lseek.
59202 Define __lseek as an alias.
59203
59204 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
59205
59206 2013-02-04 Carlos O'Donell <carlos@redhat.com>
59207
59208 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
59209 else clause and remove check for non-standard endianness.
59210
59211 2013-02-04 David S. Miller <davem@davemloft.net>
59212
59213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59214
59215 2013-02-04 Joseph Myers <joseph@codesourcery.com>
59216
59217 [BZ #13550]
59218 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
59219 (__ubp_memchr): Remove prototype.
59220 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
59221 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
59222 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
59223 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
59224 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
59225 Remove alias.
59226 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
59227 (__ubp_memchr): Likewise.
59228 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
59229 (__ubp_memchr): Likewise.
59230 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
59231 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
59232 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
59233 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
59234 CHECK_STRING.
59235 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
59236 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
59237 (__getcwd): Do not use CHECK_STRING.
59238 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59239 <bp-checks.h>.
59240 (__real_chown): Do not use CHECK_STRING.
59241 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
59242 <bp-checks.h>.
59243 (fchownat): Do not use CHECK_STRING.
59244 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
59245 CHECK_STRING.
59246 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59247 <bp-checks.h>.
59248 (__lchown): Do not use CHECK_STRING.
59249 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59250 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59251 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59252 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
59253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59254 include <bp-checks.h>.
59255 (truncate64): Do not use CHECK_STRING.
59256 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59257 <bp-checks.h>.
59258 (__real_chown): Do not use CHECK_STRING.
59259 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59260 <bp-checks.h>.
59261 (__lchown): Do not use CHECK_STRING.
59262 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59263 <bp-checks.h>.
59264 (__chown): Do not use CHECK_STRING.
59265 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
59266 <bp-checks.h>.
59267 (truncate64): Do not use CHECK_STRING.
59268 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
59269 Likewise.
59270 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
59271 (__xmknod): Do not use CHECK_STRING.
59272 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
59273 <bp-checks.h>.
59274 (__xmknodat): Do not use CHECK_STRING.
59275 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59276 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
59277
59278 2013-02-04 Andreas Schwab <schwab@suse.de>
59279
59280 [BZ #14142]
59281 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
59282 * include/netdb.h: Likewise for h_errno.
59283 * elf/tst-stackguard1.c: Include <tls.h>.
59284
59285 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
59286
59287 * elf/link.h (struct link_map): Extend the l_addr comment.
59288 * include/link.h (struct link_map): Likewise.
59289
59290 2013-02-01 Joseph Myers <joseph@codesourcery.com>
59291
59292 [BZ #13550]
59293 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
59294 (BOUNDED_1): Remove macro.
59295 * debug/backtrace.c: Don't include <bp-checks.h>.
59296 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
59297 (__backtrace): Likewise.
59298 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
59299 <bp-checks.h>.
59300 (__backtrace): Don't use BOUNDED_1.
59301 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
59302 <bp-checks.h>.
59303 (__backtrace): Don't use BOUNDED_1.
59304 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
59305 (__backtrace): Don't use BOUNDED_1.
59306 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
59307 (shmat): Don't use BOUNDED_N.
59308
59309 2013-01-31 Joseph Myers <joseph@codesourcery.com>
59310
59311 [BZ #13550]
59312 * sysdeps/generic/bp-start.h: Remove file.
59313 * csu/libc-start.c: Don't include <bp-start.h>.
59314 (LIBC_START_MAIN): Set up __environ directly instead of using
59315 INIT_ARGV_and_ENVIRON.
59316 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
59317 <bp-start.h>.
59318
59319 [BZ #13550]
59320 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
59321 definitions.
59322 (CHECK_FCNTL): Likewise.
59323 (CHECK_N_PAGES): Likewise.
59324
59325 [BZ #13550]
59326 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
59327 definitions.
59328 (CHECK_SIGSET_NULL_OK): Likewise.
59329 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
59330 <bp-checks.h>.
59331 (sigpending): Don't use CHECK_SIGSET.
59332 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
59333 <bp-checks.h>.
59334 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59335 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
59336 <bp-checks.h>.
59337 (do_sigsuspend): Don't use CHECK_SIGSET.
59338 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
59339 use CHECK_SIGSET.
59340 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
59341 (do_sigwait): Don't use CHECK_SIGSET.
59342 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
59343 use CHECK_SIGSET.
59344 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
59345 include <bp-checks.h>.
59346 (sigpending): Don't use CHECK_SIGSET.
59347 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
59348 include <bp-checks.h>.
59349 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59350 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
59351 <bp-checks.h>.
59352 (sigpending): Don't use CHECK_SIGSET.
59353 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
59354 <bp-checks.h>.
59355 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59356
59357 [BZ #13550]
59358 * sysdeps/generic/bp-semctl.h: Remove file.
59359 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
59360 <bp-checks.h> and <bp-semctl.h>.
59361 (__old_semctl): Don't use CHECK_SEMCTL.
59362 (__new_semctl): Likewise.
59363 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
59364 and <bp-semctl.h>.
59365 (__old_semctl): Don't use CHECK_SEMCTL.
59366 (__new_semctl): Likewise.
59367 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
59368 <bp-checks.h> and <bp-semctl.h>.
59369 (__old_semctl): Don't use CHECK_SEMCTL.
59370 (__new_semctl): Likewise.
59371 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
59372 <bp-checks.h> and <bp-semctl.h>.
59373 (semctl): Don't use CHECK_SEMCTL.
59374
59375 [BZ #13550]
59376 * Makerules (elide-bp-thunks): Remove variable.
59377 (elide-routines.oS): Don't use $(elide-bp-thunks).
59378 (elide-routines.os): Likewise.
59379 (elide-routines.o): Likewise.
59380 (elide-routines.op): Likewise.
59381 (elide-routines.og): Likewise.
59382 (objects): Don't use $(bp-thunks).
59383 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
59384 include.
59385 (common-generated): Do not add s-proto-bp.d.
59386 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
59387 (int): Likewise.
59388 (typ): Likewise.
59389 Do not generate makefile rules for bounded-pointer thunks.
59390 * sysdeps/generic/bp-thunks.h: Remove file.
59391 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
59392 * sysdeps/unix/s-proto-bp.S: Likewise.
59393
59394 [BZ #15062]
59395 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
59396 parts of result separately when argument is not close to line from
59397 -i to i and one part of argument is small.
59398 * math/k_casinhf.c (__kernel_casinhf): Likewise.
59399 * math/k_casinhl.c (__kernel_casinhl): Likewise.
59400 * math/libm-test.inc (cacos_test): Add more tests.
59401 (casin_test): Likewise.
59402 (casinh_test): Likewise.
59403 * sysdeps/i386/fpu/libm-test-ulps: Update.
59404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59405
59406 2013-01-31 David S. Miller <davem@davemloft.net>
59407
59408 * po/de.po: Update from translation team.
59409
59410 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
59411
59412 * time/tzfile.c: Include stdint.h for SIZE_MAX.
59413
59414 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
59415
59416 * configure.in (_AC_PROG_CC_C89): New definition.
59417 * configure: Regenerate.
59418
59419 * configure.in (AC_PROG_CPP): New definition.
59420 * configure: Regenerate.
59421
59422 2013-01-23 Joseph Myers <joseph@codesourcery.com>
59423
59424 * debug/tst-backtrace.h: New file.
59425 * debug/tst-backtrace2.c: Include tst-backtrace.h.
59426 (ret): Remove variable.
59427 (x): Likewise.
59428 (FAIL): Remove macro.
59429 (NO_INLINE): Likewise.
59430 (fn1): Use match function instead of strstr.
59431 * debug/tst-backtrace3.c: Include tst-backtrace.h.
59432 (ret): Remove variable.
59433 (x): Likewise.
59434 (FAIL): Remove macro.
59435 (NO_INLINE): Likewise.
59436 (fn): Use match function instead of strstr.
59437 * debug/tst-backtrace4.c: Include tst-backtrace.h.
59438 (ret): Remove variable.
59439 (x): Likewise.
59440 (FAIL): Remove macro.
59441 (NO_INLINE): Likewise.
59442 (handle_signal): Use match function instead of strstr.
59443 * debug/tst-backtrace5.c: Include tst-backtrace.h.
59444 (ret): Remove variable.
59445 (x): Likewise.
59446 (FAIL): Remove macro.
59447 (NO_INLINE): Likewise.
59448 (handle_signal): Use match function instead of strstr.
59449
59450 2013-01-23 Roland McGrath <roland@hack.frob.com>
59451
59452 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
59453
59454 2013-01-23 David S. Miller <davem@davemloft.net>
59455
59456 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
59457 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
59458 argument of CAS if possible.
59459 * sysdeps/sparc/sparc64/bits/atomic.h
59460 (__arch_compare_and_exchange_val_32_acq): Likewise.
59461 (__arch_compare_and_exchange_val_64_acq): Likewise.
59462
59463 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
59464
59465 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
59466 * sysdeps/posix/ulimit.c: ... this.
59467 Include <limits.h>.
59468 * sysdeps/unix/bsd/ulimit.c: Remove file.
59469
59470 2013-01-23 Adam Conrad <adconrad@0c3.net>
59471
59472 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
59473 (LDFLAGS-tst-array5): Likewise.
59474
59475 2013-01-23 Joseph Myers <joseph@codesourcery.com>
59476
59477 [BZ #15036]
59478 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
59479 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
59480 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
59481 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
59482
59483 2013-01-21 David S. Miller <davem@davemloft.net>
59484
59485 * sysdeps/sparc/backtrace.c: New file.
59486 * sysdeps/sparc/sparc32/backtrace.h: New file.
59487 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
59488 * sysdeps/sparc/sparc64/backtrace.h: New file.
59489 * sysdeps/sparc/sparc64/backtrace.c: Delete.
59490 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
59491 -funwind-tables.
59492
59493 2013-01-21 Andreas Schwab <schwab@suse.de>
59494
59495 [BZ #15020]
59496 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
59497 closed its stdout.
59498
59499 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
59500
59501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
59502 "mpa2.h".
59503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59504
59505 2013-01-18 Joseph Myers <joseph@codesourcery.com>
59506 Mark Mitchell <mark@codesourcery.com>
59507 Tom de Vries <tom@codesourcery.com>
59508 Paul Pluzhnikov <ppluzhnikov@google.com>
59509
59510 * debug/tst-backtrace2.c: New file.
59511 * debug/tst-backtrace3.c: Likewise.
59512 * debug/tst-backtrace4.c: Likewise.
59513 * debug/tst-backtrace5.c: Likewise.
59514 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
59515 (CFLAGS-tst-backtrace3.c): Likewise.
59516 (CFLAGS-tst-backtrace4.c): Likewise.
59517 (CFLAGS-tst-backtrace5.c): Likewise.
59518 (LDFLAGS-tst-backtrace2): Likewise.
59519 (LDFLAGS-tst-backtrace3): Likewise.
59520 (LDFLAGS-tst-backtrace4): Likewise.
59521 (LDFLAGS-tst-backtrace5): Likewise.
59522 (tests): Add new tests tst-backtrace2, tst-backtrace3,
59523 tst-backtrace4 and tst-backtrace5.
59524
59525 2013-01-18 Anton Blanchard <anton@samba.org>
59526 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
59527
59528 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
59529 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
59530 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
59531 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
59532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59533 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
59534 "+r" and remove output regs list as redundant. Add explicit inline
59535 asm to specify register of return val to work around compiler codegen
59536 bug. Remove (int) cast on return value. Add return type parameter to
59537 use in macro so that this macro does not truncate return value for
59538 64-bit values.
59539 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
59540 pass to INTERNAL_VSYSCALL_NCS.
59541 (INLINE_VSYSCALL): Add 'long int' as return type to
59542 INTERNAL_VSYSCALL_NCS macro invocation.
59543 (INTERNAL_VSYSCALL): Add 'long int' as return type to
59544 INTERNAL_VSYSCALL_NCS macro invocation.
59545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59546
59547 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
59548
59549 [BZ #14496]
59550 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
59551 Fix application of SIMD FP exception mask.
59552
59553 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
59554 mp_no from a power of two.
59555 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
59556 __mpexp_twomm1. Use __pow_mp.
59557
59558 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
59559 multiplication.
59560
59561 2013-01-17 David S. Miller <davem@davemloft.net>
59562
59563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59564
59565 2013-01-17 Joseph Myers <joseph@codesourcery.com>
59566
59567 [BZ #15023]
59568 * include/complex.h: Condition contents on [!_COMPLEX_H].
59569 (__kernel_casinhf): New prototype.
59570 (__kernel_casinh): Likewise.
59571 (__kernel_casinhl): Likewise.
59572 * math/Makefile (libm_calls): Add k_casinh.
59573 * math/k_casinh.c: New file.
59574 * math/k_casinhf.c: Likewise.
59575 * math/k_casinhl.c: Likewise.
59576 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
59577 finite nonzero arguments.
59578 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59579 finite nonzero arguments.
59580 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59581 finite nonzero arguments.
59582 * math/s_casinh.c: Do not include <float.h>.
59583 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59584 * math/s_casinhf.c: Do not include <float.h>.
59585 (__casinhf): Move code for finite nonzero arguments to
59586 k_casinhf.c.
59587 * math/s_casinhl.c: Do not include <float.h>.
59588 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59589 redefine.
59590 (__casinhl): Move code for finite nonzero arguments to
59591 k_casinhl.c.
59592 * math/libm-test.inc (cacos_test): Add more tests.
59593 * sysdeps/i386/fpu/libm-test-ulps: Update.
59594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59595
59596 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
59597
59598 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59599 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59600 [!HAVE_MREMAP]: Remove [defined linux] case.
59601 * malloc/arena.c: Do not include <malloc-sysdep.h>.
59602
59603 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
59604
59605 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59606
59607 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
59608
59609 * elf/elf.h (R_386_SIZE32): New relocation.
59610 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59611 R_386_SIZE32.
59612 (elf_machine_rela): Likewise.
59613 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59614 R_X86_64_SIZE64 and R_X86_64_SIZE32.
59615
59616 2013-01-17 Joseph Myers <joseph@codesourcery.com>
59617
59618 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59619 (FP_FAST_FMA): Do not define.
59620 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59621 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59622 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59623 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59624 !_SOFT_FLOAT]: Likewise.
59625 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59626 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59627 value.
59628 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59629 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59630 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59631 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59632 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59633 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59634 file.
59635
59636 2013-01-16 Andreas Schwab <schwab@suse.de>
59637
59638 [BZ #14327]
59639 * include/stdlib.h (__mktemp): Add declaration.
59640 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59641 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59642
59643 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59644
59645 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59646 definitions.
59647 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59648 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59649 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59650 definitions here.
59651 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59652 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59653 definitions.
59654 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59655 and ONE.
59656 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59657 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59658 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59659 definitions.
59660 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59661 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59662 definitions.
59663 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59664
59665 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59666
59667 2013-01-15 David S. Miller <davem@davemloft.net>
59668
59669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59670 trunc{,f} to libm-sysdep_routes.
59671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59673 file.
59674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59676 file.
59677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59678 file.
59679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59681 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59682 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59683 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59684 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59685 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59686 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59687
59688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59689 nearbyint{,f} to libm-sysdep_routes.
59690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59692 New file.
59693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59694 file.
59695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59696 New file.
59697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59698 file.
59699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59701 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59702 file.
59703 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59705 file.
59706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59707 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59708 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59709
59710 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59711 libc_feholdexcept and libc_fesetenv.
59712
59713 2013-01-15 Mike Frysinger <vapier@gentoo.org>
59714
59715 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59716
59717 2013-01-14 David S. Miller <davem@davemloft.net>
59718
59719 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59720 (SPARC_ASM_VIS2_IFUNC): Likewise.
59721 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59723 use of 'siam' instruction.
59724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59725 Likewise.
59726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59727 Likewise.
59728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59729 Likewise.
59730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59735 file.
59736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59737 file.
59738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59739 file.
59740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59741 file.
59742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59747 new VIS2 routines.
59748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59751 Likewise.
59752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59757 routines to libm-sysdep_routines.
59758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59759
59760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59761 fdim/fdimf to libm-sysdep_routines.
59762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59763 file.
59764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59766 file.
59767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59770 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59771 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59772 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59773 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59774
59775 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59776
59777 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59778 to optimize copies.
59779
59780 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59783
59784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59785 local variable MPTWO.
59786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59787 Likewise.
59788
59789 2013-01-13 Mike Frysinger <vapier@gentoo.org>
59790
59791 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59792 GLOB_NOESCAPE.
59793
59794 2013-01-13 Mike Frysinger <vapier@gentoo.org>
59795
59796 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59797
59798 2013-01-13 Mike Frysinger <vapier@gentoo.org>
59799
59800 * manual/pattern.texi (glob_t): Document gl_flags.
59801 (glob64_t): Likewise.
59802
59803 2013-01-11 David S. Miller <davem@davemloft.net>
59804
59805 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59806 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59807 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
59808 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59809 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59810 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59811 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59812 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59813 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59814 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59815 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59816 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59817 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59818
59819 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59820 sparc V9 rather than using V8 code.
59821 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59822 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59823
59824 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59825 Move to...
59826 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59827 Here.
59828
59829 2013-01-11 Roland McGrath <roland@hack.frob.com>
59830
59831 [BZ #14941]
59832 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59833 not in the main loop.
59834 * configure: Regenerated.
59835
59836 2013-01-11 Joseph Myers <joseph@codesourcery.com>
59837
59838 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59839 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59840 to just #else.
59841 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
59842 [!__GLIBC_HAVE_LONG_LONG] case.
59843 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59844 condition to just #else.
59845 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59846 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59847 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59848 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59849 unconditional.
59850 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59851 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59852 #elif condition to just #else.
59853 * sysdeps/unix/sysv/linux/sys/sysmacros.h
59854 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59855 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59856 #elif condition to just #else.
59857
59858 2013-01-11 Steve Ellcey <sellcey@mips.com>
59859
59860 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59861 (EF_MIPS_ARCH_64): Fix value.
59862 (EF_MIPS_ARCH_32R2): New.
59863 (EF_MIPS_ARCH_64R2): New.
59864
59865 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
59866
59867 * Makeconfig (+link-pie-before-libc): New.
59868 (+link-pie-after-libc): Likewise.
59869 (+link-pie-tests): Likewise.
59870 (+link-pie): Rewritten.
59871 (link-before-libc): Remove $(config-LDFLAGS).
59872 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59873 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59874 (config-LDFLAGS): Renamed to ...
59875 (rtld-LDFLAGS): This.
59876 (rtld-tests-LDFLAGS): New macro.
59877 (link-libc-rpath-link): Likewise.
59878 (link-libc-tests-rpath-link): Likewise.
59879 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59880 (link-libc): Prepand $(link-libc-rpath-link).
59881 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59882 (test-program-prefix): New macro.
59883 (test-via-rtld-prefix): Likewise.
59884 (test-program-cmd): Likewise.
59885 (host-test-program-cmd): Likewise.
59886 * Makefile ($(common-objpfx)testrun.sh): Replace
59887 $(run-program-prefix) with $(test-program-prefix).
59888 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59889 $(rtld-LDFLAGS).
59890 ($(common-objpfx)shlib.lds): Likewise.
59891 (build-module-helper): Likewise.
59892 ($(common-objpfx)format.lds): Likewise.
59893 * Rules (binaries-pie-tests): New.
59894 (binaries-pie-notests): Likewise.
59895 (binaries-pie): Rewritten.
59896 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59897 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59898 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59899 (make-test-out): Replace $(host-built-program-cmd) with
59900 $(host-test-program-cmd).
59901 * config.make.in (build-hardcoded-path-in-tests): New variable.
59902 * configure.in (--enable-hardcoded-path-in-tests): New configure
59903 option.
59904 (hardcoded_path_in_tests): New AC_SUBST.
59905 * configure: Regenerated.
59906 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59907 $(built-program-cmd) with $(test-program-cmd).
59908 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59909 (test_program_cmd): This.
59910 * elf/Makefile ($(objpfx)order.out): Run test with
59911 $(test-program-prefix).
59912 ($(objpfx)order2.out): Likewise.
59913 ($(objpfx)tst-initorder.out): Likewise.
59914 ($(objpfx)tst-initorder2.out): Likewise.
59915 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59916 $(test-program-cmd).
59917 ($(objpfx)tst-array1-static.out): Likewise.
59918 ($(objpfx)tst-array2.out): Likewise.
59919 ($(objpfx)tst-array3.out): Likewise.
59920 ($(objpfx)tst-array4.out): Likewise.
59921 ($(objpfx)tst-array5.out): Likewise.
59922 ($(objpfx)tst-array5-static.out): Likewise.
59923 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59924 $(test-program-cmd).
59925 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59926 $(run-program-prefix) with $(test-program-prefix).
59927 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59928 (test_program_prefix): This.
59929 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59930 $(run-program-prefix) with $(test-program-prefix).
59931 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59932 (test_program_prefix): This.
59933 * iconvdata/tst-tables.sh: Likewise.
59934 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59935 $(run-program-prefix) with $(test-program-prefix).
59936 ($(objpfx)tst-translit.out): Likewise.
59937 ($(objpfx)tst-gettext2.out): Likewise.
59938 ($(objpfx)tst-gettext4.out): Likewise.
59939 ($(objpfx)tst-gettext6.out): Likewise.
59940 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59941 (test_program_prefix): This.
59942 * intl/tst-gettext2.sh: Likewise.
59943 * intl/tst-gettext4.sh Likewise.
59944 * intl/tst-gettext6.sh: Likewise.
59945 * intl/tst-translit.sh: Likewise.
59946 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59947 with $(test-program-cmd).
59948 * libio/Makefile ($(objpfx)test-freopen.out): Replace
59949 $(run-program-prefix) with $(test-program-prefix).
59950 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59951 (test_program_prefix): This.
59952 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59953 $(run-program-prefix) with $(test-program-prefix).
59954 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59955 (test_program_prefix): This.
59956 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59957 * posix/Makefile ($(objpfx)globtest.out): Replace
59958 $(run-via-rtld-prefix) and $(test-wrapper) with
59959 $(test-program-prefix) and $(test-via-rtld-prefix).
59960 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59961 $(test-program-prefix).
59962 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59963 $(host-test-program-cmd).
59964 (tst-spawn-ARGS): Likewise.
59965 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59966 $(test-program-prefix).
59967 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59968 (test_via_rtld_prefix): This.
59969 (test_wrapper): Renamed to ...
59970 (test_program_prefix): This.
59971 (run_program_prefix): Replaced by test_program_prefix.
59972 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59973 (test_program_prefix): This.
59974 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59975 with $(host-test-program-cmd).
59976 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59977 $(run-program-prefix) with $(test-program-prefix).
59978 ($(objpfx)tst-printf.out): Likewise.
59979 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59980 $(test-program-cmd).
59981 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59982 (test_program_prefix): This.
59983 * stdio-common/tst-unbputc.sh: Likewise.
59984 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59985 $(run-program-prefix) with $(test-program-prefix).
59986 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59987 (test_program_prefix): This.
59988 * string/Makefile ($(objpfx)tst-svc.out): Replace
59989 $(built-program-cmd) with $(test-program-cmd).
59990
59991 2013-01-11 Andreas Jaeger <aj@suse.de>
59992
59993 [BZ #15003]
59994 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59995 value. Sync with Linux 3.7.
59996
59997 2013-01-10 David S. Miller <davem@davemloft.net>
59998
59999 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
60000 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60001 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60002
60003 2013-01-10 Roland McGrath <roland@hack.frob.com>
60004
60005 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
60006 never set.
60007 * configure: Regenerated.
60008
60009 2013-01-10 David S. Miller <davem@davemloft.net>
60010
60011 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
60012 sparc V9 rather than using V8 code.
60013 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60014 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60015
60016 2013-01-10 Roland McGrath <roland@hack.frob.com>
60017
60018 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
60019 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
60020 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
60021 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
60022 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
60023 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
60024 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
60025 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
60026 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
60027 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
60028 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
60029 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
60030 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
60031 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
60032 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
60033 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
60034 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
60035 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
60036 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
60037 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
60038 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
60039 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
60040 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
60041 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
60042 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
60043 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
60044 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
60045
60046 2013-01-10 David S. Miller <davem@davemloft.net>
60047
60048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60049
60050 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
60051
60052 * posix/Makefile (tests-static): New variable.
60053 (tests): Add $(tests-static).
60054 (tst-exec-static-ARGS): New variable.
60055 (tst-spawn-static-ARGS): Likewise.
60056 * posix/tst-exec-static.c: New file.
60057 * posix/tst-spawn-static.c: Likewise.
60058 * posix/tst-exec.c: Support run directly.
60059 * posix/tst-spawn.c: Likewise.
60060
60061 2013-01-10 Joseph Myers <joseph@codesourcery.com>
60062
60063 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
60064 long.
60065 * math/bits/mathcalls.h (llrint): Likewise.
60066 (llround): Likewise.
60067 * stdlib/stdlib.h (struct drand48_data): Likewise.
60068 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
60069 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
60070 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
60071 Likewise.
60072 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
60073 Likewise.
60074 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
60075 (elf_greg_t): Likewise.
60076 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
60077 (__jmp_buf): Likewise.
60078 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
60079 definitions.
60080 (llrint): Likewise, for all definitions.
60081 (llrintl): Likewise.
60082
60083 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
60084 Remove [__GNUC__] condition.
60085 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
60086 condition to just [__USE_ISOC99].
60087 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
60088
60089 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
60090
60091 [BZ #14200]
60092 * sysdeps/unix/sysv/linux/x86/bits/environments.h
60093 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
60094 defined.
60095 (_POSIX_V6_ILP32_OFF32): Likewise.
60096 (_XBS5_ILP32_OFF32): Likewise.
60097 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
60098 (__ILP32_OFFBIG_LDFLAGS): Likewise.
60099
60100 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
60101
60102 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
60103
60104 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
60105 doubles __mpexp_twomm1. Adjust usage.
60106 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
60107 Remove.
60108
60109 2013-01-10 Andreas Schwab <schwab@suse.de>
60110
60111 [BZ #14964]
60112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
60113 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
60114
60115 2013-01-09 David S. Miller <davem@davemloft.net>
60116
60117 [BZ #15003]
60118 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
60119 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
60120 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
60121 (TCP_FASTOPEN): Define.
60122 (tcp_repair_opt): New structure.
60123 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
60124 enum values.
60125 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
60126 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
60127 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
60128 (tcp_cookie_transactions): New structure.
60129
60130 2013-01-09 Anton Blanchard <anton@samba.org>
60131
60132 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
60133 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
60134 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
60135 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
60136
60137 2013-01-09 Joseph Myers <joseph@codesourcery.com>
60138
60139 * include/features.h (__USE_ANSI): Remove.
60140
60141 2013-01-09 Roland McGrath <roland@hack.frob.com>
60142
60143 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
60144
60145 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
60146
60147 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
60148
60149 * sysdeps/s390/fpu/libm-test-ulps: Update.
60150
60151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60152
60153 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
60154 (__acr): Likewise.
60155 (__cpy): Likewise.
60156 (norm): Likewise.
60157 (denorm): Likewise.
60158 (__mp_dbl): Likewise.
60159 (__dbl_mp): Likewise.
60160 (add_magnitudes): Likewise.
60161 (sub_magnitudes): Likewise.
60162 (__add): Likewise.
60163 (__sub): Likewise.
60164 (__mul): Likewise.
60165 (__inv): Likewise.
60166 (__dvd): Likewise.
60167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
60168 (__acr): Likewise.
60169 (__cpy): Likewise.
60170 (norm): Likewise.
60171 (denorm): Likewise.
60172 (__mp_dbl): Likewise.
60173 (__dbl_mp): Likewise.
60174 (add_magnitudes): Likewise.
60175 (sub_magnitudes): Likewise.
60176 (__add): Likewise.
60177 (__sub): Likewise.
60178 (__mul): Likewise.
60179 (__inv): Likewise.
60180 (__dvd): Likewise.
60181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
60182 (__acr): Likewise.
60183 (__cpy): Likewise.
60184 (norm): Likewise.
60185 (denorm): Likewise.
60186 (__mp_dbl): Likewise.
60187 (__dbl_mp): Likewise.
60188 (add_magnitudes): Likewise.
60189 (sub_magnitudes): Likewise.
60190 (__add): Likewise.
60191 (__sub): Likewise.
60192 (__mul): Likewise.
60193 (__inv): Likewise.
60194 (__dvd): Likewise.
60195
60196 2013-01-08 Joseph Myers <joseph@codesourcery.com>
60197
60198 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
60199 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
60200 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
60201 2 && __USE_EXTERN_INLINES]: Likewise.
60202
60203 2013-01-08 Andreas Jaeger <aj@suse.de>
60204
60205 [BZ# 14985]
60206 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
60207 Remove.
60208 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
60209 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
60210
60211 2013-01-07 Anton Blanchard <anton@samba.org>
60212
60213 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
60214 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60215 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
60216 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60217 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60218 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60219 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
60220 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60222 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60223 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60224 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60225 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60226 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60227 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60228 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60229 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60230 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60231 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60232 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60233 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60234 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
60235 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60236 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60237 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
60238 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60239 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60240 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60241 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
60242 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60243 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60245 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60246 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60247 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60248 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60249 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60250 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60251 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
60252 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
60253 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
60254 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60255 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60256
60257 2013-01-07 Joseph Myers <joseph@codesourcery.com>
60258
60259 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
60260 (__MALLOC_PMT): Likewise.
60261 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
60262 [__GNUC__], only on [_LIBC].
60263 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
60264 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
60265 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
60266 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
60267 forward declaration.
60268 (realloc_hook_ini): Likewise.
60269 (memalign_hook_ini): Likewise.
60270 (__libc_memalign): Do not use __MALLOC_PMT in variable
60271 declaration.
60272 (__libc_valloc): Likewise.
60273 (__libc_pvalloc): Likewise.
60274 (__libc_calloc): Likewise.
60275 (__posix_memalign): Likewise.
60276
60277 [BZ #14996]
60278 * math/s_casinh.c: Include <float.h>.
60279 (__casinh): Do not do computation with squaring and square root
60280 for large arguments.
60281 * math/s_casinhf.c: Include <float.h>.
60282 (__casinhf): Do not do computation with squaring and square root
60283 for large arguments.
60284 * math/s_casinhl.c: Include <float.h>.
60285 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
60286 (__casinhl): Do not do computation with squaring and square root
60287 for large arguments.
60288 * math/libm-test.inc (casin_test): Add more tests.
60289 (casinh_test): Likewise.
60290 * sysdeps/i386/fpu/libm-test-ulps: Update.
60291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60292
60293 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
60294
60295 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
60296 (__x86_64_raw_data_cache_size): Likewise.
60297 (__x86_64_data_cache_size_half): Likewise.
60298 (__x86_64_raw_data_cache_size_half): Likewise.
60299 (__x86_64_shared_cache_size): Likewise.
60300 (__x86_64_raw_shared_cache_size): Likewise.
60301 (__x86_64_shared_cache_size_half): Likewise.
60302 (__x86_64_raw_shared_cache_size_half): Likewise.
60303 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
60304 to ...
60305 (__x86_data_cache_size): This.
60306 (__x86_64_raw_data_cache_size): Renamed to ...
60307 (__x86_raw_data_cache_size): This.
60308 (__x86_64_data_cache_size_half): Renamed to ...
60309 (__x86_data_cache_size_half): This.
60310 (__x86_64_raw_data_cache_size_half): Renamed to ...
60311 (__x86_raw_data_cache_size_half): This.
60312 (__x86_64_shared_cache_size): Renamed to ...
60313 (__x86_shared_cache_size): This.
60314 (__x86_64_raw_shared_cache_size): Renamed to ...
60315 (__x86_raw_shared_cache_size): This.
60316 (__x86_64_shared_cache_size_half): Renamed to ...
60317 (__x86_shared_cache_size_half): This.
60318 (__x86_64_raw_shared_cache_size_half): Renamed to ...
60319 (__x86_raw_shared_cache_size_half): This.
60320 * sysdeps/x86_64/memcpy.S: Updated.
60321 * sysdeps/x86_64/memset.S: Likewise.
60322 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60323 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60325
60326 2013-01-04 David S. Miller <davem@davemloft.net>
60327
60328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60329
60330 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
60331
60332 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
60333 1 to avoid redefinition warning.
60334 (__USE_GNU): Don't define.
60335 (init_signaling_nan): Protoize.
60336
60337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60338
60339 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60340
60341 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
60342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
60343 (__cpymn): Likewise.
60344 (norm): Remove commented code.
60345 (denorm): Likewise.
60346 (__mp_dbl): Likewise.
60347 (__inv): Likewise.
60348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
60349 (__cpymn): Likewise.
60350 (norm): Remove commented code.
60351 (denorm): Likewise.
60352 (__mp_dbl): Likewise.
60353 (__inv): Likewise.
60354
60355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
60356 mp_no value for 1.0 and 2.0.
60357 (norm): Use RADIXI instead of radixi.d.
60358 (denorm): Likewise.
60359 (__mul): Use 0.0 instead of zero.d.
60360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
60361 mp_no value for 1.0 and 2.0.
60362 (norm): Use RADIXI instead of radixi.d.
60363 (denorm): Likewise.
60364 (__mul): Use 0.0 instead of zero.d.
60365
60366 2013-01-04 Joseph Myers <joseph@codesourcery.com>
60367
60368 [BZ #14994]
60369 * math/s_casinh.c (__casinh): Reduce finite argument to first
60370 quadrant then set signs of results at the end.
60371 * math/s_casinhf.c (__casinhf): Likewise.
60372 * math/s_casinhl.c (__casinhl): Likewise.
60373 * math/libm-test.inc (casin_test): Add more tests.
60374 (casinh_test): Likewise.
60375 * sysdeps/i386/fpu/libm-test-ulps: Update.
60376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60377
60378 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60379
60380 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
60381
60382 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
60383
60384 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
60385 declarations.
60386 (denorm): Likewise.
60387 (__mp_dbl): Likewise.
60388 (__inv): Likewise.
60389
60390 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
60391 and adjust the header comment.
60392
60393 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
60394 variable name from declaration.
60395
60396 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
60397
60398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60399 Initialize COMMON_CPUID_INDEX_7 element.
60400 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
60401 (CPUID_RTM): Likewise.
60402 (HAS_RTM): Likewise.
60403 (COMMON_CPUID_INDEX_7): New enum.
60404
60405 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
60406
60407 [BZ #14981]
60408 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
60409 size is zero, record memory as freed.
60410
60411 2013-01-03 Andreas Jaeger <aj@suse.de>
60412
60413 * po/ia.po: Add new Interlingua translation.
60414
60415 2012-01-03 Allan McRae <allan@archlinux.org>
60416
60417 * locale/programs/localedef.c: Fix description of '--posix' flag.
60418
60419 2013-01-02 Joseph Myers <joseph@codesourcery.com>
60420
60421 * NEWS: Update dates in second copyright notice.
60422 * README: Update copyright dates in example.
60423 * manual/libc.texinfo: Update copyright dates.
60424 * scripts/test-installation.pl: Update copyright date in --version
60425 output.
60426
60427 * hurd/ctty-input.c: Fix copyright notice formatting.
60428 * hurd/ctty-output.c: Likewise.
60429 * hurd/dtable.c: Likewise.
60430 * hurd/hurd-raise.c: Likewise.
60431 * hurd/hurdprio.c: Likewise.
60432 * hurd/msgportdemux.c: Likewise.
60433 * misc/sys/file.h: Likewise.
60434 * misc/sys/ioctl.h: Likewise.
60435 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60436 * sysdeps/mach/hurd/chdir.c: Likewise.
60437 * sysdeps/mach/hurd/fchdir.c: Likewise.
60438 * sysdeps/mach/hurd/rename.c: Likewise.
60439 * sysdeps/mach/hurd/rmdir.c: Likewise.
60440 * sysdeps/mach/hurd/seekdir.c: Likewise.
60441 * sysdeps/mach/hurd/setsid.c: Likewise.
60442 * sysdeps/posix/wait3.c: Likewise.
60443
60444 * All files with FSF copyright notices: Update copyright dates
60445 using scripts/update-copyrights.
60446 * intl/plural.c: Regenerated.
60447 * locale/programs/charmap-kw.h: Likewise.
60448 * locale/programs/locfile-kw.h: Likewise.
60449
60450 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60451
60452 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
60453 four values.
60454
60455 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
60456 calculation loop and add branch prediction.
60457
60458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
60459 check access beyond bounds of m1np.
60460
60461 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60462 MPTWO.
60463 (__inv): Remove local variable MPTWO to use the global
60464 constant.
60465 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
60466 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60467 variable MPTWO.
60468 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
60469 MP3HALFS static const.
60470
60471 2013-01-01 David S. Miller <davem@davemloft.net>
60472
60473 * po/ca.po: Update from translation team.
60474
60475 2013-01-01 Joseph Myers <joseph@codesourcery.com>
60476
60477 * scripts/update-copyrights: New file.
60478 * Makeconfig: Reformat copyright notice.
60479 * ctype/ctype.h: Likewise.
60480 * debug/swprintf_chk.c: Likewise.
60481 * elf/dl-cache.c: Likewise.
60482 * elf/dl-debug.c: Likewise.
60483 * elf/dl-object.c: Likewise.
60484 * grp/initgroups.c: Likewise.
60485 * hurd/Makefile: Likewise.
60486 * hurd/hurd/signal.h: Likewise.
60487 * hurd/hurdfault.c: Likewise.
60488 * hurd/hurdioctl.c: Likewise.
60489 * hurd/hurdlookup.c: Likewise.
60490 * hurd/intr-msg.c: Likewise.
60491 * iconv/gconv_open.c: Likewise.
60492 * libio/swprintf.c: Likewise.
60493 * locale/lc-ctype.c: Likewise.
60494 * locale/nl_langinfo.c: Likewise.
60495 * mach/Machrules: Likewise.
60496 * mach/Makefile: Likewise.
60497 * malloc/obstack.h: Likewise.
60498 * manual/Makefile: Likewise.
60499 * manual/tsort.awk: Likewise.
60500 * misc/bits/stab.def: Likewise.
60501 * nis/nis_print_group_entry.c: Likewise.
60502 * nis/nis_table.c: Likewise.
60503 * nis/nss_compat/compat-pwd.c: Likewise.
60504 * nis/nss_compat/compat-spwd.c: Likewise.
60505 * po/Makefile: Likewise.
60506 * posix/fnmatch.c: Likewise.
60507 * posix/regex.h: Likewise.
60508 * resolv/Makefile: Likewise.
60509 * resolv/nss_dns/dns-network.c: Likewise.
60510 * resolv/res_hconf.c: Likewise.
60511 * scripts/gen-sorted.awk: Likewise.
60512 * soft-fp/soft-fp.h: Likewise.
60513 * stdio-common/printf.h: Likewise.
60514 * stdlib/monetary.h: Likewise.
60515 * stdlib/random.c: Likewise.
60516 * stdlib/random_r.c: Likewise.
60517 * sysdeps/generic/Makefile: Likewise.
60518 * sysdeps/gnu/Makefile: Likewise.
60519 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60526 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60527 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60528 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60529 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60530 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60531 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60532 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60533 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
60534 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60535 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60536 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60537 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60539 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60540 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60541 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60542 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60543 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
60544 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60545 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60546 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
60547 * sysdeps/mach/hurd/errnos.awk: Likewise.
60548 * sysdeps/mach/hurd/fork.c: Likewise.
60549 * sysdeps/mach/hurd/getcwd.c: Likewise.
60550 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
60551 * sysdeps/mach/hurd/mmap.c: Likewise.
60552 * sysdeps/mach/hurd/utimes.c: Likewise.
60553 * sysdeps/mach/hurd/xmknod.c: Likewise.
60554 * sysdeps/posix/profil.c: Likewise.
60555 * sysdeps/posix/readdir_r.c: Likewise.
60556 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60557 * sysdeps/powerpc/bits/setjmp.h: Likewise.
60558 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
60559 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60561 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60562 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60563 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60565 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60566 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60567 * sysdeps/pthread/lio_listio.c: Likewise.
60568 * sysdeps/sparc/dl-procinfo.h: Likewise.
60569 * sysdeps/unix/i386/sysdep.S: Likewise.
60570 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
60571 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
60572 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
60573 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
60574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60575 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
60576 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
60577 * sysdeps/unix/sysv/linux/speed.c: Likewise.
60578 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60579 * sysdeps/wordsize-32/divdi3.c: Likewise.
60580 * time/sys/time.h: Likewise.
60581 * wcsmbs/Makefile: Likewise.
60582
60583 2013-01-01 David S. Miller <davem@davemloft.net>
60584
60585 * po/fr.po: Update from translation team.
60586
60587 * catgets/gencat.c: Update copyright year.
60588 * csu/version.c: Likewise.
60589 * debug/catchsegv.sh: Likewise.
60590 * debug/pcprofiledump.c: Likewise.
60591 * debug/xtrace.sh: Likewise.
60592 * elf/ldconfig.c: Likewise.
60593 * elf/ldd.bash.in: Likewise.
60594 * elf/pldd.c: Likewise.
60595 * elf/sotruss.ksh: Likewise.
60596 * elf/sprof.c: Likewise.
60597 * iconv/iconv_prog.c: Likewise.
60598 * iconv/iconvconfig.c: Likewise.
60599 * locale/programs/locale.c: Likewise.
60600 * locale/programs/localedef.c: Likewise.
60601 * login/programs/pt_chown.c: Likewise.
60602 * malloc/memusage.sh: Likewise.
60603 * malloc/memusagestat.c: Likewise.
60604 * malloc/mtrace.pl: Likewise.
60605 * nscd/nscd.c: Likewise.
60606 * nss/getent.c: Likewise.
60607 * nss/makedb.c: Likewise.
60608 * posix/getconf.c: Likewise.
60609
60610 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
60611
60612 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60613 numbers.
60614
60615 2012-12-30 Mike Frysinger <vapier@gentoo.org>
60616
60617 * math/bits/mathcalls.h (modf): Use __nonnull.
60618
60619 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60620
60621 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60622 (split): Use macro CN instead of the bare value.
60623 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60624 could be used.
60625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60626 instead of the bare value.
60627 (power1): Likewise.
60628
60629 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60630
60631 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60632 __ATAN_TWOM.
60633 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60634
60635 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60636 their values.
60637 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60638 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60639 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60640 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60641
60642 2012-12-28 Andreas Jaeger <aj@suse.de>
60643
60644 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
60645 values are from Linux 3.7.
60646
60647 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60648 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
60649
60650 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60651
60652 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60653 TRUE case.
60654
60655 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60656 (norm): Likewise.
60657 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60658 variables with preprocessor constants.
60659 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60660 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60661 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60662
60663 2012-12-27 Bruno Haible <bruno@clisp.org>
60664
60665 [BZ #14317]
60666 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60667 only if needed.
60668
60669 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
60670
60671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60672 and use variable directly.
60673 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60674
60675 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60676 MPONE.
60677 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60678 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60679 variable MPONE.
60680 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60682 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60683 include directive. Remove local variable MPONE.
60684 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60685 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60686 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60687
60688 2012-12-25 David S. Miller <davem@davemloft.net>
60689
60690 * version.h (RELEASE): Set to "development".
60691 (VERSION): Set to "2.17.90".
60692 * NEWS: Add 2.18 section.
60693
60694 2012-12-21 David S. Miller <davem@davemloft.net>
60695
60696 * po/hr.po: Update from translation team.
60697
60698 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60699
60700 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60701
60702 2012-12-19 Steve Ellcey <sellcey@mips.com>
60703
60704 * NEWS: Mention new memcpy for MIPS.
60705
60706 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
60707
60708 * manual/contrib.texi (Contributors): Spelling correction.
60709
60710 2012-12-15 David S. Miller <davem@davemloft.net>
60711
60712 * po/ru.po: Update from translation team.
60713
60714 2012-12-13 David S. Miller <davem@davemloft.net>
60715
60716 * NEWS: Mention IFUNC testsuite enhancements.
60717
60718 * po/pl.po: Update from translation team.
60719 * po/bg.po: Likewise.
60720
60721 * manual/contrib.texi (Contributors): Update entries for Hongjiu
60722 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
60723
60724 2012-12-11 David S. Miller <davem@davemloft.net>
60725
60726 * po/sv.po: Update from translation team.
60727
60728 * po/vi.po: Update from translation team.
60729
60730 * po/cs.po: Update from translation team.
60731
60732 * po/de.po: Update from translation team.
60733 * po/eo.po: Likewise.
60734 * po/nl.po: Likewise.
60735
60736 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
60737
60738 [BZ #14246]
60739 * manual/argp.texi (Argp Helper Functions): Move node to follow
60740 Argp Parsing State.
60741
60742 [BZ #14872]
60743 * manual/conf.texi (Limits on File System Capacity): Mention if
60744 terminating null is included in the max size.
60745
60746 2012-12-10 Andreas Jaeger <aj@suse.de>
60747
60748 * po/cs.po: Update from translation team.
60749
60750 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
60751
60752 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60753 void pointer and cast to uintptr_t.
60754 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60755 path.
60756 * sysdeps/s390/s390-64/memcpy.S: Likewise.
60757 * sysdeps/s390/s390-64/memset.S: Likewise.
60758
60759 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
60760
60761 [BZ #14833]
60762 * menual/message.texi (Message Translation): Fix typos.
60763 (Helper programs for gettext): Likewise.
60764
60765 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
60766
60767 [BZ #14898]
60768 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60769 Change to -1.
60770
60771 2012-12-07 David S. Miller <davem@davemloft.net>
60772
60773 * po/libc.pot: Update.
60774
60775 2012-12-07 Richard Henderson <rth@redhat.com>
60776
60777 [BZ #10114]
60778 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60779 normal/normal case to before the switch.
60780 (_FP_DIV): Likewise.
60781
60782 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
60783 Mike Frysinger <vapier@gentoo.org>
60784
60785 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60786 check for __NR_fadvise64_64.
60787
60788 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
60789
60790 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60791 0, not just to plain "0" as a statement.
60792 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60793 with cw.
60794
60795 2012-12-06 Joseph Myers <joseph@codesourcery.com>
60796
60797 * NEWS: Use sourceware.org in Bugzilla URL.
60798
60799 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60800
60801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60802 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60803
60804 * stdio-common/tst-put-error.c (do_test): Add newline to the
60805 padded test to ensure flush.
60806
60807 2012-12-05 Jeff Law <law@redhat.com>
60808
60809 * sunrpc/etc.rpc (fedfs_admin): Add entry.
60810
60811 2012-12-05 Joseph Myers <joseph@codesourcery.com>
60812
60813 * README: Don't refer to ports add-on as distributed separately.
60814 Mention AArch64 in list of systems supported in the ports add-on.
60815
60816 * LICENSES: Add more non-FSF copyright and license notices.
60817
60818 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60819 ((unused)).
60820
60821 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60822
60823 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60824 10000 as width of padded output.
60825
60826 2012-12-04 Joseph Myers <joseph@codesourcery.com>
60827
60828 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60829
60830 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60831 variable LX with __attribute__ ((unused)).
60832 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60833 Likewise.
60834 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60835 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60836 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60837 with __attribute__ ((unused)).
60838
60839 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
60840
60841 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60842
60843 2012-12-04 Joseph Myers <joseph@codesourcery.com>
60844
60845 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60846 (CFLAGS-nldbl-acos.c): New variable.
60847 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60848 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60849 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60850 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60851 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60852 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60853 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60854 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60855 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60856 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60857 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60858 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60859 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60860 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60861 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60862 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60863 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60864 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60865 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60866 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60867 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60868 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60869 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60870 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60871 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60872 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60873 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60874 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60875 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60876 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60877 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60878 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60879 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60880 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60881 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60882 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60883 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60884 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60885 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60886 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60887 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60888 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60889 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60890 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60891 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60892 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60893 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60894 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60895 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60896 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60897 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60898 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60899 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60900 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60901 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60902 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60903 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60904 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60905 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60906 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60907 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60908 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60909 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60910 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60911 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60912 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60913 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60914 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60915 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60916 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60917 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60918 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60919 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60920 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60921 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60922 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60923 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60924 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60925 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60926 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60927 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60928 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60929 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60930 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60931 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60932 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60933 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60934 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60935 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60936 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60937 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60938 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60939 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60940 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60941 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60942 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60943 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60944
60945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60946 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60947
60948 [BZ #14914]
60949 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60950 whole low double instead of just low 47 bits when splitting values
60951 into two parts.
60952
60953 2012-12-03 Allan McRae <allan@archlinux.org>
60954
60955 * manual/stdio.texi (Predefined Printf Handlers): Remove
60956 @hsep and @vsep usage.
60957
60958 2012-12-03 Mike Frysinger <vapier@gentoo.org>
60959
60960 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60961 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60962
60963 2012-12-03 Jeff Law <law@redhat.com>
60964
60965 * time/sys/time.h (settimeofday): Do not mark TV argument
60966 as __nonnull.
60967
60968 2012-12-01 Mike Frysinger <vapier@gentoo.org>
60969
60970 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60971 when currently writing and seek to current position when not.
60972 * libio/Makefile (tests): Remove bug-fclose1.
60973 * libio/bug-fclose1.c: Delete.
60974
60975 2012-12-01 Joseph Myers <joseph@codesourcery.com>
60976
60977 * manual/arith.texi (feenableexcept): Fix typo.
60978 (fedisableexcept): Likewise.
60979
60980 2012-11-30 Roland McGrath <roland@hack.frob.com>
60981
60982 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60983 second, differently-typed declaration, rather than a cast.
60984
60985 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
60986
60987 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60988 * include/rpc/svc.h: ... here.
60989
60990 2012-11-30 Aurelien Jarno <aurel32@debian.org>
60991
60992 [BZ #13013]
60993 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60994 depending n and resplen2 to catch cases where answer
60995 equals answerp2.
60996
60997 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
60998
60999 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
61000 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
61001
61002 2012-11-29 Mike Frysinger <vapier@gentoo.org>
61003
61004 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
61005
61006 2012-11-29 Roland McGrath <roland@hack.frob.com>
61007
61008 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
61009
61010 2012-11-28 Jeff Law <law@redhat.com>
61011
61012 [BZ #13761]
61013 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
61014 dataset_temporary. Track alloca usage into alloca_used.
61015 If dataset is large allocate and release it via malloc/free.
61016
61017 2012-06-04 Florian Weimer <fweimer@redhat.com>
61018
61019 [BZ #14197]
61020 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
61021
61022 2012-11-28 David S. Miller <davem@davemloft.net>
61023
61024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61025
61026 2012-11-28 Joseph Myers <joseph@codesourcery.com>
61027
61028 [BZ #14803]
61029 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
61030 of pi/2 rounded to nearest to 64 bits.
61031 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
61032 nearest to 64 bits.
61033 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
61034 bits.
61035
61036 2012-11-28 Jeff Law <law@redhat.com>
61037 Martin Osvald <mosvald@redhat.com>
61038
61039 [BZ #14889]
61040 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
61041 * sunrpc/svc.c: Include time.h.
61042 (__svc_accept_failed): New function.
61043 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
61044 any reason other than EINTR, call __svc_accept_failed.
61045 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
61046 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
61047
61048 2012-11-28 Andreas Schwab <schwab@suse.de>
61049
61050 * scripts/abilist.awk: Also handle indirect functions in .opd
61051 section.
61052
61053 2012-11-28 Joseph Myers <joseph@codesourcery.com>
61054
61055 [BZ #13881]
61056 * sysdeps/x86/fpu/powl_helper.c: New file.
61057 * sysdeps/x86/fpu/Makefile: Likewise.
61058 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
61059 (p3): New object.
61060 (__ieee754_powl): Use __powl_helper for finite arguments except
61061 integer exponents below 8.
61062 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
61063 (p3): New object.
61064 (__ieee754_powl): Use __powl_helper for finite arguments except
61065 integer exponents below 8.
61066 * math/libm-test.inc (pow_test): Add more tests and enable some
61067 previously disabled tests.
61068 * sysdeps/i386/fpu/libm-test-ulps: Update.
61069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61070
61071 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61072 Carlos O'Donell <carlos_odonell@mentor.com>
61073
61074 * nss/makedb.c (is_prime): Assert that input is odd and greater
61075 than 4. Note that fact in a comment too.
61076 (next_prime): Add 4 to input.
61077
61078 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
61079
61080 [BZ #11741]
61081 * libio/Makefile (tests): Add test case tst-fwrite-error.
61082 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
61083 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
61084 * libio/tst-fwrite-error.c: New test case.
61085
61086 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
61087
61088 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
61089 before casting to void *.
61090 * include/libc-internal.h (__pointer_type): New macro.
61091 (__integer_if_pointer_type_sub): Likewise.
61092 (__integer_if_pointer_type): Likewise.
61093 (cast_to_integer): Likewise.
61094 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
61095 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
61096 before casting to atomic64_t.
61097 (atomic_exchange_acq): Likewise.
61098 (__arch_exchange_and_add_body): Likewise.
61099 (__arch_add_body): Likewise.
61100 (atomic_add_negative): Likewise.
61101 (atomic_add_zero): Likewise.
61102
61103 2012-11-26 Joseph Myers <joseph@codesourcery.com>
61104
61105 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
61106 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
61107 (add_fdes): Likewise.
61108 (linear_search_fdes): Likewise.
61109 (binary_search_unencoded_fdes): Likewise.
61110
61111 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
61112
61113 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
61114
61115 2012-11-24 Adam Conrad <adconrad@0c3.net>
61116
61117 * configure.in: Autodetect C++ header directories.
61118 * configure: Regenerated.
61119
61120 2012-11-23 Mike Frysinger <vapier@gentoo.org>
61121
61122 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
61123
61124 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
61125
61126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61127
61128 2012-11-22 Joseph Myers <joseph@codesourcery.com>
61129
61130 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
61131 LDBL_MANT_DIG == 106]: Disable some tests.
61132 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
61133 Likewise.
61134 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
61135 Likewise.
61136
61137 [BZ #14871]
61138 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
61139 input for small inputs. Return +/- pi/2 for large inputs.
61140 * math/libm-test.inc (atan_test): Add more tests.
61141
61142 * sysdeps/generic/unwind-dw2-fde-glibc.c
61143 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
61144 __attribute__ ((unused)).
61145
61146 [BZ #14645]
61147 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
61148 x * y if x and y are nonzero and z is zero.
61149
61150 [BZ #14811]
61151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
61152 nonzero exponents with absolute value below 0x1p-117 to +/-
61153 0x1p-117.
61154
61155 [BZ #14869]
61156 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
61157 up arguments below 2**-450, not just those below 2**-500.
61158 * math/libm-test.inc (hypot_test): Add another test.
61159
61160 [BZ #14868]
61161 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
61162 Return a+b for ratio over 2**120, not 2**60.
61163 * math/libm-test.inc (hypot_test): Add another test.
61164
61165 * math/libm-test.inc (clog_test): Use
61166 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
61167 (clog10_test): Likewise.
61168
61169 [BZ #6778]
61170 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
61171
61172 2012-11-22 Andreas Schwab <schwab@suse.de>
61173
61174 * sysdeps/i386/fpu/libm-test-ulps: Update.
61175
61176 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
61177
61178 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
61179 printf output with newline.
61180
61181 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
61182
61183 [BZ #14865]
61184 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
61185 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
61186 -z nodlopen, -z initfirst and -z execstack support.
61187 * configure: Regenerated.
61188
61189 * elf/elf.h (DF_1_NODIRECT): New macro.
61190 (DF_1_IGNMULDEF): Likewise.
61191 (DF_1_NOKSYMS): Likewise.
61192 (DF_1_NOHDR): Likewise.
61193 (DF_1_EDITED): Likewise.
61194 (DF_1_NORELOC): Likewise.
61195 (DF_1_SYMINTPOSE): Likewise.
61196 (DF_1_GLOBAUDIT): Likewise.
61197 (DF_1_SINGLETON): Likewise.
61198 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
61199 DT_1_SUPPORTED_MASK bits.
61200 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
61201
61202 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
61203
61204 * sysdeps/unix/make-syscalls.sh: Document prefixes.
61205
61206 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
61207
61208 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
61209 macro.
61210
61211 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
61212 (sendmmsg): Move declarations...
61213 * socket/sys/socket.h: ... here.
61214 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
61215 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
61216 include it from...
61217 * socket/recvmmsg.c: ... this new file.
61218 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
61219 (sendmmsg): Rename to __sendmmsg, create weak alias and make
61220 definition of __sendmmsg hidden.
61221 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
61222 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
61223 Move ENOSYS stub into and include it from...
61224 * socket/sendmmsg.c: ... this new file.
61225 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
61226 (sysdep_routines): Move recvmmsg and sendmmsg...
61227 * socket/Makefile (routines): ... here.
61228 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
61229 (GLIBC_PRIVATE): Add __sendmmsg.
61230 * include/sys/socket.h (__sendmmsg): Add declarations.
61231 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
61232 sendmmsg.
61233
61234 2012-11-20 Joseph Myers <joseph@codesourcery.com>
61235
61236 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
61237 variable I1 with __attribute__ ((unused)).
61238 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61239
61240 2012-11-19 Joseph Myers <joseph@codesourcery.com>
61241
61242 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
61243 DUMMY variables with __attribute__ ((unused)).
61244
61245 * bits/byteswap.h: Include <bits/types.h>.
61246 (__bswap_64): Use __uint64_t instead of unsigned long long int.
61247
61248 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
61249
61250 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
61251 string_t. Do not manually set errno.
61252 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
61253 length with __strnlen. Make sure to both set errno and return it on
61254 failure.
61255
61256 2012-11-19 David S. Miller <davem@davemloft.net>
61257
61258 With help from Joseph Myers.
61259 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
61260 very large arguments properly.
61261 * math/libm-test.inc (atan_test): New tests.
61262 (atan2_test): New tests.
61263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61265
61266 2012-11-19 Joseph Myers <joseph@codesourcery.com>
61267
61268 [BZ #14856]
61269 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
61270 Define to 3.
61271
61272 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
61273 [POSIX] (EADDRNOTAVAIL): Likewise.
61274 [POSIX] (EAFNOSUPPORT): Likewise.
61275 [POSIX] (EALREADY): Likewise.
61276 [POSIX] (ECONNABORTED): Likewise.
61277 [POSIX] (ECONNREFUSED): Likewise.
61278 [POSIX] (ECONNRESET): Likewise.
61279 [POSIX] (EDESTADDRREQ): Likewise.
61280 [POSIX] (EDQUOT): Likewise.
61281 [POSIX] (EHOSTUNREACH): Likewise.
61282 [POSIX] (EIDRM): Likewise.
61283 [POSIX] (EISCONN): Likewise.
61284 [POSIX] (ELOOP): Likewise.
61285 [POSIX] (EMULTIHOP): Likewise.
61286 [POSIX] (ENETDOWN): Likewise.
61287 [POSIX] (ENETUNREACH): Likewise.
61288 [POSIX] (ENOBUFS): Likewise.
61289 [POSIX] (ENODATA): Likewise.
61290 [POSIX] (ENOLINK): Likewise.
61291 [POSIX] (ENOMSG): Likewise.
61292 [POSIX] (ENOPROTOOPT): Likewise.
61293 [POSIX] (ENOSR): Likewise.
61294 [POSIX] (ENOSTR): Likewise.
61295 [POSIX] (ENOTCONN): Likewise.
61296 [POSIX] (ENOTSOCK): Likewise.
61297 [POSIX] (EOPNOTSUPP): Likewise.
61298 [POSIX] (EOVERFLOW): Likewise.
61299 [POSIX] (EPROTO): Likewise.
61300 [POSIX] (EPROTONOSUPPORT): Likewise.
61301 [POSIX] (EPROTOTYPE): Likewise.
61302 [POSIX] (ESTALE): Likewise.
61303 [POSIX] (ETIME): Likewise.
61304 [POSIX] (ETXTBSY): Likewise.
61305 [POSIX] (EWOULDBLOCK): Likewise.
61306 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
61307 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
61308 [POSIX] (SEEK_CUR): Likewise.
61309 [POSIX] (SEEK_END): Likewise.
61310 [POSIX || UNIX98] (mode_t): Do not require.
61311 [POSIX] (off_t): Likewise.
61312 [POSIX] (pid_t): Likewise.
61313 [POSIX] (sys/stat.h): Do not allow header.
61314 [POSIX] (unistd.h): Likewise.
61315 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
61316 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
61317 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
61318 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
61319 require.
61320 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
61321 sigevent): Specify elements.
61322 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
61323 entry.
61324 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
61325 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
61326
61327 * conform/data/cpio.h-data [POSIX]: Disable whole file.
61328 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
61329 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
61330 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
61331 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
61332 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
61333 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
61334 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
61335 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
61336 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
61337 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
61338 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
61339 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
61340 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
61341 Likewise.
61342 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
61343 Likewise.
61344 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
61345 Likewise.
61346 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
61347 Likewise.
61348 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
61349 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
61350 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
61351 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
61352 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
61353 Specify lower bound on value.
61354 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
61355 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
61356 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
61357 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
61358 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
61359 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
61360 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
61361 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
61362 value.
61363 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
61364 as optional.
61365 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
61366 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
61367 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
61368 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
61369 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
61370 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
61371 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
61372 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
61373 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
61374 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
61375 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
61376 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
61377 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
61378 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
61379 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
61380 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
61381 entry.
61382 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
61383 optional.
61384 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
61385 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
61386 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
61387 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
61388 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
61389 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
61390 Likewise.
61391 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
61392 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
61393 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
61394 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
61395 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
61396 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
61397 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
61398 as optional.
61399 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
61400 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
61401 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
61402 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
61403 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
61404 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
61405 specify as optional.
61406 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
61407 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
61408 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
61409 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
61410 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
61411 [XPG3] (NL_LANGMAX): Likewise.
61412 [POSIX || XPG3] (NL_MSGMAX): Likewise.
61413 [POSIX || XPG3] (NL_NMAX): Likewise.
61414 [POSIX || XPG3] (NL_SETMAX): Likewise.
61415 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
61416 [XPG3] (NZERO): Likewise.
61417 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
61418 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
61419 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
61420 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
61421 (REG_ERANGE): Expect.
61422 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
61423 optional-constant.
61424 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
61425 Use (void) in prototype.
61426 [POSIX] (*_t): Allow.
61427 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
61428 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
61429 (WRDE_BADVAL): Expect.
61430
61431 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
61432 expect.
61433 [XPG3 || XPG4] (O_RSYNC): Likewise.
61434 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
61435 Likewise.
61436 [XPG3 || XPG4] (pthread_sigmask): Likewise.
61437 [XPG3 || XPG4] (sigqueue): Likewise.
61438 [XPG3 || XPG4] (sigtimedwait): Likewise.
61439 [XPG3 || XPG4] (sigwaitinfo): Likewise.
61440 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
61441 [XPG3 || XPG4] (vsnprintf): Likewise.
61442 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
61443 Likewise.
61444 [XPG3 || XPG4] (blksize_t): Likewise.
61445 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
61446 Likewise.
61447 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
61448 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
61449 [XPG3 || XPG4] (struct itimerspec): Likewise.
61450 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
61451 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
61452 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
61453 [XPG3 || XPG4] (clockid_t): Likewise.
61454 [XPG3 || XPG4] (timer_t): Likewise.
61455 [XPG3 || XPG4] (clock_getres): Likewise.
61456 [XPG3 || XPG4] (clock_gettime): Likewise.
61457 [XPG3 || XPG4] (clock_settime): Likewise.
61458 [XPG3 || XPG4] (nanosleep): Likewise.
61459 [XPG3 || XPG4] (timer_create): Likewise.
61460 [XPG3 || XPG4] (timer_delete): Likewise.
61461 [XPG3 || XPG4] (timer_gettime): Likewise.
61462 [XPG3 || XPG4] (timer_getoverrun): Likewise.
61463 [XPG3 || XPG4] (timer_settime): Likewise.
61464 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
61465 [XPG3 || XPG4] (getlogin_r): Likewise.
61466 [XPG3 || XPG4] (pread): Likewise.
61467 [XPG3 || XPG4] (pthread_atfork): Likewise.
61468 [XPG3 || XPG4] (pwrite): Likewise.
61469
61470 [BZ #14835]
61471 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
61472 <bits/siginfo.h>.
61473
61474 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
61475
61476 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
61477 finalizing MALLSTREAM.
61478
61479 * sysdeps/mach/hurd/syncfs.c: New file.
61480
61481 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
61482
61483 [BZ #14719]
61484 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
61485 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
61486 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
61487 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
61488 (_nss_dns_gethostbyname4_r): Likewise.
61489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
61490 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
61491
61492 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
61493
61494 [BZ #13763]
61495 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
61496
61497 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
61498
61499 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
61500 * elf/cache.c (print_entry): Print ",AArch64" for
61501 FLAG_AARCH64_LIB64
61502
61503 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
61504 * elf/cache.c (print_entry): Print ",hard-float" for
61505 FLAG_ARM_LIBHF.
61506
61507 2012-11-18 David S. Miller <davem@davemloft.net>
61508
61509 With help from Joseph Myers.
61510 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
61511 cutoff to 2**-13.
61512 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
61513 cutoff to 2**-25.
61514 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
61515 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
61516 small.
61517 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
61518 * math/libm-test.inc (y0_test): New tests.
61519 (y1_test): New tests.
61520 * sysdeps/i386/fpu/libm-test-ulps: Update.
61521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61523
61524 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
61525
61526 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61527 64-bit targets.
61528 * configure: Regenerated.
61529
61530 2012-11-17 David S. Miller <davem@davemloft.net>
61531
61532 [BZ #14811]
61533 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
61534 nonzero exponents with absolute value below 0x1p-128 to +/-
61535 0x1p-128.
61536
61537 2012-11-17 Joseph Myers <joseph@codesourcery.com>
61538
61539 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
61540
61541 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
61542
61543 * posix/getconf-speclist.c: New file.
61544 * posix/posix-envs.def: Likewise.
61545 * posix/confstr.c (START_ENV_GROUP): New macro.
61546 (END_ENV_GROUP): Likewise.
61547 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61548 (KNOWN_PRESENT_ENV_STRING): Likewise.
61549 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61550 (UNKNOWN_ENVIRONMENT): Likewise.
61551 (confstr): Include posix-envs.def instead of handling
61552 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
61553 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
61554 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
61555 (END_ENV_GROUP): Likewise.
61556 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61557 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61558 (UNKNOWN_ENVIRONMENT): Likewise.
61559 (__sysconf): Include posix-envs.def instead of handling associated
61560 cases directly here.
61561 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
61562 preprocessing getconf-speclist.c rather than running getconf or
61563 generating empty file.
61564
61565 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
61566
61567 * scripts/check-local-headers.sh: Ignore 'mach' headers.
61568
61569 2012-11-16 Andrej Lajovic <natrij@gmail.com>
61570
61571 [BZ #14672]
61572 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
61573
61574 2012-11-16 David S. Miller <davem@davemloft.net>
61575
61576 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
61577 smaller than LDBL_EPSILON/2.0L, just return xm1.
61578
61579 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
61580
61581 * elf/tst-array1.c (init): Set constructor priority to 1000.
61582 (fini): Set destructor priority to 1000.
61583 * elf/tst-array2dep.c: Likewise.
61584
61585 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61586
61587 [BZ #11741]
61588 * libio/fileops.c (_IO_new_file_write): Correctly return error.
61589 (_IO_new_file_xsputn): Also return EOF if none of the input
61590 data was written when overflow failed.
61591 * libio/iopadn.c (_IO_padn): Likewise.
61592 * libio/iowpadn.c (_IO_wpadn): Likewise.
61593 * stdio-common/tst-put-error.c: Add copyright notice.
61594 (do_test): Add case for printing padded string.
61595 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61596 _IO_padn returned error.
61597 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61598 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61599 return EOF.
61600
61601 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61602
61603 * libio/libioP.h: Add comment note that the references to C++
61604 bits are now obsolete.
61605
61606 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61607
61608 * math/libm-test.inc (check_complex): Use asprintf.
61609
61610 2012-11-14 Joseph Myers <joseph@codesourcery.com>
61611
61612 * debug/pcprofiledump.c (print_version): Update copyright year.
61613 * malloc/memusagestat.c (print_version): Likewise.
61614
61615 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
61616
61617 [BZ #14831]
61618 * elf/Makefile (tests): Add tst-audit8.
61619 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61620 ($(objpfx)tst-audit8.out): New target.
61621 (tst-audit8-ENV): New variable.
61622 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61623 audit if l_reloc_result is NULL.
61624 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61625 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61626 * elf/tst-audit8.c: New file.
61627
61628 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61629
61630 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61631 * misc/Makefile (CFLAGS-select.c): Define.
61632 * posix/Makefile (CFLAGS-pause.c): Define.
61633
61634 2012-11-13 David S. Miller <davem@davemloft.net>
61635
61636 * crypt/Makefile: Move test targets after toplevel Rules
61637 inclusion. Grab any necessary sysdep routines when linking.
61638 * crypt/md5.c (md5_process_block): Remove define, we will always
61639 name it __md5_process_block.
61640 (md5_finish_ctx): Update md5_process_block call.
61641 (md5_stream): Likewise.
61642 (md5_process_bytes): Likewise.
61643 (md5_process_block): Rename to __md5_process_block and move to ...
61644 * crypt/md5-block.c: ... here.
61645 * crypt/sha256.c (sha256_process_block): Move to ...
61646 * crypt/sha256-block.c: ... here.
61647 * crypt/sha512.c (sha512_process_block): Move to ...
61648 * crypt/sha512-block.c: ... here.
61649 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61650 path.
61651 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61652 * sysdeps/sparc/sparc64/multiarch/Makefile
61653 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61654 crypt subdir.
61655 (localedef-aux): Add md5 crypto assembler when in locale subdir.
61656 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61657 multiarch changes.
61658 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61659 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61660 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61661 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61662 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61663 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61664 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61665 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61666 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61667 file.
61668 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61669 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61670 file.
61671 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61672
61673 2012-11-13 Joseph Myers <joseph@codesourcery.com>
61674
61675 * timezone/tzselect.ksh: Update from tzcode git revision
61676 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61677 * timezone/zdump.c: Likewise.
61678 * timezone/zic.c: Likewise.
61679 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61680 in TZVERSION setting, not $(PKGVERSION).
61681 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
61682 REPORT_BUGS_TO settings.
61683
61684 [BZ #14838]
61685 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61686 macro.
61687
61688 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61689
61690 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61691 detection to immediately after _FP_ROUND().
61692 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61693 bits are 0.
61694
61695 2012-11-11 David S. Miller <davem@davemloft.net>
61696
61697 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61698 inttypes.h
61699 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61700 __close rather than their public counterparts.
61701
61702 2012-11-10 Joseph Myers <joseph@codesourcery.com>
61703
61704 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61705 file.
61706 [UNIX98] (sem_timedwait): Do not expect.
61707 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61708 [XPG4 || UNIX98] (sockatmark): Do not expect.
61709 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61710 (clock_getcpuclockid): Do not expect.
61711 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61712 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61713 Do not expect.
61714 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61715 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61716 [UNIX98] (vwscanf): Likewise.
61717 [UNIX98] (vswscanf): Likewise.
61718
61719 2012-11-09 Joseph Myers <joseph@codesourcery.com>
61720
61721 * timezone/version.h: Remove file.
61722 * timezone/README: Do not refer to version.h.
61723 * timezone/Makefile ($(objpfx)zic.o): New dependency on
61724 $(objpfx)version.h.
61725 ($(objpfx)zdump.o): Likewise.
61726 ($(objpfx)version.h): New target.
61727
61728 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61729 2012i.
61730 * timezone/README: Don't mention modification to tzselect.ksh.
61731 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61732 work on unmodified tzselect.ksh. Substitute version numbers in
61733 tzselect.ksh.
61734
61735 * Makefile (format-me): Remove.
61736 (INSTALL): Adjust indentation. Use commands directly instead of
61737 using $(format-me).
61738
61739 * aclocal.m4 (ACX_PKGVERSION): New macro.
61740 (ACX_BUGURL): Likewise.
61741 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61742 (PKGVERSION): New AC_DEFINE_UNQUOTED.
61743 (REPORT_BUGS_TO): Likewise.
61744 * configure: Regenerated.
61745 * config.h.in (PKGVERSION): New macro.
61746 (REPORT_BUGS_TO): Likewise.
61747 * config.make.in (PKGVERSION): New variable.
61748 (PKGVERSION_TEXI): Likewise.
61749 (REPORT_BUGS_TO): Likewise.
61750 (REPORT_BUGS_TEXI): Likewise.
61751 * Makefile (format-me): Use -I$(common-objpfx)manual.
61752 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61753 ($(common-objpfx)manual/%): New target.
61754 (manual/%): Remove target.
61755 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61756 (print_version): Use PKGVERSION.
61757 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61758 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61759 and REPORT_BUGS_TO.
61760 ($(objpfx)xtrace): Likewise.
61761 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61762 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61763 (print_version): Use PKGVERSION.
61764 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61765 (do_version): Use PKGVERSION.
61766 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61767 REPORT_BUGS_TO.
61768 (common-ldd-rewrite): Likewise.
61769 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61770 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61771 (print_version): Use PKGVERSION.
61772 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61773 * elf/pldd.c (argp_program_bug_address): Remove variable.
61774 (more_help): New function.
61775 (argp): Use more_help.
61776 (print_version): Use PKGVERSION.
61777 * elf/sln.c (main): Use PKGVERSION.
61778 (usage): Use REPORT_BUGS_TO.
61779 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61780 (top level): Use PKGVERSION.
61781 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61782 (print_version): Use PKGVERSION.
61783 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61784 (print_version): Use PKGVERSION.
61785 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61786 (print_version): Use PKGVERSION.
61787 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61788 (print_version): Use PKGVERSION.
61789 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61790 (print_version): Use PKGVERSION.
61791 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61792 (print_version): Use PKGVERSION.
61793 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61794 and BUGURL.
61795 ($(objpfx)memusage): Likewise.
61796 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61797 (do_version): Use PKGVERSION.
61798 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61799 (print_version): Use PKGVERSION.
61800 * malloc/mtrace.pl ($PACKAGE): Remove variable.
61801 ($PKGVERSION): New variable.
61802 ($REPORT_BUGS_TO): Likewise.
61803 (usage): Use $REPORT_BUGS_TO.
61804 (top level): Use $PKGVERSION.
61805 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61806 ($(objpfx)pkgvers.texi): New rule.
61807 ($(objpfx)stamp-pkgvers): Likewise.
61808 * manual/install.texi: Include pkgvers.texi.
61809 (--with-pkgversion): Document new configure option.
61810 (--with-bugurl): Likewise.
61811 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61812 than necessarily for this particular distribution. Use
61813 REPORT_BUGS_TO for where to report bugs.
61814 * INSTALL: Regenerated.
61815 * manual/libc.texinfo: Include pkgvers.texi.
61816 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61817 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61818 (print_version): Use PKGVERSION.
61819 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61820 (print_version): Use PKGVERSION.
61821 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61822 (print_version): Use PKGVERSION.
61823 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61824 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61825 macro.
61826 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61827 (print_version): Use PKGVERSION.
61828 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61829 (print_version): Use PKGVERSION.
61830 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61831 and PKGVERSION.
61832
61833 * timezone/checktab.awk: Update from tzcode 2012i.
61834 * timezone/ialloc.c: Likewise.
61835 * timezone/private.h: Likewise.
61836 * timezone/scheck.c: Likewise.
61837 * timezone/tzfile.h: Likewise.
61838 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61839 (TZVERSION): Hardcode tzcode version number.
61840 * timezone/zdump.c: Update from tzcode 2012i.
61841 * timezone/zic.c: Likewise.
61842 * timezone/version.h: New file.
61843 * timezone/README: Describe version.h. Update upstream location.
61844
61845 [BZ #14824]
61846 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61847 (mktemp): Enable declaration.
61848 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61849 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61850 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61851 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61852 Likewise.
61853 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61854 Likewise.
61855 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61856 Likewise.
61857 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61858 Likewise.
61859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61860 Likewise.
61861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61862 Likewise.
61863
61864 [BZ #14821]
61865 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61866 offset in buffer as u_int32_t not u_long. Consistently use memcpy
61867 for copies of such integer values.
61868 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61869 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61870
61871 2012-11-09 Andreas Jaeger <aj@suse.de>
61872
61873 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61874 definitions and declarations that are provided by
61875 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61876
61877 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61878
61879 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61880 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61881 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61882 definition.
61883
61884 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61885
61886 * elf/elf.h: Update comment before AArch64 relocations.
61887
61888 2012-11-07 David S. Miller <davem@davemloft.net>
61889
61890 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61891 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61892 (__start_context): Declare.
61893 (__makecontext_ret): Delete.
61894 (__makecontext): Hook up __start_context instead of
61895 __makecontext_ret.
61896 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61897 (sysdep_routines): Add __start_context when in stdlib.
61898
61899 2012-11-07 Joseph Myers <joseph@codesourcery.com>
61900
61901 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61902 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61903 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
61904 hardcoded "nm".
61905 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
61906 (READELF): New variable. Use it instead of hardcoded "readelf".
61907
61908 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
61909
61910 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61911 * sysdeps/x86/Makefile: Here.
61912 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61913 * sysdeps/x86/tst-xmmymm.sh: This.
61914
61915 2012-11-07 Joseph Myers <joseph@codesourcery.com>
61916
61917 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61918 expectations.
61919 [UNIX98] (pthread_barrier_t): Do not expect.
61920 [UNIX98] (pthread_barrierattr_t): Likewise.
61921 [UNIX98] (pthread_spinlock_t): Likewise.
61922 [UNIX98] (pthread_barrier_destroy): Likewise.
61923 [UNIX98] (pthread_barrier_init): Likewise.
61924 [UNIX98] (pthread_barrier_wait): Likewise.
61925 [UNIX98] (pthread_barrierattr_destroy): Likewise.
61926 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61927 [UNIX98] (pthread_barrierattr_init): Likewise.
61928 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61929 [UNIX98] (pthread_getcpuclockid): Likewise.
61930 [UNIX98] (pthread_mutex_timedlock): Likewise.
61931 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61932 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61933 [UNIX98] (pthread_sigmask): Likewise.
61934 [UNIX98] (pthread_spin_destroy): Likewise.
61935 [UNIX98] (pthread_spin_init): Likewise.
61936 [UNIX98] (pthread_spin_lock): Likewise.
61937 [UNIX98] (pthread_spin_trylock): Likewise.
61938 [UNIX98] (pthread_spin_unlock): Likewise.
61939 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61940 Do not expect.
61941 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61942 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61943 [XPG3 || XPG4] (pthread_cond_t): Likewise.
61944 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61945 [XPG3 || XPG4] (pthread_key_t): Likewise.
61946 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61947 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61948 [XPG3 || XPG4] (pthread_once_t): Likewise.
61949 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61950 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61951 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61952 [XPG3 || XPG4] (pthread_t): Likewise.
61953
61954 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61955 not expect.
61956 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61957
61958 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61959 Change function return type to int.
61960
61961 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61962 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61963 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61964 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61965 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61966 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61967 [!POSIX] (posix_madvise): Likewise.
61968 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61969 && !UNIX98].
61970 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61971 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61972 (mode_t): Likewise.
61973 (posix_mem_offset): Likewise.
61974 (posix_typed_mem_get_info): Likewise.
61975 (posix_typed_mem_open): Likewise.
61976
61977 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61978 Change condition to [XOPEN2K8].
61979
61980 * conform/conformtest.pl: Preprocess allow-header data with -x c
61981 instead of from stdin.
61982 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61983 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61984 [C99-based standards] (cerfc): Likewise.
61985 [C99-based standards] (cexp2): Likewise.
61986 [C99-based standards] (cexpm1): Likewise.
61987 [C99-based standards] (clog10): Likewise.
61988 [C99-based standards] (clog1p): Likewise.
61989 [C99-based standards] (clog2): Likewise.
61990 [C99-based standards] (clgamma): Likewise.
61991 [C99-based standards] (ctgamma): Likewise.
61992 [C99-based standards] (cerff): Likewise.
61993 [C99-based standards] (cerfcf): Likewise.
61994 [C99-based standards] (cexp2f): Likewise.
61995 [C99-based standards] (cexpm1f): Likewise.
61996 [C99-based standards] (clog10f): Likewise.
61997 [C99-based standards] (clog1pf): Likewise.
61998 [C99-based standards] (clog2f): Likewise.
61999 [C99-based standards] (clgammaf): Likewise.
62000 [C99-based standards] (ctgammaf): Likewise.
62001 [C99-based standards] (cerfl): Likewise.
62002 [C99-based standards] (cerfcl): Likewise.
62003 [C99-based standards] (cexp2l): Likewise.
62004 [C99-based standards] (cexpm1l): Likewise.
62005 [C99-based standards] (clog10l): Likewise.
62006 [C99-based standards] (clog1pl): Likewise.
62007 [C99-based standards] (clog2l): Likewise.
62008 [C99-based standards] (clgammal): Likewise.
62009 [C99-based standards] (ctgammal): Likewise.
62010 * conform/data/inttypes.h-data [C99-based standards]: Include
62011 stdint.h-data. Remove all expectations for stdint.h contents.
62012 [C99-based standards] (PRI*): Do not allow.
62013 [C99-based standards] (SCN*): Likewise.
62014 [C99-based standards] (*_t): Likewise.
62015 [C99-based-standards] (PRId8): Expect macro.
62016 [C99-based-standards] (PRIi8): Likewise.
62017 [C99-based-standards] (PRIo8): Likewise.
62018 [C99-based-standards] (PRIu8): Likewise.
62019 [C99-based-standards] (PRIx8): Likewise.
62020 [C99-based-standards] (PRIX8): Likewise.
62021 [C99-based-standards] (SCNd8): Likewise.
62022 [C99-based-standards] (SCNi8): Likewise.
62023 [C99-based-standards] (SCNo8): Likewise.
62024 [C99-based-standards] (SCNu8): Likewise.
62025 [C99-based-standards] (SCNx8): Likewise.
62026 [C99-based-standards] (PRIdLEAST8): Likewise.
62027 [C99-based-standards] (PRIiLEAST8): Likewise.
62028 [C99-based-standards] (PRIoLEAST8): Likewise.
62029 [C99-based-standards] (PRIuLEAST8): Likewise.
62030 [C99-based-standards] (PRIxLEAST8): Likewise.
62031 [C99-based-standards] (PRIXLEAST8): Likewise.
62032 [C99-based-standards] (SCNdLEAST8): Likewise.
62033 [C99-based-standards] (SCNiLEAST8): Likewise.
62034 [C99-based-standards] (SCNoLEAST8): Likewise.
62035 [C99-based-standards] (SCNuLEAST8): Likewise.
62036 [C99-based-standards] (SCNxLEAST8): Likewise.
62037 [C99-based-standards] (PRIdFAST8): Likewise.
62038 [C99-based-standards] (PRIiFAST8): Likewise.
62039 [C99-based-standards] (PRIoFAST8): Likewise.
62040 [C99-based-standards] (PRIuFAST8): Likewise.
62041 [C99-based-standards] (PRIxFAST8): Likewise.
62042 [C99-based-standards] (PRIXFAST8): Likewise.
62043 [C99-based-standards] (SCNdFAST8): Likewise.
62044 [C99-based-standards] (SCNiFAST8): Likewise.
62045 [C99-based-standards] (SCNoFAST8): Likewise.
62046 [C99-based-standards] (SCNuFAST8): Likewise.
62047 [C99-based-standards] (SCNxFAST8): Likewise.
62048 [C99-based-standards] (PRId16): Likewise.
62049 [C99-based-standards] (PRIi16): Likewise.
62050 [C99-based-standards] (PRIo16): Likewise.
62051 [C99-based-standards] (PRIu16): Likewise.
62052 [C99-based-standards] (PRIx16): Likewise.
62053 [C99-based-standards] (PRIX16): Likewise.
62054 [C99-based-standards] (SCNd16): Likewise.
62055 [C99-based-standards] (SCNi16): Likewise.
62056 [C99-based-standards] (SCNo16): Likewise.
62057 [C99-based-standards] (SCNu16): Likewise.
62058 [C99-based-standards] (SCNx16): Likewise.
62059 [C99-based-standards] (PRIdLEAST16): Likewise.
62060 [C99-based-standards] (PRIiLEAST16): Likewise.
62061 [C99-based-standards] (PRIoLEAST16): Likewise.
62062 [C99-based-standards] (PRIuLEAST16): Likewise.
62063 [C99-based-standards] (PRIxLEAST16): Likewise.
62064 [C99-based-standards] (PRIXLEAST16): Likewise.
62065 [C99-based-standards] (SCNdLEAST16): Likewise.
62066 [C99-based-standards] (SCNiLEAST16): Likewise.
62067 [C99-based-standards] (SCNoLEAST16): Likewise.
62068 [C99-based-standards] (SCNuLEAST16): Likewise.
62069 [C99-based-standards] (SCNxLEAST16): Likewise.
62070 [C99-based-standards] (PRIdFAST16): Likewise.
62071 [C99-based-standards] (PRIiFAST16): Likewise.
62072 [C99-based-standards] (PRIoFAST16): Likewise.
62073 [C99-based-standards] (PRIuFAST16): Likewise.
62074 [C99-based-standards] (PRIxFAST16): Likewise.
62075 [C99-based-standards] (PRIXFAST16): Likewise.
62076 [C99-based-standards] (SCNdFAST16): Likewise.
62077 [C99-based-standards] (SCNiFAST16): Likewise.
62078 [C99-based-standards] (SCNoFAST16): Likewise.
62079 [C99-based-standards] (SCNuFAST16): Likewise.
62080 [C99-based-standards] (SCNxFAST16): Likewise.
62081 [C99-based-standards] (PRId32): Likewise.
62082 [C99-based-standards] (PRIi32): Likewise.
62083 [C99-based-standards] (PRIo32): Likewise.
62084 [C99-based-standards] (PRIu32): Likewise.
62085 [C99-based-standards] (PRIx32): Likewise.
62086 [C99-based-standards] (PRIX32): Likewise.
62087 [C99-based-standards] (SCNd32): Likewise.
62088 [C99-based-standards] (SCNi32): Likewise.
62089 [C99-based-standards] (SCNo32): Likewise.
62090 [C99-based-standards] (SCNu32): Likewise.
62091 [C99-based-standards] (SCNx32): Likewise.
62092 [C99-based-standards] (PRIdLEAST32): Likewise.
62093 [C99-based-standards] (PRIiLEAST32): Likewise.
62094 [C99-based-standards] (PRIoLEAST32): Likewise.
62095 [C99-based-standards] (PRIuLEAST32): Likewise.
62096 [C99-based-standards] (PRIxLEAST32): Likewise.
62097 [C99-based-standards] (PRIXLEAST32): Likewise.
62098 [C99-based-standards] (SCNdLEAST32): Likewise.
62099 [C99-based-standards] (SCNiLEAST32): Likewise.
62100 [C99-based-standards] (SCNoLEAST32): Likewise.
62101 [C99-based-standards] (SCNuLEAST32): Likewise.
62102 [C99-based-standards] (SCNxLEAST32): Likewise.
62103 [C99-based-standards] (PRIdFAST32): Likewise.
62104 [C99-based-standards] (PRIiFAST32): Likewise.
62105 [C99-based-standards] (PRIoFAST32): Likewise.
62106 [C99-based-standards] (PRIuFAST32): Likewise.
62107 [C99-based-standards] (PRIxFAST32): Likewise.
62108 [C99-based-standards] (PRIXFAST32): Likewise.
62109 [C99-based-standards] (SCNdFAST32): Likewise.
62110 [C99-based-standards] (SCNiFAST32): Likewise.
62111 [C99-based-standards] (SCNoFAST32): Likewise.
62112 [C99-based-standards] (SCNuFAST32): Likewise.
62113 [C99-based-standards] (SCNxFAST32): Likewise.
62114 [C99-based-standards] (PRId64): Likewise.
62115 [C99-based-standards] (PRIi64): Likewise.
62116 [C99-based-standards] (PRIo64): Likewise.
62117 [C99-based-standards] (PRIu64): Likewise.
62118 [C99-based-standards] (PRIx64): Likewise.
62119 [C99-based-standards] (PRIX64): Likewise.
62120 [C99-based-standards] (SCNd64): Likewise.
62121 [C99-based-standards] (SCNi64): Likewise.
62122 [C99-based-standards] (SCNo64): Likewise.
62123 [C99-based-standards] (SCNu64): Likewise.
62124 [C99-based-standards] (SCNx64): Likewise.
62125 [C99-based-standards] (PRIdLEAST64): Likewise.
62126 [C99-based-standards] (PRIiLEAST64): Likewise.
62127 [C99-based-standards] (PRIoLEAST64): Likewise.
62128 [C99-based-standards] (PRIuLEAST64): Likewise.
62129 [C99-based-standards] (PRIxLEAST64): Likewise.
62130 [C99-based-standards] (PRIXLEAST64): Likewise.
62131 [C99-based-standards] (SCNdLEAST64): Likewise.
62132 [C99-based-standards] (SCNiLEAST64): Likewise.
62133 [C99-based-standards] (SCNoLEAST64): Likewise.
62134 [C99-based-standards] (SCNuLEAST64): Likewise.
62135 [C99-based-standards] (SCNxLEAST64): Likewise.
62136 [C99-based-standards] (PRIdFAST64): Likewise.
62137 [C99-based-standards] (PRIiFAST64): Likewise.
62138 [C99-based-standards] (PRIoFAST64): Likewise.
62139 [C99-based-standards] (PRIuFAST64): Likewise.
62140 [C99-based-standards] (PRIxFAST64): Likewise.
62141 [C99-based-standards] (PRIXFAST64): Likewise.
62142 [C99-based-standards] (SCNdFAST64): Likewise.
62143 [C99-based-standards] (SCNiFAST64): Likewise.
62144 [C99-based-standards] (SCNoFAST64): Likewise.
62145 [C99-based-standards] (SCNuFAST64): Likewise.
62146 [C99-based-standards] (SCNxFAST64): Likewise.
62147 [C99-based-standards] (PRIdMAX): Likewise.
62148 [C99-based-standards] (PRIiMAX): Likewise.
62149 [C99-based-standards] (PRIoMAX): Likewise.
62150 [C99-based-standards] (PRIuMAX): Likewise.
62151 [C99-based-standards] (PRIxMAX): Likewise.
62152 [C99-based-standards] (PRIXMAX): Likewise.
62153 [C99-based-standards] (SCNdMAX): Likewise.
62154 [C99-based-standards] (SCNiMAX): Likewise.
62155 [C99-based-standards] (SCNoMAX): Likewise.
62156 [C99-based-standards] (SCNuMAX): Likewise.
62157 [C99-based-standards] (SCNxMAX): Likewise.
62158 [C99-based-standards] (PRIdPTR): Likewise.
62159 [C99-based-standards] (PRIiPTR): Likewise.
62160 [C99-based-standards] (PRIoPTR): Likewise.
62161 [C99-based-standards] (PRIuPTR): Likewise.
62162 [C99-based-standards] (PRIxPTR): Likewise.
62163 [C99-based-standards] (PRIXPTR): Likewise.
62164 [C99-based-standards] (SCNdPTR): Likewise.
62165 [C99-based-standards] (SCNiPTR): Likewise.
62166 [C99-based-standards] (SCNoPTR): Likewise.
62167 [C99-based-standards] (SCNuPTR): Likewise.
62168 [C99-based-standards] (SCNxPTR): Likewise.
62169 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
62170 allow.
62171 * conform/data/stdint.h-data: Update comments to clarify
62172 requirements.
62173 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
62174 type.
62175 [C99-based standards] (INT8_MAX): Likewise.
62176 [C99-based standards] (INT16_MIN): Likewise.
62177 [C99-based standards] (INT16_MAX): Likewise.
62178 [C99-based standards] (INT32_MIN): Likewise.
62179 [C99-based standards] (INT32_MAX): Likewise.
62180 [C99-based standards] (INT64_MIN): Likewise.
62181 [C99-based standards] (INT64_MAX): Likewise.
62182 [C99-based standards] (UINT8_MAX): Likewise.
62183 [C99-based standards] (UINT16_MAX): Likewise.
62184 [C99-based standards] (UINT32_MAX): Likewise.
62185 [C99-based standards] (UINT64_MAX): Likewise.
62186 [C99-based standards] (INT_LEAST8_MIN): Likewise.
62187 [C99-based standards] (INT_LEAST8_MAX): Likewise.
62188 [C99-based standards] (INT_LEAST16_MIN): Likewise.
62189 [C99-based standards] (INT_LEAST16_MAX): Likewise.
62190 [C99-based standards] (INT_LEAST32_MIN): Likewise.
62191 [C99-based standards] (INT_LEAST32_MAX): Likewise.
62192 [C99-based standards] (INT_LEAST64_MIN): Likewise.
62193 [C99-based standards] (INT_LEAST64_MAX): Likewise.
62194 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
62195 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
62196 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
62197 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
62198 [C99-based standards] (INT_FAST8_MIN): Likewise.
62199 [C99-based standards] (INT_FAST8_MAX): Likewise.
62200 [C99-based standards] (INT_FAST16_MIN): Likewise.
62201 [C99-based standards] (INT_FAST16_MAX): Likewise.
62202 [C99-based standards] (INT_FAST32_MIN): Likewise.
62203 [C99-based standards] (INT_FAST32_MAX): Likewise.
62204 [C99-based standards] (INT_FAST64_MIN): Likewise.
62205 [C99-based standards] (INT_FAST64_MAX): Likewise.
62206 [C99-based standards] (UINT_FAST8_MAX): Likewise.
62207 [C99-based standards] (UINT_FAST16_MAX): Likewise.
62208 [C99-based standards] (UINT_FAST32_MAX): Likewise.
62209 [C99-based standards] (UINT_FAST64_MAX): Likewise.
62210 [C99-based standards] (INTPTR_MIN): Likewise.
62211 [C99-based standards] (INTPTR_MAX): Likewise.
62212 [C99-based standards] (UINTPTR_MAX): Likewise.
62213 [C99-based standards] (INTMAX_MIN): Likewise.
62214 [C99-based standards] (INTMAX_MAX): Likewise.
62215 [C99-based standards] (UINTMAX_MAX): Likewise.
62216 [C99-based standards] (PTRDIFF_MIN): Likewise.
62217 [C99-based standards] (PTRDIFF_MAX): Likewise.
62218 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
62219 [C99-based standards] (SIZE_MAX): Likewise.
62220 [C99-based standards] (WCHAR_MAX): Likewise.
62221 [C99-based standards] (WINT_MAX): Likewise.
62222 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
62223 constraint on value.
62224 [C99-based standards] (WCHAR_MIN): Likewise.
62225 [C99-based standards] (WINT_MIN): Likewise.
62226 [C99-based standards] (*_t): Allow.
62227 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
62228 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
62229 Include math.h-data and complex.h-data. Remove all expectations
62230 of math.h and complex.h contents.
62231 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
62232 at end of line.
62233 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
62234 (struct tm): Expect tag.
62235 [C99-based-standards] (wcstof): Expect function.
62236 [C99-based-standards] (wcstold): Likewise.
62237 [C99-based-standards] (wcstoll): Likewise.
62238 [C99-based-standards] (wcstoull): Likewise.
62239 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
62240 macro-int-constant. Specify type.
62241 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
62242 constraint on value.
62243 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
62244 Specify type.
62245 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
62246 Specify value.
62247 [ISO C standards]: Do not allow headers.
62248 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
62249 wcs[abcdefghijklmnopqrstuvwxyz]*.
62250 [ISO C standards] (*_t): Do not allow.
62251 * conform/data/wctype.h-data [C99-based standards] (iswblank):
62252 Expect function.
62253 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
62254 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
62255 Specify type.
62256 [ISO C standards]: Do not allow headers.
62257 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
62258 is[abcdefghijklmnopqrstuvwxyz]*.
62259 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
62260 to[abcdefghijklmnopqrstuvwxyz]*.
62261 [ISO C standards] (*_t): Do not allow.
62262 * conform/data/stdalign.h-data: New file.
62263 * conform/data/stdbool.h-data: Likewise.
62264 * conform/data/stdnoreturn.h-data: Likewise.
62265
62266 2012-11-07 Roland McGrath <roland@hack.frob.com>
62267
62268 [BZ #14815]
62269 * manual/filesys.texi (Directory Entries): Typo fix.
62270 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
62271
62272 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62273
62274 * elf/elf.h (EM_AARCH64): New macro.
62275 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
62276 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
62277 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
62278 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
62279 (R_AARCH64_TLSDESC): Likewise.
62280 (NT_ARM_TLS): Likewise.
62281 (NT_ARM_HW_BREAK): Likewise.
62282 (NT_ARM_HW_WATCH): Likewise.
62283
62284 2012-11-07 Joseph Myers <joseph@codesourcery.com>
62285
62286 [BZ #14811]
62287 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
62288 (__ieee754_powl): Saturate nonzero exponents with absolute value
62289 below 0x1p-79 to +/- 0x1p-79.
62290 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
62291 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
62292 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
62293 nonzero exponents with absolute value below 0x1p-32 to +/-
62294 0x1p-32.
62295 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
62296 (__ieee754_powl): Saturate nonzero exponents with absolute value
62297 below 0x1p-79 to +/- 0x1p-79.
62298 * math/libm-test.inc (pow_test): Add more tests.
62299
62300 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62301
62302 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
62303 _dl_s390_cap_flags with kernel. Increase string length.
62304 (_dl_s390_platforms): Add z196 and zEC12.
62305
62306 2012-11-07 Joseph Myers <joseph@codesourcery.com>
62307
62308 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
62309 Change XOPEN21K to XOPEN2K.
62310
62311 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
62312
62313 * string/memmove.c: Use memcpy when possible.
62314
62315 2012-11-06 Andreas Jaeger <aj@suse.de>
62316
62317 * po/eo.po: Update from translation team.
62318
62319 2012-11-06 Joseph Myers <joseph@codesourcery.com>
62320
62321 [BZ #14793]
62322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
62323 exponent and small x and y exponents, scale x or y up. Increase
62324 by 2 the exponent used in scaling up.
62325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62326 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62327 * math/libm-test.inc (fma_test): Add more tests.
62328 (fma_test_towardzero): Likewise.
62329 (fma_test_downward): Likewise.
62330 (fma_test_upward): Likewise.
62331
62332 2012-11-05 Joseph Myers <joseph@codesourcery.com>
62333
62334 [BZ #14805]
62335 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
62336 fenv_t *.
62337
62338 [BZ #14801]
62339 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
62340 namespace for names of struct fields.
62341 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
62342 fenv_t fields.
62343 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
62344 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
62345
62346 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62347
62348 [BZ #3665]
62349 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
62350
62351 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
62352
62353 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
62354 PTR_DEMANGLE.
62355
62356 [BZ #5246]
62357 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
62358 PTR_DEMANGLE.
62359
62360 2012-11-04 Joseph Myers <joseph@codesourcery.com>
62361
62362 [BZ #14797]
62363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
62364 definitely overflow as x * y not x * y + z.
62365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62367 * math/libm-test.inc (fma_test): Add more tests.
62368 (fma_test_towardzero): Likewise.
62369 (fma_test_downward): Likewise.
62370 (fma_test_upward): Likewise.
62371
62372 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
62373
62374 [BZ #157]
62375
62376 * include/stub-tag.h: Remove file.
62377 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
62378 '#include' of it.
62379 * manual/maint.texi (Porting): Don't reference it.
62380 * Makerules ($(objpfx)stubs): Likewise.
62381 * dirent/closedir.c: Don't include <stub-tag.h>.
62382 * dirent/dirfd.c: Likewise.
62383 * dirent/fdopendir.c: Likewise.
62384 * dirent/getdents.c: Likewise.
62385 * dirent/getdents64.c: Likewise.
62386 * dirent/opendir.c: Likewise.
62387 * dirent/readdir.c: Likewise.
62388 * dirent/readdir64.c: Likewise.
62389 * dirent/readdir64_r.c: Likewise.
62390 * dirent/readdir_r.c: Likewise.
62391 * dirent/rewinddir.c: Likewise.
62392 * dirent/seekdir.c: Likewise.
62393 * dirent/telldir.c: Likewise.
62394 * gmon/profil.c: Likewise.
62395 * grp/setgroups.c: Likewise.
62396 * inet/if_index.c: Likewise.
62397 * io/access.c: Likewise.
62398 * io/chdir.c: Likewise.
62399 * io/chmod.c: Likewise.
62400 * io/chown.c: Likewise.
62401 * io/close.c: Likewise.
62402 * io/dup.c: Likewise.
62403 * io/dup2.c: Likewise.
62404 * io/dup3.c: Likewise.
62405 * io/euidaccess.c: Likewise.
62406 * io/faccessat.c: Likewise.
62407 * io/fchdir.c: Likewise.
62408 * io/fchmod.c: Likewise.
62409 * io/fchmodat.c: Likewise.
62410 * io/fchown.c: Likewise.
62411 * io/fchownat.c: Likewise.
62412 * io/fcntl.c: Likewise.
62413 * io/flock.c: Likewise.
62414 * io/fstatfs.c: Likewise.
62415 * io/fstatfs64.c: Likewise.
62416 * io/fstatvfs.c: Likewise.
62417 * io/fstatvfs64.c: Likewise.
62418 * io/futimens.c: Likewise.
62419 * io/fxstat.c: Likewise.
62420 * io/fxstat64.c: Likewise.
62421 * io/fxstatat.c: Likewise.
62422 * io/fxstatat64.c: Likewise.
62423 * io/getcwd.c: Likewise.
62424 * io/isatty.c: Likewise.
62425 * io/lchmod.c: Likewise.
62426 * io/lchown.c: Likewise.
62427 * io/link.c: Likewise.
62428 * io/linkat.c: Likewise.
62429 * io/lseek.c: Likewise.
62430 * io/lseek64.c: Likewise.
62431 * io/lxstat64.c: Likewise.
62432 * io/mkdir.c: Likewise.
62433 * io/mkdirat.c: Likewise.
62434 * io/mkfifo.c: Likewise.
62435 * io/mkfifoat.c: Likewise.
62436 * io/open.c: Likewise.
62437 * io/open64.c: Likewise.
62438 * io/openat.c: Likewise.
62439 * io/openat64.c: Likewise.
62440 * io/pipe.c: Likewise.
62441 * io/pipe2.c: Likewise.
62442 * io/poll.c: Likewise.
62443 * io/posix_fadvise.c: Likewise.
62444 * io/posix_fadvise64.c: Likewise.
62445 * io/posix_fallocate.c: Likewise.
62446 * io/posix_fallocate64.c: Likewise.
62447 * io/read.c: Likewise.
62448 * io/readlink.c: Likewise.
62449 * io/readlinkat.c: Likewise.
62450 * io/rmdir.c: Likewise.
62451 * io/sendfile.c: Likewise.
62452 * io/sendfile64.c: Likewise.
62453 * io/statfs.c: Likewise.
62454 * io/statfs64.c: Likewise.
62455 * io/statvfs.c: Likewise.
62456 * io/statvfs64.c: Likewise.
62457 * io/symlink.c: Likewise.
62458 * io/symlinkat.c: Likewise.
62459 * io/ttyname.c: Likewise.
62460 * io/ttyname_r.c: Likewise.
62461 * io/umask.c: Likewise.
62462 * io/unlink.c: Likewise.
62463 * io/unlinkat.c: Likewise.
62464 * io/utime.c: Likewise.
62465 * io/utimensat.c: Likewise.
62466 * io/write.c: Likewise.
62467 * io/xmknod.c: Likewise.
62468 * io/xmknodat.c: Likewise.
62469 * io/xstat.c: Likewise.
62470 * io/xstat64.c: Likewise.
62471 * login/getpt.c: Likewise.
62472 * login/grantpt.c: Likewise.
62473 * login/unlockpt.c: Likewise.
62474 * math/e_acoshl.c: Likewise.
62475 * math/e_acosl.c: Likewise.
62476 * math/e_asinl.c: Likewise.
62477 * math/e_atan2l.c: Likewise.
62478 * math/e_atanhl.c: Likewise.
62479 * math/e_coshl.c: Likewise.
62480 * math/e_expl.c: Likewise.
62481 * math/e_fmodl.c: Likewise.
62482 * math/e_gammal_r.c: Likewise.
62483 * math/e_hypotl.c: Likewise.
62484 * math/e_j0l.c: Likewise.
62485 * math/e_j1l.c: Likewise.
62486 * math/e_jnl.c: Likewise.
62487 * math/e_lgammal_r.c: Likewise.
62488 * math/e_log10l.c: Likewise.
62489 * math/e_log2l.c: Likewise.
62490 * math/e_logl.c: Likewise.
62491 * math/e_powl.c: Likewise.
62492 * math/e_rem_pio2l.c: Likewise.
62493 * math/e_sinhl.c: Likewise.
62494 * math/e_sqrtl.c: Likewise.
62495 * math/fclrexcpt.c: Likewise.
62496 * math/fedisblxcpt.c: Likewise.
62497 * math/feenablxcpt.c: Likewise.
62498 * math/fegetenv.c: Likewise.
62499 * math/fegetexcept.c: Likewise.
62500 * math/fegetround.c: Likewise.
62501 * math/feholdexcpt.c: Likewise.
62502 * math/fesetenv.c: Likewise.
62503 * math/fesetround.c: Likewise.
62504 * math/feupdateenv.c: Likewise.
62505 * math/fgetexcptflg.c: Likewise.
62506 * math/fraiseexcpt.c: Likewise.
62507 * math/fsetexcptflg.c: Likewise.
62508 * math/ftestexcept.c: Likewise.
62509 * math/k_cosl.c: Likewise.
62510 * math/k_rem_pio2l.c: Likewise.
62511 * math/k_sinl.c: Likewise.
62512 * math/k_tanl.c: Likewise.
62513 * math/s_asinhl.c: Likewise.
62514 * math/s_atanl.c: Likewise.
62515 * math/s_cbrtl.c: Likewise.
62516 * math/s_erfl.c: Likewise.
62517 * math/s_expm1l.c: Likewise.
62518 * math/s_log1pl.c: Likewise.
62519 * math/s_tanhl.c: Likewise.
62520 * misc/acct.c: Likewise.
62521 * misc/brk.c: Likewise.
62522 * misc/chflags.c: Likewise.
62523 * misc/chroot.c: Likewise.
62524 * misc/fchflags.c: Likewise.
62525 * misc/fgetxattr.c: Likewise.
62526 * misc/flistxattr.c: Likewise.
62527 * misc/fremovexattr.c: Likewise.
62528 * misc/fsetxattr.c: Likewise.
62529 * misc/fsync.c: Likewise.
62530 * misc/ftruncate.c: Likewise.
62531 * misc/futimes.c: Likewise.
62532 * misc/futimesat.c: Likewise.
62533 * misc/getdomain.c: Likewise.
62534 * misc/getdtsz.c: Likewise.
62535 * misc/gethostid.c: Likewise.
62536 * misc/gethostname.c: Likewise.
62537 * misc/getloadavg.c: Likewise.
62538 * misc/getpagesize.c: Likewise.
62539 * misc/getsysstats.c: Likewise.
62540 * misc/getxattr.c: Likewise.
62541 * misc/gtty.c: Likewise.
62542 * misc/ioctl.c: Likewise.
62543 * misc/lgetxattr.c: Likewise.
62544 * misc/listxattr.c: Likewise.
62545 * misc/llistxattr.c: Likewise.
62546 * misc/lremovexattr.c: Likewise.
62547 * misc/lsetxattr.c: Likewise.
62548 * misc/lutimes.c: Likewise.
62549 * misc/madvise.c: Likewise.
62550 * misc/mincore.c: Likewise.
62551 * misc/mlock.c: Likewise.
62552 * misc/mlockall.c: Likewise.
62553 * misc/mmap.c: Likewise.
62554 * misc/mprotect.c: Likewise.
62555 * misc/msync.c: Likewise.
62556 * misc/munlock.c: Likewise.
62557 * misc/munlockall.c: Likewise.
62558 * misc/munmap.c: Likewise.
62559 * misc/preadv.c: Likewise.
62560 * misc/preadv64.c: Likewise.
62561 * misc/ptrace.c: Likewise.
62562 * misc/pwritev.c: Likewise.
62563 * misc/pwritev64.c: Likewise.
62564 * misc/readv.c: Likewise.
62565 * misc/reboot.c: Likewise.
62566 * misc/remap_file_pages.c: Likewise.
62567 * misc/removexattr.c: Likewise.
62568 * misc/revoke.c: Likewise.
62569 * misc/select.c: Likewise.
62570 * misc/setdomain.c: Likewise.
62571 * misc/setegid.c: Likewise.
62572 * misc/seteuid.c: Likewise.
62573 * misc/sethostid.c: Likewise.
62574 * misc/sethostname.c: Likewise.
62575 * misc/setregid.c: Likewise.
62576 * misc/setreuid.c: Likewise.
62577 * misc/setxattr.c: Likewise.
62578 * misc/sstk.c: Likewise.
62579 * misc/stty.c: Likewise.
62580 * misc/swapoff.c: Likewise.
62581 * misc/swapon.c: Likewise.
62582 * misc/sync.c: Likewise.
62583 * misc/syncfs.c: Likewise.
62584 * misc/syscall.c: Likewise.
62585 * misc/truncate.c: Likewise.
62586 * misc/ualarm.c: Likewise.
62587 * misc/usleep.c: Likewise.
62588 * misc/ustat.c: Likewise.
62589 * misc/utimes.c: Likewise.
62590 * misc/vhangup.c: Likewise.
62591 * misc/writev.c: Likewise.
62592 * posix/_exit.c: Likewise.
62593 * posix/alarm.c: Likewise.
62594 * posix/execve.c: Likewise.
62595 * posix/fexecve.c: Likewise.
62596 * posix/fork.c: Likewise.
62597 * posix/fpathconf.c: Likewise.
62598 * posix/getaddrinfo.c: Likewise.
62599 * posix/getegid.c: Likewise.
62600 * posix/geteuid.c: Likewise.
62601 * posix/getgid.c: Likewise.
62602 * posix/getgroups.c: Likewise.
62603 * posix/getlogin.c: Likewise.
62604 * posix/getlogin_r.c: Likewise.
62605 * posix/getpgid.c: Likewise.
62606 * posix/getpid.c: Likewise.
62607 * posix/getppid.c: Likewise.
62608 * posix/getresgid.c: Likewise.
62609 * posix/getresuid.c: Likewise.
62610 * posix/getsid.c: Likewise.
62611 * posix/getuid.c: Likewise.
62612 * posix/glob64.c: Likewise.
62613 * posix/nanosleep.c: Likewise.
62614 * posix/pathconf.c: Likewise.
62615 * posix/pause.c: Likewise.
62616 * posix/posix_madvise.c: Likewise.
62617 * posix/pread.c: Likewise.
62618 * posix/pread64.c: Likewise.
62619 * posix/pwrite.c: Likewise.
62620 * posix/pwrite64.c: Likewise.
62621 * posix/sched_getaffinity.c: Likewise.
62622 * posix/sched_getp.c: Likewise.
62623 * posix/sched_gets.c: Likewise.
62624 * posix/sched_primax.c: Likewise.
62625 * posix/sched_primin.c: Likewise.
62626 * posix/sched_rr_gi.c: Likewise.
62627 * posix/sched_setaffinity.c: Likewise.
62628 * posix/sched_setp.c: Likewise.
62629 * posix/sched_sets.c: Likewise.
62630 * posix/sched_yield.c: Likewise.
62631 * posix/setgid.c: Likewise.
62632 * posix/setlogin.c: Likewise.
62633 * posix/setpgid.c: Likewise.
62634 * posix/setresgid.c: Likewise.
62635 * posix/setresuid.c: Likewise.
62636 * posix/setsid.c: Likewise.
62637 * posix/setuid.c: Likewise.
62638 * posix/sleep.c: Likewise.
62639 * posix/spawni.c: Likewise.
62640 * posix/sysconf.c: Likewise.
62641 * posix/times.c: Likewise.
62642 * posix/wait.c: Likewise.
62643 * posix/wait3.c: Likewise.
62644 * posix/wait4.c: Likewise.
62645 * posix/waitpid.c: Likewise.
62646 * resolv/gai_sigqueue.c: Likewise.
62647 * resource/getpriority.c: Likewise.
62648 * resource/getrlimit.c: Likewise.
62649 * resource/getrusage.c: Likewise.
62650 * resource/nice.c: Likewise.
62651 * resource/setpriority.c: Likewise.
62652 * resource/setrlimit.c: Likewise.
62653 * resource/ulimit.c: Likewise.
62654 * rt/aio_cancel.c: Likewise.
62655 * rt/aio_fsync.c: Likewise.
62656 * rt/aio_read.c: Likewise.
62657 * rt/aio_sigqueue.c: Likewise.
62658 * rt/aio_suspend.c: Likewise.
62659 * rt/aio_write.c: Likewise.
62660 * rt/clock_getres.c: Likewise.
62661 * rt/clock_gettime.c: Likewise.
62662 * rt/clock_nanosleep.c: Likewise.
62663 * rt/clock_settime.c: Likewise.
62664 * rt/lio_listio.c: Likewise.
62665 * rt/mq_close.c: Likewise.
62666 * rt/mq_getattr.c: Likewise.
62667 * rt/mq_notify.c: Likewise.
62668 * rt/mq_open.c: Likewise.
62669 * rt/mq_receive.c: Likewise.
62670 * rt/mq_send.c: Likewise.
62671 * rt/mq_setattr.c: Likewise.
62672 * rt/mq_timedreceive.c: Likewise.
62673 * rt/mq_timedsend.c: Likewise.
62674 * rt/mq_unlink.c: Likewise.
62675 * rt/shm_open.c: Likewise.
62676 * rt/shm_unlink.c: Likewise.
62677 * rt/timer_create.c: Likewise.
62678 * rt/timer_delete.c: Likewise.
62679 * rt/timer_getoverr.c: Likewise.
62680 * rt/timer_gettime.c: Likewise.
62681 * rt/timer_settime.c: Likewise.
62682 * setjmp/__longjmp.c: Likewise.
62683 * setjmp/setjmp.c: Likewise.
62684 * signal/kill.c: Likewise.
62685 * signal/killpg.c: Likewise.
62686 * signal/raise.c: Likewise.
62687 * signal/sigaction.c: Likewise.
62688 * signal/sigaltstack.c: Likewise.
62689 * signal/sigblock.c: Likewise.
62690 * signal/sigignore.c: Likewise.
62691 * signal/sigintr.c: Likewise.
62692 * signal/signal.c: Likewise.
62693 * signal/sigpause.c: Likewise.
62694 * signal/sigpending.c: Likewise.
62695 * signal/sigqueue.c: Likewise.
62696 * signal/sigreturn.c: Likewise.
62697 * signal/sigset.c: Likewise.
62698 * signal/sigsetmask.c: Likewise.
62699 * signal/sigstack.c: Likewise.
62700 * signal/sigsuspend.c: Likewise.
62701 * signal/sigtimedwait.c: Likewise.
62702 * signal/sigvec.c: Likewise.
62703 * signal/sigwait.c: Likewise.
62704 * signal/sigwaitinfo.c: Likewise.
62705 * signal/sysv_signal.c: Likewise.
62706 * socket/accept.c: Likewise.
62707 * socket/accept4.c: Likewise.
62708 * socket/bind.c: Likewise.
62709 * socket/connect.c: Likewise.
62710 * socket/getpeername.c: Likewise.
62711 * socket/getsockname.c: Likewise.
62712 * socket/getsockopt.c: Likewise.
62713 * socket/isfdtype.c: Likewise.
62714 * socket/listen.c: Likewise.
62715 * socket/recv.c: Likewise.
62716 * socket/recvfrom.c: Likewise.
62717 * socket/recvmsg.c: Likewise.
62718 * socket/send.c: Likewise.
62719 * socket/sendmsg.c: Likewise.
62720 * socket/sendto.c: Likewise.
62721 * socket/setsockopt.c: Likewise.
62722 * socket/shutdown.c: Likewise.
62723 * socket/sockatmark.c: Likewise.
62724 * socket/socket.c: Likewise.
62725 * socket/socketpair.c: Likewise.
62726 * stdio-common/ctermid.c: Likewise.
62727 * stdio-common/cuserid.c: Likewise.
62728 * stdio-common/remove.c: Likewise.
62729 * stdio-common/rename.c: Likewise.
62730 * stdio-common/renameat.c: Likewise.
62731 * stdio-common/tempname.c: Likewise.
62732 * stdlib/getcontext.c: Likewise.
62733 * stdlib/makecontext.c: Likewise.
62734 * stdlib/setcontext.c: Likewise.
62735 * stdlib/swapcontext.c: Likewise.
62736 * stdlib/system.c: Likewise.
62737 * streams/fattach.c: Likewise.
62738 * streams/fdetach.c: Likewise.
62739 * streams/getmsg.c: Likewise.
62740 * streams/getpmsg.c: Likewise.
62741 * streams/putmsg.c: Likewise.
62742 * streams/putpmsg.c: Likewise.
62743 * sysdeps/unix/bsd/getpt.c: Likewise.
62744 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62745 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62746 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62748 Likewise.
62749 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62750 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62751 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62752 * sysvipc/msgctl.c: Likewise.
62753 * sysvipc/msgget.c: Likewise.
62754 * sysvipc/msgrcv.c: Likewise.
62755 * sysvipc/msgsnd.c: Likewise.
62756 * sysvipc/semctl.c: Likewise.
62757 * sysvipc/semget.c: Likewise.
62758 * sysvipc/semop.c: Likewise.
62759 * sysvipc/semtimedop.c: Likewise.
62760 * sysvipc/shmat.c: Likewise.
62761 * sysvipc/shmctl.c: Likewise.
62762 * sysvipc/shmdt.c: Likewise.
62763 * sysvipc/shmget.c: Likewise.
62764 * termios/tcdrain.c: Likewise.
62765 * termios/tcflow.c: Likewise.
62766 * termios/tcflush.c: Likewise.
62767 * termios/tcgetattr.c: Likewise.
62768 * termios/tcgetpgrp.c: Likewise.
62769 * termios/tcsendbrk.c: Likewise.
62770 * termios/tcsetattr.c: Likewise.
62771 * termios/tcsetpgrp.c: Likewise.
62772 * time/adjtime.c: Likewise.
62773 * time/clock.c: Likewise.
62774 * time/getitimer.c: Likewise.
62775 * time/gettimeofday.c: Likewise.
62776 * time/setitimer.c: Likewise.
62777 * time/settimeofday.c: Likewise.
62778 * time/stime.c: Likewise.
62779 * time/time.c: Likewise.
62780
62781 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
62782
62783 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62784 /usr/old/bin.
62785
62786 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62787 instead of spaces.
62788 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62789
62790 2012-11-03 Joseph Myers <joseph@codesourcery.com>
62791
62792 [BZ #14796]
62793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62794 FE_TONEAREST before applying Dekker multiplication and Knuth
62795 addition. Clear inexact exceptions and check for exact zero
62796 results afterwards.
62797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62798 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62800 * math/libm-test.inc (fma_test): Add more tests.
62801 (fma_test_towardzero): Likewise.
62802 (fma_test_downward): Likewise.
62803 (fma_test_upward): Likewise.
62804 * sysdeps/generic/math_private.h (default_libc_fesetround): New
62805 function.
62806 (libc_fesetround): New macro.
62807 (libc_fesetroundf): Likewise.
62808 (libc_fesetroundl): Likewise.
62809 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62810 function.
62811 (libc_fesetround_387): Likewise.
62812 (libc_fesetroundf): New macro.
62813 (libc_fesetround): Likewise.
62814 (libc_fesetroundl): Likewise.
62815 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62816 function.
62817 (libc_fesetroundf): New macro.
62818 (libc_fesetround): Likewise.
62819 (libc_fesetroundl): Likewise.
62820 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62821 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62822 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62823 libm_hidden_ver.
62824 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62825 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62826 libm_hidden_def.
62827 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62828 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62829 libm_hidden_ver.
62830 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62831 libm_hidden_def.
62832
62833 [BZ #3439]
62834 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62835 integer constant usable in #if and use that to give value to enum
62836 constant.
62837 (FE_DIVBYZERO): Likewise.
62838 (FE_UNDERFLOW): Likewise.
62839 (FE_OVERFLOW): Likewise.
62840 (FE_INVALID): Likewise.
62841 (FE_INVALID_SNAN): Likewise.
62842 (FE_INVALID_ISI): Likewise.
62843 (FE_INVALID_IDI): Likewise.
62844 (FE_INVALID_ZDZ): Likewise.
62845 (FE_INVALID_IMZ): Likewise.
62846 (FE_INVALID_COMPARE): Likewise.
62847 (FE_INVALID_SOFTWARE): Likewise.
62848 (FE_INVALID_SQRT): Likewise.
62849 (FE_INVALID_INTEGER_CONVERSION): Likewise.
62850 (FE_TONEAREST): Likewise.
62851 (FE_TOWARDZERO): Likewise.
62852 (FE_UPWARD): Likewise.
62853 (FE_DOWNWARD): Likewise.
62854 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62855 (FE_DIVBYZERO): Likewise.
62856 (FE_OVERFLOW): Likewise.
62857 (FE_UNDERFLOW): Likewise.
62858 (FE_INEXACT): Likewise.
62859 (FE_TONEAREST): Likewise.
62860 (FE_DOWNWARD): Likewise.
62861 (FE_UPWARD): Likewise.
62862 (FE_TOWARDZERO): Likewise.
62863 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62864 (FE_UNDERFLOW): Likewise.
62865 (FE_OVERFLOW): Likewise.
62866 (FE_DIVBYZERO): Likewise.
62867 (FE_INVALID): Likewise.
62868 (FE_TONEAREST): Likewise.
62869 (FE_TOWARDZERO): Likewise.
62870 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62871 (FE_OVERFLOW): Likewise.
62872 (FE_UNDERFLOW): Likewise.
62873 (FE_DIVBYZERO): Likewise.
62874 (FE_INEXACT): Likewise.
62875 (FE_TONEAREST): Likewise.
62876 (FE_TOWARDZERO): Likewise.
62877 (FE_UPWARD): Likewise.
62878 (FE_DOWNWARD): Likewise.
62879 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62880 (FE_DIVBYZERO): Likewise.
62881 (FE_OVERFLOW): Likewise.
62882 (FE_UNDERFLOW): Likewise.
62883 (FE_INEXACT): Likewise.
62884 (FE_TONEAREST): Likewise.
62885 (FE_DOWNWARD): Likewise.
62886 (FE_UPWARD): Likewise.
62887 (FE_TOWARDZERO): Likewise.
62888
62889 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
62890
62891 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62892
62893 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
62894
62895 * scripts/cross-test-ssh.sh (command): Use newlines to separate
62896 commands. Quote $PWD.
62897 (blacklist_exports): Don't use remove_newlines. Replace "declare
62898 -x" by "export".
62899 (remove_newlines): Remove.
62900
62901 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
62902
62903 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62904 * stdlib/stdlib.h (atof): Moved to ...
62905 * include/bits/stdlib-float.h: Here. New file.
62906 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62907 * stdlib/bits/stdlib-float.h: New file.
62908 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62909 -mno-sse -mno-mmx.
62910 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62911 <xmmintrin.h>.
62912
62913 2012-11-02 Joseph Myers <joseph@codesourcery.com>
62914
62915 * conform/conformtest.pl (@headers): Add fenv.h.
62916 * conform/data/fenv.h-data: New file.
62917 * include/fenv.h [_ISOMAC]: Disable all contents of file except
62918 include of <math/fenv.h>.
62919
62920 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62921 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62922 && !UNIX98]. Enables tests for XOPEN2K8.
62923 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62924 POSIX2008]: Likewise.
62925
62926 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62927 (struct rusage): Do not expect type or its members.
62928
62929 [BZ #3439]
62930 * math/math.h (FP_NAN): Define macro to integer constant usable in
62931 #if and use that to give value to enum constant.
62932 (FP_INFINITE): Likewise.
62933 (FP_ZERO): Likewise.
62934 (FP_SUBNORMAL): Likewise.
62935 (FP_NORMAL): Likewise.
62936
62937 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
62938
62939 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62940 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62941 arguments.
62942
62943 2012-11-02 Roland McGrath <roland@hack.frob.com>
62944
62945 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62946 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62947 autoconf-time if not.
62948 * configure.in: Remove AC_PREREQ.
62949
62950 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62951
62952 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62953 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62954 of the internal implementation.
62955
62956 2012-11-02 Joseph Myers <joseph@codesourcery.com>
62957
62958 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62959 except include of <misc/sys/syslog.h>.
62960
62961 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
62962
62963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62964 function returns with a NULL context exit with zero.
62965
62966 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62967
62968 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62969
62970 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
62971
62972 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62973 (run_program_cmd): This.
62974 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62975 (tst_langinfo): New variable. Use it.
62976
62977 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
62978
62979 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62980 floating point opcodes.
62981
62982 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
62983
62984 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62985 variable.
62986
62987 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62988
62989 * sysdeps/mach/hurd/powerpc: Remove directory.
62990 * sysdeps/mach/powerpc: Likewise.
62991
62992 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
62993
62994 * scripts/check-local-headers.sh: Ignore c++ headers.
62995
62996 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
62997
62998 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62999 __libc_cleanup_region_start argument.
63000
63001 2012-11-01 Joseph Myers <joseph@codesourcery.com>
63002
63003 [BZ #14784]
63004 [BZ #14785]
63005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
63006 x * y using scaling, not as x * y + z.
63007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63008 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63009 * math/libm-test.inc (fma_test): Add more tests.
63010 (fma_test_towardzero): Likewise.
63011 (fma_test_downward): Likewise.
63012 (fma_test_upward): Likewise.
63013
63014 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
63015
63016 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
63017
63018 2012-10-31 Joseph Myers <joseph@codesourcery.com>
63019
63020 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
63021 New variable.
63022
63023 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
63024
63025 * rt/tst-shm.c (worker): Correct checking for mmap failure.
63026
63027 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
63028
63029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63030 Fix sort order.
63031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63032 Likewise.
63033
63034 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63035
63036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63037 Fix the order of the list for glibc 2.17.
63038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63039 Likewise.
63040
63041 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
63042
63043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63044
63045 2012-10-31 Joseph Myers <joseph@codesourcery.com>
63046
63047 [BZ #14610]
63048 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
63049 for low part of x being zero before using __atanl (y).
63050 * math/libm-test.inc (atan2_test): Add another test.
63051
63052 * manual/install.texi (Configuring and compiling): Document
63053 general use of test-wrapper and test-wrapper-env.
63054 * INSTALL: Regenerated.
63055
63056 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
63057 (__fma): Do not extract and scale down low bits on after-rounding
63058 systems when result rounded to normal precision would have normal
63059 exponent.
63060 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
63061 (__fmal): Do not extract and scale down low bits on after-rounding
63062 systems when result rounded to normal precision would have normal
63063 exponent.
63064 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
63065 (__fmal): Do not extract and scale down low bits on after-rounding
63066 systems when result rounded to normal precision would have normal
63067 exponent.
63068 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
63069 macro.
63070 (fma_test): Add more tests.
63071 (fma_test_towardzero): Likewise.
63072 (fma_test_downward): Likewise.
63073 (fma_test_upward): Likewise.
63074
63075 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
63076
63077 * sysdeps/i386/tininess.h: Renamed to ...
63078 * sysdeps/x86/tininess.h: This.
63079 * sysdeps/x86_64/tininess.h: Removed.
63080
63081 2012-10-30 Joseph Myers <joseph@codesourcery.com>
63082
63083 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
63084 input. Use $(build-program-cmd).
63085 ($(objpfx)tst-array1-static.out): Likewise.
63086 ($(objpfx)tst-array2.out): Likewise.
63087 ($(objpfx)tst-array3.out): Likewise.
63088 ($(objpfx)tst-array4.out): Likewise.
63089 ($(objpfx)tst-array5.out): Likewise.
63090 ($(objpfx)tst-array5-static.out): Likewise.
63091
63092 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
63093
63094 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
63095 if defined.
63096
63097 * nss/nsswitch.h (nss_interface_function): Provide new
63098 macro for use with NSS functions.
63099 * grp/initgroups.c: Use new macro.
63100 * nss/getXXbyYY.c: Likewise.
63101 * nss/getXXbyYY_r.c: Likewise.
63102 * nss/getXXent.c: Likewise.
63103 * nss/getXXent_r.c: Likewise.
63104 * sysdeps/posix/getaddrinfo.c: Likewise.
63105
63106 2012-10-30 Andreas Jaeger <aj@suse.de>
63107
63108 * po/ru.po: Update Russion translation from translation project.
63109
63110 2012-10-30 Joseph Myers <joseph@codesourcery.com>
63111
63112 [BZ #14152]
63113 [BZ #14783]
63114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
63115 result and shift together with sticky bit instead of replicating
63116 round-to-nearest rounding.
63117 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63118 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63119 * math/libm-test.inc (fma_test): Add more tests. Do not permit
63120 missing underflow exceptions.
63121 (fma_test_towardzero): Add more tests.
63122 (fma_test_downward): Likewise.
63123 (fma_test_upward): Likewise.
63124
63125 [BZ #14047]
63126 * sysdeps/generic/tininess.h: New file.
63127 * sysdeps/i386/tininess.h: Likewise.
63128 * sysdeps/sh/tininess.h: Likewise.
63129 * sysdeps/x86_64/tininess.h: Likewise.
63130 * stdlib/tst-strtod-underflow.c: Likewise.
63131 * stdlib/tst-tininess.c: Likewise.
63132 * stdlib/strtod_l.c: Include <tininess.h>.
63133 (round_and_return): Do not set errno for exact underflow cases.
63134 Force an underflow exception when setting errno for underflow.
63135 Determine underflow based on rounding to normal precision if
63136 TININESS_AFTER_ROUNDING.
63137 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
63138 ERANGE for exact underflow cases.
63139 * stdlib/Makefile (tests): Add tst-tininess and
63140 tst-strtod-underflow.
63141 ($(objpfx)tst-tininess): Use $(link-libm).
63142 ($(objpfx)tst-strtod-underflow): Likewise.
63143
63144 2012-10-30 Andreas Jaeger <aj@suse.de>
63145
63146 [BZ#14767]
63147 * elf/Makefile (tests): Remove conditional for have-initfini-array
63148 since this is now always required and the variable does not exist
63149 anymore.
63150 (tests-static): Likewise.
63151 (modules-names): Likewise.
63152
63153 * po/eo.po: Add Esperanto translation from translation project.
63154
63155 * elf/tst-array1.c (fini_array): Make writeable so that it can be
63156 merged with constructor/destructor.
63157 (init_array): Likewise.
63158 * elf/tst-array2dep.c (fini_array): Likewise.
63159 (init_array): Likewise.
63160
63161 2012-10-29 Mike Frysinger <vapier@gentoo.org>
63162
63163 * manual/message.texi: Delete @cartouche tags.
63164
63165 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
63166
63167 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
63168 EOPNOTSUPP.
63169 * sysdeps/mach/hurd/fsync.c: Likewise.
63170
63171 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
63172 [_POSIX_REALTIME_SIGNALS]: Change condition to
63173 [_POSIX_REALTIME_SIGNALS > 0].
63174
63175 2012-10-27 Andreas Jaeger <aj@suse.de>
63176
63177 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
63178 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
63179 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
63180 [__WORDSIZE != 64]: Likewise.
63181
63182 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
63183
63184 * iconvdata/tst-table.sh: Remove ${SHELL}.
63185 * iconvdata/tst-tables.sh: Likewise.
63186
63187 2012-10-25 David S. Miller <davem@davemloft.net>
63188
63189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63190 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
63191 of strtoull.
63192
63193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
63194 ifunc-impl-list.c
63195 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63196 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
63197 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
63198 file.
63199
63200 2012-10-25 Roland McGrath <roland@hack.frob.com>
63201
63202 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63203 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
63204 __getdirentries.
63205
63206 2012-10-25 Joseph Myers <joseph@codesourcery.com>
63207 Jim Blandy <jimb@codesourcery.com>
63208
63209 * scripts/cross-test-ssh.sh: New file.
63210 * manual/install.texi (Configuring and compiling): Document use of
63211 cross-test-ssh.sh.
63212 * INSTALL: Regenerated.
63213
63214 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
63215
63216 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
63217 EOPNOTSUPP.
63218
63219 2012-10-25 Joseph Myers <joseph@codesourcery.com>
63220
63221 * Makeconfig (run-program-prefix): Fix comment.
63222
63223 2012-10-24 Joseph Myers <joseph@codesourcery.com>
63224 Jim Blandy <jimb@codesourcery.com>
63225
63226 * Makeconfig (test-wrapper): New variable,
63227 (test-wrapper-env): Likewise.
63228 [$(cross-compiling) = yes && $(test-wrapper) != ""]
63229 (run-built-tests): Define to yes.
63230 (run-program-prefix): Use $(test-wrapper).
63231 (built-program-cmd): Likewise.
63232 * Rules (make-test-out): Use $(test-wrapper-env) and
63233 $(host-built-program-cmd).
63234 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
63235 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
63236 tst-pathopt.sh.
63237 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
63238 $(test-wrapper-env) to tst-rtld-load-self.sh.
63239 ($(objpfx)order2.out): Use $(test-wrapper).
63240 ($(objpfx)tst-initorder.out): Likewise.
63241 ($(objpfx)tst-initorder2.out): Likewise.
63242 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
63243 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
63244 (test_wrapper_env): New variable. Use it to run ld.so.
63245 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
63246 Use it to run ld.so.
63247 (test_wrapper_env): Likewise.
63248 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
63249 $(test-wrapper) to run-iconv-test.sh.
63250 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
63251 (ICONV): Use $test_wrapper.
63252 * posix/Makefile ($(objpfx)globtest.out): Pass
63253 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
63254 globtest.sh, not $(run-program-prefix).
63255 * posix/globtest.sh (run_via_rtld_prefix): New variable.
63256 (test_wrapper): Likewise.
63257 (test_wrapper_env): Likewise. Use it to run globtest with HOME
63258 set together with run_via_rtld_prefix.
63259 (run_program_prefix): Define in terms of test_wrapper and
63260 run_via_rtld_prefix.
63261
63262 2012-10-24 Roland McGrath <roland@hack.frob.com>
63263
63264 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
63265 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
63266 Targets removed.
63267
63268 [BZ #14743]
63269 * include/time.h: Remove librt_hidden_proto (clock_gettime).
63270 Declare __clock_getres, __clock_gettime, __clock_settime,
63271 __clock_nanosleep, and __clock_getcpuclockid.
63272 * rt/clock_gettime.c: Define __clock_gettime as an alias.
63273 Remove librt_hidden_def (clock_gettime).
63274 * sysdeps/unix/clock_gettime.c: Likewise.
63275 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
63276 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
63277 * rt/clock_getres.c: Define __clock_getres as an alias.
63278 * sysdeps/posix/clock_getres.c: Likewise.
63279 * rt/clock_settime.c: Define __clock_settime as an alias.
63280 * sysdeps/unix/clock_settime.c: Likewise.
63281 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
63282 * sysdeps/unix/clock_nanosleep.c: Likewise.
63283 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
63284 * rt/clock-compat.c: New file.
63285 * rt/Makefile (librt-routines): Add clock-compat and move
63286 $(clock-routines) to ...
63287 (routines): ... here, new variable.
63288 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
63289 Don't add get_clockfreq here.
63290 * rt/Versions (libc: GLIBC_2.17): New version set.
63291 Add clock_* symbols here.
63292 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
63293 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
63294 (GLIBC_2.17): Add clock_* symbols.
63295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63297 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63299 Likewise.
63300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63301 Likewise.
63302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63306 * NEWS: Mention the move.
63307
63308 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
63309 Use __open, __read, __close rather than their public counterparts.
63310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63311 (__get_clockfreq_via_cpuinfo): Likewise.
63312 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
63313 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
63314
63315 * config.h.in (HAVE_IFUNC): New #undef.
63316 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
63317 was successful.
63318 * configure: Regenerated.
63319
63320 2012-10-24 Mike Frysinger <vapier@gentoo.org>
63321
63322 * configure.in: Move READELF check to start of file.
63323 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
63324 libc_cv_asm_gnu_indirect_function in the process.
63325 * configure: Regenerated.
63326
63327 2012-10-24 Mike Frysinger <vapier@gentoo.org>
63328
63329 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
63330 send the output to /dev/null.
63331 (libc_cv_cc_with_libunwind): Likewise.
63332 (libc_cv_as_noexecstack): Likewise.
63333 * configure: Regenerate.
63334
63335 2012-10-24 Joseph Myers <joseph@codesourcery.com>
63336
63337 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
63338
63339 * posix/globtest.sh (TMPDIR): Do not set.
63340 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
63341 (testout): Likewise.
63342
63343 2012-10-24 Andreas Jaeger <aj@suse.de>
63344
63345 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
63346 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
63347 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
63348 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
63349 posix_fadvise64, posix_fallocate64.
63350
63351 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
63352 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
63353 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
63354 Likewise.
63355 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
63356 Likewise.
63357 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
63358
63359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
63360 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
63361 <bits/fcntl-linux.h>.
63362 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
63363
63364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
63365 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
63366 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
63367 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
63368 [__WORDSIZE != 64]: Likewise.
63369
63370 2012-10-23 Joseph Myers <joseph@codesourcery.com>
63371
63372 * Makeconfig (run-built-tests): New variable.
63373 * Rules [$(cross-compiling) = yes]: Change condition to
63374 [$(run-built-tests) = no].
63375 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
63376 to [$(run-built-tests) = yes].
63377 * elf/Makefile [$(cross-compiling) = no]: Likewise.
63378 * grp/Makefile [$(cross-compiling) = no]: Likewise.
63379 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
63380 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
63381 * intl/Makefile [$(cross-compiling) = no]: Likewise.
63382 * io/Makefile [$(cross-compiling) = no]: Likewise.
63383 * libio/Makefile [$(cross-compiling) = no]: Likewise.
63384 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
63385 * misc/Makefile [$(cross-compiling) = no]: Likewise.
63386 * posix/Makefile [$(cross-compiling) = no]: Likewise.
63387 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
63388 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
63389 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
63390 * string/Makefile [$(cross-compiling) = no]: Likewise.
63391
63392 * posix/Makefile ($(objpfx)globtest.out): Pass
63393 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
63394 $(rtld-installed-name).
63395 * posix/globtest.sh (elf_objpfx): Remove variable.
63396 (rtld_installed_name): Likewise.
63397 (library_path): Likewise.
63398 (run_program_prefix): New variable. Use for running globtest
63399 binary.
63400
63401 2012-10-23 Jim Blandy <jimb@codesourcery.com>
63402 Joseph Myers <joseph@codesourcery.com>
63403
63404 * Makeconfig (host-built-program-cmd): New variable.
63405 * elf/Makefile (tst-stackguard1-ARGS): Use
63406 $(host-built-program-cmd).
63407 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
63408 (tst-spawn-ARGS): Likewise.
63409 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
63410
63411 2012-10-23 Joseph Myers <joseph@codesourcery.com>
63412 Jim Blandy <jimb@codesourcery.com>
63413
63414 * Makeconfig (run-via-rtld-prefix): New variable.
63415 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
63416 (built-program-cmd): Likewise.
63417
63418 2012-10-22 Andreas Jaeger <aj@suse.de>
63419
63420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
63421 __O_RSYNC if it exists, otherwise to O_SYNC.
63422
63423 2012-10-22 Jim Blandy <jimb@codesourcery.com>
63424 Joseph Myers <joseph@codesourcery.com>
63425
63426 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
63427 /dev/null.
63428 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
63429 from /dev/null
63430 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
63431 /dev/null.
63432
63433 2012-10-22 Andreas Jaeger <aj@suse.de>
63434
63435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
63436 Define always.
63437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
63438
63439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63440 bits/fcntl-linux.h.
63441
63442 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
63443 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
63444
63445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
63446 to __O_LARGEFILE.
63447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
63448 to __O_LARGEFILE.
63449
63450 2012-10-21 Jim Blandy <jimb@codesourcery.com>
63451 Joseph Myers <joseph@codesourcery.com>
63452
63453 * config.make.in (NM): New variable.
63454
63455 2012-10-21 Andreas Jaeger <aj@suse.de>
63456
63457 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
63458 definitions and declarations that are provided by
63459 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63460
63461 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
63462
63463 [BZ #14683]
63464 * elf/Makefile (tests-static): Add tst-leaks1-static.
63465 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
63466 ($(objpfx)tst-leaks1-static): New rule.
63467 ($(objpfx)tst-leaks1-static-mem): Likewise.
63468 (tst-leaks1-static-ENV): New macro.
63469 * elf/dl-open.c (dl_open_worker): Check the main application
63470 only if SHARED is defined.
63471 * elf/tst-leaks1-static.c: New file.
63472
63473 2012-10-20 Andreas Jaeger <aj@suse.de>
63474
63475 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
63476 generic values for Linux.
63477 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
63478 and declarations that are provided by <bits/fcntl-linux.h> and
63479 include <bits/fcntl-linux.h>.
63480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63481 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63482
63483 2012-10-20 Roland McGrath <roland@hack.frob.com>
63484
63485 * io/fcntl.h: Move include of <bits/types.h> to the top and
63486 include it unconditionally.
63487
63488 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
63489
63490 * wcsmbs/Makefile (tests-ifunc): New variable.
63491 (tests): Add $(tests-ifunc).
63492 * wcsmbs/test-wcschr-ifunc.c: New file.
63493 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
63494 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
63495 * wcsmbs/test-wcslen-ifunc.c: Likewise.
63496 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
63497 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
63498
63499 * string/Makefile (tests-ifunc): New variable.
63500 (tests): Add $(tests-ifunc).
63501 * string/test-memccpy.c (TEST_NAME): New macro.
63502 * string/test-memchr.c (TEST_NAME): Likewise.
63503 * string/test-memcmp.c (TEST_NAME): Likewise.
63504 * string/test-memcpy.c (TEST_NAME): Likewise.
63505 * string/test-memmem.c (TEST_NAME): Likewise.
63506 * string/test-memmove.c (TEST_NAME): Likewise.
63507 * string/test-memset.c (TEST_NAME): Likewise.
63508 * string/test-rawmemchr.c (TEST_NAME): Likewise.
63509 * string/test-stpcpy.c (TEST_NAME): Likewise.
63510 * string/test-stpncpy.c (TEST_NAME): Likewise.
63511 * string/test-strcasecmp.c (TEST_NAME): Likewise.
63512 * string/test-strcasestr.c (TEST_NAME): Likewise.
63513 * string/test-strcat.c (TEST_NAME): Likewise.
63514 * string/test-strchr.c (TEST_NAME): Likewise.
63515 * string/test-strcmp.c(TEST_NAME): Likewise.
63516 * string/test-strcpy.c (TEST_NAME): Likewise.
63517 * string/test-strcspn.c (TEST_NAME): Likewise.
63518 * string/test-strlen.c (TEST_NAME): Likewise.
63519 * string/test-strncasecmp.c (TEST_NAME): Likewise.
63520 * string/test-strncmp.c (TEST_NAME): Likewise.
63521 * string/test-strncpy.c (TEST_NAME): Likewise.
63522 * string/test-strnlen.c (TEST_NAME): Likewise.
63523 * string/test-strpbrk.c (TEST_NAME): Likewise.
63524 * string/test-strrchr.c (TEST_NAME): Likewise.
63525 * string/test-strspn.c (TEST_NAME): Likewise.
63526 * string/test-strstr.c (TEST_NAME): Likewise.
63527 * string/test-bcopy-ifunc.c: New file.
63528 * string/test-bzero-ifunc.c: Likewise.
63529 * string/test-memccpy-ifunc.c: Likewise.
63530 * string/test-memchr-ifunc.c: Likewise.
63531 * string/test-memcmp-ifunc.c: Likewise.
63532 * string/test-memcpy-ifunc.c: Likewise.
63533 * string/test-memmem-ifunc.c: Likewise.
63534 * string/test-memmove-ifunc.c: Likewise.
63535 * string/test-mempcpy-ifunc.c: Likewise.
63536 * string/test-memset-ifunc.c: Likewise.
63537 * string/test-rawmemchr-ifunc.c: Likewise.
63538 * string/test-stpcpy-ifunc.c: Likewise.
63539 * string/test-stpncpy-ifunc.c: Likewise.
63540 * string/test-strcasecmp-ifunc.c: Likewise.
63541 * string/test-strcasestr-ifunc.c: Likewise.
63542 * string/test-strcat-ifunc.c: Likewise.
63543 * string/test-strchr-ifunc.c: Likewise.
63544 * string/test-strchrnul-ifunc.c: Likewise.
63545 * string/test-strcmp-ifunc.c: Likewise.
63546 * string/test-strcpy-ifunc.c: Likewise.
63547 * string/test-strcspn-ifunc.c: Likewise.
63548 * string/test-strlen-ifunc.c: Likewise.
63549 * string/test-strncasecmp-ifunc.c: Likewise.
63550 * string/test-strncat-ifunc.c: Likewise.
63551 * string/test-strncmp-ifunc.c: Likewise.
63552 * string/test-strncpy-ifunc.c: Likewise.
63553 * string/test-strnlen-ifunc.c: Likewise.
63554 * string/test-strpbrk-ifunc.c: Likewise.
63555 * string/test-strrchr-ifunc.c: Likewise.
63556 * string/test-strspn-ifunc.c: Likewise.
63557 * string/test-strstr-ifunc.c: Likewise.
63558
63559 * debug/Makefile (tests-ifunc): New variable.
63560 (tests): Add $(tests-ifunc).
63561 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
63562 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
63563 * debug/test-stpcpy_chk-ifunc.c: New file.
63564 * debug/test-strcpy_chk-ifunc.c: Likewise.
63565
63566 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
63567
63568 [BZ #13601]
63569 * elf/dl-load.c (open_verify): Retry read if the entire ELF
63570 header is not read in.
63571
63572 2012-10-19 Joseph Myers <joseph@codesourcery.com>
63573
63574 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
63575 script to $(SHELL) as $<. Pass $(common-objpfx) to script
63576 directly. Pass built executable to script as
63577 $(built-program-cmd).
63578 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
63579 $testprogram without using LD_LIBRARY_PATH and $ldso.
63580
63581 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63582 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63583 $(rtld-installed-name).
63584 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63585 (rtld_installed_name): Likewise.
63586 (library_path): Likewise.
63587 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
63588 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63589 $(run-program-prefix) to tst-tables.sh.
63590 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
63591 it to run tst-table-from and tst-table-to.
63592 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63593 Pass it to tst-table.sh.
63594 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63595 $(run-program-prefix) to tst-gettext.sh.
63596 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63597 tst-translit.sh.
63598 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63599 tst-gettext2.sh.
63600 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
63601 to run tst-gettext.
63602 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
63603 to run tst-gettext2.
63604 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
63605 to run tst-translit.
63606 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63607 $(run-program-prefix) to tst-mtrace.sh.
63608 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
63609 to run tst-mtrace.
63610 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63611 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63612 $(rtld-installed-name).
63613 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63614 (rtld_installed_name): Likewise.
63615 (run_program_prefix): New variable. Use it to run wordexp-test.
63616
63617 * Makeconfig (ARCH): Remove all definitions.
63618 (machine): Likewise.
63619 [ARCH]: Remove conditional code.
63620 [!objdir]: Give error.
63621 [!objdir] (objpfx): Remove.
63622 [!objdir] (common-objpfx): Likewise.
63623 [!objdir] (common-objdir): Likewise.
63624 * configure.in (config_makefile): Remove. Hardcode Makefile in
63625 AC_CONFIG_FILES call.
63626 * configure: Regenerated.
63627
63628 [BZ #13888]
63629 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63630 or TMPDIR.
63631 (testout): Likewise.
63632
63633 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63634 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63635 $(rtld-installed-name).
63636 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63637 (rtld_installed_name): Likwise.
63638 (runit): Remove function.
63639 (run_getconf): New variable, Use it for running getconf binary.
63640
63641 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
63642
63643 [BZ #14716]
63644 * string/test-memmem.c (check_result): New function.
63645 (do_one_test): Use it.
63646 (check1): New function.
63647 (test_main): Use it.
63648
63649 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
63650
63651 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63652
63653 2012-10-18 Joseph Myers <joseph@codesourcery.com>
63654
63655 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63656 (_G_LSEEK64): Likewise.
63657 (_G_MMAP64): Likewise.
63658 (_G_FSTAT64): Likewise.
63659 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63660 (_G_LSEEK64): Likewise.
63661 (_G_MMAP64): Likewise.
63662 (_G_FSTAT64): Likewise.
63663 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63664 unconditional. Call __mmap64 directly.
63665 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63666 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
63667 __lseek64 directly.
63668 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63669 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
63670 __mmap64 directly.
63671 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63672 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
63673 __lseek64 directly.
63674 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63675 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
63676 __lseek64 directly.
63677 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63678 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
63679 __lseek64 directly.
63680 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63681 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
63682 __fxstat64 directly.
63683 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63684 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63685 unconditional.
63686 (freopen64) [!_G_OPEN64]: Remove conditional code.
63687 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63688 unconditional.
63689 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63690 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63691 unconditional.
63692 (ftello64) [!_G_LSEEK64]: Remove conditional code.
63693 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63694 unconditional.
63695 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63696 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63697 unconditional.
63698 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63699 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63700 unconditional.
63701 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63702 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63703 unconditional.
63704 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63705 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63706 unconditional.
63707 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63708
63709 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63710
63711 [BZ #12140]
63712 * manual/memory.texi (Malloc Tunable Parameters): Add note
63713 about free list pointers overwriting some perturb bytes.
63714 Wording suggested by Roland McGrath.
63715
63716 2012-10-17 Joseph Myers <joseph@codesourcery.com>
63717
63718 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63719 (lgamma_test): Likewise.
63720 (tgamma_test): Likewise.
63721
63722 2012-10-16 Florian Weimer <fweimer@redhat.com>
63723
63724 [BZ #14700]
63725 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63726 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63727
63728 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
63729
63730 * NEWS: Mention BZ #14716.
63731 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63732 when removing AVAILABLE1_USES_J macro.
63733
63734 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
63735
63736 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63737 (__bswap_64): __uint64_t for unsigned 64-bit int.
63738
63739 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
63740
63741 * include/string.h (memmem): Declare libc hidden alias.
63742 * string/memmem.c (memmem): Define libc hidden alias.
63743 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63744 __read, __close instead of open, read, close.
63745
63746 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
63747
63748 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63749 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63750 global and hidden.
63751 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63752 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63753 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63754 Likewise.
63755 (__rawmemchr_sse2): Likewise.
63756 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63757 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63758 (__strchr_sse2): Likewise.
63759 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63760 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63761 (__strcasecmp_sse2): Likewise.
63762 (__strncasecmp_sse2): Likewise.
63763 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63764 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63765 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63766 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63767 (__strrchr_sse2): Likewise.
63768 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63769 ifunc-impl-list.c.
63770 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63771 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63772 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63773 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63774 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63775 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63776 * sysdeps/x86_64/multiarch/memset.S: Likewise.
63777 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63778 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63779 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63780 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63781 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63782 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63783 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63784 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63785 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63786 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63787 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63788 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63789 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63790 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63791 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63792 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63793 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63794 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63795 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63796 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63797 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63798 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63799 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63800
63801 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63802 global and hidden.
63803 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63804 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63805 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63806 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63807 Likewise.
63808 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63809 Likewise.
63810 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63811 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63812 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63813 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63814 ifunc-impl-list.c.
63815 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63816 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63817 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63818 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63819 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63820 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63821 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63822 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63823 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63824 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63825 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63826 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63827 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63828 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63829 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63830 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63831 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63832 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63833 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63834 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63835 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63836 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63837 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63838 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63839 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63840 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63841 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63842 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63843 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63844 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63845 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63846 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63847 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63848 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63849 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63850 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63851 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63852 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63853 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63854 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63855 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63856
63857 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63858 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63859 * include/ifunc-impl-list.h: New file.
63860 * misc/ifunc-impl-list.c: Likewise.
63861 * misc/Makefile (routines): Add ifunc-impl-list.
63862 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63863 * string/test-string.h: Include <ifunc-impl-list.h>.
63864 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63865 TEST_NAME]: New variables.
63866 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63867 are defined.
63868 (test_init): Call __libc_ifunc_impl_list to initialize
63869 func_list if TEST_IFUNC and TEST_NAME are defined.
63870
63871 * string/Makefile (strop-tests): Add bcopy and bzero.
63872 * string/test-bcopy.c: New file.
63873 * string/test-bzero.c: Likewise.
63874 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63875 defined.
63876 * string/test-memset.c: Support bzero test if TEST_BZERO is
63877 defined.
63878 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63879 __libc_memmove.
63880 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63881 __libc_memset.
63882 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63883 of memset.
63884
63885 2012-10-10 Joseph Myers <joseph@codesourcery.com>
63886
63887 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63888 * configure: Regenerated.
63889
63890 * Makeconfig (+link-static-before-libc): Don't include
63891 $(link-static-libc).
63892
63893 * libio/libio.h (_IO_pos_t): Remove.
63894
63895 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
63896
63897 * NEWS: Add note about FIPS mode. Wording suggested by Roland
63898 McGrath.
63899
63900 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
63901
63902 * crypt/crypt-entry.c: Include fips-private.h.
63903 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63904 * crypt/md5c-test.c (main): Tolerate disabled MD5.
63905 * sysdeps/unix/sysv/linux/fips-private.h: New file.
63906 * sysdeps/generic/fips-private.h: New file, dummy fallback.
63907
63908 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
63909
63910 * crypt/crypt-private.h: Include stdbool.h.
63911 (_ufc_setup_salt_r): Return bool.
63912 * crypt/crypt-entry.c: Include errno.h.
63913 (__crypt_r): Return NULL with EINVAL for bad salt.
63914 * crypt/crypt_util.c (bad_for_salt): New.
63915 (_ufc_setup_salt_r): Check that salt is long enough and within
63916 the specified alphabet.
63917 * crypt/badsalttest.c: New file.
63918 * crypt/Makefile (tests): Add it.
63919 ($(objpfx)badsalttest): New.
63920
63921 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
63922
63923 * NEWS: Add entry for BZ #14602.
63924
63925 2012-10-09 Joseph Myers <joseph@codesourcery.com>
63926
63927 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63928 type-generic.
63929 * math/libm-test.inc: Update comment listing what functions and
63930 macros are tested.
63931 (isgreater_test): New function.
63932 (isgreaterequal_test): Likewise.
63933 (isless_test): Likewise.
63934 (islessequal_test): Likewise.
63935 (islessgreater_test): Likewise.
63936 (isunordered_test): Likewise.
63937 (main): Call the new functions.
63938
63939 2012-10-09 Roland McGrath <roland@hack.frob.com>
63940
63941 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63942 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63943 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63944 * sysdeps/i386/configure: Regenerated.
63945 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63946 * sysdeps/mach/configure: Regenerated.
63947 * sysdeps/mach/hurd/configure: Regenerated.
63948 * sysdeps/powerpc/configure: Regenerated.
63949 * sysdeps/powerpc/powerpc32/configure: Regenerated.
63950 * sysdeps/powerpc/powerpc64/configure: Regenerated.
63951 * sysdeps/s390/s390-32/configure: Regenerated.
63952 * sysdeps/s390/s390-64/configure: Regenerated.
63953 * sysdeps/sh/configure: Regenerated.
63954 * sysdeps/sparc/configure: Regenerated.
63955 * sysdeps/unix/sysv/linux/configure: Regenerated.
63956 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63957 * sysdeps/x86_64/configure: Regenerated.
63958
63959 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63960 defined. Don't check if MAP is NULL.
63961
63962 2012-10-09 Joseph Myers <joseph@codesourcery.com>
63963
63964 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63965 (_G_stat64): Likewise.
63966 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63967 (_G_stat64): Likewise.
63968 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63969 instead of struct _G_stat64.
63970 * libio/fileops.c (mmap_remap_check): Likewise.
63971 (decide_maybe_mmap): Likewise.
63972 (_IO_new_file_seekoff): Likewise.
63973 (_IO_file_stat): Likewise.
63974 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63975 _G_off64_t.
63976 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63977 instead of struct _G_stat64.
63978 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63979
63980 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
63981
63982 [BZ #14602]
63983 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63984 Replace with ...
63985 (CHECK_EOL): New macro.
63986 (two_way_short_needle): Check beginning of haystack for EOL. Use
63987 CHECK_EOL.
63988 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63989 Replace with CHECK_EOL.
63990 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63991 Replace with CHECK_EOL.
63992
63993 2012-10-08 Joseph Myers <joseph@codesourcery.com>
63994
63995 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63996 type-generic.
63997 * math/libm-test.inc: Update comment listing what functions and
63998 macros are tested.
63999 (finite_test): New function.
64000 (isinf_test): Likewise.
64001 (isnan_test): Likewise.
64002 (fpclassify_test): Test subnormal input.
64003 (isfinite_test): Likewise.
64004 (isnormal_test): Likewise.
64005 (main): Call the new functions.
64006
64007 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
64008
64009 [BZ #14660]
64010 * Makerules (%.dynsym): Force C locale when running
64011 $(OBJDUMP) --dynamic-syms.
64012
64013 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
64014
64015 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
64016 <stdint.h>.
64017
64018 2012-10-06 David S. Miller <davem@davemloft.net>
64019
64020 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
64021 upper 32-bits of the length value in %o2 since we use branch-on-register
64022 tests which consider the entire 64-bit register.
64023
64024 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
64025
64026 * string/test-strstr.c (check2): Add a test for page boundary.
64027
64028 2012-10-05 David S. Miller <davem@davemloft.net>
64029
64030 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
64031 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
64032 file.
64033 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
64034 sysdep_routines.
64035 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
64036 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
64037 and bzero when HWCAP_SPARC_CRYPTO is present.
64038
64039 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
64040
64041 [BZ #14602]
64042 * string/test-strstr.c (check2): New function.
64043 (test_main): Call check2.
64044
64045 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
64046 and bug-strchr1.
64047 * string/bug-strcasestr1.c (do_test): Moved to ...
64048 * string/test-strcasestr.c (check1): Here. New function.
64049 (do_one_test): Break out result checking code into ...
64050 (check_result): This. New function.
64051 (do_one_test): Call check_result.
64052 (test_main): Call check1.
64053 * string/bug-strchr1.c (do_test): Moved to ...
64054 * string/test-strchr.c (check1): Here. New function.
64055 (do_one_test): Break out result checking code into ...
64056 (check_result): This. New function.
64057 (do_one_test): Call check_result.
64058 (test_main): Call check1.
64059 * string/bug-strstr1.c (main): Moved to ...
64060 * string/test-strstr.c (check1): Here. New function.
64061 (do_one_test): Break out result checking code into ...
64062 (check_result): This. New function.
64063 (do_one_test): Call check_result.
64064 (test_main): Call check1.
64065 * string/bug-strcasestr1.c: Removed.
64066 * string/bug-strchr1.c: Likewise.
64067 * string/bug-strstr1.c: Likewise.
64068
64069 * elf/Makefile (dl-routines): Add hwcaps.
64070 * elf/dl-support.c (_dl_important_hwcaps): Removed.
64071 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
64072 (_dl_important_hwcaps): Moved to ...
64073 * elf/dl-hwcaps.c: Here. New file.
64074 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
64075
64076 [BZ #14557]
64077 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
64078 if IS_IN_rtld isn't defined.
64079
64080 * elf/dl-support.c (_dl_sysinfo_map): New.
64081 Include "get-dynamic-info.h" and "setup-vdso.h".
64082 (_dl_non_dynamic_init): Call setup_vdso.
64083 * elf/dynamic-link.h: Don't include <assert.h>.
64084 (elf_get_dynamic_info): Moved to ...
64085 * elf/get-dynamic-info.h: Here. New file.
64086 * elf/dynamic-link.h: Include "get-dynamic-info.h".
64087 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
64088 * elf/setup-vdso.h: Here. New file.
64089 * elf/rtld.c: Include "setup-vdso.h".
64090 (dl_main): Call setup_vdso.
64091
64092 2012-10-05 Joseph Myers <joseph@codesourcery.com>
64093
64094 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
64095 creal in comment listing functions tested. List finite, isinf,
64096 isnan, isless, islessequal, isgreater, isgreaterequal,
64097 islessgreater, isunordered, lgamma_r and pow10 as functions and
64098 macros not tested. Mention which functions not tested are aliases
64099 for other functions. Fix typo. Note that signs of NaNs are not
64100 tested.
64101
64102 * scripts/config.guess: Update from config.git.
64103 * scripts/config.sub: Likewise.
64104
64105 2012-10-04 Roland McGrath <roland@hack.frob.com>
64106
64107 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
64108 * misc/madvise.c (madvise): Renamed to __madvise.
64109 Make madvise a weak alias.
64110 * include/sys/mman.h: Declare __madvise.
64111 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
64112 * sysdeps/unix/syscalls.list
64113 (madvise): Make __madvise the strong name, and madvise a weak alias.
64114 * sysdeps/unix/sysv/linux/syscalls.list
64115 (madvise, mmap): Remove redundant entries.
64116 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
64117 * malloc/malloc.c (mtrim): Likewise.
64118 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
64119
64120 2012-10-03 Roland McGrath <roland@hack.frob.com>
64121
64122 * sysdeps/mach/hurd/dl-cache.c: File removed.
64123 * config.h.in (USE_LDCONFIG): New #undef.
64124 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
64125 * configure: Regenerated.
64126 * elf/Makefile (dl-routines): Add dl-cache only under
64127 [$(use-ldconfig) = yes].
64128 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
64129 cache on [USE_LDCONFIG].
64130 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
64131 [USE_LDCONFIG].
64132 * elf/rtld.c (dl_main): Likewise.
64133
64134 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
64135
64136 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
64137 _SC_LEVEL4_CACHE_LINESIZE.
64138
64139 2012-10-03 Roland McGrath <roland@hack.frob.com>
64140
64141 * sysdeps/unix/bsd/confstr.h: File removed.
64142
64143 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
64144
64145 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
64146 sys/sdt-config.h.
64147
64148 2012-10-02 Roland McGrath <roland@hack.frob.com>
64149
64150 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
64151 Make 'mapoff' field ElfW(Off) rather than off_t.
64152
64153 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
64154
64155 * nscd/Makefile: Remove nscd-cflags and all its users.
64156 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
64157 (CFLAGS-nonlib): Add compiler flags for nscd modules.
64158
64159 [BZ #10631]
64160 * malloc.c (malloc_printerr): Clarify error message.
64161
64162 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
64163
64164 [BZ #14648]
64165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64166 Set bit_FMA_Usable if FMA is supported.
64167 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
64168 macro.
64169 (bit_FMA4_Usable): Updated.
64170 (index_FMA_Usable): New macro.
64171 (CPUID_FMA): Likewise.
64172 (HAS_FMA): Defined with bit_FMA_Usable.
64173
64174 2012-10-01 Roland McGrath <roland@hack.frob.com>
64175
64176 * bits/types.h (__swblk_t): Type removed.
64177 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
64178 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
64179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64180 (__SWBLK_T_TYPE): Likewise.
64181 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64182 (__SWBLK_T_TYPE): Likewise.
64183 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64184 (__SWBLK_T_TYPE): Likewise.
64185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64186 (__SWBLK_T_TYPE): Likewise.
64187
64188 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
64189 Honza Horak <hhorak@redhat.com>
64190
64191 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
64192 (xdr_mapname): Use YPMAXMAP as maxsize.
64193 (xdr_peername): Use YPMAXPEER as maxsize.
64194 (xdr_keydat): Use YPAXRECORD as maxsize.
64195 (xdr_valdat): Use YPMAXRECORD as maxsize.
64196
64197 2012-10-01 Roland McGrath <roland@hack.frob.com>
64198
64199 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
64200
64201 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
64202 * csu/init-first.c: ... here.
64203 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
64204 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
64205 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
64206 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
64207 * sysdeps/i386/init-first.c: File removed.
64208 * sysdeps/sh/init-first.c: File removed.
64209
64210 2012-10-01 Joseph Myers <joseph@codesourcery.com>
64211
64212 [BZ #14645]
64213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
64214 if x * y might underflow to zero and z is zero.
64215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64216 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64217 * math/libm-test.inc (min_subnorm_value): New variable.
64218 (fma_test): Add more tests.
64219 (fma_test_towardzero): Likewise.
64220 (fma_test_downward): Likewise.
64221 (fma_test_upward): Likewise.
64222 (initialize): Set min_subnorm_value.
64223
64224 2012-09-29 Joseph Myers <joseph@codesourcery.com>
64225
64226 [BZ #14638]
64227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
64228 0 + 0.
64229 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
64230 mode for addition resulting in exact zero.
64231 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
64232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
64233 exact 0 + 0.
64234 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64236 * math/libm-test.inc (fma_test): Add more tests.
64237 (fma_test_towardzero): New function.
64238 (fma_test_downward): Likewise.
64239 (fma_test_upward): Likewise.
64240 (main): Call the new functions.
64241
64242 2012-09-28 David S. Miller <davem@davemloft.net>
64243
64244 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
64245
64246 2012-09-28 Roland McGrath <roland@hack.frob.com>
64247
64248 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
64249 instead of SIGALRM.
64250
64251 * sysdeps/gnu/_G_config.h: Moved to ...
64252 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
64253 * sysdeps/mach/hurd/_G_config.h: Moved to ...
64254 * sysdeps/generic/_G_config.h: ... here.
64255
64256 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
64257
64258 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
64259
64260 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
64261 Conditionalize target on [libnss_test1.so-version].
64262
64263 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
64264
64265 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
64266 (elfobjdir): Move out of conditionals.
64267
64268 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
64269 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
64270 (__nss_lookup_function): Conditionalize label remove_from_tree on
64271 [!DO_STATIC_NSS || SHARED], matching its only use.
64272
64273 2012-09-28 David S. Miller <davem@davemloft.net>
64274
64275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
64276 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
64277 file.
64278 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
64279 sysdep_routines.
64280 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
64281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
64282 when HWCAP_SPARC_CRYPTO is present.
64283
64284 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
64285
64286 * io/tst-mknodat.c: Create a FIFO instead of a socket.
64287
64288 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
64289
64290 [BZ #6530]
64291 * stdio-common/vfprintf.c (process_string_arg): Revert
64292 2000-07-22 change.
64293
64294 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
64295
64296 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
64297 for testcase.
64298 * stdio-common/tst-sprintf.c: Include <locale.h>
64299 (main): Test sprintf's handling of incomplete multibyte
64300 characters.
64301
64302 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
64303
64304 * elf/dl-runtime.c (VERSYMIDX): Removed.
64305 * elf/dl-version.c (VERSYMIDX): Likewise.
64306 * elf/do-rel.h (VERSYMIDX): Likewise.
64307 (VALIDX): Likewise.
64308 * elf/dynamic-link.h (VERSYMIDX): Likewise.
64309 * elf/rtld.c (VALIDX): Likewise.
64310 (ADDRIDX): Likewise.
64311 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
64312 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
64313 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
64314 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
64315 (VALIDX): Likewise.
64316 (ADDRIDX): Likewise.
64317
64318 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
64319
64320 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
64321
64322 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
64323
64324 [BZ #11438]
64325 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
64326 to global scope.
64327 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
64328 addresses are in the same scope as 192.0.2/24.
64329 * posix/gai.conf: Document new scope table defaults.
64330
64331 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
64332
64333 [BZ #5298]
64334 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
64335 for ftell. Compute offsets from write pointers instead.
64336 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
64337
64338 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
64339
64340 [BZ #14543]
64341 * libio/Makefile (tests): New test case tst-fseek.
64342 * libio/tst-fseek.c: New test case to verify that fseek/ftell
64343 combination works in wide mode.
64344 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
64345 state when the external buffer state changes.
64346
64347 2012-09-27 David S. Miller <davem@davemloft.net>
64348
64349 [BZ #14376]
64350 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
64351 pass reloc->r_addend in as the 'high' argument to
64352 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
64353
64354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64355
64356 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
64357
64358 * rt/tst-aio2.c: Include <pthread.h>.
64359 * rt/tst-aio3.c: Likewise.
64360
64361 2012-09-27 Steve Ellcey <sellcey@mips.com>
64362
64363 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
64364
64365 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
64366
64367 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
64368 contents on [SHARED].
64369
64370 2012-09-26 Marek Polacek <polacek@redhat.com>
64371
64372 [BZ #14530]
64373 [BZ #13741]
64374 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
64375 for C++ and GCC <4.3 as well as for non GCC compilers.
64376
64377 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
64378
64379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64380
64381 2012-09-25 Roland McGrath <roland@hack.frob.com>
64382
64383 * Makefile.in (all, install): Declare with .PHONY.
64384 Reported by Michael Hope <michael.hope@linaro.org>.
64385
64386 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64387
64388 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
64389 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
64390 system header.
64391 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
64392 Likewise.
64393 (sydep_routines): Add the new and the internal functions.
64394 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
64395 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
64396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
64397 (GLIBC_2.17): Add the new function.
64398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64399 (GLIBC_2.17): Likewise.
64400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
64401 (GLIBC_2.17): Likewise.
64402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
64403 (GLIBC_2.17): Likewise.
64404 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
64405
64406 2012-09-25 Alan Modra <amodra@gmail.com>
64407
64408 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
64409 Add release barrier before setting once_control to say
64410 initialisation is done. Add hints on lwarx. Use macro in
64411 place of isync.
64412 (clear_once_control): Add release barrier.
64413
64414 2012-09-25 Joseph Myers <joseph@codesourcery.com>
64415
64416 [BZ #13629]
64417 * math/s_clog.c (__clog): Handle more values close to |z| = 1
64418 specially.
64419 * math/s_clog10.c (__clog10): Likewise.
64420 * math/s_clog10f.c (__clog10f): Likewise.
64421 * math/s_clog10l.c (__clog10l): Likewise.
64422 * math/s_clogf.c (__clogf): Likewise.
64423 * math/s_clogl.c (__clogl): Likewise.
64424 * math/Makefile (libm-calls): Add x2y2m1.
64425 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
64426 (__x2y2m1): Likewise.
64427 (__x2y2m1l): Likewise.
64428 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
64429 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
64430 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
64431 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
64432 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
64433 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
64434 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
64435 * sysdeps/i386/fpu/libm-test-ulps: Update.
64436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64437
64438 [BZ #14621]
64439 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
64440 int as type of variable DEPTH.
64441 (glob): Use size_t instead of int as type of variables NEWCOUNT
64442 and OLD_PATHC.
64443
64444 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64445
64446 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64447 Add s_sincosf-sse2.
64448 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
64449 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
64450 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
64451 macros for using routine as __sincosf_ia32.
64452 Use macro for function declaration and weak_alias.
64453 * sysdeps/i386/fpu/libm-test-ulps: Update.
64454
64455 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
64456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64457
64458 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
64459 subnormal argument.
64460 * math/s_cexpf.c (__cexpf): Likewise.
64461 * math/s_csinf.c (__csinf): Likewise.
64462 * math/s_csinhf.c (__csinhf): Likewise.
64463 * math/s_ctanf.c (__ctanf): Likewise.
64464 * math/s_ctanhf.c (__ctanhf): Likewise.
64465 * math/s_ccosh.c (__ccoshf): Likewise.
64466 * math/s_cexp.c (__cexpl): Likewise.
64467 * math/s_csin.c (__csin): Likewise.
64468 * math/s_csinh.c (__csinh): Likewise.
64469 * math/s_ctan.c (__ctan): Likewise.
64470 * math/s_ctanh.c (ctanh): Likewise.
64471 * math/s_ccoshl.c (__ccoshl): Likewise.
64472 * math/s_cexpl.c (__cexpl): Likewise.
64473 * math/s_csinl.c (__csinl): Likewise.
64474 * math/s_csinhl.c (__csinhl): Likewise.
64475 * math/s_ctanl.c (__ctanl): Likewise.
64476 * math/s_ctanhl.c (__ctanhl): Likewise.
64477
64478 2012-09-25 Joseph Myers <joseph@codesourcery.com>
64479
64480 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
64481 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
64482 (_IO_off_t): Define to __off_t, not _G_off_t.
64483 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
64484 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
64485 (_IO_wint_t): Define to wint_t, not _G_wint_t.
64486 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
64487 type of __dummy and __dummy2 fields.
64488 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
64489 (_G_ssize_t): Likewise.
64490 (_G_off_t): Likewise.
64491 (_G_pid_t): Likewise.
64492 (_G_uid_t): Likewise.
64493 (_G_wchar_t): Likewise.
64494 (_G_wint_t): Likewise.
64495 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
64496 (_G_ssize_t): Likewise.
64497 (_G_off_t): Likewise.
64498 (_G_pid_t): Likewise.
64499 (_G_uid_t): Likewise.
64500 (_G_wchar_t): Likewise.
64501 (_G_wint_t): Likewise.
64502 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
64503 (_G_ssize_t): Likewise.
64504 (_G_off_t): Likewise.
64505 (_G_pid_t): Likewise.
64506 (_G_uid_t): Likewise.
64507 (_G_wchar_t): Likewise.
64508 (_G_wint_t): Likewise.
64509
64510 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
64511
64512 * malloc/arena.c: Include malloc-sysdep.h.
64513 (shrink_heap): Use check_may_shrink_heap to decide if madvise
64514 is sufficient to shrink the heap or an unmap is needed.
64515 * sysdeps/generic/malloc-sysdep.h: New file. Define
64516 new function check_may_shrink_heap.
64517 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
64518 new function check_may_shrink_heap.
64519
64520 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
64521
64522 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
64523 comments.
64524
64525 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
64526
64527 * catgets/test-gencat.sh: Add "set -e".
64528 * elf/tst-pathopt.sh: Likewise.
64529 * grp/tst_fgetgrent.sh: Likewise.
64530 * iconvdata/run-iconv-test.sh: Likewise.
64531 * intl/tst-gettext.sh: Likewise.
64532 * intl/tst-gettext2.sh: Likewise.
64533 * intl/tst-gettext4.sh: Likewise.
64534 * intl/tst-gettext6.sh: Likewise.
64535 * intl/tst-translit.sh: Likewise.
64536 * io/ftwtest-sh: Likewise.
64537 * libio/test-freopen.sh: Likewise.
64538 * malloc/tst-mtrace.sh: Likewise.
64539 * posix/globtest.sh: Likewise.
64540 * posix/tst-getconf.sh: Likewise.
64541 * posix/wordexp-tst.sh: Likewise.
64542 * stdio-common/tst-printf.sh: Likewise.
64543 * stdio-common/tst-unbputc.sh: Likewise.
64544 * stdlib/tst-fmtmsg.sh: Likewise.
64545 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64546 * catgets/Makefile: Do not specify -e option when running
64547 testsuite shell scripts.
64548 * elf/Makefile: Likewise.
64549 * grp/Makefile: Likewise.
64550 * iconvdata/Makefile: Likewise.
64551 * intl/Makefile: Likewise.
64552 * io/Makefile: Likewise.
64553 * libio/Makefile: Likewise.
64554 * malloc/Makefile: Likewise.
64555 * posix/Makefile: Likewise.
64556 * stdio-common/Makefile: Likewise.
64557 * stdlib/Makefile: Likewise.
64558 * sysdeps/x86_64/Makefile: Likewise.
64559
64560 * io/ftwtest-sh: Add copyright header.
64561 * posix/globtest.sh: Likewise.
64562 * posix/tst-getconf.sh: Likewise.
64563 * posix/wordexp-tst.sh: Likewise.
64564 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64565
64566 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
64567
64568 [BZ #13679]
64569 * Makeconfig (+link): Defined as $(+link-static) if
64570 $(build-shared) isn't yes.
64571 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
64572 isn't yes.
64573 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
64574
64575 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
64576
64577 [BZ #14562]
64578 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64579 new chunk size with MALLOC_ALIGN_MASK.
64580
64581 2012-09-24 Joseph Myers <joseph@codesourcery.com>
64582
64583 [BZ #5044]
64584 * stdio-common/printf_fphex.c: Include <stdbool.h> and
64585 <rounding-mode.h>.
64586 (__printf_fphex): Determine rounding using get_rounding_mode and
64587 round_away.
64588 * stdio-common/tst-printf-round.c (struct hex_test): New
64589 structure.
64590 (hex_tests): New variable.
64591 (test_hex_in_one_mode): New function.
64592 (do_test): Also run tests for hex float output.
64593
64594 2012-09-21 Joseph Myers <joseph@codesourcery.com>
64595
64596 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64597 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64598 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64599 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64600 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64601 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64602 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64603 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64604
64605 2012-09-20 Joseph Myers <joseph@codesourcery.com>
64606
64607 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64608 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64609 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64610 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64611
64612 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
64613
64614 [BZ #14579]
64615 * elf/rtld.c (dl_main): Limit the check for self loading to normal
64616 mode only.
64617 * elf/tst-rtld-load-self.sh: New test.
64618 * elf/Makefile: Run it.
64619
64620 2012-09-18 Joseph Myers <joseph@codesourcery.com>
64621
64622 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64623 (tst-writev-ENV): Remove.
64624 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64625
64626 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
64627
64628 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64629
64630 2012-09-17 Joseph Myers <joseph@codesourcery.com>
64631
64632 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64633 unconditional.
64634 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64635 Likewise.
64636 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64637 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64638 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64639 Likewise.
64640
64641 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
64642
64643 [BZ #14587]
64644 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64645 * config.make.in (have-cpp-asm-debuginfo): Removed.
64646 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64647 * configure: Regenerated.
64648
64649 2012-09-14 Joseph Myers <joseph@codesourcery.com>
64650
64651 [BZ #5044]
64652 * stdio-common/printf_fp.c: Include <stdbool.h> and
64653 <rounding-mode.h>.
64654 (___printf_fp): Determine rounding using get_rounding_mode and
64655 round_away.
64656 * stdio-common/tst-printf-round.c: New file.
64657 * stdio-common/Makefile (tests): Add tst-printf-round.
64658 (link-libm): New variable.
64659 ($(objpfx)tst-printf-round): Depend in $(link-libm).
64660
64661 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
64662
64663 [BZ #14576]
64664 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64665 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64666 Likewise.
64667 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64668 Likewise.
64669
64670 2012-09-13 Joseph Myers <joseph@codesourcery.com>
64671
64672 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64673 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64674 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64675 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64676
64677 2012-09-12 Joseph Myers <joseph@codesourcery.com>
64678
64679 [BZ #14518]
64680 * include/rounding-mode.h: New file.
64681 * sysdeps/generic/get-rounding-mode.h: Likewise.
64682 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64683 * stdlib/strtod_l.c: Include <rounding-mode.h>.
64684 (MAX_VALUE): New macro.
64685 (MIN_VALUE): Likewise.
64686 (overflow_value): New function.
64687 (underflow_value): Likewise.
64688 (round_and_return): Use overflow_value and underflow_value to
64689 determine return values in overflow and underflow cases. Use
64690 round_away to determine rounding depending on rounding mode.
64691 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64692 determine return values in overflow and underflow cases.
64693 * stdlib/tst-strtod-round.c: Include <fenv.h>.
64694 (struct test_results): New structure.
64695 (struct test): Use struct test_results to store expected results
64696 for all rounding modes.
64697 (TEST): Include expected results for all rounding modes.
64698 (test_in_one_mode): New function.
64699 (do_test): Use test_in_one_mode to compute and check results.
64700 Check results for all rounding modes.
64701 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64702 $(link-libm).
64703
64704 2012-12-09 Allan McRae <allan@archlinux.org>
64705
64706 * sysdeps/i386/fpu/libm-test-ulps: Update
64707
64708 2012-09-11 Joseph Myers <joseph@codesourcery.com>
64709
64710 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64711 (_G_int32_t): Likewise.
64712 (_G_uint16_t): Likewise.
64713 (_G_uint32_t): Likewise.
64714 (_G_HAVE_BOOL): Likewise.
64715 (_G_HAVE_ATEXIT): Likewise.
64716 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64717 (_G_HAVE_IO_FILE_OPEN): Likewise.
64718 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64719 (_G_int32_t): Likewise.
64720 (_G_uint16_t): Likewise.
64721 (_G_uint32_t): Likewise.
64722 (_G_HAVE_BOOL): Likewise.
64723 (_G_HAVE_ATEXIT): Likewise.
64724 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64725 (_G_HAVE_IO_FILE_OPEN): Likewise.
64726 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64727 (_G_int32_t): Likewise.
64728 (_G_uint16_t): Likewise.
64729 (_G_uint32_t): Likewise.
64730 (_G_HAVE_BOOL): Likewise.
64731 (_G_HAVE_ATEXIT): Likewise.
64732 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64733 (_G_HAVE_IO_FILE_OPEN): Likewise.
64734
64735 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
64736
64737 * csu/libc-tls.c: Update copyright years.
64738
64739 2012-09-10 Joseph Myers <joseph@codesourcery.com>
64740
64741 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64742 [!_G_USING_THUNKS]: Remove conditional code.
64743 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64744 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64745
64746 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64747 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64748 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64749 (_G_VTABLE_LABEL_PREFIX): Likewise.
64750 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64751 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64752 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64753 (_G_VTABLE_LABEL_PREFIX): Likewise.
64754 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64755 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64756 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64757 (_G_VTABLE_LABEL_PREFIX): Likewise.
64758 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64759
64760 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
64761
64762 * libio/Makefile: Include ../Makeconfig before tests.
64763 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64764 only if $(build-shared) is yes.
64765
64766 * iconv/gconv_db.c: Update copyright years.
64767
64768 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64769
64770 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64771 unwind info if defined PIC. Fix special cases description.
64772 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64773
64774 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64775 DP_HI_MASK entry.
64776 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64777
64778 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
64779
64780 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64781
64782 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64783 is NULL.
64784
64785 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64786 (LDLIBS-tst-chk4): This.
64787 (LDFLAGS-tst-chk5): Renamed to ...
64788 (LDLIBS-tst-chk5): This.
64789 (LDFLAGS-tst-chk6): Renamed to ...
64790 (LDLIBS-tst-chk6): This.
64791 (LDFLAGS-tst-lfschk4): Renamed to ...
64792 (LDLIBS-tst-lfschk4): This.
64793 (LDFLAGS-tst-lfschk5): Renamed to ...
64794 (LDLIBS-tst-lfschk5): This.
64795 (LDFLAGS-tst-lfschk6): Renamed to ...
64796 (LDLIBS-tst-lfschk6): This.
64797
64798 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64799 on $(common-objpfx)soversions.mk.
64800
64801 2012-09-07 Joseph Myers <joseph@codesourcery.com>
64802
64803 [BZ #10014]
64804 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64805 example host name.
64806
64807 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
64808
64809 * malloc/arena.c (arena_get_retry): New function that gets
64810 another arena for the caller to try its request on.
64811 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64812 current arena cannot fulfill the request.
64813 (__libc_memalign): Likewise.
64814 (__libc_memalign): Likewise.
64815 (__libc_pvalloc): Likewise.
64816 (__libc_calloc): Likewise.
64817
64818 2012-09-05 John Tobey <john.tobey@gmail.com>
64819
64820 [BZ #13542]
64821 * manual/arith.texi (Operations on Complex): Fix description
64822 of carg branch cut.
64823
64824 2012-09-06 Joseph Myers <joseph@codesourcery.com>
64825
64826 [BZ #10014]
64827 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64828 host name.
64829
64830 [BZ #10038]
64831 * manual/memory.texi (Memory): Make order of menu items match
64832 order of sections.
64833
64834 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
64835
64836 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64837 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
64838 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64839
64840 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
64841
64842 * csu/libc-tls.c (static_dtv): Renamed to ...
64843 (_dl_static_dtv): This. Make it global.
64844 (_dl_initial_dtv): Removed.
64845 (__libc_setup_tls): Updated.
64846 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64847 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64848 DL_INITIAL_DTV.
64849
64850 2012-09-06 Petr Machata <pmachata@redhat.com>
64851
64852 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64853 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64854 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64855 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64856
64857 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
64858
64859 [BZ #14545]
64860 * csu/libc-tls.c (_dl_initial_dtv): New variable.
64861 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64862 freeing dtv[-1].
64863
64864 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
64865
64866 [BZ #14544]
64867 * Makeconfig (link-static-before-libc): Replace $(+prector)
64868 with $(+prectorT).
64869 (link-static-after-libc): Replace $(+postctor) with
64870 $(+postctorT).
64871 (link-bounded): Replace $(+prector)/$(+postctor) with
64872 $(+prectorT)/$(+postctorT).
64873 (+prectorT): New macro.
64874 (+postctorT): Likewise.
64875
64876 2012-09-06 Joseph Myers <joseph@codesourcery.com>
64877
64878 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64879 (round_str): Handle values above the maximum for IBM long double
64880 as inexact.
64881 * stdlib/tst-strtod-round.c (tests): Regenerated.
64882
64883 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64884
64885 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64886 assembler flag.
64887 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64888 zarch_nohighgprs around the zarch optimized routines.
64889 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64890 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64891 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64892 for zarch.
64893
64894 2012-09-05 David S. Miller <davem@davemloft.net>
64895
64896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64897
64898 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64899 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64900 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64901 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64902 entries.
64903
64904 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
64905
64906 * malloc/arena.c: Fold copyright years.
64907 * malloc/mcheck.c, malloc/memusage.c: Likewise.
64908
64909 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
64910
64911 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64912
64913 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
64914
64915 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
64916
64917 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
64918
64919 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64920 change internal state upon failure.
64921
64922 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
64923
64924 * malloc/mcheck.c (mcheck_check_all): Fix typo.
64925 * malloc/memusage.c (mmap): Likewise.
64926 (mmap64, mremap): Likewise. Adjust name in comment.
64927
64928 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
64929
64930 * libio/fileops.c: Fix typos in comments.
64931 * libio/oldfileops.c: Likewise.
64932 * libio/wfileops.c: Likewise.
64933
64934 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
64935
64936 [BZ #1349]
64937 * malloc/Makefile (tests): Add tst-malloc-usable test case.
64938 (tst-malloc-usable-ENV): Set environment for test case.
64939 * malloc/hooks.c (malloc_check_get_size): New function to get
64940 requested size.
64941 * malloc/malloc.c (musable): Use malloc_check_get_size.
64942 * malloc/tst-malloc-usable.c: New test case.
64943
64944 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
64945
64946 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64947
64948 2012-09-05 Allan McRae <allan@archlinux.org>
64949
64950 [BZ #13966]
64951 * configure.in (CXX_SYSINCLUDES): Use compiler output to
64952 determine header location.
64953 * configure: Regenerated.
64954
64955 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
64956
64957 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64958 float format.
64959 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64960 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64961 format.
64962 (test): Regenerate.
64963
64964 2012-09-04 David S. Miller <davem@davemloft.net>
64965
64966 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64967 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64968 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64969
64970 2012-09-04 Florian Weimer <fweimer@redhat.com>
64971
64972 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64973 failures.
64974
64975 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64976
64977 2012-09-04 Joseph Myers <joseph@codesourcery.com>
64978
64979 [BZ #9914]
64980 * libio/iogetdelim.c: Include <limits.h>.
64981 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64982 + len + 1 would overflow.
64983
64984 2012-09-03 Andreas Jaeger <aj@suse.de>
64985
64986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64987 * sysdeps/i386/fpu/libm-test-ulps: Update.
64988
64989 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64990
64991 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64992 Add s_sinf-sse2, s_conf-sse2.
64993
64994 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64995 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64996 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64997 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64998
64999 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
65000 for using routine as __sinf_ia32.
65001 Use macro for function declaration and weak_alias.
65002 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
65003 for using routine as __cosf_ia32.
65004 Use macro for function declaration and weak_alias.
65005
65006 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
65007 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
65008
65009 * sysdeps/x86_64/fpu/s_sinf.S: New file.
65010 * sysdeps/x86_64/fpu/s_cosf.S: New file.
65011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65012
65013 * math/libm-test.inc (cos_test): Add more test cases.
65014 (sin_test): Likewise.
65015 (sincos_test): Likewise.
65016
65017 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65018
65019 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
65020 (IFUNC_RESOLVE): Make pointers to the specialized implementations
65021 hidden.
65022 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65023
65024 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
65025
65026 [BZ #14538]
65027 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
65028 first element of the GOT.
65029 (elf_machine_load_address): Return the difference between
65030 the runtime address of _DYNAMIC and elf_machine_dynamic ().
65031
65032 2012-09-01 Allan McRae <allan@archlinux.org>
65033
65034 [BZ #13412]
65035 * configure.in (AWK): Require gawk version 3.0 or later.
65036 * configure: Regenerated.
65037
65038 2012-09-01 Joseph Myers <joseph@codesourcery.com>
65039
65040 * sysdeps/unix/sysv/linux/kernel-features.h
65041 (__ASSUME_POSIX_CPU_TIMERS): Remove.
65042 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65043 [__NR_clock_getres]: Make code unconditional.
65044 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
65045 (clock_getcpuclockid): Remove code left unreachable by removal of
65046 conditionals.
65047 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
65048 code unconditional.
65049 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
65050 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65051 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
65052 Make code unconditional.
65053 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
65054 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65055 * sysdeps/unix/sysv/linux/clock_settime.c
65056 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
65057 conditional code.
65058 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
65059 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65060
65061 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
65062
65063 [BZ #14476]
65064 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
65065 scripts/test-installation.pl.
65066
65067 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
65068 and $ld_so_version if it is set.
65069
65070 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65071
65072 [BZ #14516]
65073 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
65074 failure if reading from procfs failed.
65075 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
65076
65077 2012-08-27 Joseph Myers <joseph@codesourcery.com>
65078
65079 * sysdeps/unix/sysv/linux/kernel-features.h
65080 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
65081 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
65082 Remove conditional code.
65083 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65084 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
65085 Remove conditional code.
65086 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65087 * sysdeps/unix/sysv/linux/i386/fxstat.c
65088 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65089 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65090 * sysdeps/unix/sysv/linux/i386/fxstatat.c
65091 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65092 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65093 * sysdeps/unix/sysv/linux/i386/lxstat.c
65094 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65096 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
65097 Remove conditional code.
65098 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65099 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
65100 Remove conditional code.
65101 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65102 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
65103 <kernel-features.h>.
65104 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
65105 Remove.
65106 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
65107 Remove conditional code.
65108 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65109 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
65110 Remove conditional.
65111
65112 2012-08-27 Mike Frysinger <vapier@gentoo.org>
65113
65114 [BZ #5400]
65115 * NEWS: Add fixed bug number.
65116
65117 2012-08-27 Joseph Myers <joseph@codesourcery.com>
65118
65119 [BZ #14519]
65120 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
65121 underflowing exponent in case of negative sign.
65122 * stdlib/tst-strtod-round-data: Add more tests.
65123 * stdlib/tst-strtod-round.c (tests): Regenerated.
65124
65125 [BZ #3479]
65126 * stdlib/strtod_l.c (NDIG): Remove.
65127 (HEXNDIG): Likewise.
65128 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
65129 smallest representable value.
65130 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
65131 lie within an exact representation of 1/2 ulp of the result.
65132 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
65133 unconditionally.
65134 (TENS_P9_IDX): Define unconditionally.
65135 (TENS_P9_SIZE): Likewise.
65136 (TENS_P10_IDX): Likewise.
65137 (TENS_P10_SIZE): Likewise.
65138 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
65139 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
65140 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
65141 entries for 10^2^13 and 10^2^14.
65142 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
65143 (TENS_P13_IDX): Define.
65144 (TENS_P13_SIZE): Likewise.
65145 (TENS_P14_IDX): Likewise.
65146 (TENS_P14_SIZE): Likewise.
65147 (_fpioconst_pow10): Change array size to
65148 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
65149 unconditional.
65150 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
65151 1024]: Add entries for 10^2^13 and 10^2^14.
65152 [LAST_POW10 > _LAST_POW10]: Remove #error.
65153 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
65154 (_fpioconst_pow10): Change array size to
65155 FPIOCONST_POW10_ARRAY_SIZE.
65156 * stdlib/gen-fpioconst.c: New file.
65157 * stdlib/gen-tst-strtod-round.c: Likewise.
65158 * stdlib/tst-strtod-round-data: Likewise.
65159 * stdlib/tst-strtod-round.c: Likewise.
65160 * stdlib/Makefile (tests): Add tst-strtod-round.
65161
65162 [BZ #14459]
65163 * stdlib/strtod_l.c: Include <stdint.h>.
65164 (NDEBUG): Do not define.
65165 (round_and_return): Change EXPONENT parameter to type intmax_t.
65166 Rearrange calculations to avoid internal overflow possibilities.
65167 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
65168 Rearrange calculations to avoid internal overflow possibilities.
65169 Assert that number fits inside MPNSIZE limbs.
65170 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
65171 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
65172 calculations and add assertions to avoid internal overflow
65173 possibilities. Add casts to avoid signed/unsigned operations.
65174 * stdlib/tst-strtod-overflow.c: New file.
65175 * stdlib/Makefile (tests): Add tst-strtod-overflow.
65176
65177 2012-08-25 Marek Polacek <polacek@redhat.com>
65178
65179 * time/time.h: Fix some typos in comments.
65180
65181 2012-08-23 Roland McGrath <roland@hack.frob.com>
65182
65183 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
65184 * posix/tst-rfc3484-2.c: Likewise.
65185 * posix/tst-rfc3484-3.c: Likewise.
65186
65187 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
65188
65189 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
65190 (EF_ARM_ABI_FLOAT_HARD): Likewise.
65191
65192 2012-08-23 Joseph Myers <joseph@codesourcery.com>
65193
65194 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
65195 #include of fxstatat64.c.
65196
65197 2012-08-22 Roland McGrath <roland@hack.frob.com>
65198
65199 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
65200 * shadow/getspent_r.c: Likewise.
65201 * shadow/getspnam.c: Likewise.
65202 * shadow/getspnam_r.c: Likewise.
65203 * gshadow/getsgent.c: Likewise.
65204 * gshadow/getsgent_r.c: Likewise.
65205 * gshadow/getsgnam.c: Likewise.
65206 * gshadow/getsgnam_r.c: Likewise.
65207 * inet/getnetbyad.c: Likewise.
65208 * inet/getnetbyad_r.c: Likewise.
65209 * inet/getnetbynm.c: Likewise.
65210 * inet/getnetbynm_r.c: Likewise.
65211 * inet/getnetent.c: Likewise.
65212 * inet/getnetent_r.c: Likewise.
65213 * inet/getproto.c: Likewise.
65214 * inet/getproto_r.c: Likewise.
65215 * inet/getprtent.c: Likewise.
65216 * inet/getprtent_r.c: Likewise.
65217 * inet/getprtname.c: Likewise.
65218 * inet/getprtname_r.c: Likewise.
65219 * inet/getrpcbyname.c: Likewise.
65220 * inet/getrpcbyname_r.c: Likewise.
65221 * inet/getrpcbynumber.c: Likewise.
65222 * inet/getrpcbynumber_r.c: Likewise.
65223 * inet/getrpcent.c: Likewise.
65224 * inet/getrpcent_r.c: Likewise.
65225 * inet/getaliasent.c: Likewise.
65226 * inet/getaliasent_r.c: Likewise.
65227 * inet/getaliasname.c: Likewise.
65228 * inet/getaliasname_r.c: Likewise.
65229 * nscd/getgrgid_r.c: Likewise.
65230 * nscd/getgrnam_r.c: Likewise.
65231 * nscd/gethstbyad_r.c: Likewise.
65232 * nscd/gethstbynm3_r.c: Likewise.
65233 * nscd/getpwnam_r.c: Likewise.
65234 * nscd/getpwuid_r.c: Likewise.
65235 * nscd/getsrvbynm_r.c: Likewise.
65236 * nscd/getsrvbypt_r.c: Likewise.
65237 * nscd/gai.c: Likewise.
65238
65239 * configure.in (build_nscd): New substituted variable, set
65240 by --disable-build-nscd and defaults to $use_nscd.
65241 * configure: Regenerated.
65242 * config.make.in (build-nscd): New substituted variable.
65243 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
65244 Change conditional to require [$(build-nscd) = yes] as well.
65245 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
65246
65247 [BZ# 13696]
65248 * configure.in (use_nscd): New substituted variable, set by
65249 --disable-nscd. If enabled, define USE_NSCD.
65250 * configure: Regenerated.
65251 * config.h.in: Add USE_NSCD.
65252 * config.make.in (use-nscd): New substituted variable.
65253 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
65254 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
65255 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
65256 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
65257 (CFLAGS-getgrnam_r.c): Likewise.
65258 (CFLAGS-initgroups.c): Likewise.
65259 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
65260 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
65261 Variables removed.
65262 * inet/getnetgrent_r.c
65263 (nscd_setnetgrent): New function, broken out of ...
65264 (setnetgrent): ... here. Call it.
65265 (innetgr): Conditionalize nscd bits on [USE_NSCD].
65266 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
65267 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
65268 * nscd/Makefile (routines, aux): Move definitions after include of
65269 Makeconfig. Conditionalize on [$(use-nscd) != no].
65270 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
65271 Conditionalize on [USE_NSCD].
65272 (is_nscd, nscd_init_cb): Likewise.
65273 (nss_load_library): Conditionalize init callback on [USE_NSCD].
65274 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
65275 * nss/nss_db/db-init.c: Likewise.
65276 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
65277 [USE_NSCD].
65278 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
65279 (make_request): Use it.
65280 (cache_valid_p): New function.
65281 (__check_pf): Use it.
65282 * NEWS: Add item for --disable-nscd.
65283
65284 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
65285
65286 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
65287 to support sed >= 4.2.1-20-ga9bf076.
65288 * configure: Regenerated.
65289
65290 2012-08-22 Roland McGrath <roland@hack.frob.com>
65291
65292 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
65293 Conditionalize whole body on [IREL].
65294
65295 2012-08-22 Jeff Law <law@redhat.com>
65296
65297 [BZ #14505]
65298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
65299 if the family is PF_UNSPEC.
65300
65301 2012-08-22 Mike Frysinger <vapier@gentoo.org>
65302
65303 * Makerules (lib-version): Rename from V.
65304 (install-lib-nosubdir): Change V to lib-version.
65305
65306 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
65307
65308 [BZ #14252]
65309 * powerpc32/power6/wcschr.c: New file.
65310 * powerpc32/power6/wcscpy.c: New file.
65311 * powerpc32/power6/wcsrchr.c: New file.
65312 * powerpc64/power6/wcschr.c: New file.
65313 * powerpc64/power6/wcscpy.c: New file.
65314 * powerpc64/power6/wcsrchr.c: New file.
65315
65316 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
65317
65318 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
65319 (two_way_short_needle): Use it.
65320 * string/strstr.c (AVAILABLE1_USES_J): Define.
65321 * string/strcasestr.c: Likewise.
65322
65323 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
65324 array references.
65325 * string/strcasestr.c (TOLOWER): Make side-effect safe.
65326
65327 [BZ #11607]
65328 * NEWS: Add an entry.
65329 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
65330 define their defaults.
65331 (two_way_short_needle): Detect end-of-string on-the-fly.
65332 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
65333 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
65334 * string/bug-strcasestr1.c: New test.
65335 * string/Makefile: Run it.
65336
65337 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
65338
65339 [BZ #11607]
65340 * string/str-two-way.h (two_way_short_needle): Optimize matching of
65341 the first character.
65342
65343 2012-08-21 Roland McGrath <roland@hack.frob.com>
65344
65345 * csu/elf-init.c (__libc_csu_irel): Function removed.
65346 * csu/libc-start.c (apply_irel): New function.
65347 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
65348
65349 2012-08-21 Joseph Myers <joseph@codesourcery.com>
65350
65351 * sysdeps/unix/sysv/linux/kernel-features.h
65352 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
65353 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65354 <kernel-features.h>.
65355 [__NR_fadvise64_64]: Make code unconditional.
65356 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
65357 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
65358 !__NR_fadvise64_64)]: Likewise.
65359 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
65360 !__NR_fadvise64_64))]: Likewise.
65361 [__NR_fadvise64]: Make code unconditional.
65362 [!__NR_fadvise64]: Remove conditional code.
65363 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
65364 <kernel-features.h>.
65365 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65366 unconditional.
65367 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65368 conditional code.
65369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
65370 not include <kernel-features.h>.
65371 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65372 unconditional.
65373 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65374 conditional code.
65375 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
65376 include <kernel-features.h>.
65377 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65378 unconditional.
65379 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65380 conditional code.
65381
65382 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
65383
65384 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
65385 slight instruction rearrangements per scrollpipe analysis.
65386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65387
65388 2012-08-20 Roland McGrath <roland@hack.frob.com>
65389
65390 * manual/syslog.texi (syslog; vsyslog, closelog):
65391 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
65392 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
65393
65394 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
65395 DSOCAPS to match condition on defining it.
65396
65397 2012-08-20 Joseph Myers <joseph@codesourcery.com>
65398
65399 * sysdeps/unix/sysv/linux/kernel-features.h
65400 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
65401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
65402 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65403 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
65405 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65406 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
65408 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65409 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65410
65411 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
65412 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
65413
65414 * sysdeps/unix/sysv/linux/kernel-features.h
65415 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
65416 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
65417 unconditional.
65418 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65419 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
65420 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65421 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65422 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
65423 Make code unconditional.
65424 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65425 (__mmap64) [!__NR_mmap2]: Likewise.
65426 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
65427 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65428 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65429 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
65430 [__NR_mmap2]: Make code unconditional.
65431 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65432 (__mmap64) [!__NR_mmap2]: Likewise.
65433
65434 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65435
65436 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
65437
65438 2012-08-18 Andreas Jaeger <aj@suse.de>
65439
65440 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
65441
65442 2012-08-18 Mike Frysinger <vapier@gentoo.org>
65443
65444 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
65445 * include/unistd.h (__have_sock_cloexec): Likewise.
65446 (__have_pipe2): Likewise.
65447 (__have_dup3): Likewise.
65448
65449 2012-08-18 Mike Frysinger <vapier@gentoo.org>
65450
65451 [BZ #9685]
65452 * include/unistd.h (__have_pipe2): Change define into an extern int.
65453 (__have_dup3): Likewise.
65454 * socket/have_sock_cloexec.c: Include fcntl.h.
65455 (__have_pipe2): New variable.
65456 (__have_dup3): Likewise.
65457
65458 2012-08-17 Mike Frysinger <vapier@gentoo.org>
65459
65460 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
65461
65462 2012-08-17 Marek Polacek <polacek@redhat.com>
65463
65464 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
65465 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
65466
65467 2012-08-17 Roland McGrath <roland@hack.frob.com>
65468
65469 * configure.in: Add AC_SUBST for sysheaders.
65470 * configure: Regenerated.
65471 * config.make.in (sysheaders): New substituted variable.
65472
65473 * sysdeps/unix/mkfifo.c: Moved ...
65474 * sysdeps/posix/mkfifo.c: ... here.
65475 * sysdeps/unix/mkfifoat.c: Moved ...
65476 * sysdeps/posix/mkfifoat.c: ... here.
65477
65478 * sysdeps/unix/utime.c: Moved ...
65479 * sysdeps/posix/utime.c: ... here.
65480
65481 * sysdeps/unix/time.c: Moved ...
65482 * sysdeps/posix/time.c: ... here.
65483 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
65484 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
65485
65486 * sysdeps/unix/nice.c: Moved ...
65487 * sysdeps/posix/nice.c: ... here.
65488
65489 * sysdeps/unix/alarm.c: Moved ...
65490 * sysdeps/posix/alarm.c: ... here.
65491
65492 * intl/Makefile ($(codeset_mo)): Depend on the input file.
65493
65494 2012-08-17 Jeff Law <law@redhat.com>
65495
65496 * intl/Makefile (codeset_mo): New variable.
65497 ($(codeset_mo)): New target.
65498 (tst-codeset.out): Depend on that. Remove explicit rule.
65499 (tst-gettext3.out, tst-gettext5.out): Likewise.
65500 (LOCPATH-ENV, tst-codeset-ENV): New variables.
65501 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
65502 * intl/tst-codeset.sh: Remove.
65503 * intl/tst-gettext3.sh: Likewise.
65504 * intl/tst-gettext5.sh: Likewise.
65505
65506 2012-08-17 Roland McGrath <roland@hack.frob.com>
65507
65508 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
65509 * sysdeps/unix/syscalls.list: ... here.
65510
65511 * sysdeps/posix/getaddrinfo.c
65512 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65513 (gaiconf_init, gaiconf_reload): Use them.
65514 [!_STATBUF_ST_NSEC]
65515 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
65516 Define using time_t rather than struct timespec.
65517
65518 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
65519 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
65520 Macros removed.
65521 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65522 [!NO_THREADS].
65523 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
65524 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
65525 Likewise.
65526
65527 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
65528 __libc_cleanup_push argument.
65529
65530 * bits/param.h: New file.
65531 * misc/sys/param.h: New file.
65532 * include/sys/param.h: New file.
65533 * misc/Makefile (headers): Add bits/param.h.
65534 * sysdeps/generic/sys/param.h: File removed.
65535 * sysdeps/unix/sysv/linux/bits/param.h: New file.
65536 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
65537 * sysdeps/mach/hurd/bits/param.h: New file.
65538 * sysdeps/mach/hurd/sys/param.h: File removed.
65539
65540 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
65541 last change.
65542
65543 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
65544 [_IO_MTSAFE_IO].
65545 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
65546 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
65547 New macros.
65548
65549 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
65550 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
65551 rather than -D_IO_MTSAFE_IO conditionally.
65552 * stdio-common/Makefile (CPPFLAGS): Likewise.
65553 * wcsmbs/Makefile (CPPFLAGS): Likewise.
65554 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
65555 Use $(libio-mtsafe).
65556 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
65557 of -D_IO_MTSAFE_IO.
65558 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
65559 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
65560 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
65561 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
65562 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
65563 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
65564 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
65565 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
65566 (CFLAGS-fread_u_chk.c): Likewise.
65567 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
65568 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
65569 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
65570 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
65571 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
65572 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65573 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
65574 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
65575 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
65576
65577 * libio/Makefile: Test [$(libc-reentrant) = yes]
65578 instead of [$(filter %REENTRANT, $(defines)) nonempty].
65579
65580 * Makeconfig
65581 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65582 * sysdeps/pthread/configure: File removed.
65583 * sysdeps/pthread/Makeconfig: New file.
65584 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65585 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65586
65587 2012-08-16 Gary Benson <gbenson@redhat.com>
65588
65589 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65590 unmapping the first object in a namespace.
65591
65592 2012-08-16 Roland McGrath <roland@hack.frob.com>
65593
65594 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65595 (__internal_setnetgrent): ... this. Add internal_function to
65596 definition. Add libc_hidden_def.
65597 (setnetgrent): Update caller.
65598 (internal_endnetgrent): Renamed to ...
65599 (__internal_endnetgrent): ... this. Add internal_function to
65600 definition. Add libc_hidden_def.
65601 (endnetgrent): Update caller.
65602 (internal_getnetgrent_r): Renamed to ...
65603 (__internal_getnetgrent_r): ... this. Add internal_function to
65604 definition. Add libc_hidden_def.
65605 (__getnetgrent_r): Update caller.
65606 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
65607
65608 2012-08-16 Joseph Myers <joseph@codesourcery.com>
65609
65610 * stdlib/longlong.h: Update from GCC.
65611
65612 2012-08-16 Roland McGrath <roland@hack.frob.com>
65613
65614 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65615 on _QL, which is set by umul_ppmm but never used.
65616 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65617 variables, which are set by GMP macros but never used.
65618 * stdio-common/_itowa.c (_itowa): Likewise.
65619 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65620 * stdlib/mod_1.c (mpn_mod_1): Likewise.
65621
65622 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
65623
65624 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65625 struct La_sh_regs is not constant.
65626 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65627 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65628 and struct La_sparc64_regs are not constant.
65629
65630 2012-08-16 Joseph Myers <joseph@codesourcery.com>
65631
65632 * sysdeps/unix/sysv/linux/kernel-features.h
65633 (__ASSUME_POSIX_TIMERS): Remove.
65634 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65635 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65636 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65637 Make code unconditional.
65638 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65639 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65640 Make code unconditional.
65641 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65642 * sysdeps/unix/sysv/linux/clock_nanosleep.c
65643 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65644 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65645 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65646 Make code unconditional.
65647 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65648 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65649 (__libc_missing_posix_timers): Remove.
65650
65651 2012-08-15 Roland McGrath <roland@hack.frob.com>
65652
65653 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65654 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65655
65656 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65657
65658 * elf/dl-sym.c: Include <stdlib.h>.
65659
65660 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65661 constants, which avoids warnings in 32-bit builds.
65662
65663 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65664 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65665
65666 * misc/lseek.c: File moved to ...
65667 * io/lseek.c: ... here.
65668
65669 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65670
65671 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65672 shifting LEN more than 31 bits at once.
65673
65674 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65675
65676 [BZ #14195]
65677 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65678 segmentation fault for a case of two empty input strings.
65679 * string/test-strncasecmp.c (check1): Renamed to...
65680 (bz12205): ...this.
65681 (bz14195): Add new testcase for two empty input strings and N > 0.
65682 (test_main): Call new testcase, adapt for renamed function.
65683
65684 2012-08-15 Andreas Jaeger <aj@suse.de>
65685
65686 [BZ #14090]
65687 * crypt/md5test2.c: New test, based on test supplied by Serge
65688 Belyshev <belyshev@depni.sinp.msu.ru>.
65689 * crypt/Makefile (xtests): Add md5test-giant..
65690 * crypt/Makefile ($(objpfx)md5test-giant): Add.
65691
65692 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
65693
65694 [BZ #14090]
65695 * crypt/md5.c (md5_process_block): Don't assume the buffer
65696 length is less than 2**32.
65697 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65698 length is less than 2**64.
65699
65700 2012-08-15 Roland McGrath <roland@hack.frob.com>
65701
65702 * string/str-two-way.h: Include <sys/param.h>.
65703 (MAX): Macro removed.
65704
65705 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65706 Move #define and #undef of memmove to just before and after
65707 including <string.h>.
65708
65709 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65710 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65711 and after including <string.h>. Move declarations of
65712 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65713 to before #include "string/memmove.c".
65714
65715 * include/dirent.h: Declare __getdirentries.
65716
65717 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65718 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65719
65720 2012-08-14 Mike Frysinger <vapier@gentoo.org>
65721
65722 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65723 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65724 * sysdeps/i386/configure: Regenerated.
65725 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65726 STABS_CURRENT_FILE, and STABS_FUN.
65727 (END): Remove call to STABS_FUN_END.
65728 (STABS_CURRENT_FILE1): Delete.
65729 (STABS_CURRENT_FILE): Likewise.
65730 (STABS_FUN): Likewise.
65731 (STABS_FUN_END): Likewise.
65732 (STABS_FUN2): Likewise.
65733 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65734 * sysdeps/x86_64/configure: Regenerated.
65735
65736 2012-08-14 Roland McGrath <roland@hack.frob.com>
65737
65738 * elf/dl-open.c: Include <atomic.h>.
65739 * elf/dl-lookup.c: Likewise.
65740
65741 2012-08-14 Joseph Myers <joseph@codesourcery.com>
65742
65743 * sysdeps/unix/sysv/linux/kernel-features.h
65744 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65745 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65746 unconditionally.
65747 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65748 unconditionally.
65749 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65750 condition on __ASSUME_CLONE_THREAD_FLAGS.
65751
65752 2012-08-14 Andreas Jaeger <aj@suse.de>
65753
65754 * sysdeps/i386/fpu/libm-test-ulps: Update.
65755
65756 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
65757
65758 * include/atomic.h (atomic_exchange_and_add): Split into ...
65759 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65760 New atomic macros.
65761
65762 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
65763
65764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65765
65766 2012-08-13 Jeff Law <law@redhat.com>
65767
65768 * manual/stdio.texi (snprintf): Clarify handling of the trailing
65769 null byte in the output string.
65770
65771 2012-08-10 Joseph Myers <joseph@codesourcery.com>
65772
65773 * sysdeps/unix/sysv/linux/kernel-features.h
65774 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65775 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65776 (__ASSUME_ARG_MAX_STACK_BASED): Define.
65777 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65778 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65779 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
65780 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65781
65782 2012-08-09 Jeff Law <law@redhat.com>
65783
65784 [BZ #13939]
65785 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65786 When avoid_arena is set, don't retry in the that arena. Pick the
65787 next one, whatever it might be.
65788 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65789 (arena_lock): Pass in new parameter to arena_get2.
65790 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65791 arena_get2.
65792 (__libc_malloc): Unify retrying after main arena failure with
65793 __libc_memalign version.
65794 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65795
65796 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
65797
65798 [BZ #14166]
65799 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65800 to __redirect_strstr.
65801 (__strstr_sse42): Use typeof __redirect_strstr.
65802 (__strstr_ia32): Likewise.
65803 (__libc_strstr): New prototype.
65804 (strstr): Renamed to ...
65805 (__libc_strstr): This.
65806 (strstr): New strong alias of __libc_strstr.
65807 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65808 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65809 __redirect_time.
65810 Include <time.h>.
65811 (__libc_time): New prototype.
65812 (time_ifunc): Replace time with __libc_time.
65813 (time): New strong alias and hidden definition of __libc_time.
65814 (__GI_time): Remove strong alias.
65815 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65816 Include <stddef.h>.
65817 (memmove): Redefined to __redirect_memmove.
65818 (__memmove_sse2): Use typeof __redirect_memmove.
65819 (__memmove_ssse3): Likewise.
65820 (__memmove_ssse3_back): Likewise.
65821 (__libc_memmove): New prototype.
65822 (memmove): Renamed to ...
65823 (__libc_memmove): This.
65824 (memmove): New strong alias of __libc_memmove.
65825
65826 2012-08-08 Mark Salter <msalter@redhat.com>
65827
65828 * elf/elf.h
65829 (R_MN10300_TLS_GD): Define.
65830 (R_MN10300_TLS_LD): Likewise.
65831 (R_MN10300_TLS_LDO): Likewise.
65832 (R_MN10300_TLS_GOTIE): Likewise.
65833 (R_MN10300_TLS_IE): Likewise.
65834 (R_MN10300_TLS_LE): Likewise.
65835 (R_MN10300_TLS_DTPMOD): Likewise.
65836 (R_MN10300_TLS_DTPOFF): Likewise.
65837 (R_MN10300_TLS_TPOFF): Likewise.
65838 (R_MN10300_SYM_DIFF): Likewise.
65839 (R_MN10300_ALIGN): Likewise.
65840 (R_MN10300_NUM): Update.
65841
65842 2012-08-08 Joseph Myers <joseph@codesourcery.com>
65843
65844 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65845 Remove.
65846
65847 2012-08-08 Roland McGrath <roland@hack.frob.com>
65848
65849 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65850
65851 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65852 sysdeps/unix -> sysdeps/posix move.
65853 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65854
65855 2012-08-07 Allan McRae <allan@archlinux.org>
65856
65857 [BZ #14303]
65858 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65859 (SUNOS_CPP): Likewise.
65860 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65861 not found.
65862 (open_input): Call CPP using execvp.
65863
65864 2012-08-07 Joseph Myers <joseph@codesourcery.com>
65865
65866 * sysdeps/unix/sysv/linux/kernel-features.h
65867 (__ASSUME_PROT_GROWSUPDOWN): Remove.
65868 (__ASSUME_NO_CLONE_DETACHED): Likewise.
65869 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65870 (__ASSUME_WAITID_SYSCALL): Likewise.
65871 * sysdeps/unix/sysv/linux/dl-execstack.c
65872 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65873 code unconditional.
65874 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65875 conditional code.
65876 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65877 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65878 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65879 code.
65880 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65881 unconditional.
65882 [__ASSUME_WAITID_SYSCALL]: Likewise.
65883 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65884
65885 2012-08-07 Roland McGrath <roland@hack.frob.com>
65886
65887 * sysdeps/unix/closedir.c: Renamed to ...
65888 * sysdeps/posix/closedir.c: ... here.
65889 * sysdeps/unix/dirfd.c: Renamed to ...
65890 * sysdeps/posix/dirfd.c: ... here.
65891 * sysdeps/unix/dirstream.h: Renamed to ...
65892 * sysdeps/posix/dirstream.h: ... here.
65893 * sysdeps/unix/fdopendir.c: Renamed to ...
65894 * sysdeps/posix/fdopendir.c: ... here.
65895 * sysdeps/unix/opendir.c: Renamed to ...
65896 * sysdeps/posix/opendir.c: ... here.
65897 * sysdeps/unix/readdir.c: Renamed to ...
65898 * sysdeps/posix/readdir.c: ... here.
65899 * sysdeps/unix/readdir_r.c: Renamed to ...
65900 * sysdeps/posix/readdir_r.c: ... here.
65901 * sysdeps/unix/rewinddir.c: Renamed to ...
65902 * sysdeps/posix/rewinddir.c: ... here.
65903 * sysdeps/unix/seekdir.c: Renamed to ...
65904 * sysdeps/posix/seekdir.c: ... here.
65905 * sysdeps/unix/telldir.c: Renamed to ...
65906 * sysdeps/posix/telldir.c: ... here.
65907 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65908 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65909 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65910 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65911
65912 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65913 * bits/fcntl.h: ... here.
65914
65915 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65916 not 0.
65917 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65918 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65919 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65920 (struct flock): Move l_start, l_len to the beginning.
65921 Use __pid_t for l_pid.
65922 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65923 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65924 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65925 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65926 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65927 [__USE_LARGEFILE64] (struct flock64): New type.
65928 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65929
65930 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65931 * bits/dirent.h: ... here.
65932
65933 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65934 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65935
65936 2012-08-07 Joseph Myers <joseph@codesourcery.com>
65937
65938 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65939 Change from 2.6.0 to 2.6.16.
65940 * sysdeps/unix/sysv/linux/configure: Regenerated.
65941 * sysdeps/unix/sysv/linux/kernel-features.h
65942 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65943 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65944 version.
65945 (__ASSUME_UTIMES): Likewise.
65946 (__ASSUME_CLONE_STOPPED): Remove.
65947 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65948 architectures, not kernel version.
65949 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65950 (__ASSUME_NO_CLONE_DETACHED): Likewise.
65951 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65952 (__ASSUME_WAITID_SYSCALL): Likewise.
65953 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65954 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65955 * README: State 2.6.16 as minimum Linux kernel version. Do not
65956 refer to older versions.
65957
65958 2012-08-06 Roland McGrath <roland@hack.frob.com>
65959
65960 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65961 Define alphasort64 as an alias.
65962 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65963 Define versionsort64 as an alias.
65964 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65965 Define scandir64 as an alias.
65966 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65967 Define scandirat64 as an alias.
65968 * dirent/alphasort64.c (alphasort64):
65969 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65970 * dirent/versionsort64.c: Likewise.
65971 * dirent/scandir64.c: Likewise.
65972 * dirent/scandirat64.c: Likewise.
65973 * sysdeps/wordsize-64/alphasort.c: File removed.
65974 * sysdeps/wordsize-64/alphasort64.c: File removed.
65975 * sysdeps/wordsize-64/scandir.c: File removed.
65976 * sysdeps/wordsize-64/scandir64.c: File removed.
65977 * sysdeps/wordsize-64/scandirat.c: File removed.
65978 * sysdeps/wordsize-64/scandirat64.c: File removed.
65979 * sysdeps/wordsize-64/versionsort.c: File removed.
65980 * sysdeps/wordsize-64/versionsort64.c: File removed.
65981 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65982 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65983 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65984 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65985 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65986 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65987 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65988 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65989
65990 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65992 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65994 [defined __arch64__ || defined __sparcv9]
65995 (__INO_T_MATCHES_INO64_T): New macro.
65996 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65997 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65998 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65999 * sysdeps/unix/sysv/linux/bits/dirent.h
66000 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
66001 (_DIRENT_MATCHES_DIRENT64): New macro.
66002
66003 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
66004 Define lockf64 as an alias.
66005 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
66006 Define fseeko64 as an alias.
66007 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
66008 Define ftello64 as an alias.
66009 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
66010 Define _IO_fgetpos64 and fgetpos64 as aliases.
66011 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
66012 Define _IO_fsetpos64 and fsetpos64 as aliases.
66013 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
66014 Conditionalize body on this.
66015 * libio/fseeko64.c: Likewise.
66016 * libio/ftello64.c: Likewise.
66017 * libio/iofgetpos64.c: Likewise.
66018 * libio/iofsetpos64.c: Likewise.
66019 * sysdeps/wordsize-64/lockf.c: File removed.
66020 * sysdeps/wordsize-64/lockf64.c: File removed.
66021 * sysdeps/wordsize-64/fseeko.c: File removed.
66022 * sysdeps/wordsize-64/fseeko64.c: File removed.
66023 * sysdeps/wordsize-64/ftello.c: File removed.
66024 * sysdeps/wordsize-64/ftello64.c: File removed.
66025 * sysdeps/wordsize-64/iofgetpos.c: File removed.
66026 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
66027 * sysdeps/wordsize-64/iofsetpos.c: File removed.
66028 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
66029 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
66030 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
66031 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
66032 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
66033 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
66034 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
66035 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
66036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
66037 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
66038 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
66039
66040 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
66041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
66042 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
66043 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66044 [defined __arch64__ || defined __sparcv9]
66045 (__OFF_T_MATCHES_OFF64_T): New macro.
66046 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66047 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
66048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66049 (__OFF_T_MATCHES_OFF64_T): New macro.
66050
66051 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
66052
66053 * stdlib/secure-getenv.c (__secure_getenv): Replace
66054 GLIBC_2_16 with GLIBC_2_17.
66055
66056 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
66057
66058 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
66059 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66060
66061 2012-08-03 David S. Miller <davem@davemloft.net>
66062
66063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66064
66065 2012-08-03 Joseph Myers <joseph@codesourcery.com>
66066
66067 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
66068 Remove.
66069 (__ASSUME_CORRECT_SI_PID): Likewise.
66070 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
66071 (__ASSUME_TMPFS_NAME): Likewise.
66072 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
66073 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
66074 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
66075 (HAVE_AUX_SECURE): Make definition unconditional.
66076 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
66077 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
66078
66079 2012-08-03 Roland McGrath <roland@hack.frob.com>
66080
66081 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
66082 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
66083 * sysdeps/mach/hurd/eloop-threshold.h: New file.
66084 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66085 __eloop_threshold instead of SYMLOOP_MAX.
66086
66087 * sysdeps/generic/eloop-threshold.h: New file.
66088 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
66089 of MAXSYMLINKS.
66090 * elf/chroot_canon.c (chroot_canon): Likewise.
66091
66092 2012-08-03 Joseph Myers <joseph@codesourcery.com>
66093
66094 [BZ #13717]
66095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66096 Change to 2.6.0 everywhere.
66097 * sysdeps/unix/sysv/linux/configure: Regenerated.
66098 * sysdeps/unix/sysv/linux/kernel-features.h
66099 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
66100 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
66101 kernel versions.
66102 (__ASSUME_POSIX_TIMERS): Define unconditionally.
66103 (__ASSUME_FUTEX_REQUEUE): Remove.
66104 (__ASSUME_STATFS64): Define unconditionally.
66105 (__ASSUME_AT_SECURE): Likewise.
66106 (__ASSUME_CORRECT_SI_PID): Likewise.
66107 (__ASSUME_TGKILL): Define without depending on kernel version for
66108 i386.
66109 (__ASSUME_UTIMES): Likewise.
66110 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
66111 kernel version.
66112 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
66113 (__ASSUME_TMPFS_NAME): Likewise.
66114 * README: Update reference to Linux kernel versions.
66115
66116 2012-08-02 Marek Polacek <polacek@redhat.com>
66117
66118 [BZ# 14150]
66119 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
66120 libc_cv_asm_type_prefix with %.
66121 * configure: Regenerated.
66122 * include/libc-symbols.h: Remove comment about
66123 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
66124 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
66125 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
66126 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
66127 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
66128 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
66129 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
66130 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
66131 * elf/tst-unique2mod1.c: Likewise.
66132 * elf/tst-unique1mod2.c: Likewise.
66133 * elf/tst-unique1mod1.c: Likewise.
66134 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
66135 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
66136 Replace ASM_TYPE_DIRECTIVE with .type.
66137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
66138 * sysdeps/i386/sysdep.h: Likewise.
66139 * sysdeps/x86_64/sysdep.h: Likewise.
66140 * sysdeps/sh/sysdep.h: Likewise.
66141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
66142 Do not define ASM_TYPE_DIRECTIVE.
66143 * sysdeps/powerpc/sysdep.h: Likewise.
66144 * sysdeps/powerpc/powerpc32/sysdep.h:
66145 Replace ASM_TYPE_DIRECTIVE with .type.
66146 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66147 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66148 * sysdeps/i386/fpu/e_powf.S: Likewise.
66149 * sysdeps/i386/fpu/e_expl.S: Likewise.
66150 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66151 * sysdeps/i386/fpu/e_acosh.S: Likewise.
66152 * sysdeps/i386/fpu/e_pow.S: Likewise.
66153 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66154 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66155 * sysdeps/i386/fpu/s_expm1.S: Likewise.
66156 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66157 * sysdeps/i386/fpu/e_log2.S: Likewise.
66158 * sysdeps/i386/fpu/e_log2l.S: Likewise.
66159 * sysdeps/i386/fpu/e_scalb.S: Likewise.
66160 * sysdeps/i386/fpu/e_powl.S: Likewise.
66161 * sysdeps/i386/fpu/e_log10f.S: Likewise.
66162 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66163 * sysdeps/i386/fpu/e_logl.S: Likewise.
66164 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66165 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66166 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66167 * sysdeps/i386/fpu/e_log2f.S: Likewise.
66168 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66169 * sysdeps/i386/fpu/e_log.S: Likewise.
66170 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66171 * sysdeps/i386/fpu/e_logf.S: Likewise.
66172 * sysdeps/i386/fpu/e_log10l.S: Likewise.
66173 * sysdeps/i386/fpu/e_atanh.S: Likewise.
66174 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66175 * sysdeps/i386/fpu/e_log10.S: Likewise.
66176 * sysdeps/i386/fpu/s_frexp.S: Likewise.
66177 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66178 * sysdeps/i386/fpu/s_asinh.S: Likewise.
66179 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66180 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66181 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
66182 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66183 * sysdeps/i386/i686/strtok.S: Likewise.
66184 * sysdeps/i386/i386-mcount.S: Likewise.
66185 * sysdeps/i386/strtok.S: Likewise.
66186 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
66187 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66188 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66189 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66190 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66191 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66192 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66193 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66194 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66195 * sysdeps/x86_64/_mcount.S: Likewise.
66196 * sysdeps/x86_64/strtok.S: Likewise.
66197 * sysdeps/sh/_mcount.S: Likewise.
66198
66199 2012-08-01 Roland McGrath <roland@hack.frob.com>
66200
66201 * libio/iofopen.c: Include <fcntl.h>.
66202 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
66203 (_IO_fopen64, fopen64): Define as aliases.
66204 * libio/iofopen64.c: Include <fcntl.h>.
66205 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
66206 Conditionalize body on this.
66207 * sysdeps/wordsize-64/iofopen.c: File removed.
66208 * sysdeps/wordsize-64/iofopen64.c: File removed.
66209
66210 2012-08-01 Marek Polacek <polacek@redhat.com>
66211
66212 * libc/Makeconfig: Use elf in place of binfmt-subdir.
66213 Use dlfcn directly instead of a variable.
66214 (binfmt-subdir): Do not define.
66215 (dlfcn): Likewise.
66216
66217 2012-08-01 Joseph Myers <joseph@codesourcery.com>
66218
66219 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
66220 Remove all definitions.
66221 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
66222 <kernel-features.h>.
66223 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
66224 (miss_F_GETOWN_EX): Remove all definitions.
66225 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
66226 macro definition.
66227 [!__ASSUME_FCNTL64]: Remove conditional code.
66228 [__ASSUME_FCNTL64]: Make code unconditional.
66229 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
66230 <kernel-features.h>.
66231 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
66232 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
66233 (lockf64) [__NR_fcntl64]: Make code unconditional.
66234 (lockf64) [__ASSUME_FCNTL64]: Likewise.
66235
66236 * sysdeps/unix/sysv/linux/kernel-features.h
66237 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
66238 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
66239 Make code unconditional.
66240 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66241 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
66243 [__NR_vfork]: Make code unconditional.
66244 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66245 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
66247 [__NR_vfork]: Make code unconditional.
66248 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66249 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66250
66251 2012-08-01 Roland McGrath <roland@hack.frob.com>
66252
66253 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
66254 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
66255
66256 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66257 Define mkstemp64 as an alias.
66258 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66259 Define mkstemps64 as an alias.
66260 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66261 Define mkostemp64 as an alias.
66262 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66263 Define mkostemps64 as an alias.
66264 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
66265 Conditionalize body on this.
66266 * misc/mkostemp64.c: Likewise.
66267 * misc/mkostemps64.c: Likewise.
66268 * misc/mkstemps64.c: Likewise.
66269 * sysdeps/wordsize-64/mkstemp64.c: File removed.
66270 * sysdeps/wordsize-64/mkostemp64.c: File removed.
66271 * sysdeps/wordsize-64/mkostemp.c: File removed.
66272 * sysdeps/wordsize-64/mkstemp.c: File removed.
66273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
66274 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
66275 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
66276 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
66277
66278 [BZ #14138]
66279 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
66280 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
66281 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
66282 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
66283
66284 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
66285 compat_symbol macros from <shlib-compat.h> rather than the underlying
66286 default_symbol_version and symbol_version macros, so that DEFAULT
66287 lines in shlib-versions are respected.
66288 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
66289
66290 2012-08-01 Florian Weimer <fweimer@redhat.com>
66291
66292 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
66293 Declare with warn_unused_result.
66294 (setgid, setregid, setegid, setresgid): Likewise.
66295 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
66296 Likewise.
66297 * WUR-REPORT: Remove set*id functions.
66298
66299 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
66300
66301 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
66302
66303 2012-07-31 Roland McGrath <roland@hack.frob.com>
66304
66305 [BZ #10191]
66306 * include/sys/socket.h (__libc_accept, __libc_accept4):
66307 Add attribute_hidden.
66308 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
66309
66310 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
66311 use of PTR_MANGLE.
66312 * inet/getnetgrent_r.c (setup): Likewise.
66313
66314 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
66315
66316 2012-07-31 David S. Miller <davem@davemloft.net>
66317
66318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66319
66320 2012-07-31 Joseph Myers <joseph@codesourcery.com>
66321
66322 [BZ #13629]
66323 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
66324 value between 1.0 and 2.0 and smaller part has absolute value less
66325 than 1.0.
66326 * math/s_clog10.c (__clog10): Likewise.
66327 * math/s_clog10f.c (__clog10f): Likewise.
66328 * math/s_clog10l.c (__clog10l): Likewise.
66329 * math/s_clogf.c (__clogf): Likewise.
66330 * math/s_clogl.c (__clogl): Likewise.
66331 * math/libm-test.inc (clog_test): Add more tests.
66332 (clog10_test): Likewise.
66333 * sysdeps/i386/fpu/libm-test-ulps: Update.
66334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66335
66336 2012-07-31 Florian Weimer <fweimer@redhat.com>
66337
66338 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
66339 Exit with zero in case no suitable GID is found, and write a
66340 message to standard error.
66341
66342 2012-07-30 Roland McGrath <roland@hack.frob.com>
66343
66344 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
66345 rather than to 1.
66346 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
66347 (MAXPATHLEN): Removed.
66348 (NOGROUP, NODEV): New macros.
66349 (setbit, clrbit, isset, isclr): New macros.
66350 (howmany, roundup, powerof2): New macros.
66351 (DEV_BSIZE): New macro.
66352
66353 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
66354 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
66355
66356 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
66357 definition on [!__NO_LONG_DOUBLE_MATH].
66358
66359 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
66360 PTR_MANGLE and PTR_DEMANGLE.
66361
66362 * socket/accept4.c (accept4): Rename to __libc_accept4.
66363 Define accept4 as a weak alias.
66364
66365 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
66366 on [_DIRENT_HAVE_D_TYPE].
66367 * io/ftw.c (ftw_dir): Likewise.
66368
66369 * io/xmknod.c (__xmknod): Don't check PATH for being null.
66370
66371 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
66372
66373 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
66374 Use the BSD numbers rather than the arbitrary ones we had.
66375 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
66376 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
66377 (SIGXCPU, SIGXFSZ): New macros.
66378 (_NSIG): Now 32.
66379
66380 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
66381 initializer on [_LIBC_REENTRANT].
66382
66383 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
66384 definitions inside [_POSIX_MAPPED_FILES].
66385
66386 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
66387
66388 * dirent/opendir.c: Include <fcntl.h>.
66389
66390 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
66391 (__libc_getspecific): Likewise.
66392 (__libc_key_create): Likewise.
66393
66394 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
66395 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
66396 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
66397 (tmpfile64): Define as alias.
66398 * sysdeps/wordsize-64/tmpfile.c: File removed.
66399 * sysdeps/wordsize-64/tmpfile64.c: File removed.
66400 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
66401 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
66402
66403 * stdio-common/vfscanf.c: Include <stdbool.h>.
66404 * nss/makedb.c: Likewise.
66405 * stdio-common/_i18n_number.h: Likewise.
66406 * argp/argp-help.c: Likewise.
66407 * posix/wordexp.c: Likewise.
66408 * sysdeps/posix/spawni.c: Likewise.
66409 * nss/nss_files/files-initgroups.c: Likewise.
66410 * stdio-common/reg-modifier.c: Include <stdlib.h>.
66411 * nss/nss_files/files-initgroups.c: Likewise.
66412 * nss/nss_db/db-netgrp.c: Likewise.
66413 * nss/nss_db/db-initgroups.c: Likewise.
66414 * io/fchmodat.c: Include <sys/stat.h>.
66415
66416 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
66417 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
66418
66419 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
66420 [HAVE_MMAP].
66421
66422 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
66423 Add multiple inclusion protection.
66424
66425 2012-07-27 David S. Miller <davem@davemloft.net>
66426
66427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66428
66429 2012-07-27 Gary Benson <gbenson@redhat.com>
66430
66431 [BZ #14298]
66432 * elf/rtld.c: Include <stap-probe.h>.
66433 (dl_main): Added static probes "init_start" and "init_complete".
66434 * elf/dl-load.c: Include <stap-probe.h>.
66435 (lose): Take new parameter "nsid".
66436 Added static probe "map_failed".
66437 (_dl_map_object_from_fd): Pass namespace id to lose.
66438 Added static probe "map_start".
66439 (open_verify): Pass namespace id to lose.
66440 * elf/dl-open.c: Include <stap-probe.h>.
66441 (dl_open_worker) Added static probes "map_complete", "reloc_start"
66442 and "reloc_complete".
66443 * elf/dl-close.c: Include <stap-probe.h>.
66444 (_dl_close_worker): Added static probes "unmap_start" and
66445 "unmap_complete".
66446 * elf/rtld-debugger-interface.txt: New file documenting the above.
66447
66448 2012-07-26 Roland McGrath <roland@hack.frob.com>
66449
66450 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
66451 rather than a string variable.
66452 * sunrpc/rpc_main.c (h_output): Likewise.
66453 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
66454
66455 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
66456
66457 * inet/check_native.c: New file.
66458
66459 2012-07-26 Joseph Myers <joseph@codesourcery.com>
66460
66461 [BZ #13629]
66462 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
66463 if larger part has absolute value 1.0.
66464 * math/s_clog10.c (__clog10): Likewise.
66465 * math/s_clog10f.c (__clog10f): Likewise.
66466 * math/s_clog10l.c (__clog10l): Likewise.
66467 * math/s_clogf.c (__clogf): Likewise.
66468 * math/s_clogl.c (__clogl): Likewise.
66469 * math/libm-test.inc (clog_test): Add more tests.
66470 (clog10_test): Likewise.
66471 * sysdeps/i386/fpu/libm-test-ulps: Update.
66472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66473
66474 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
66475 (pltexit): Likewise.
66476 (La_regs): Likewise.
66477 (La_retval): Likewise.
66478 (int_retval): Likewise.
66479 Update #error for removed macros to refer only to definitions in
66480 tst-audit.h.
66481 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
66482 macro.
66483 (pltexit): Likewise.
66484 (La_regs): Likewise.
66485 (La_retval): Likewise.
66486 (int_retval): Likewise.
66487 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
66488 macro.
66489 (pltexit): Likewise.
66490 (La_regs): Likewise.
66491 (La_retval): Likewise.
66492 (int_retval): Likewise.
66493 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
66494 macro.
66495 (pltexit): Likewise.
66496 (La_regs): Likewise.
66497 (La_retval): Likewise.
66498 (int_retval): Likewise.
66499 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
66500 macro.
66501 (pltexit): Likewise.
66502 (La_regs): Likewise.
66503 (La_retval): Likewise.
66504 (int_retval): Likewise.
66505 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
66506 macro.
66507 (pltexit): Likewise.
66508 (La_regs): Likewise.
66509 (La_retval): Likewise.
66510 (int_retval): Likewise.
66511 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
66512 macro.
66513 (pltexit): Likewise.
66514 (La_regs): Likewise.
66515 (La_retval): Likewise.
66516 (int_retval): Likewise.
66517 * sysdeps/generic/tst-audit.h: Update comment to refer only to
66518 macro definitions in tst-audit.h.
66519 * sysdeps/i386/tst-audit.h: New file.
66520 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
66521 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
66522 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
66523 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66524 * sysdeps/sh/tst-audit.h: Likewise.
66525 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
66526 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
66527 * sysdeps/x86_64/tst-audit.h: Likewise.
66528
66529 2012-07-26 Andreas Jaeger <aj@suse.de>
66530
66531 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
66532 ptrace.
66533
66534 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
66535 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
66536 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66537 PTRACE_O_MASK.
66538 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
66539 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
66540 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
66541
66542 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
66543 value.
66544
66545 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
66546 _sigsys.
66547 (si_call_addr, si_syscall, si_arch): Define new macro.
66548 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
66549 _sigsys.
66550 (si_call_addr, si_syscall, si_arch): Define new marcro.
66551 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
66552 _sigsys.
66553 (si_call_addr, si_syscall, si_arch): Define new macro.
66554 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
66555 _sigsys.
66556 (si_call_addr, si_syscall, si_arch): Define new macro.
66557
66558 2012-07-25 Joseph Myers <joseph@codesourcery.com>
66559
66560 [BZ #13717]
66561 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66562 Change to 2.4.21 where previously 2.4.1.
66563 * sysdeps/unix/sysv/linux/configure: Regenerated.
66564 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
66565 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
66566 Linux kernel version.
66567 (__ASSUME_STD_AUXV): Remove.
66568 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
66569 kernel version.
66570 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
66571 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
66572 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
66573 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
66574 (__ASSUME_NETLINK_SUPPORT): Likewise.
66575 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
66576 (__no_netlink_support): Remove conditional definition.
66577 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66578 Remove.
66579 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66580 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66581 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66582 (if_nameindex_ioctl): Remove.
66583 (if_nameindex_netlink): Do not handle __no_netlink_support.
66584 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66585 code.
66586 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66587 Remove conditional code.
66588 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66589 code.
66590 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66591 unconditional.
66592 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66593 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66594 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66595 Remove.
66596 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66597 [!__ASSUME_STD_AUXV]: Remove conditional code.
66598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66599 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66600 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66602 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66603 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66604 code.
66605 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66607 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66608 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66609 conditional code.
66610 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66612 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66613 code.
66614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66615 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66616 conditional code.
66617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66618 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66619 code unconditional.
66620 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66621 conditional code.
66622 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66623 unconditional.
66624 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66625 conditional code.
66626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66627 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66628 unconditional.
66629 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66630 conditional code.
66631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66632 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66633 code unconditional.
66634 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66635 conditional code.
66636 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66637 unconditional.
66638 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66639 conditional code.
66640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66641 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66642 code unconditional.
66643 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66644 conditional code.
66645 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66646 unconditional.
66647 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66648 conditional code.
66649
66650 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
66651
66652 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66653 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66654 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66655 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66656 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66657 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66658 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66659 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66660 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66661 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66662 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66663 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66664 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66665 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66666 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66667 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66668 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66669 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66670 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66672 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66673 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66674 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66675
66676 2012-07-25 Florian Weimer <fweimer@redhat.com>
66677
66678 * Versions.def: Add GLIBC_2.17.
66679 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66680 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66681 Introduce __libc_secure_getenv.
66682 * stdlib/Versions (2.17): Add secure_getenv
66683 (GLIBC_PRIVATE): Add __libc_secure_getenv.
66684 * stdlib/secure-getenv.c: Rename __secure_getenv to
66685 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
66686 symbol __secure_getenv for GLIBC_2.0.
66687 * stdlib/tst-secure-getenv.c: New.
66688 * stdlib/Makefile (tests): Add testcase.
66689 * manual/startup.texi (Environment Access): Document
66690 secure_getenv.
66691 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66692 __libc_secure_getenv.
66693 * inet/ruserpass.c (ruserpass): Likewise.
66694 * malloc/mtrace.c (mtrace): Likewise.
66695 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66696 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66697 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66698 * sysdeps/posix/tempname.c: Likewise. Evaluate
66699 HAVE_SECURE_GETENV.
66700 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66701 __secure_getenv to __libc_secure_getenv.
66702 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66704 Likewise.
66705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66706 Likewise.
66707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66714
66715 2012-07-25 Joseph Myers <joseph@codesourcery.com>
66716
66717 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66718 (struct La_i86_retval): Likewise.
66719 (struct La_x86_64_regs): Likewise.
66720 (struct La_x86_64_retval): Likewise.
66721 (struct La_x32_regs): Likewise.
66722 (struct La_x32_retval): Likewise.
66723 (struct La_ppc32_regs): Likewise.
66724 (struct La_ppc32_retval): Likewise.
66725 (struct La_ppc64_regs): Likewise.
66726 (struct La_ppc64_retval): Likewise.
66727 (struct La_sh_regs): Likewise.
66728 (struct La_sh_retval): Likewise.
66729 (struct La_s390_32_regs): Likewise.
66730 (struct La_s390_32_retval): Likewise.
66731 (struct La_s390_64_regs): Likewise.
66732 (struct La_s390_64_retval): Likewise.
66733 (struct La_sparc32_regs): Likewise.
66734 (struct La_sparc32_retval): Likewise.
66735 (struct La_sparc64_regs): Likewise.
66736 (struct La_sparc64_retval): Likewise.
66737 (struct audit_ifaces): Remove architecture-specific pltenter and
66738 pltexit members.
66739 * sysdeps/i386/ldsodefs.h: New file.
66740 * sysdeps/powerpc/ldsodefs.h: Likewise.
66741 * sysdeps/s390/ldsodefs.h: Likewise.
66742 * sysdeps/sh/ldsodefs.h: Likewise.
66743 * sysdeps/sparc/ldsodefs.h: Likewise.
66744 * sysdeps/x86_64/ldsodefs.h: Likewise.
66745
66746 2012-07-25 Marek Polacek <polacek@redhat.com>
66747
66748 [BZ #6808]
66749 * math/libm-test.inc (yn_test): Add another test.
66750 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66751 to ERANGE when the result is +-Inf.
66752 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66753 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66754 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66755 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66756
66757 2012-07-24 Joseph Myers <joseph@codesourcery.com>
66758
66759 * conform/data/time.h-data (NULL): Use macro-constant. Require
66760 equal to 0.
66761 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
66762 clock_t.
66763 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
66764
66765 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
66766
66767 * configure.in <sysdeps resolving>: Correct printing
66768 Implies_before.
66769 * configure: Regenerate.
66770
66771 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
66772
66773 * math/w_ilogb.c: Include <limits.h>.
66774 * math/w_ilogbl.c: Likewise.
66775
66776 2012-07-20 Joseph Myers <joseph@codesourcery.com>
66777
66778 * manual/lang.texi (__va_copy): Document primarily as ISO C99
66779 va_copy. Document allowing for unavailable va_copy only as
66780 pre-C99 compatibility.
66781 * manual/string.texi (Copying and Concatenation): Use va_copy
66782 instead of __va_copy in concat example.
66783
66784 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
66785
66786 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66787 (__sendto): Use create_address_port. Initialize APORT and deallocate
66788 it if not null.
66789
66790 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66791 with O_NOLINK passed to __file_name_lookup.
66792
66793 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66794 with O_NOLINK passed to __file_name_lookup.
66795
66796 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66797 negative N or less than NGIDS.
66798
66799 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66800 type to string_t. Set ERANGE as errno and return it if NAME is not big
66801 enough. Use memcpy instead of strncpy.
66802
66803 2012-07-20 Joseph Myers <joseph@codesourcery.com>
66804
66805 * elf/Makefile (check-data): Remove.
66806 (localplt.data): New vpath directive.
66807 ($(objpfx)check-localplt.out): Use localplt.data from vpath
66808 instead of $(check-data).
66809 * scripts/data/localplt-generic.data: Move to ...
66810 * sysdeps/generic/localplt.data: ... here.
66811 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66812 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66813 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66815 ... here.
66816 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66818 ... here.
66819 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66821 ... here.
66822 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66824 ... here.
66825 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66827 ... here.
66828 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66830 ... here.
66831
66832 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66833
66834 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66835 PPC32 and PPC64 files.
66836 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66837 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66838
66839 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66840
66841 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66842 __makecontext_ret to ...
66843 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66844 ... here and call exit if uc_link is NULL. New file.
66845 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66846 __makecontext_ret.S.
66847 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66848 __makecontext_ret to ...
66849 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66850 ... here and call exit if uc_link is NULL. New file.
66851 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66852 __makecontext_ret.S.
66853
66854 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66855
66856 * elf/elf.h (R_390_IRELATIVE): New definition.
66857 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66858 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
66859 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66860 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66861 (elf_machine_lazy_rel): Likewise.
66862 * sysdeps/s390/dl-irel.h: New file.
66863 * sysdeps/s390/s390-64/memcpy.S: New asm code.
66864 * sysdeps/s390/s390-64/memset.S: New asm code.
66865 * sysdeps/s390/s390-64/memcmp.S: New asm code.
66866 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66867 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66868 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66869 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66870 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66871 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66872 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66873 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66874 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66875 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66876 * sysdeps/s390/s390-32/memcpy.S: New asm code.
66877 * sysdeps/s390/s390-32/memset.S: New asm code.
66878 * sysdeps/s390/s390-32/memcmp.S: New asm code.
66879
66880 2012-07-17 Marek Polacek <polacek@redhat.com>
66881
66882 [BZ #14349]
66883 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66884 * sysdeps/s390/s390-64/configure.in: Likewise.
66885 * sysdeps/sparc/configure.in: Likewise.
66886 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66887 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66888 * sysdeps/i386/configure.in: Likewise.
66889 * sysdeps/x86_64/configure.in: Likewise.
66890 * sysdeps/sh/configure.in: Likewise.
66891 * sysdeps/s390/s390-32/configure: Regenerated.
66892 * sysdeps/s390/s390-64/configure: Likewise.
66893 * sysdeps/x86_64/configure: Likewise.
66894 * sysdeps/sh/configure: Likewise.
66895 * sysdeps/powerpc/powerpc64/configure: Likewise.
66896 * sysdeps/powerpc/powerpc32/configure: Likewise.
66897 * sysdeps/sparc/configure: Likwise.
66898 * sysdeps/i386/configure: Likewise.
66899
66900 * elf/dl-open.c: Comment fixes.
66901
66902 2012-07-17 Joseph Myers <joseph@codesourcery.com>
66903
66904 * Makefile [CXX] (check-data): Remove.
66905 [CXX] (c++-types.data): New vpath directive.
66906 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66907 vpath. Do not allow for C++ type data being missing.
66908 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66909 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66910 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66911 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66912 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66913 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66914 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66916 ... here.
66917 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66919 ... here.
66920 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66922 ... here.
66923 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66925 ... here.
66926 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66928 ... here.
66929 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66931 ... here.
66932 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66934 ... here.
66935 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66937
66938 * elf/tls-macros.h (TLS_LE): Move architecture-specific
66939 definitions to architecture-specific files.
66940 (TLS_IE): Likewise.
66941 (TLS_LD): Likewise.
66942 (TLS_GD): Likewise.
66943 * sysdeps/i386/tls-macros.h: New file.
66944 * sysdeps/powerpc/tls-macros.h: Likewise.
66945 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66946 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66947 * sysdeps/sh/tls-macros.h: Likewise.
66948 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66949 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66950 * sysdeps/x86_64/tls-macros.h: Likewise.
66951
66952 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
66953
66954 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66955 zero value for regular exit case.
66956
66957 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66958 (__start_context): Preserve zero value for regular exit case.
66959
66960 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
66961 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66962
66963 * manual/setjmp.texi (setcontext): Clarify normal process
66964 termination when uc_link is the null pointer.
66965 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66966 exit call.
66967
66968 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
66969
66970 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66971 preprocessor. Test for each exception mask separately.
66972
66973 2012-07-16 Andreas Jaeger <aj@suse.de>
66974
66975 * po/ru.po: Update from translation team.
66976
66977 2012-07-15 Joseph Myers <joseph@codesourcery.com>
66978
66979 * conform/data/string.h-data (NULL): Use macro-constant. Require
66980 equal to 0.
66981 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66982 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66983 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66984 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66985 [ISO || ISO99 || ISO11] (*_t): Do not allow.
66986
66987 2012-07-13 Andreas Jaeger <aj@suse.de>
66988
66989 * po/fr.po: Update from translation team.
66990
66991 2012-07-12 Marek Polacek <polacek@redhat.com>
66992
66993 [BZ #14173]
66994 * math/libm-test.inc (yn_test): Add test for BZ #14173.
66995 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66996 loop condition.
66997
66998 2012-07-12 Joseph Myers <joseph@codesourcery.com>
66999
67000 [BZ #13717]
67001 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67002 Change to 2.4.1 where previously 2.4.0.
67003 * sysdeps/unix/sysv/linux/configure: Regenerated.
67004 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
67005 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
67006 version.
67007 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
67008 (__ASSUME_AT_CLKTCK): Remove.
67009 (__ASSUME_AT_PAGESIZE): Likewise.
67010 (__ASSUME_AT_XID): Likewise.
67011 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
67012 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
67013 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
67014 unconditionally.
67015 (HAVE_AUX_PAGESIZE): Likewise.
67016 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
67017 [__ASSUME_AT_CLKTCK]: Make code unconditional.
67018 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
67019
67020 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
67021
67022 [BZ #14307]
67023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
67024 the temporary buffer used to invoke __gethostbyname2_r,
67025 __gethostbyaddr_r and gethostbyname4_r to make room for struct
67026 host_data / struct gaih_addrtuple.
67027 * resolv/nss_dns/dns-host.c (global scope): Move definition of
67028 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
67029 header file nss/nsswitch.h.
67030 * nss/nsswitch.h (global scope): Add definition of implementation
67031 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
67032 resolv/nss_dns/dns-host.c).
67033
67034 2012-07-11 Andreas Jaeger <aj@suse.de>
67035
67036 * po/fr.po: Update from translation team.
67037
67038 * po/sv.po: Update from translation team
67039 * po/fr.po: Another update from translation team.
67040
67041 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67042
67043 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
67044 for subnormals or multiply small sinh result by itself.
67045 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67047
67048 2012-07-11 David S. Miller <davem@davemloft.net>
67049
67050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67051
67052 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
67053
67054 [BZ #14347]
67055 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
67056 (INTERNAL_MARK): Shift it here.
67057
67058 2012-07-10 Marek Polacek <polacek@redhat.com>
67059
67060 [BZ #14151]
67061 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
67062 libc_cv_asm_global_directive with .globl.
67063 * configure: Regenerated.
67064 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
67065 with .globl.
67066 * sysdeps/i386/configure: Regenerated.
67067 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
67068 with .globl.
67069 * sysdeps/x86_64/configure: Regenerated.
67070 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
67071 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
67072 * elf/tst-unique2mod2.c: Likewise.
67073 * elf/tst-unique2mod1.c: Likewise.
67074 * elf/tst-unique1mod2.c: Likewise.
67075 * elf/tst-unique1mod1.c: Likewise.
67076 * sysdeps/s390/s390-32/sysdep.h: Likewise.
67077 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67078 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67079 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67080 * sysdeps/mach/sysdep.h: Likewise.
67081 * sysdeps/i386/sysdep.h: Likewise.
67082 * sysdeps/i386/i386-mcount.S: Likewise.
67083 * sysdeps/x86_64/_mcount.S: Likewise.
67084 * sysdeps/x86_64/sysdep.h: Likewise.
67085 * sysdeps/sh/_mcount.S: Likewise.
67086 * sysdeps/sh/sysdep.h: Likewise.
67087 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
67088 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
67089 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
67090 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67091 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
67092 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
67093 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
67094 * locale/localeinfo.h: Likewise.
67095 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
67096 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
67097
67098 2012-07-09 Roland McGrath <roland@hack.frob.com>
67099
67100 [BZ #14336]
67101 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
67102 system".
67103 * manual/message.texi (The Uniforum approach): Likewise.
67104 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
67105 (glibc iconv Implementation): Likewise.
67106
67107 2012-07-09 Joseph Myers <joseph@codesourcery.com>
67108
67109 [BZ #14337]
67110 * math/s_clog.c (__clog): Avoid scaling a value down where that
67111 could result in underflow.
67112 * math/s_clog10.c (__clog10): Likewise.
67113 * math/s_clog10f.c (__clog10f): Likewise.
67114 * math/s_clog10l.c (__clog10l): Likewise.
67115 * math/s_clogf.c (__clogf): Likewise.
67116 * math/s_clogl.c (__clogl): Likewise.
67117 * math/libm-test.inc (clog_test): Add more tests.
67118 (clog10_test): Likewise.
67119 * sysdeps/i386/fpu/libm-test-ulps: Update.
67120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67121
67122 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
67123
67124 [BZ #14283]
67125 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
67126 by 7 not 8 to examine high bit of fractional part.
67127
67128 [BZ #14042]
67129 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
67130 for call to __mcount_internal.
67131 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
67132 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
67133 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
67134
67135 2012-07-06 Joseph Myers <joseph@codesourcery.com>
67136
67137 [BZ #14154]
67138 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
67139 approximation for values within 0x1p-13f of an odd multiple of
67140 pi/4.
67141 * math/libm-test.inc (tan_test): Do not allow spurious underflow
67142 exception. Add more tests.
67143 * sysdeps/i386/fpu/libm-test-ulps: Update.
67144
67145 [BZ #6778]
67146 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
67147 inputs and return -1 for them. Do not check for +Inf in case not
67148 reachable for +Inf.
67149 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
67150 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
67151 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
67152 and return -1 for them. Do not check for +Inf in case not
67153 reachable for +Inf.
67154 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
67155 define.
67156 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
67157 and return -1 for them. Do not check for +Inf in case not
67158 reachable for +Inf.
67159 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
67160 spurious underflow.
67161 * sysdeps/i386/fpu/libm-test-ulps: Update.
67162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67163
67164 2012-07-06 Mike Frysinger <vapier@gentoo.org>
67165
67166 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
67167
67168 2012-07-05 Joseph Myers <joseph@codesourcery.com>
67169
67170 [BZ #14157]
67171 [BZ #14331]
67172 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
67173 could result in spurious underflow. Scale down values above
67174 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
67175 * math/s_csqrtf.c (__csqrtf): Likewise.
67176 * math/s_csqrtl.c (__csqrtl): Likewise.
67177 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
67178 spurious underflow.
67179 * sysdeps/i386/fpu/libm-test-ulps: Update.
67180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67181
67182 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
67183
67184 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
67185 xopen-msg.sed.
67186 * catgets/xopen-msg.awk: New file.
67187 * catgets/xopen-msg.sed: Removed.
67188
67189 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
67190 po2text.sed.
67191 * intl/po2test.awk: New file.
67192 * intl/po2test.sed: Removed.
67193
67194 2012-07-04 Joseph Myers <joseph@codesourcery.com>
67195
67196 [BZ #14328]
67197 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
67198 or multiply small sinh result by itself.
67199 * math/s_ctanf.c (__ctanf): Likewise.
67200 * math/s_ctanh.c (__ctanh): Likewise.
67201 * math/s_ctanhf.c (__ctanhf): Likewise.
67202 * math/s_ctanhl.c (__ctanhl): Likewise.
67203 * math/s_ctanl.c (__ctanl): Likewise.
67204 * math/libm-test.inc (ctan_test_tonearest): New function.
67205 (ctan_test_towardzero): Likewise.
67206 (ctan_test_downward): Likewise.
67207 (ctan_test_upward): Likewise.
67208 (ctanh_test_tonearest): Likewise.
67209 (ctanh_test_towardzero): Likewise.
67210 (ctanh_test_downward): Likewise.
67211 (ctanh_test_upward): Likewise.
67212 (main): Call these new functions.
67213 * sysdeps/i386/fpu/libm-test-ulps: Update.
67214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67215
67216 2012-07-03 Mike Frysinger <vapier@gentoo.org>
67217
67218 * .gitignore: Delete /ports entry.
67219
67220 2012-07-03 Andreas Jaeger <aj@suse.de>
67221
67222 * po/bg.po: Update from translation team.
67223 * po/cs.po: Likewise.
67224 * po/de.po: Likewise.
67225 * po/hr.po: Likewise.
67226 * po/nl.pl: Likewise.
67227 * po/pl.po: Likewise.
67228 * po/vi.po: Likewise.
67229
67230 2012-07-03 Joseph Myers <joseph@codesourcery.com>
67231
67232 * Makeconfig [!+link] (+link-before-libc): New variable.
67233 [!+link] (+link-after-libc): Likewise.
67234 [!+link] (+link-tests): Likewise.
67235 [!+link] (+link): Define in terms of $(+link-before-libc) and
67236 $(+link-after-libc).
67237 [!+link-static] (+link-static-before-libc): New variable.
67238 [!+link-static] (+link-static-after-libc): Likewise.
67239 [!+link-static] (+link-static-tests): Likewise.
67240 [!+link-static] (+link-static): Define in terms of
67241 $(+link-static-before-libc) and $(+link-static-after-libc).
67242 [build-shared] (link-libc-before-gnulib): New variable.
67243 [build-shared] (link-libc-tests): Likewise.
67244 [build-shared] (link-libc): Define in terms of
67245 $(link-libc-before-gnulib).
67246 [!build-shared] (link-libc-tests): New variable.
67247 (link-libc-static-tests): New variable.
67248 [!gnulib] (gnulib-arch): New variable.
67249 [!gnulib] (gnulib-tests): Likewise.
67250 [!gnulib] (static-gnulib-arch): Likewise.
67251 [!gnulib] (static-gnulib-tests): Likewise.
67252 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
67253 Define with "=" instead of ":=".
67254 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
67255 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
67256 * Rules (binaries-all-notests): New variable.
67257 (binaries-all-tests): Likewise.
67258 (binaries-static-notests): Likewise.
67259 (binaries-static-tests): Likewise.
67260 (binaries-all): Define using $(binaries-all-notests) and
67261 $(binaries-all-tests).
67262 (binaries-static): Define using $(binaries-static-notests) and
67263 $(binaries-static-tests).
67264 (binaries-shared-tests): New variable.
67265 (binaries-shared-notests): Likewise.
67266 (binaries-shared): Remove variable.
67267 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
67268 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
67269 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
67270 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
67271 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
67272 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
67273 * elf/Makefile (sln-modules): New variable.
67274 (extra-objs): Add $(sln-modules:=.o).
67275 (ldconfig-modules): Add static-stubs.
67276 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
67277 * elf/static-stubs.c: New file.
67278
67279 [BZ #14283]
67280 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
67281 by 7 not 8 to examine high bit of fractional part. Use volatile
67282 variables when splitting into final array of floats if
67283 __FLT_EVAL_METHOD__ != 0.
67284 * math/libm-test.inc (cos_test): Add another test.
67285 (sin_test): Likewise.
67286 * sysdeps/i386/fpu/libm-test-ulps: Update.
67287
67288 [BZ #14273]
67289 * math/libm-test.inc (cosh_test): Add more tests.
67290
67291 * version.h (RELEASE): Set to "development".
67292 (VERSION): Set to "2.16.90".
67293
67294 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
67295
67296 * NEWS: Update copyright. Remove last-updated date.
67297 Mention math library bug fixes and timezone data changes.
67298 * README: Mention GNU/Hurd, x32, and HPPA support status.
67299
67300 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
67301
67302 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
67303
67304 2012-06-27 Andreas Jaeger <aj@suse.de>
67305
67306 * manual/contrib.texi (Contributors): Add Samuel Thibault.
67307
67308 2012-06-25 Andreas Jaeger <aj@suse.de>
67309
67310 * sysdeps/s390/fpu/libm-test-ulps: Update.
67311
67312 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
67313 Thomas Schwinge <thomas@codesourcery.com>
67314
67315 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
67316 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
67317 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
67318 fanotify_mark.
67319
67320 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
67321
67322 * sysdeps/mach/start.c: Remove file.
67323 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
67324 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
67325 * sysdeps/sh/init-first.c: Likewise.
67326
67327 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
67328 registers for frame unwinding purposes, add CFI directives.
67329 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
67330 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
67331 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
67332 Likewise.
67333
67334 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
67335 __fortify_fail returning.
67336 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
67337
67338 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
67339 sysdeps/sh/____longjmp_chk.S.
67340 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
67341 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
67342 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
67343 (gen-as-const-headers): Append sigaltstack-offsets.sym.
67344
67345 * sysdeps/sh/abort-instr.h: New file.
67346 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
67347 process in case exit returns.
67348
67349 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
67350 initialize the GOT register before use.
67351
67352 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
67353 calculation of ARGC > 4.
67354
67355 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
67356 meaningful names to some local labels.
67357
67358 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
67359 Kaz Kojima <kkojima@rr.iij4u.or.jp>
67360
67361 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
67362 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
67363 (__arch_compare_and_exchange_val_16_acq): Likewise.
67364 (__arch_compare_and_exchange_val_32_acq): Likewise.
67365 (atomic_exchange_and_add): Fix gUSA sequence.
67366 (atomic_add): Likewise.
67367 (atomic_add_negative): Likewise.
67368 (atomic_add_zero): Likewise.
67369 (atomic_bit_test_set): Likewise.
67370
67371 2012-06-22 Andreas Schwab <schwab@redhat.com>
67372
67373 [BZ #13579]
67374 * include/link.h (struct link_map): Add l_free_initfini.
67375 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
67376 l_initfini.
67377 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
67378 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
67379 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
67380 set.
67381
67382 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
67383
67384 * configure.in: Use AC_LANG_SOURCE.
67385 * configure: Regenerate.
67386
67387 2012-06-22 Roland McGrath <roland@hack.frob.com>
67388
67389 * configure.in (libc_cv_localstatedir): New substituted variable.
67390 * configure: Regenerated.
67391 * config.make.in (localstatedir): New variable, substituted from
67392 libc_cv_localstatedir.
67393 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
67394 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
67395 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
67396 * sysdeps/gnu/configure: Regenerated.
67397
67398 2012-06-21 Jeff Law <law@redhat.com>
67399
67400 [BZ #14277]
67401 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
67402 free. Simplify list management for _LIBC case.
67403
67404 2012-06-21 Joseph Myers <joseph@codesourcery.com>
67405
67406 [BZ #14273]
67407 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
67408 Clear sign bit of 64-bit integer value before comparing against
67409 overflow value.
67410
67411 * sysdeps/mach/configure: Regenerated.
67412
67413 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
67414
67415 [BZ #14278]
67416 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
67417
67418 2012-06-21 Jeff Law <law@redhat.com>
67419
67420 [BZ #13882]
67421 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
67422 uint16_t for elements in the "seen" array to avoid char overflows.
67423 * elf/dl-fini.c (_dl_sort_fini): Likewise.
67424 * elf/dl-open.c (dl_open_worker): Likewise.
67425
67426 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
67427
67428 * scripts/list-sources.sh: Scan PORTS for translations.
67429 * po/libc.pot: Regenerated.
67430
67431 2012-06-21 Andreas Jaeger <aj@suse.de>
67432
67433 [BZ #12194]
67434 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
67435 warning.
67436 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
67437 * bits/byteswap-16.h (__bswap_16): Likewise.
67438 * bits/byteswap.h (__bswap_constant_16): Likewise.
67439
67440 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
67441
67442 [BZ #14117]
67443 * sysdeps/i386/fpu_control.h: Removed.
67444 * sysdeps/x86_64/fpu_control.h: Moved to ...
67445 * sysdeps/x86/fpu_control.h: Here.
67446
67447 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
67448 (_FPU_SETCW): Likewise.
67449
67450 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
67451
67452 [BZ #14117]
67453 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
67454 * sysdeps/x86/fpu/bits/mathinline.h: This.
67455 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
67456
67457 [BZ #14050]
67458 [BZ #14117]
67459 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
67460 functions if __x86_64__ is defined.
67461
67462 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
67463
67464 * string/endian.h: Add !__ASSEMBLER__ condition for including
67465 conversion interfaces.
67466
67467 2012-06-15 Joseph Myers <joseph@codesourcery.com>
67468
67469 [BZ #14241]
67470 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
67471 of ABS(x) in calculating zero to negative powers other than odd
67472 integers.
67473 * math/libm-test.inc (pow_test): Add more tests.
67474
67475 2012-06-15 Andreas Jaeger <aj@suse.de>
67476
67477 * manual/contrib.texi (Contributors): Update entry of Liubov
67478 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
67479 Machado Filho.
67480
67481 2012-06-15 Cyril Hrubis <metan@ucw.cz>
67482
67483 * string/string.h: Add __wur to GNU version of strerror_r.
67484
67485 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
67486
67487 [BZ #14229]
67488 * string/Makefile (tests): Add tst-strtok_r.
67489 * string/tst-strtok_r.c: New file.
67490 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
67491 RAX_LP/RDX_LP on SAVE_PTR.
67492
67493 2012-06-14 Roland McGrath <roland@hack.frob.com>
67494
67495 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
67496
67497 2012-06-14 Joseph Myers <joseph@codesourcery.com>
67498
67499 * libm_test.inc (csqrt_test): Allow more spurious underflow
67500 exceptions.
67501 (j0_test): Likewise.
67502 (j1_test): Likewise.
67503 (y0_test): Likewise.
67504 (y1_test): Likewise.
67505
67506 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
67507
67508 * po/Makefile (libc.pot): Use UTF-8 charset.
67509
67510 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
67511
67512 [BZ #14210]
67513 Suppress sign-conversion warning from FD_SET.
67514 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
67515 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67516 not unsigned long int.
67517 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
67518
67519 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
67520
67521 [BZ #14050]
67522 [BZ #14117]
67523 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
67524 __extern_always_inline instead of __extern_inline.
67525 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
67526 (__signbit): Likewise.
67527 (__signbitl): Support C++ namespace.
67528 (lrintf): New inline function.
67529 (lrint): Likewise.
67530 (llrintf): Likewise.
67531 (llrint): Likewise.
67532 (fmaxf): Likewise.
67533 (fmax): Likewise.
67534 (fminf): Likewise.
67535 (fmin): Likewise.
67536 (rint): Likewise.
67537 (rintf): Likewise.
67538 (ceil): Likewise.
67539 (ceilf): Likewise.
67540 (floor): Likewise.
67541 (floorf): Likewise.
67542 (nearbyint): Likewise.
67543 (nearbyintf): Likewise.
67544
67545 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
67546
67547 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
67548 non-default versions.
67549
67550 2012-06-11 Roland McGrath <roland@hack.frob.com>
67551
67552 [BZ #14218]
67553 * manual/argp.texi (Argp): Reword argp_parse description slightly.
67554
67555 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
67556
67557 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
67558 (FE_UPWARD, FE_DOWNWARD): Don't define.
67559 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
67560 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67561
67562 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
67563 reading it.
67564 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67565 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67566
67567 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
67568
67569 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67570 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
67571 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
67572 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
67573
67574 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
67575
67576 [BZ #14117]
67577 * sysdeps/i386/fpu/bits/fenv.h: Removed.
67578 * sysdeps/i386/fpu/Implies: New file.
67579 * sysdeps/x86_64/fpu/Implies: Likewise.
67580 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67581 * sysdeps/x86/fpu/bits/fenv.h: This.
67582
67583 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67584 __SSE_MATH__.
67585
67586 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
67587
67588 [BZ #14134]
67589 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67590 character 0xffff that matches the last element of the
67591 conversion table.
67592
67593 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67594
67595 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67596 fmodl commit.
67597
67598 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67599
67600 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67601 values higher than 25.6283.
67602
67603 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67604
67605 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67606 subnormal exponent extraction and add some __builtin_expect.
67607 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67608 Fix for subnormal mantissa calculation.
67609
67610 2012-06-04 Mike Frysinger <vapier@gentoo.org>
67611
67612 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67613 cpu2 is -1 and errno is not ENOSYS.
67614
67615 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
67616
67617 [BZ #14117]
67618 * sysdeps/i386/i486/bits/string.h: Renamed to ...
67619 * sysdeps/x86/bits/string.h: This.
67620 * sysdeps/x86_64/bits/string.h: Removed.
67621
67622 * sysdeps/i386/i486/bits/string.h: Define inline functions only
67623 if not compiling for x86-64, but compiling for >= i486.
67624
67625 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67626 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67627
67628 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67629 New macro from Linux kernel 3.4.0.
67630 (FP_XSTATE_MAGIC2): Likewise.
67631 (FP_XSTATE_MAGIC2_SIZE): Likewise.
67632 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67633 (struct _fpx_sw_bytes): New struct.
67634 (struct _xsave_hdr): Likewise.
67635 (struct _ymmh_state): Likewise.
67636 (struct _xstate): Likewise.
67637
67638 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67639 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67640 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67641 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67642 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67643 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67644
67645 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67646 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67647 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67648 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67649 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67650 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67651
67652 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67653
67654 [BZ #13743]
67655 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67656 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67657 (sysdep_headers): Include sys/platform/ppc.h.
67658 * sysdeps/powerpc/test-gettimebase.c: Test for
67659 __ppc_get_timebase() to catch future ISA opcode/insn changes.
67660 * manual/Makefile (appendices): Include platform.texi.
67661 * manual/contrib.texi (Contributors): Update @node pointers.
67662 * manual/maint.texi (Maintenance): Likewise.
67663 (Platform): New node.
67664 * manual/platform.texi: New file. Document the new features.
67665
67666 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
67667 Jakub Jelinek <jakub@redhat.com>
67668
67669 [BZ #14188]
67670 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67671 where __builtin_expect is unavailable.
67672
67673 2012-06-03 David S. Miller <davem@davemloft.net>
67674
67675 * stdlib/longlong.h: Updated from GCC.
67676
67677 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
67678
67679 [BZ #14042]
67680 * sysdeps/powerpc/powerpc32/mcount.c: New file.
67681 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67682 __mcount_internal.
67683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67684 (GLIBC_2.16): Likewise.
67685
67686 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
67687
67688 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67689
67690 2012-06-01 Joseph Myers <joseph@codesourcery.com>
67691
67692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67693 (default-abi): New variable.
67694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67695 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67696 variable.
67697 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67698 Likewise.
67699 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67700 Likewise.
67701 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67702 Likewise.
67703
67704 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67705 definition. Document in comment.
67706
67707 2012-06-01 David S. Miller <davem@davemloft.net>
67708
67709 * stdlib/longlong.h: Updated from GCC.
67710
67711 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
67712
67713 [BZ #14117]
67714 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67715 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67716 sys/debugreg.h sys/io.h here.
67717 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67718 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67719 sys/io.h.
67720 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67721 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67722 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67723 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67724 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67725 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67726
67727 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67728 Define only if __x86_64__ is defined.
67729
67730 2012-06-01 Joseph Myers <joseph@codesourcery.com>
67731
67732 [BZ #14048]
67733 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67734 Use int64_t for variable i.
67735 * math/libm-test.inc (fmod_test): Add more tests.
67736
67737 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67738 z computation is not scheduled after fetestexcept.
67739 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67740 Use math_force_eval instead of asm to ensure calculation scheduled
67741 before exception test.
67742 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67743 Ensure a1 + u.d computation is not scheduled after fetestexcept.
67744
67745 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
67746
67747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67748 computation is not scheduled after fetestexcept.
67749
67750 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
67751
67752 [BZ #14117]
67753 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67754 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67755
67756 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67757
67758 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67759 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67760
67761 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
67762
67763 [BZ #14117]
67764 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67765 <bits/wordsize.h>.
67766 (__WCHAR_MIN): Support __WORDSIZE == 64.
67767 (__WCHAR_MAX): Likewise.
67768
67769 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67770 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67771
67772 [BZ #14183]
67773 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67774 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67775
67776 [BZ #14117]
67777 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67778 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67779
67780 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67781 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67782
67783 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67784 Defined to 1 if __x86_64__ isn't defined.
67785 (_STAT_VER_LINUX_OLD): New.
67786 (st_atime): Remove duplicate.
67787 (st_mtime): Likewise.
67788 (st_ctime): Likewise.
67789
67790 2012-05-31 David S. Miller <davem@davemloft.net>
67791
67792 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67793 entries.
67794
67795 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
67796
67797 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67798 gen-libm-test.pl.
67799
67800 [BZ #14132]
67801 * elf/dl-reloc.c: Include <_itoa.h>.
67802 (_dl_reloc_bad_type): Remove use of INTUSE.
67803 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67804 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67805 * stdio-common/psiginfo.c (psiginfo): Likewise.
67806 * stdio-common/psignal.c (psignal): Likewise.
67807 * string/strsignal.c (strsignal): Likewise.
67808 * include/signal.h (_sys_siglist): Declare hidden proto.
67809 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
67810 INTVARDEF with libc_hidden_data_def.
67811 * stdio-common/itoa-udigits.c: Likewise.
67812 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67813 (_itoa_lower_digits_internal): Remove declaration.
67814 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67815 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67816 (_sys_sigabbrev_internal): Remove aliases.
67817 (_sys_siglist): Define hidden alias.
67818
67819 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
67820
67821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67822 bits/sysctl.h.
67823
67824 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
67825
67826 [BZ #14117]
67827 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67828 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67829
67830 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67831 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67832 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67833 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67834 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67835 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67836
67837 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67838 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67839 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67840
67841 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67842 with __addr.
67843 (insw): Likewise.
67844 (insl): Likewise.
67845 (outsb): Likewise.
67846 (outsw): Likewise.
67847 (outsl): Likewise.
67848
67849 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67850 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67851 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67852
67853 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67854 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67855 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67856 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67857 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67858 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67859
67860 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67861 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67862
67863 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67864 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67865
67866 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67868 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67869
67870 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67871 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67872 to ...
67873 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67874
67875 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67876 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67877 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67878
67879 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67880 for x86-64.
67881 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67882
67883 2012-05-31 Joseph Myers <joseph@codesourcery.com>
67884
67885 * math/math.h (M_El): Use two more decimal places.
67886 (M_LOG2El): Likewise.
67887 (M_LOG10El): Likewise.
67888 (M_LN2l): Likewise.
67889 (M_LN10l): Likewise.
67890 (M_PIl): Likewise.
67891 (M_PI_2l): Likewise.
67892 (M_PI_4l): Likewise.
67893 (M_1_PIl): Likewise.
67894 (M_2_PIl): Likewise.
67895 (M_2_SQRTPIl): Likewise.
67896 (M_SQRT2l): Likewise.
67897 (M_SQRT1_2l): Likewise.
67898
67899 2012-05-31 David S. Miller <davem@davemloft.net>
67900
67901 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67902 values between float registers.
67903 * sysdeps/sparc/sparc64/memset.S: Likewise.
67904 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67905
67906 2012-05-31 Mike Frysinger <vapier@gentoo.org>
67907
67908 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67909 -D_FORTIFY_SOURCE=1.
67910 (CPPFLAGS-tst-longjmp_chk.c): Define.
67911 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67912 (CPPFLAGS-tst-longjmp_chk2.c): Define.
67913 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67914 CFLAGS-tst-wchar-h.c.
67915
67916 2012-05-31 Marek Polacek <polacek@redhat.com>
67917
67918 [BZ #14132]
67919 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67920 __endmntent_internal): Remove declaration.
67921 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67922 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67923 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67924
67925 2012-05-30 David S. Miller <davem@davemloft.net>
67926
67927 * sysdeps/sparc/sparc32/soft-fp/q_util.c
67928 (___Q_simulate_exceptions): Use real FP ops rather than writing
67929 into the %fsr.
67930 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67931 Likewise.
67932
67933 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
67934
67935 [BZ #14117]
67936 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67937 * sysdeps/x86/bits/xtitypes.h: This.
67938
67939 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67940 * sysdeps/x86/bits/wordsize.h: This.
67941
67942 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67943 * sysdeps/x86/bits/huge_vall.h: This.
67944
67945 * sysdeps/i386/bits/select.h: Removed.
67946 * sysdeps/x86_64/bits/select.h: Renamed to ...
67947 * sysdeps/x86/bits/select.h: This.
67948
67949 * sysdeps/i386/bits/setjmp.h: Removed.
67950 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67951 * sysdeps/x86/bits/setjmp.h: This.
67952
67953 * sysdeps/i386/bits/mathdef.h: Removed.
67954 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67955 * sysdeps/x86/bits/mathdef.h: This.
67956
67957 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
67958
67959 [BZ #14132]
67960 * include/sys/socket.h (__connect_internal)
67961 (__libc_sa_len_internal): Remove declaration.
67962 (__connect, __libc_sa_len): Declare hidden_proto.
67963 (SA_LEN): Remove use of INTUSE.
67964 * socket/connect.c: Add libc_hidden_def.
67965 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67966 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67967 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67968 alias.
67969 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67970 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67971 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67972 of adding _internal alias.
67973
67974 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
67975
67976 [BZ #14117]
67977 * sysdeps/i386/bits/link.h: Removed.
67978 * sysdeps/i386/bits/linkmap.h: Likewise.
67979 * sysdeps/x86_64/bits/link.h: Renamed to ...
67980 * sysdeps/x86/bits/link.h: This.
67981 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67982 * sysdeps/x86/bits/linkmap.h: This.
67983
67984 * sysdeps/i386/bits/endian.h: Removed.
67985 * sysdeps/x86_64/bits/endian.h: Renamed to ...
67986 * sysdeps/x86/bits/endian.h: This.
67987
67988 * sysdeps/i386/bits/byteswap.h: Removed.
67989 * sysdeps/i386/bits/byteswap-16.h: Likewise.
67990 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67991 * sysdeps/x86/bits/byteswap.h: This.
67992 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67993 * sysdeps/x86/bits/byteswap-16.h: This.
67994 * sysdeps/i386/Implies: Add x86.
67995 * sysdeps/x86_64/Implies: Likewise.
67996
67997 2012-05-30 David S. Miller <davem@davemloft.net>
67998
67999 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
68000 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
68001 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
68002 (FP_TRAPPING_EXCEPTIONS): Define.
68003 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
68004 (FP_TRAPPING_EXCEPTIONS): Define.
68005 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
68006 subnormals only when inexact has been signalled or underflow
68007 exceptions are enabled.
68008 (_FP_PACK_CANONICAL): Likewise.
68009
68010 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
68011
68012 [BZ #14183]
68013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
68014 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
68015
68016 2012-05-30 Richard Henderson <rth@twiddle.net>
68017
68018 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
68019 with #ifndef NOT_IN_libc.
68020
68021 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
68022 marked to avoid plt entry.
68023
68024 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
68025
68026 [BZ #14112]
68027 * Makeconfig (default-abi): New macro.
68028 (abi-includes): Likewise.
68029 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
68030 $(abi-$(default-abi)-lib-soname) for soname if defined.
68031 ($(common-objpfx)gnu/lib-names.stmp): Generate from
68032 abi-variants.
68033 * Makefile (installed-stubs): Likewise.
68034 * include/stubs-biarch.h: Removed.
68035 * scripts/lib-names.awk: Only handle one library at a time.
68036 * scripts/soversions.awk: Remove WORDSIZE support.
68037 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
68038 entries.
68039 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
68040 Removed.
68041 (syscall-list-default-condition): Likewise.
68042 (syscall-list-default-condition): Likewise.
68043 (syscall-list-includes): Likewise.
68044 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
68045 syscall-list-* with abi-*. Handle undefined abi-variants.
68046 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
68047 * sysdeps/unix/sysv/linux/i386/Implies: New file.
68048 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
68049 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
68050 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
68051 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
68052 Removed.
68053 (syscall-list-32-options): Likewise.
68054 (syscall-list-32-condition): Likewise.
68055 (syscall-list-64-options): Likewise.
68056 (syscall-list-64-condition): Likewise.
68057 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
68058 macro.
68059 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
68060 Renamed to ...
68061 (abi-*): This.
68062 (abi-64-ld-soname): New macro.
68063 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
68064 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
68065 Renamed to ...
68066 (abi-*): This.
68067 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
68068 * sysdeps/x86_64/x32/shlib-versions: Likewise.
68069
68070 2012-05-30 Joseph Myers <joseph@codesourcery.com>
68071
68072 * sysdeps/unix/sysv/linux/kernel-features.h
68073 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
68074 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
68075 include <kernel-features.h>.
68076 [!__NR_ftruncate64]: Remove conditional code.
68077 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68078 [__NR_ftruncate64]: Make code unconditional.
68079 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68080 * sysdeps/unix/sysv/linux/truncate64.c: Do not
68081 include <kernel-features.h>.
68082 [!__NR_ftruncate64]: Remove conditional code.
68083 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68084 [__NR_ftruncate64]: Make code unconditional.
68085 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
68087 include <kernel-features.h>.
68088 [!__NR_ftruncate64]: Remove conditional code.
68089 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68090 [__NR_ftruncate64]: Make code unconditional.
68091 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68093 include <kernel-features.h>.
68094 [!__NR_ftruncate64]: Remove conditional code.
68095 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68096 [__NR_ftruncate64]: Make code unconditional.
68097 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68098
68099 * configure.in (libc_cv_fpie): Weaken to a compile test using
68100 LIBC_TRY_CC_OPTION.
68101 * configure: Regenerated.
68102
68103 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68104
68105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
68106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
68107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
68108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68109 Refreshed.
68110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
68111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
68112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
68113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
68114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
68115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68116 Refreshed.
68117
68118 2012-05-27 David S. Miller <davem@davemloft.net>
68119
68120 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
68121 (___Q_zero): New.
68122 (__Q_simulate_exceptions): Return void. Change to simulate
68123 exceptions by writing into the %fsr.
68124 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
68125 (__Qp_handle_exceptions): Likewise.
68126 (numbers): Delete.
68127 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
68128 __Qp_handle_exceptions.
68129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
68130 __Qp_handle_exceptions.
68131 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
68132 as unused and give dummy FP_RND_NEAREST initializer.
68133 (FP_INHIBIT_RESULTS): Define.
68134 (___Q_simulate_exceptions): Update declaration.
68135 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
68136 formatting.
68137 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
68138 as unused and give dummy FP_RND_NEAREST initializer.
68139 (__Qp_handle_exceptions): Update declaration.
68140 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
68141 formatting.
68142
68143 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
68144
68145 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
68146 the temporary FPU control word.
68147 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
68148 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
68149 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
68150 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68151 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
68152 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
68153 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
68154 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68155 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
68156 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
68157 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68158
68159 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68160
68161 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
68162 fields.
68163
68164 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
68165
68166 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
68167 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
68168 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
68169 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
68170 Likewise.
68171 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
68172 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
68173 Likewise.
68174
68175 2012-05-27 Ulrich Drepper <drepper@gmail.com>
68176
68177 * po/h.po: Update from translation team.
68178
68179 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
68180
68181 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
68182
68183 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
68184 handling of denormals.
68185 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68186 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
68187 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68188 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68189 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
68191 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
68192 Likewise.
68193
68194 2012-05-26 Marek Polacek <polacek@redhat.com>
68195
68196 [BZ #14152]
68197 * math/libm-test.inc (fma_test): Don't always expect underflow
68198 exception.
68199
68200 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68201
68202 [BZ #12416]
68203 * elf/tst-execstack.c: Include stackinfo.h.
68204 (do_test): Adjust test case to ensure that pthread_getattr_np
68205 behaviour remains the same after marking stack executable.
68206
68207 2012-05-25 Joseph Myers <joseph@codesourcery.com>
68208
68209 * sysdeps/unix/sysv/linux/kernel-features.h
68210 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
68211 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
68212 kernel-features.h.
68213 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
68214 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
68215 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
68216 kernel-features.h.
68217 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
68218 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
68219
68220 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
68221
68222 * configure.in: Define the default includes to being none.
68223 * configure: Regenerated.
68224
68225 2012-05-25 Roland McGrath <roland@hack.frob.com>
68226
68227 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
68228 * sysdeps/x86_64/setjmp.S: Likewise.
68229 * sysdeps/i386/bsd-setjmp.S: Likewise.
68230 * sysdeps/i386/bsd-_setjmp.S: Likewise.
68231 * sysdeps/i386/setjmp.S: Likewise.
68232 * sysdeps/i386/__longjmp.S: Likewise.
68233 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68234 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
68235
68236 * include/stap-probe.h: New file.
68237 * configure.in: Handle --enable-systemtap.
68238 * configure: Regenerated.
68239 * config.h.in (USE_STAP_PROBE): New #undef.
68240 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
68241 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
68242 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
68243
68244 2012-05-25 Joseph Myers <joseph@codesourcery.com>
68245
68246 [BZ #13717]
68247 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68248 to 2.4.0 where earlier.
68249 * sysdeps/unix/sysv/linux/configure: Regenerated.
68250 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68251 <kernel-features.h>.
68252 [__ASSUME_32BITUIDS]: Make code unconditional.
68253 [!__ASSUME_32BITUIDS]: Remove conditional code.
68254 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
68255 <kernel-features.h>.
68256 [__ASSUME_32BITUIDS]: Make code unconditional.
68257 [!__ASSUME_32BITUIDS]: Remove conditional code.
68258 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
68259 [__ASSUME_32BITUIDS]: Make code unconditional.
68260 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
68261 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
68262 <kernel-features.h>.
68263 [__ASSUME_32BITUIDS]: Make code unconditional.
68264 [!__ASSUME_32BITUIDS]: Remove conditional code.
68265 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
68266 <kernel-features.h>.
68267 [__ASSUME_32BITUIDS]: Make code unconditional.
68268 [!__ASSUME_32BITUIDS]: Remove conditional code.
68269 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
68270 <kernel-features.h>.
68271 [__ASSUME_32BITUIDS]: Make code unconditional.
68272 [!__ASSUME_32BITUIDS]: Remove conditional code.
68273 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
68274 <kernel-features.h>.
68275 [__ASSUME_32BITUIDS]: Make code unconditional.
68276 [!__ASSUME_32BITUIDS]: Remove conditional code.
68277 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68278 <kernel-features.h>.
68279 [__ASSUME_32BITUIDS]: Make code unconditional.
68280 [!__ASSUME_32BITUIDS]: Remove conditional code.
68281 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68282 <kernel-features.h>.
68283 [__ASSUME_32BITUIDS]: Make code unconditional.
68284 [!__ASSUME_32BITUIDS]: Remove conditional code.
68285 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
68286 <kernel-features.h>.
68287 [__ASSUME_32BITUIDS]: Make code unconditional.
68288 [!__ASSUME_32BITUIDS]: Remove conditional code.
68289 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68290 <kernel-features.h>.
68291 [__ASSUME_32BITUIDS]: Make code unconditional.
68292 [!__ASSUME_32BITUIDS]: Remove conditional code.
68293 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68294 <kernel-features.h>.
68295 [__ASSUME_32BITUIDS]: Make code unconditional.
68296 [!__ASSUME_32BITUIDS]: Remove conditional code.
68297 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
68298 <kernel-features.h>.
68299 [__ASSUME_32BITUIDS]: Make code unconditional.
68300 [!__ASSUME_32BITUIDS]: Remove conditional code.
68301 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
68302 <kernel-features.h>.
68303 [__NR_setresgid] (__setresgid): Do not declare.
68304 [__ASSUME_32BITUIDS]: Make code unconditional.
68305 [!__ASSUME_32BITUIDS]: Remove conditional code.
68306 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
68307 <kernel-features.h>.
68308 [__NR_setresuid] (__setresuid): Do not declare.
68309 [__ASSUME_32BITUIDS]: Make code unconditional.
68310 [!__ASSUME_32BITUIDS]: Remove conditional code.
68311 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
68312 <kernel-features.h>.
68313 [__ASSUME_32BITUIDS]: Make code unconditional.
68314 [!__ASSUME_32BITUIDS]: Remove conditional code.
68315 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
68316 <kernel-features.h>.
68317 [__ASSUME_32BITUIDS]: Make code unconditional.
68318 [!__ASSUME_32BITUIDS]: Remove conditional code.
68319 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
68320 <kernel-features.h>.
68321 [__ASSUME_32BITUIDS]: Make code unconditional.
68322 [!__ASSUME_32BITUIDS]: Remove conditional code.
68323 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
68324 <kernel-features.h>.
68325 [__ASSUME_32BITUIDS]: Make code unconditional.
68326 [!__ASSUME_32BITUIDS]: Remove conditional code.
68327 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
68328 <kernel-features.h>.
68329 [__ASSUME_32BITUIDS]: Make code unconditional.
68330 [!__ASSUME_32BITUIDS]: Remove conditional code.
68331 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
68332 <kernel-features.h>.
68333 [__ASSUME_32BITUIDS]: Make code unconditional.
68334 [!__ASSUME_32BITUIDS]: Remove conditional code.
68335 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
68336 <kernel-features.h>.
68337 [__ASSUME_32BITUIDS]: Make code unconditional.
68338 [!__ASSUME_32BITUIDS]: Remove conditional code.
68339 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
68340 <kernel-features.h>.
68341 [__ASSUME_32BITUIDS]: Make code unconditional.
68342 [!__ASSUME_32BITUIDS]: Remove conditional code.
68343 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
68344 <kernel-features.h>.
68345 [__ASSUME_32BITUIDS]: Make code unconditional.
68346 [!__ASSUME_32BITUIDS]: Remove conditional code.
68347 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68348 <kernel-features.h>.
68349 [__ASSUME_32BITUIDS]: Make code unconditional.
68350 [!__ASSUME_32BITUIDS]: Remove conditional code.
68351 * sysdeps/unix/sysv/linux/kernel-features.h
68352 (__ASSUME_SETRESUID_SYSCALL): Remove.
68353 (__ASSUME_SETRESGID_SYSCALL): Likewise.
68354 (__ASSUME_32BITUIDS): Likewise.
68355 (__ASSUME_LDT_WORKS): Likewise.
68356 (__ASSUME_O_DIRECTORY): Likewise.
68357 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
68358 architecture but not kernel version.
68359 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
68360 (__ASSUME_MMAP2_SYSCALL): Likewise.
68361 (__ASSUME_STAT64_SYSCALL): Likewise.
68362 (__ASSUME_IPC64): Likewise.
68363 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
68364 <kernel-features.h>.
68365 [__ASSUME_32BITUIDS]: Make code unconditional.
68366 [!__ASSUME_32BITUIDS]: Remove conditional code.
68367 * sysdeps/unix/sysv/linux/opendir.c: Do not include
68368 <kernel-features.h>.
68369 [__ASSUME_O_DIRECTORY]: Make code unconditional.
68370 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
68371 132096]: Remove conditional code.
68372 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
68373 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68374 <kernel-features.h>.
68375 [__ASSUME_32BITUIDS]: Make code unconditional.
68376 [!__ASSUME_32BITUIDS]: Remove conditional code.
68377 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68378 <kernel-features.h>.
68379 [__ASSUME_32BITUIDS]: Make code unconditional.
68380 [!__ASSUME_32BITUIDS]: Remove conditional code.
68381 * sysdeps/unix/sysv/linux/setegid.c: Do not include
68382 <kernel-features.h>.
68383 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
68384 unconditional.
68385 (__setresgid): Do not declare.
68386 [__ASSUME_32BITUIDS]: Make code unconditional.
68387 [!__ASSUME_32BITUIDS]: Remove conditional code.
68388 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
68389 <kernel-features.h>.
68390 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
68391 unconditional.
68392 (__setresuid): Do not declare.
68393 [__ASSUME_32BITUIDS]: Make code unconditional.
68394 [!__ASSUME_32BITUIDS]: Remove conditional code.
68395 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68396 <kernel-features.h>.
68397 [__ASSUME_32BITUIDS]: Make code unconditional.
68398 [!__ASSUME_32BITUIDS]: Remove conditional code.
68399 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
68400 <kernel-features.h>.
68401 [__ASSUME_32BITUIDS]: Make code unconditional.
68402 [!__ASSUME_32BITUIDS]: Remove conditional code.
68403
68404 2012-05-25 Richard Henderson <rth@twiddle.net>
68405
68406 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
68407 dl_hwcap to ifunc resolver.
68408 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
68409 elf_ifunc_invoke.
68410 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
68411 dl_hwcap to ifunc resolver.
68412 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
68413
68414 2012-05-24 Joseph Myers <joseph@codesourcery.com>
68415
68416 [BZ #14153]
68417 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
68418 for |x| <= 2**-26, not 2**-57.
68419 * math/libm-test.inc (acos_test): Do not allow spurious underflow
68420 exception.
68421
68422 2012-05-24 Jeff Law <law@redhat.com>
68423
68424 * stdio-common/Makefile (tests): Add bug25.
68425 * stdio-common/bug25.c: New test.
68426
68427 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
68428
68429 [BZ #13576]
68430 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
68431 multiple of MALLOC_ALIGNMENT in size.
68432 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
68433
68434 2012-05-24 Joseph Myers <joseph@codesourcery.com>
68435
68436 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
68437 Require >= 256.
68438 (FILENAME_MAX): Use macro-int-constant.
68439 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
68440 (_IOFBF): Use macro-int-constant.
68441 (_IOLBF): Likewise.
68442 (_IONBF): Likewise.
68443 (SEEK_CUR): Likewise.
68444 (SEEK_END): Likewise.
68445 (SEEK_SET): Likewise.
68446 (TMP_MAX): Likewise.
68447 (EOF): Use macro-int-constant. Require < 0.
68448 (NULL): Use macro-constant. Require == 0.
68449 (stdin): Require type to be FILE *.
68450 (stdout): Likewise.
68451 (stderr): Likewise.
68452 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
68453 macro-int-constant.
68454 (EXIT_SUCCESS): Likewise.
68455 (NULL): Use macro-constant. Require == 0.
68456 (RAND_MAX): Use macro-int-constant.
68457 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
68458 [C99-based standards] (strtof): Require function.
68459 [C99-based standards] (strtold): Likewise.
68460 [C99-based standards] (strtoll): Likewise.
68461 [C99-based standards] (strtoull): Likewise.
68462 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68463 [ISO || ISO99 || ISO11] (limits.h): Likewise.
68464 [ISO || ISO99 || ISO11] (math.h): Likewise.
68465 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
68466 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68467 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68468
68469 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
68470
68471 [BZ #14132]
68472 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
68473 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
68474 * intl/dgettext.c (DCGETTEXT): Likewise.
68475 * intl/gettext.c (DCGETTEXT): Likewise.
68476 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
68477 * posix/regex_internal.h (gettext): Likewise.
68478 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
68479 Remove declaration.
68480 * include/argz.h (__argz_count_internal)
68481 (__argz_stringify_internal): Remove declaration.
68482 (__argz_count, __argz_stringify): Declare hidden proto.
68483 * intl/dcgettext.c: Remove use of INTDEF.
68484 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
68485 * string/argz-stringify.c: Likewise.
68486 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68487 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68488 Declare hidden proto.
68489 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68490 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68491 Declare hidden proto.
68492 * include/stdio.h (__asprintf_internal): Don't declare.
68493 (__asprintf): Don't define as macro. Declare hidden proto.
68494 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
68495 (__fsetlocking): Declare hidden proto.
68496 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
68497 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
68498 hidden proto.
68499 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
68500 (_IO_setlinebuf): Remove use of INTUSE.
68501 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
68502 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
68503 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
68504 Remove declaration.
68505 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
68506 (_IO_do_flush): Remove use of INTUSE.
68507 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
68508 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
68509 (_IO_adjust_column, _IO_least_wmarker)
68510 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
68511 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
68512 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
68513 (_IO_default_doallocate, _IO_wdefault_doallocate)
68514 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
68515 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
68516 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
68517 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
68518 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
68519 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
68520 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
68521 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
68522 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
68523 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
68524 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
68525 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
68526 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
68527 proto.
68528 (_IO_flush_all_internal, _IO_adjust_column_internal)
68529 (_IO_default_uflow_internal, _IO_default_finish_internal)
68530 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
68531 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
68532 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
68533 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
68534 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
68535 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
68536 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
68537 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
68538 (_IO_file_close_internal, _IO_file_close_it_internal)
68539 (_IO_file_underflow_internal, _IO_file_overflow_internal)
68540 (_IO_file_init_internal, _IO_file_attach_internal)
68541 (_IO_file_fopen_internal, _IO_file_read_internal)
68542 (_IO_file_sync_internal, _IO_file_seek_internal)
68543 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
68544 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
68545 (_IO_str_underflow_internal, _IO_str_overflow_internal)
68546 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
68547 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
68548 (_IO_list_all_internal, _IO_link_in_internal)
68549 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
68550 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
68551 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
68552 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
68553 (_IO_do_write_internal, _IO_padn_internal)
68554 (_IO_getline_info_internal, _IO_getline_internal)
68555 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
68556 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
68557 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
68558 (_IO_vfscanf_internal, _IO_vfprintf_internal)
68559 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
68560 (_IO_init_internal, _IO_un_link_internal): Don't declare.
68561 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
68562 with libc_hidden_ver, remove use of INTUSE.
68563 * libio/genops.c: Likewise.
68564 * libio/freopen.c: Likewise.
68565 * libio/freopen64.c: Likewise.
68566 * libio/iofclose.c: Likewise.
68567 * libio/iofdopen.c: Likewise.
68568 * libio/iofflush.c: Likewise.
68569 * libio/iofflush_u.c: Likewise.
68570 * libio/iofgets.c: Likewise.
68571 * libio/iofgets_u.c: Likewise.
68572 * libio/iofopen.c: Likewise.
68573 * libio/iofopncook.c: Likewise.
68574 * libio/iofread.c: Likewise.
68575 * libio/iofread_u.c: Likewise.
68576 * libio/ioftell.c: Likewise.
68577 * libio/iofwrite.c: Likewise.
68578 * libio/iogetline.c: Likewise.
68579 * libio/iogets.c: Likewise.
68580 * libio/iogetwline.c: Likewise.
68581 * libio/iopadn.c: Likewise.
68582 * libio/iopopen.c: Likewise.
68583 * libio/ioseekoff.c: Likewise.
68584 * libio/ioseekpos.c: Likewise.
68585 * libio/iosetbuffer.c: Likewise.
68586 * libio/iosetvbuf.c: Likewise.
68587 * libio/ioungetc.c: Likewise.
68588 * libio/ioungetwc.c: Likewise.
68589 * libio/iovdprintf.c: Likewise.
68590 * libio/iovsprintf.c: Likewise.
68591 * libio/iovsscanf.c: Likewise.
68592 * libio/memstream.c: Likewise.
68593 * libio/obprintf.c: Likewise.
68594 * libio/oldfileops.c: Likewise.
68595 * libio/oldiofclose.c: Likewise.
68596 * libio/oldiofdopen.c: Likewise.
68597 * libio/oldiofopen.c: Likewise.
68598 * libio/oldiopopen.c: Likewise.
68599 * libio/oldstdfiles.c: Likewise.
68600 * libio/putc.c: Likewise.
68601 * libio/setbuf.c: Likewise.
68602 * libio/setlinebuf.c: Likewise.
68603 * libio/stdfiles.c: Likewise.
68604 * libio/strops.c: Likewise.
68605 * libio/vasprintf.c: Likewise.
68606 * libio/vscanf.c: Likewise.
68607 * libio/vsnprintf.c: Likewise.
68608 * libio/vswprintf.c: Likewise.
68609 * libio/wfiledoalloc.c: Likewise.
68610 * libio/wfileops.c: Likewise.
68611 * libio/wgenops.c: Likewise.
68612 * libio/wmemstream.c: Likewise.
68613 * libio/wstrops.c: Likewise.
68614 * libio/__fpurge.c: Likewise.
68615 * libio/__fsetlocking.c: Likewise.
68616 * assert/assert.c: Likewise.
68617 * debug/fgets_chk.c: Likewise.
68618 * debug/fgets_u_chk.c: Likewise.
68619 * debug/fread_chk.c: Likewise.
68620 * debug/fread_u_chk.c: Likewise.
68621 * debug/gets_chk.c: Likewise.
68622 * debug/obprintf_chk.c: Likewise.
68623 * debug/vasprintf_chk.c: Likewise.
68624 * debug/vdprintf_chk.c: Likewise.
68625 * debug/vsnprintf_chk.c: Likewise.
68626 * debug/vsprintf_chk.c: Likewise.
68627 * malloc/mtrace.c: Likewise.
68628 * misc/error.c: Likewise.
68629 * misc/syslog.c: Likewise.
68630 * stdio-common/asprintf.c: Likewise.
68631 * stdio-common/fxprintf.c: Likewise.
68632 * stdio-common/getw.c: Likewise.
68633 * stdio-common/isoc99_fscanf.c: Likewise.
68634 * stdio-common/isoc99_scanf.c: Likewise.
68635 * stdio-common/isoc99_vfscanf.c: Likewise.
68636 * stdio-common/isoc99_vscanf.c: Likewise.
68637 * stdio-common/isoc99_vsscanf.c: Likewise.
68638 * stdio-common/printf-prs.c: Likewise.
68639 * stdio-common/printf_fp.c: Likewise.
68640 * stdio-common/printf_fphex.c: Likewise.
68641 * stdio-common/printf_size.c: Likewise.
68642 * stdio-common/putw.c: Likewise.
68643 * stdio-common/scanf.c: Likewise.
68644 * stdio-common/sprintf.c: Likewise.
68645 * stdio-common/tmpfile.c: Likewise.
68646 * stdio-common/vfprintf.c: Likewise.
68647 * stdio-common/vfscanf.c: Likewise.
68648 * stdlib/strfmon_l.c: Likewise.
68649 * sunrpc/openchild.c: Likewise.
68650 * sunrpc/xdr_stdio.c: Likewise.
68651 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68652 * sysdeps/mach/hurd/tmpfile.c: Likewise.
68653
68654 2012-05-24 Roland McGrath <roland@hack.frob.com>
68655
68656 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68657
68658 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68659 in the third column, to generate for the shared library an IFUNC
68660 that uses _dl_vdso_vsym.
68661 * Makerules (COMPILE.c, compile-stdin.c): New variables.
68662 * Makeconfig (object-suffixes-noshared): New variable.
68663
68664 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68665 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68666 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68667 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68668
68669 [BZ #14132]
68670 * include/sys/time.h (__gettimeofday): Remove macro.
68671 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68672 * time/gettimeofday.c (__gettimeofday): Remove #undef.
68673 Remove INTDEF.
68674 (__gettimeofday): Add libc_hidden_def.
68675 (gettimeofday): Add libc_hidden_weak.
68676 * sysdeps/mach/gettimeofday.c: Likewise.
68677 * sysdeps/posix/gettimeofday.c: Likewise.
68678 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68679 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68681 (__gettimeofday_internal): Remove strong_alias.
68682 (__gettimeofday): Add libc_hidden_def.
68683 (gettimeofday): Add libc_hidden_weak.
68684 * sysdeps/unix/syscalls.list (gettimeofday):
68685 Remove __gettimeofday_internal alias.
68686
68687 2012-05-24 Daniel Jacobowitz <drow@false.org>
68688 H.J. Lu <hongjiu.lu@intel.com>
68689
68690 [BZ #12495]
68691 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68692 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68693 (largebin_index_32_big): New.
68694 (largebin_index): Use it for 16-byte alignment.
68695 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
68696 correction with front_misalign.
68697
68698 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
68699
68700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68702 Likewise.
68703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68704 Likewise.
68705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68706 Likewise.
68707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68708 Likewise.
68709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68710 Likewise.
68711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68712 Likewise.
68713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68714 Likewise.
68715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68716 Likewise.
68717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68718 Likewise.
68719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68720 Likewise.
68721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68722 Likewise.
68723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68724 Likewise.
68725
68726 * scripts/data/c++-types-x32-linux-gnu.data: New file.
68727 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68728
68729 2012-05-24 Joseph Myers <joseph@codesourcery.com>
68730
68731 [BZ #10846]
68732 [BZ #14036]
68733 * math/libm-test.inc (exp_test): Add test from bug 14036.
68734 (pow_test): Add test from bug 10846.
68735
68736 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68737 and other flags.
68738 (special_function): Do not include flags in test name.
68739 (parse_args): Likewise.
68740 * sysdeps/i386/fpu/libm-test-ulps: Update.
68741 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68742 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68743 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68745
68746 * math/gen-libm-test.pl (%beautify): Add entries for underflow
68747 exceptions.
68748 * math/libm-test.inc ("Philosophy"): Update comment about
68749 exception testing.
68750 (UNDERFLOW_EXCEPTION): New macro.
68751 (UNDERFLOW_EXCEPTION_OK): Likewise.
68752 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68753 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68754 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68755 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68756 (INVALID_EXCEPTION_OK): Update value.
68757 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68758 (OVERFLOW_EXCEPTION_OK): Likewise.
68759 (IGNORE_ZERO_INF_SIGN): Likewise.
68760 (test_exceptions): Handle underflow exceptions.
68761 (acos_test): Update for underflow exception expectations.
68762 (cexp_test): Likewise.
68763 (clog_test): Likewise.
68764 (clog10_test): Likewise.
68765 (csqrt_test): Likewise.
68766 (ctan_test): Likewise.
68767 (ctanh_test): Likewise.
68768 (exp_test): Likewise.
68769 (exp10_test): Likewise.
68770 (exp2_test): Likewise.
68771 (expm1_test): Likewise.
68772 (fma_test): Likewise.
68773 (j0_test): Likewise.
68774 (jn_test): Likewise.
68775 (nexttoward_test): Likewise.
68776 (pow_test): Likewise.
68777 (scalbn_test): Likewise.
68778 (scalbln_test): Likewise.
68779 (tan_test): Likewise.
68780 (y1_test): Likewise.
68781 * sysdeps/i386/fpu/libm-test-ulps: Update.
68782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68783
68784 2012-05-23 David S. Miller <davem@davemloft.net>
68785
68786 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68787 (__libc_sigaction): Remove unused local variables.
68788
68789 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
68790
68791 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68792
68793 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
68794
68795 mktime: avoid signed integer overflow
68796 * time/mktime.c (__mktime_internal): Do not mishandle the case
68797 where diff == INT_MIN.
68798
68799 mktime: simplify computation of average
68800 * time/mktime.c (ranged_convert): Use new time_t_avg function
68801 instead of rolling our own (probably-slower) code.
68802
68803 mktime: do not assume signed right shift propagates sign bit
68804 * time/mktime.c (isdst_differ): New static function.
68805 (__mktime_internal): No need to normalize tm_isdst now.
68806 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68807 tm_isdst values.
68808
68809 mktime: merge another wrapv change from gnulib
68810 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68811 from some compilers.
68812
68813 mktime: remove incorrect attempt at unusual arithmetics
68814 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68815 The code didn't really work on such machines anyway.
68816 (TYPE_MINIMUM): Assume two's complement.
68817 (twos_complement_arithmetic): Verify that long_int and time_t
68818 are two's complement (or unsigned, in the latter case).
68819
68820 mktime: check signed shifts on long_int and time_t, too
68821 * time/mktime.c (SHR): Check that shifts work as desired
68822 on the types long_int and time_t too, as SHR is used on
68823 such types.
68824
68825 mktime: do not assume 'long' is wide enough
68826 * time/mktime.c (verify): Move decl up.
68827 (long_int): New type.
68828 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68829 to remove assumption in the code that 'long' is wide enough to
68830 store year values. This assumption is not true on x32 and on
68831 some non-glibc platforms.
68832
68833 mktime: merge wrapv change from gnulib
68834 * time/mktime.c (WRAPV): New macro.
68835 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68836 (guess_time_tm, __mktime_internal): Do not assume that signed
68837 integer overflow wraps around; modern compilers generate code
68838 where this assumption is no longer valid.
68839
68840 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
68841
68842 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68843 Replace "jmp L(pseudo_end)" with "ret".
68844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68845 Likewise.
68846
68847 2012-05-23 Andreas Jaeger <aj@suse.de>
68848
68849 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68850 * sysdeps/unix/sysv/linux/poll.c: Remove file.
68851
68852 2012-05-23 Andreas Jaeger <aj@suse.de>
68853 Maximilian Attems <max@stro.at>
68854
68855 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68856 New macros.
68857
68858 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
68859
68860 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68861 code so that pseudo_end is just ret and the stack pointer is
68862 correct also for static library in error case.
68863
68864 2012-05-23 Joseph Myers <joseph@codesourcery.com>
68865
68866 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68867 move to syscalls.list.
68868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68872
68873 * manual/install.texi (Running make install): Do not mention Linux
68874 kernel version for which pt_chown is not needed.
68875 (Linux): Do not mention problems with nscd with 2.0 kernels.
68876 * INSTALL: Regenerated.
68877
68878 2012-05-23 Andreas Jaeger <aj@suse.de>
68879
68880 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68881 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68882 macro.
68883 * sysdeps/unix/sysv/linux/s390/bits/mman.h
68884 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68885 * sysdeps/unix/sysv/linux/sh/bits/mman.h
68886 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68887 * sysdeps/unix/sysv/linux/i386/bits/mman.h
68888 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68889 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68890 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68891 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68892 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68893 * sysdeps/unix/sysv/linux/bits/in.h
68894 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68895
68896 2012-05-22 Roland McGrath <roland@hack.frob.com>
68897
68898 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68899 (PREPARE_VERSION): Just use assert instead, it will be elided
68900 under [NDEBUG] anyway.
68901
68902 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
68903
68904 * sysdeps/unix/sysv/linux/Makefile: Include
68905 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68906 (sysdep_routines): Remove sysctl.
68907 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68908 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68909 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68910 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68911 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68912
68913 2012-05-22 Andreas Jaeger <aj@suse.de>
68914
68915 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68916 that pseudo_end is just ret and the stack pointer is correct also
68917 for static library in error case.
68918
68919 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
68920
68921 [BZ #14122]
68922 * nss/nsswitch.c (defconfig_entries): New variable.
68923 (__nss_database_lookup): Don't leak defconfig entries.
68924 (nss_parse_service_list): Don't leak on error paths.
68925 (free_database_entries): New function.
68926 (free_defconfig): New function.
68927 (free_mem): Move common code to free_database_entries.
68928
68929 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
68930
68931 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68932 Add arch_prctl.
68933 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68934
68935 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68936 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68938 New macro.
68939 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68940 (INTERNAL_SYSCALL_TYPES): Likewise.
68941 (LOAD_ARGS_TYPES_[1-6]): Likewise.
68942 (LOAD_REGS_TYPES_[1-6]): Likewise.
68943 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68944 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68945
68946 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68947
68948 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68949 copysignl for GLIBC_2_0.
68950 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68951 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68952 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68953 logbl for GLIBC_2_0.
68954 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68955 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68956
68957 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
68958
68959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68960 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
68961
68962 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68963 Use "neg %eax".
68964
68965 * time/mktime.c: Update copyright years.
68966
68967 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
68968
68969 mktime: merge comment-quoting-style change from gnulib
68970 * time/mktime.c: Quote 'like this' in comments.
68971 The GNU coding standards suggest that we no longer quote `like this',
68972 as "`" and "'" are typically rendered asymmetrically nowadays.
68973 The typical gnulib style is to quote 'like this' when quoting
68974 code, and "like this" when quoting English.
68975
68976 * time/mktime.c (compile-command): Add "-I.".
68977
68978 mktime: merge mktime-internal.h change from gnulib
68979 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68980
68981 mktime: merge time_r change from gnulib
68982 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68983
68984 mktime: merge DEBUG change from gnulib
68985 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68986 case system <time.h> has a #define.
68987
68988 mktime: merge <sys/types.h> change from gnulib
68989 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68990 since <time.t> is now guaranteed to define time_t.
68991
68992 mktime: merge HAVE_CONFIG_H change from gnulib
68993 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68994
68995 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
68996
68997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68998 Use "neg %eax".
68999
69000 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
69001 __rlim_t cast.
69002 (struct rusage): Use anonymous union to pad each field to
69003 __syscall_slong_t.
69004
69005 2012-05-21 David S. Miller <davem@davemloft.net>
69006
69007 * Makefules (o-iterator): Remove .s cases.
69008 (compile-command.s): Delete.
69009 (COMPILE.s): Delete.
69010 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
69011
69012 2012-05-21 Joseph Myers <joseph@codesourcery.com>
69013
69014 * configure.in (libc_cv_predef_stack_protector): Only consider
69015 "foobar" and "__stack_chk_fail" lines in libc_undefs.
69016 * configure: Regenerated.
69017
69018 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
69019
69020 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
69021 New macro. Use R*LP on int and pointer.
69022 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
69023 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
69024 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
69025 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
69026
69027 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
69028 [__WORDSIZE_TIME64_COMPAT32] instead of
69029 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
69030 (struct utmp): Likewise.
69031 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
69032 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
69033 Renamed to ...
69034 (__WORDSIZE_TIME64_COMPAT32): This.
69035 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
69036 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
69037 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
69038 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
69039 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
69040 (__WORDSIZE_TIME64_COMPAT32): New macro.
69041
69042 2012-05-21 Andreas Jaeger <aj@suse.de>
69043
69044 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
69045 only if [SHARED]. Add prototype for __wcschr_ia32.
69046
69047 2012-05-21 Roland McGrath <roland@hack.frob.com>
69048
69049 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
69050 of %rbp unmolested in the jmp_buf while mangling the low bits.
69051 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
69052 unmolested high bits of %rbp while demangling the low bits.
69053 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69054
69055 2012-05-21 Andreas Jaeger <aj@suse.de>
69056
69057 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
69058 * sunrpc/svc_simple.c: Use it for registerrpc.
69059 * sunrpc/xcrypt.c: Use it for passwd2des.
69060
69061 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
69062
69063 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
69064
69065 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
69066 Don't define if [__SYSCALL_WORDSIZE != 32].
69067 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
69068 New macro.
69069
69070 2012-05-21 Bruno Haible <bruno@clisp.org>
69071 Andreas Jaeger <aj@suse.de>
69072
69073 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
69074 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
69075 inptr and inend for must_buffer_ch.
69076 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
69077 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
69078 * stdio-common/Makefile (tests): Remove bug15.
69079 (bug15-ENV): Remove macro.
69080 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
69081 anymore.
69082
69083 2012-05-19 Andreas Jaeger <aj@suse.de>
69084 Roland McGrath <roland@hack.frob.com>
69085
69086 * manual/contrib.texi: Completely rewritten. It contains now an
69087 alphabetical list of contributors and their contributions.
69088
69089 2012-05-21 Richard Henderson <rth@twiddle.net>
69090
69091 * misc/getauxval.c (__getauxval): Use unsigned long int.
69092 * misc/sys/auxv.h: Include <sys/cdefs.h>.
69093 (getauxval): Use unsigned long int.
69094
69095 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
69096
69097 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69098
69099 2012-05-21 Roland McGrath <roland@hack.frob.com>
69100
69101 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
69102 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
69103 __alignof__ (long double).
69104
69105 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69106
69107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69108
69109 2012-05-20 Richard Henderson <rth@twiddle.net>
69110
69111 * misc/getauxval.c: New file.
69112 * misc/sys/auxv.h: New file.
69113 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
69114 (routines): Add getauxval.
69115 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
69116 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
69117 * elf/dl-sysdep.c (_dl_auxv): Remove.
69118 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
69119 * elf/dl-support.c (_dl_auxv): New variable.
69120 (_dl_aux_init): Initialize it.
69121 * manual/startup.texi (Auxiliary Vector): New node.
69122 * sysdeps/generic/bits/hwcap.h: New file.
69123 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
69124 * sysdeps/powerpc/sysdep.h: ... here. Include it.
69125 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
69126 * sysdeps/sparc/sysdep.h: ... here. Include it.
69127 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
69128 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
69129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69130 Update.
69131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
69132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
69133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
69134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
69135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
69136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
69137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
69138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
69139
69140 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69141
69142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69143
69144 2012-05-19 David S. Miller <davem@davemloft.net>
69145
69146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69147
69148 2012-05-19 Joseph Myers <joseph@codesourcery.com>
69149
69150 [BZ #14123]
69151 * math/s_ccosh.c: Include <float.h>
69152 (__ccosh): Avoid internal overflow calculating sinh and cosh
69153 values before multiplying by sin and cos values.
69154 * math/s_ccoshf.c: Likewise.
69155 * math/s_ccoshl.c: Likewise.
69156 * math/s_csin.c: Likewise.
69157 * math/s_csinf.c: Likewise.
69158 * math/s_csinl.c: Likewise.
69159 * math/s_csinh.c: Likewise.
69160 * math/s_csinhf.c: Likewise.
69161 * math/s_csinhl.c: Likewise.
69162 * math/libm-test.inc (ccos_test): Add more tests.
69163 (ccosh_test): Likewise.
69164 (csin_test): Likewise.
69165 (csinh_test): Likewise.
69166 * sysdeps/i386/fpu/libm-test-ulps: Update.
69167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69168
69169 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
69170
69171 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
69172 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
69173
69174 * sysdeps/x86_64/x32/_itoa.h: Add comment.
69175
69176 2012-05-19 Joseph Myers <joseph@codesourcery.com>
69177
69178 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
69179 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
69180 * sysdeps/powerpc/soft-fp/Versions: Likewise.
69181 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
69182 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
69183 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
69184 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
69185 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
69186 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
69187 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
69188 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
69189 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
69190 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
69191 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
69192 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
69193 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
69194 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
69195 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
69196 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
69197 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
69198 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
69199 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
69200 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
69201 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
69202 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
69203 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
69204 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
69205 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
69206 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
69207 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
69208 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
69209
69210 2012-05-18 Andreas Jaeger <aj@suse.de>
69211
69212 * csu/.gitignore: Delete.
69213
69214 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
69215
69216 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
69217 (timex): Use __syscall_slong_t.
69218
69219 2012-05-18 Andreas Jaeger <aj@suse.de>
69220 Carlos O'Donell <carlos_odonell@mentor.com>
69221
69222 * manual/install.texi (Configuring and compiling): Update
69223 description about files modified in the source directory.
69224 * INSTALL: Regenerated.
69225
69226 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
69227
69228 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
69229 value. Use "or" to set return value to -1.
69230 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
69231 negate return value.
69232
69233 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69234
69235 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
69236 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
69237 failure if the compiler has Graphite support disabled.
69238 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
69239 Likewise.
69240 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
69241 (CFLAGS-memmove.c): Likewise.
69242 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
69243 Likewise.
69244
69245 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
69246
69247 * sysdeps/x86_64/x32/_itoa.h: New file.
69248
69249 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
69250 getdents system call only if kernel and user dirents have the
69251 same d_ino and d_off.
69252
69253 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69254 LLONG_MAX != LONG_MAX.
69255 (_itoa_word): Use _ITOA_WORD_TYPE on value.
69256 (_fitoa_word): Likewise.
69257
69258 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
69259 years.
69260 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
69261 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
69262 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
69263
69264 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
69265 include <bits/wordsize.h>. Check __x86_64__ instead of
69266 __WORDSIZE.
69267 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
69268 if __x86_64__ is defined. Use anonymous union on fpstate.
69269
69270 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
69271 anonymous union.
69272
69273 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
69274
69275 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
69276 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
69277 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
69278 Refer to _rtld_local_ro instead of _rtld_global_ro.
69279 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
69280 Likewise.
69281 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
69282 Likewise.
69283 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
69284 Likewise.
69285 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
69286 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
69287 of _rtld_global, and rtld_progname instead of _dl_argv[0].
69288
69289 [BZ #10882]
69290 * sysdeps/powerpc/powerpc32/dl-machine.c
69291 (__elf_machine_runtime_setup) [PROF]: Don't reference
69292 _dl_prof_resolve.
69293
69294 2012-05-18 Andreas Jaeger <aj@suse.de>
69295
69296 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
69297 function only available for GCCs before 3.4 since GCC 3.4
69298 introduced a builtin.
69299 (lrint): Likewise.
69300 (llrintf): Likewise.
69301 (llrint): Likewise.
69302 (fmaxf): Likewise.
69303 (fmax): Likewise.
69304 (fminf): Likewise.
69305 (fmin): Likewise.
69306 (rint): Likewise.
69307 (rintf): Likewise.
69308 (nearbyint): Likewise.
69309 (nearbyintf): Likewise.
69310 (ceil): Likewise.
69311 (ceilf): Likewise.
69312 (floor): Likewise.
69313 (floorf): Likewise.
69314
69315 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
69316
69317 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
69318 on both fields and cast pointer to __syscall_ulong_t.
69319
69320 * bits/types.h (__fsword_t): New type.
69321 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
69322 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
69323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69324 (__FSWORD_T_TYPE): Likewise.
69325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69326 (__FSWORD_T_TYPE): Likewise.
69327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69328 (__FSWORD_T_TYPE): Likewise.
69329 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
69330 (__FSWORD_T_TYPE): Likewise.
69331 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
69332 __SWORD_TYPE with __fsword_t.
69333 (statfs64): Likewise.
69334
69335 2012-05-17 David S. Miller <davem@davemloft.net>
69336
69337 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
69338
69339 2012-05-17 Andreas Jaeger <aj@suse.de>
69340
69341 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
69342 warning.
69343
69344 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
69345
69346 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
69347
69348 2012-05-17 Andreas Jaeger <aj@suse.de>
69349
69350 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
69351 when it is used.
69352
69353 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
69354
69355 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
69356
69357 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
69358
69359 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
69360 * sysdeps/x86_64/tst-mallocalign1.c: New file.
69361
69362 2012-05-17 Andreas Jaeger <aj@suse.de>
69363 Carlos O'Donell <carlos_odonell@mentor.com>
69364
69365 [BZ #14059]
69366 * sysdeps/x86_64/multiarch/init-arch.h
69367 (bit_YMM_Usable): Rename to...
69368 (bit_AVX_Usable): ... this.
69369 (bit_FMA4_Usable): New macro.
69370 (bit_XMM_state): New macro.
69371 (bit_YMM_state): New macro.
69372 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
69373 [__ASSEMBLER__] (index_AVX_Usable): ... this.
69374 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
69375 (CPUID_OSXSAVE): New macro.
69376 (CPUID_AVX): New macro.
69377 (CPUID_FMA4): New macro.
69378 (index_YMM_Usable): Rename to...
69379 (index_AVX_Usable): ... this.
69380 (HAS_AVX): Use HAS_ARCH_FEATURE.
69381 (HAS_FMA4): Likewise.
69382 (HAS_YMM_USABLE): Remove.
69383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69384 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
69385 are present.
69386 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
69387 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
69388 * sysdeps/x86_64/multiarch/Makefile: Likewise.
69389 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
69390 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
69391
69392 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
69393
69394 * math/libm-test.c: Support platforms without multiple rounding modes.
69395 * math/bug-nextafter.c: Support platforms without FP exceptions.
69396 * math/bug-nexttoward.c: Likewise.
69397 * math/test-fenv.c: Likewise.
69398 * math/test-misc.c: Likewise.
69399 * stdlib/bug-getcontext.c: Likewise.
69400
69401 2012-05-17 Andreas Jaeger <aj@suse.de>
69402
69403 * manual/examples/search.c (critter_cmp): Change signature to
69404 avoid warnings.
69405 * manual/string.texi (Collation Functions): Likewise.
69406
69407 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
69408
69409 * bits/types.h: Fold copyright years.
69410 * bits/typesizes.h: Likewise.
69411 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
69412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
69413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
69414 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
69415 * time/time.h: Likewise.
69416
69417 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
69418
69419 [BZ #208]
69420 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
69421 in instead of returning them. Return void.
69422 (__libc_mallinfo): Accumulate over all arenas.
69423 (__malloc_stats): Adjust for change in int_mallinfo interface.
69424
69425 2012-05-16 Roland McGrath <roland@hack.frob.com>
69426
69427 [BZ #10375]
69428 * configure.in (NM): Add AC_CHECK_TOOL for it.
69429 (libc_extra_cflags): New substituted variable.
69430 Check for -fstack-protector being used implicitly.
69431 * configure: Regenerated.
69432 * config.make.in (config-extra-cflags): New variable,
69433 gets @libc_extra_cflags@.
69434 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
69435
69436 [BZ #10375]
69437 * configure.in: Check for _FORTIFY_SOURCE being predefined.
69438 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
69439 * configure: Regenerated.
69440 * config.make.in (CPPUNDEFS): New substituted variable.
69441 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
69442 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
69443 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
69444
69445 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
69446
69447 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
69448 (mq_attr): Use __syscall_slong_t.
69449
69450 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
69451
69452 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
69453 Check __x86_64__ instead of __WORDSIZE.
69454 (_STAT_VER_LINUX): Likewise.
69455 (stat): Check __x86_64__ instead of __WORDSIZE. Use
69456 __syscall_ulong_t and __syscall_slong_t.
69457 (stat64): Likewise.
69458
69459 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
69460
69461 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
69462
69463 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
69464
69465 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
69466
69467 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
69468
69469 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
69470 __syscall_ulong_t.
69471
69472 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
69473 include <bits/wordsize.h>. Check __x86_64__ instead of
69474 __WORDSIZE.
69475 (greg_t): Use "__extension__ long long int" if __x86_64__ is
69476 defined.
69477 (mcontext_t): Replace "unsigned long" with "unsigned long long".
69478
69479 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
69480 include <bits/wordsize.h>. Check __x86_64__ instead of
69481 __WORDSIZE.
69482 (user_regs_struct): Use "__extension__ unsigned long long"
69483 instead of "unsigned long" if __x86_64__ is defined.
69484 (user): Likewise. Pad after pointer field if __ILP32__ is
69485 defined.
69486
69487 2012-05-16 Joseph Myers <joseph@codesourcery.com>
69488
69489 * configure.in (makeinfo): Require version 4.5 or later. Allow
69490 versions 5 to 9.
69491 * configure: Regenerated.
69492 * manual/install.texi (texinfo): Increase version requirement to
69493 4.5 or later.
69494 * INSTALL: Regenerated.
69495
69496 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
69497
69498 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
69499
69500 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
69501
69502 * sysdeps/x86_64/x32/ffs.c: New file.
69503
69504 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
69505 __syscall_ulong_t.
69506 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
69507 defined. Use __syscall_ulong_t.
69508 (shminfo): Use __syscall_ulong_t.
69509 (shm_info): Likewise.
69510
69511 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
69512 __syscall_ulong_t.
69513
69514 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69515 <bits/wordsize.h>.
69516 (msgqnum_t): Use __syscall_ulong_t.
69517 (msglen_t): Likewise.
69518 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
69519 __syscall_ulong_t.
69520
69521 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
69522 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
69523
69524 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
69525
69526 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
69527 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
69528
69529 * sysvipc/sys/msg.h (msgbuf): Replace long int with
69530 __syscall_slong_t.
69531
69532 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
69533 include <bits/wordsize.h>. Check __x86_64__ instead of
69534 __WORDSIZE.
69535
69536 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
69537 "unsigned long long int" if __x86_64__ is defined.
69538 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
69539
69540 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
69541 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
69542 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
69543
69544 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
69545 <stdint.h>.
69546 (GET_PC): Cast to uintptr_t first.
69547 (GET_FRAME): Likewise.
69548 (GET_STACK): Likewise.
69549
69550 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
69551 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
69552 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
69553 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
69554 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
69555 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
69556 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
69557 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
69558 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
69559 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
69560 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
69561 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
69562 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69563 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
69564 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
69565 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
69566 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
69567 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
69568 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
69569 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
69570 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
69571 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
69572 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
69573 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
69574 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
69575 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
69576 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
69577 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69578 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69579
69580 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
69581
69582 * Makerules (+depfiles): Also collect depfiles from .oS in
69583 $(extra-objs).
69584 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69585 .oS, $(libnldbl-routines)).
69586
69587 * Makerules (native-compile-mkdep-flags): Define.
69588 * sunrpc/Makefile (extra-objs): Add $(addprefix
69589 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69590 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69591 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
69592 calling $(make-target-directory).
69593
69594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69595
69596 * bits/types.h (__snseconds_t): Removed.
69597 * time/time.h (struct timespec): Replace __snseconds_t with
69598 __syscall_slong_t.
69599 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69600 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69601 Likewise.
69602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69603 (__SNSECONDS_T_TYPE): Likewise.
69604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69605 (__SNSECONDS_T_TYPE): Likewise.
69606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69607 (__SNSECONDS_T_TYPE): Likewise.
69608
69609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69610
69611 * sysdeps/mach/hurd/bits/typesizes.h
69612 (__SYSCALL_SLONG_TYPE): New macro.
69613 (__SYSCALL_ULONG_TYPE): Likewise.
69614
69615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69616
69617 * bits/types.h (__syscall_slong_t): New type.
69618 (__syscall_ulong_t): Likewise.
69619
69620 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69621 (__SYSCALL_ULONG_TYPE): Likewise.
69622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69623 (__SYSCALL_SLONG_TYPE): Likewise.
69624 (__SYSCALL_ULONG_TYPE): Likewise.
69625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69626 (__SYSCALL_SLONG_TYPE): Likewise.
69627 (__SYSCALL_ULONG_TYPE): Likewise.
69628 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69629 (__SYSCALL_SLONG_TYPE): Likewise.
69630 (__SYSCALL_ULONG_TYPE): Likewise.
69631
69632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69633
69634 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69635 Add sigaltstack-offsets.sym.
69636 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69637 <sigaltstack-offsets.h>.
69638 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
69639 longjmp_msg pointer.
69640 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
69641 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69642 signal stack.
69643 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69644
69645 2012-05-15 Joseph Myers <joseph@codesourcery.com>
69646
69647 * elf/stackguard-macros.h: Remove file.
69648 * sysdeps/generic/stackguard-macros.h: New file.
69649 * sysdeps/i386/stackguard-macros.h: Likewise.
69650 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69651 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69652 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69653 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69654 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69655 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69656 * sysdeps/x86_64/stackguard-macros.h: Likewise.
69657 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69658 <elf/stackguard-macros.h>.
69659
69660 [BZ #14109]
69661 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69662 __aligned__ in attribute.
69663 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69664 (gregset_t): Likewise.
69665
69666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69667
69668 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69669 * sysdeps/x86_64/64/Implies-after: Here. New file.
69670 * sysdeps/x86_64/x32/Implies-after: New file.
69671
69672 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69673
69674 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69675 and access return value for _dl_profile_fixup. Use R10_LP to
69676 load frame size.
69677
69678 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69679
69680 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69681
69682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69683
69684 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69685 * sysdeps/x86_64/x32/sysdep.h: New file.
69686
69687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69688
69689 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69690 * sysdeps/x86_64/setjmp.S: Likewise.
69691
69692 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69693
69694 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69695 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69696 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69697 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69698 remove unused global constant.
69699
69700 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
69701
69702 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69703 include of <not-cancel.h>.
69704
69705 2012-05-15 Roland McGrath <roland@hack.frob.com>
69706
69707 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69708
69709 2012-05-15 Jeff Law <law@redhat.com>
69710 Andreas Jaeger <aj@suse.de>
69711
69712 [BZ #13594]
69713 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69714 out from...
69715 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69716 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69717 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69718 code changing __hst_map_handle.map.
69719
69720 2012-05-15 Roland McGrath <roland@hack.frob.com>
69721
69722 * configure.in (sysnames): Look for Implies-before and Implies-after
69723 files.
69724 * configure: Regenerated.
69725
69726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69727
69728 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69729 8-byte data alignment with LP_SIZE alignment.
69730
69731 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69732
69733 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69734 into R10_LP.
69735
69736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69737
69738 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69739
69740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69741
69742 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69743 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69744 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69745 Likewise.
69746 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69747
69748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69749
69750 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69751 (stackinfo_sub_sp): Likewise.
69752
69753 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69754
69755 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69756 RAX_LP.
69757
69758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69759
69760 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69761 into R*_LP.
69762
69763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69764
69765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69766 sizes into R*_LP.
69767
69768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69769
69770 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69771
69772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69773
69774 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69775 into R11_LP and load __x86_64_shared_cache_size_half into
69776 R8_LP.
69777
69778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69779
69780 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69781 R8_LP.
69782
69783 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69784
69785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69786 logb for POWER7.
69787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69788 logbf for POWER7.
69789 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69790 logbl for POWER7.
69791 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69792 powerpc32/power7/fpu/s_logb.c via #include.
69793 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69794 powerpc32/power7/fpu/s_logbf.c via #include.
69795 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69796 powerpc32/power7/fpu/s_logbl.c via #include.
69797
69798 2012-05-15 Joseph Myers <joseph@codesourcery.com>
69799
69800 * README.libm: Remove file.
69801
69802 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
69803
69804 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69805 count for x32. Use R*_LP and omit operand-size suffix.
69806
69807 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
69808
69809 * shlib-versions: Move x86_64-.*-linux.* entries to ...
69810 * sysdeps/x86_64/64/shlib-versions: Here. New file.
69811 * sysdeps/x86_64/x32/shlib-versions: New file.
69812
69813 2012-05-14 Roland McGrath <roland@hack.frob.com>
69814
69815 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69816 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69817 Use _dl_fatal_printf instead.
69818
69819 2012-05-14 Joseph Myers <joseph@codesourcery.com>
69820
69821 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69822 set if not set by the user. Do not allow for being unset.
69823 * sysdeps/unix/sysv/linux/configure: Regenerated.
69824
69825 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
69826
69827 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69828 the `q' suffix from lea and replace .quad with ASM_ADDR.
69829
69830 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
69831
69832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69833 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
69834 instead of $17.
69835 (PTR_DEMANGLE): Likewise.
69836
69837 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
69838
69839 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69840 (LP_OP): Likewise.
69841 (ASM_ADDR): Likewise.
69842 (RAX_LP): Likewise.
69843 (RBP_LP): Likewise.
69844 (RBX_LP): Likewise.
69845 (RCX_LP): Likewise.
69846 (RDI_LP): Likewise.
69847 (RSI_LP): Likewise.
69848 (RSP_LP): Likewise.
69849 (R8_LP): Likewise.
69850 (R9_LP): Likewise.
69851 (R10_LP): Likewise.
69852 (R10_LP): Likewise.
69853 (R11_LP): Likewise.
69854 (R12_LP): Likewise.
69855 (R13_LP): Likewise.
69856 (R14_LP): Likewise.
69857 (R15_LP): Likewise.
69858
69859 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
69860
69861 * sysdeps/x86_64/x32/dl-machine.h: New file.
69862
69863 2012-05-14 Andreas Jaeger <aj@suse.de>
69864
69865 * manual/Makefile (subdir): Remove export of subdir.
69866 (all): Remove target.
69867 (.PHONY): Remove all from list.
69868 (mkinstalldirs): Remove.
69869 (.PHONY): Remove installdirs from list.
69870 ($(inst_infodir)/libc.info): Use make-target-directory.
69871 (installdirs): Remove.
69872 (subdir_%): Remove.
69873 (glibc-targets): Remove.
69874 (lib): Remove.
69875 (stubs): Remove.
69876 ($(objpfx)stubs ../po/manual.pot): Remove.
69877 ($(objpfx)stamp%): Remove.
69878 (make-target-directory): Remove.
69879 (subdir_install): Remove.
69880 (routines): Remove.
69881 (aux): Remove.
69882 (sources): Remove.
69883 (objects): Remove.
69884 (headers): Remove.
69885
69886 [BZ #13750]
69887 * manual/.gitignore: Remove, it's not needed anymore.
69888 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69889 all files in it.
69890 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69891 directory.
69892 (texis): Renamed to $(objpfx)texis.
69893 (texis-path): New, contains path to generated files.
69894 (chapters.%): Use texis-path for complete path, add extra argument
69895 libc-texinfo.sh.
69896 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69897 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69898 (summary,texi, stamp-summary): Use complete path of
69899 files. Generate files in build dir.
69900 (dir-add.texi): Build in build dir.
69901 (libm-err.texi,stamp-libm-err): Likewise.
69902 (version.texi, stamp-version): Likewise.
69903 (.%c.texi): Likewise.
69904 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69905 (mostlyclean): Remove target.
69906 (realclean): Remove target.
69907 (generated): Add new variable with contents from mostlyclean and
69908 realclean, remove entries duplicated in common-mostlyclean, add
69909 stamp-libm-err and stamp-version.
69910 (generated-dirs): Add libc directory.
69911 ($(inst_infodir)/libc.info): Install files from build dir.
69912
69913 * manual/install.texi (Configuring and compiling): Adjust since
69914 the info files are not part of the tar ball anymore.
69915
69916 2012-05-14 Andreas Jaeger <aj@suse.de>
69917
69918 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69919 variable.
69920
69921 2012-05-14 Joseph Myers <joseph@codesourcery.com>
69922
69923 [BZ #13717]
69924 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69925 to 2.2.0 where earlier.
69926 * sysdeps/unix/sysv/linux/configure: Regenerated.
69927 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69928 Remove conditional code.
69929 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69930 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69931 Remove conditional code.
69932 [!__NR_lchown]: Likewise.
69933 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69934 [__NR_lchown]: Likewise.
69935 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69936 comment referencing __ASSUME_LCHOWN_SYSCALL.
69937 * sysdeps/unix/sysv/linux/i386/sigaction.c
69938 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69939 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69940 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69941 Remove conditional code.
69942 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69943 (__protocol_available): Remove #if 0 code.
69944 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69945 conditional code.
69946 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69947 * sysdeps/unix/sysv/linux/kernel-features.h
69948 (__ASSUME_GETCWD_SYSCALL): Don't define.
69949 (__ASSUME_REALTIME_SIGNALS): Likewise.
69950 (__ASSUME_PREAD_SYSCALL): Likewise.
69951 (__ASSUME_PWRITE_SYSCALL): Likewise.
69952 (__ASSUME_POLL_SYSCALL): Likewise.
69953 (__ASSUME_LCHOWN_SYSCALL): Likewise.
69954 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69955 non-SPARC.
69956 (__ASSUME_SIOCGIFNAME): Don't define.
69957 (__ASSUME_MSG_NOSIGNAL): Likewise.
69958 (__ASSUME_SENDFILE): Define unconditionally.
69959 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69960 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69961 conditional code.
69962 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69963 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69964 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69965 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69966 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69967 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69968 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69970 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69971 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69973 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69974 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69976 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69977 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69979 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69980 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69982 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69983 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69985 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69986 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69988 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69989 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69991 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69992 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69993 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69994 Remove conditional code.
69995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69996 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69997 Remove conditional code.
69998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69999 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
70000 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
70001 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
70002 Remove conditional code.
70003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70004 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
70005 Remove conditional code.
70006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70007 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
70008 Remove conditional code.
70009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70010 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
70011 Remove conditional code.
70012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70013 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
70014 Remove conditional code.
70015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70016 * sysdeps/unix/sysv/linux/sh/pwrite64.c
70017 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70019 * sysdeps/unix/sysv/linux/sigaction.c
70020 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70021 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70022 * sysdeps/unix/sysv/linux/sigpending.c
70023 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70024 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70025 * sysdeps/unix/sysv/linux/sigprocmask.c
70026 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70027 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70028 * sysdeps/unix/sysv/linux/sigsuspend.c
70029 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70030 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70031 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70032 (__libc_missing_rt_sigs): Remove.
70033 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
70034 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
70035 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
70036 Remove conditional code.
70037 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
70038 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
70039 return 1.
70040 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
70041 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
70042 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
70043 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
70044
70045 2012-05-14 Andreas Jaeger <aj@suse.de>
70046
70047 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
70048 it's not used in glibc.
70049 (__coshm1): Likewise.
70050 (__acosh1p): Likewise.
70051 (__sgn): Likewise.
70052
70053 * manual/string.texi (Copying and Concatenation): Add missing
70054 variable in concat example.
70055 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
70056
70057 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70058
70059 [BZ #14103]
70060 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
70061 __builtin_clzl with __builtin_clzll.
70062
70063 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70064
70065 [BZ #14104]
70066 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
70067 libc_freeres_ptr.
70068
70069 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70070
70071 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
70072 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
70073 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
70074 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
70075
70076 2012-05-14 Mike Frysinger <vapier@gentoo.org>
70077
70078 * NEWS: Update ia64 info.
70079
70080 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
70081
70082 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
70083 used as bcopy.
70084
70085 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
70086
70087 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
70088 * sysdeps/unix/syscalls.list (dup3): Likewise.
70089 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
70090 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
70091
70092 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
70093
70094 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
70095 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
70096
70097 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
70098
70099 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
70100 thread pointer.
70101 (TLS_IE): Use mov/add instead of movq/addq to load thread
70102 pointer.
70103 (TLS_GD_PREFIX): New.
70104 (TLS_GD): Use it.
70105
70106 2012-05-11 David S. Miller <davem@davemloft.net>
70107
70108 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
70109 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
70110 (_FPU_SETCW): Likewise.
70111
70112 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
70113
70114 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
70115 is 32-byte aligned.
70116
70117 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
70118
70119 [BZ #11837]
70120 * iconvdata/gb18030.c: Update tables.
70121 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
70122 characters specially.
70123 (BODY for TO_LOOP): Add encoding of missing ranges.
70124
70125 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
70126
70127 [BZ #13673]
70128 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
70129 * sysdeps/mach/hurd/dup3.c: Likewise.
70130 * sysdeps/mach/hurd/readlinkat.c: Likewise.
70131 * sysdeps/powerpc/memmove.c:: Likewise.
70132
70133 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
70134
70135 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
70136 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
70137
70138 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
70139
70140 * elf/elf.h (R_X86_64_RELATIVE64): New.
70141 (R_X86_64_NUM): Updated.
70142 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70143 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
70144 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
70145 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
70146 tst-quad1pie tst-quad2pie
70147 (modules-names): Add tst-quadmod1 tst-quadmod2.
70148 ($(objpfx)tst-quad1): New dependency.
70149 ($(objpfx)tst-quad2): Likewise.
70150 ($(objpfx)tst-quad1pie): Likewise.
70151 ($(objpfx)tst-quad2pie): Likewise.
70152 * sysdeps/x86_64/tst-quad1.c: New file.
70153 * sysdeps/x86_64/tst-quad1pie.c: New file.
70154 * sysdeps/x86_64/tst-quad2.c: Likewise.
70155 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
70156 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
70157 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
70158 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
70159 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
70160
70161 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70162
70163 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
70164 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
70165 * streams/stropts.h (t_scalar_t): Define type.
70166
70167 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
70168 (_PATH_PRESERVE): Set to "/var/lib".
70169 (_PATH_RWHODIR): Set to "/var/spool/rwho".
70170
70171 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
70172 instead of int.
70173
70174 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
70175 if __dir_mkfile succeeded.
70176
70177 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
70178 checking for _hurd_dtablesize. Unlock it right after having
70179 finished _hurd_dtable allocation.
70180
70181 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
70182
70183 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
70184 * sysdeps/mach/hurd/configure: Regenerated.
70185 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
70186 special-casing to...
70187 * sysdeps/gnu/configure.in: ... this new file.
70188 * sysdeps/unix/sysv/linux/configure: Regenerated.
70189 * sysdeps/gnu/configure: New generated file.
70190
70191 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
70192 for Linux: use nsec instead of usec, as well as:
70193 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
70194 members of type struct timespec.
70195 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
70196 New macros.
70197 (struct stat64): Likewise.
70198 (_STATBUF_ST_NSEC): New macro.
70199 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
70200
70201 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70202 __strtoul_internal rather than strtoul.
70203
70204 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
70205
70206 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
70207 and reject them.
70208
70209 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70210
70211 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
70212 which preserves existing values.
70213 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
70214
70215 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
70216
70217 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
70218 TIMEOUT values. Return EINVAL for NFDS values either negative or
70219 greater than FD_SETSIZE.
70220
70221 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70222
70223 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
70224 allocated, call __vm_protect to finish enabling the existing space, and
70225 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
70226 allocate the remainder.
70227
70228 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
70229
70230 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
70231 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
70232
70233 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70234
70235 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
70236 sysdeps/mach/hurd/readlink.c.
70237
70238 * posix/tst-sysconf.c (posix_options): Only use
70239 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
70240 _POSIX_SYNCHRONIZED_IO when they are defined
70241 * sysdeps/mach/hurd/bits/posix_opt.h:
70242 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
70243 (_XOPEN_REALTIME): Undefine macro.
70244 (_XOPEN_REALTIME_THREADS): Undefine macro.
70245 (_XOPEN_SHM): Undefine macro.
70246 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
70247 macro to -1.
70248 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
70249 macro to -1.
70250 (_POSIX_ASYNC_IO): Undefine macro.
70251 (_POSIX_PRIORITIZED_IO): Undefine macro.
70252 (_POSIX_SPIN_LOCKS): Define macro to -1.
70253
70254 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
70255 SA_NODEFER, SA_RESETHAND.
70256 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
70257 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
70258 F_DUPFD_CLOEXEC.
70259
70260 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
70261
70262 * elf/Makefile (pldd-modules): Define unconditionally.
70263
70264 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
70265
70266 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
70267
70268 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70269
70270 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
70271 Return ENOENT when name is empty.
70272 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
70273
70274 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
70275
70276 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
70277
70278 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
70279
70280 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70281
70282 Fix mlock in all cases except non-readable pages.
70283 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
70284 instead of VM_PROT_ALL as parameter to __vm_wire function.
70285
70286 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
70287 (__mkdir): When path is `/', just fail with EEXIST.
70288 * sysdeps/mach/hurd/mkdirat.c: Likewise.
70289
70290 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
70291
70292 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
70293 <sys/uio.h> (for writev).
70294 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
70295 and <sys/param.h> (for MIN).
70296
70297 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
70298
70299 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
70300 REQUESTED_TIME. Properly set the remaining time and return EINTR
70301 if interrupted.
70302
70303 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
70304
70305 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
70306 Depend on against $(link-rpcuserlibs).
70307
70308 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70309
70310 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
70311 (__libc_stack_end): Do not use attribute_relro.
70312 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
70313 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
70314 to libthread-provided value.
70315 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
70316 attribute_relro.
70317
70318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
70319
70320 [BZ #3748]
70321 * bits/libc-lock.h (__libc_once_get): New macro.
70322 * sysdeps/mach/bits/libc-lock.h: Likewise.
70323 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
70324 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
70325 instead of using implementation details.
70326
70327 * libio/fileops.c: Unconditionally include <kernel-features.h>.
70328 * libio/freopen.c: Likewise.
70329 * libio/freopen64.c: Likewise.
70330 * misc/syslog.c: Likewise.
70331 * nscd/connections.c: Likewise.
70332 * nscd/netgroupcache.c: Likewise.
70333 * sysdeps/posix/getcwd.c: Likewise.
70334
70335 2012-05-10 Roland McGrath <roland@hack.frob.com>
70336
70337 * math/w_ilogbf.c: Add #include <limits.h>.
70338
70339 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70340
70341 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
70342 path instead of returning without unlocking.
70343
70344 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
70345 immediate-write ioctls.
70346 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
70347
70348 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
70349
70350 * sysdeps/mach/hurd/i386/init-first.c (init): Use
70351 __builtin_frame_address instead of making assumptions about the
70352 location of the return address relative to DATA. Force early load of
70353 the return address.
70354 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
70355 __builtin_frame_address.
70356
70357 dup3 for GNU Hurd.
70358 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
70359 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
70360 implement dup3 and do some further code clean-ups.
70361 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
70362 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
70363
70364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70365
70366 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
70367
70368 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
70369 HURD_CRITICAL_END around holding _hurd_dtable_lock.
70370 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
70371 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
70372 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
70373 d->port.lock.
70374
70375 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
70376 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
70377 when handler == SIG_ERR, not when handler != SIG_ERR.
70378
70379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
70380
70381 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
70382 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
70383 definitions.
70384
70385 accept4 for GNU Hurd.
70386 * include/sys/socket.h (__libc_accept4): New prototype.
70387 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
70388 to implement __libc_accept4.
70389 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
70390 __libc_accept4.
70391 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
70392
70393 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
70394 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
70395 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
70396 signal-defines.sym.
70397
70398 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70399
70400 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
70401
70402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
70403
70404 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
70405 assertion on O_CLOEXEC flag.
70406 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
70407 * hurd/intern-fd.c: Likewise.
70408 * hurd/port2fd.c: Likewise.
70409
70410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
70411
70412 [BZ #3906]
70413 * bits/in.h (IPV6_PKTINFO): Define new macro.
70414 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
70415
70416 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70417
70418 [BZ #13954]
70419 [BZ #13955]
70420 [BZ #13956]
70421 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
70422 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70423 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
70424 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70426 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70427 * math/libm-test.inc (logb_test) : Additional logb tests.
70428
70429 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
70430 Andreas Jaeger <aj@suse.de>
70431
70432 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
70433 * configure: Regenerated.
70434 * config.h.in (LINK_OBSOLETE_RPC): New macro.
70435 * config.make.in (link-obsolete-rpc): New substituted variable.
70436 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
70437 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
70438 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70439 (shared-only-routines): Don't set it under [link-obsolete-rpc],
70440 so that libc.a contains the symbols.
70441 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70442 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
70443 * sunrpc/auth_none.c: Likewise.
70444 * sunrpc/auth_unix.c: Likewise.
70445 * sunrpc/authdes_prot.c: Likewise.
70446 * sunrpc/authuxprot.c: Likewise.
70447 * sunrpc/clnt_gen.c: Likewise.
70448 * sunrpc/clnt_perr.c: Likewise.
70449 * sunrpc/clnt_raw.c: Likewise.
70450 * sunrpc/clnt_simp.c: Likewise.
70451 * sunrpc/clnt_tcp.c: Likewise.
70452 * sunrpc/clnt_udp.c: Likewise.
70453 * sunrpc/clnt_unix.c: Likewise.
70454 * sunrpc/des_crypt.c: Likewise.
70455 * sunrpc/des_soft.c: Likewise.
70456 * sunrpc/get_myaddr.c: Likewise.
70457 * sunrpc/key_call.c: Likewise.
70458 * sunrpc/key_prot.c: Likewise.
70459 * sunrpc/netname.c: Likewise.
70460 * sunrpc/pm_getmaps.c: Likewise.
70461 * sunrpc/pm_getport.c: Likewise.
70462 * sunrpc/pmap_clnt.c: Likewise.
70463 * sunrpc/pmap_prot.c: Likewise.
70464 * sunrpc/pmap_prot2.c: Likewise.
70465 * sunrpc/pmap_rmt.c: Likewise.
70466 * sunrpc/publickey.c: Likewise.
70467 * sunrpc/rpc_cmsg.c: Likewise.
70468 * sunrpc/rpc_common.c: Likewise.
70469 * sunrpc/rpc_dtable.c: Likewise.
70470 * sunrpc/rpc_prot.c: Likewise.
70471 * sunrpc/rpc_thread.c: Likewise.
70472 * sunrpc/rtime.c: Likewise.
70473 * sunrpc/svc.c: Likewise.
70474 * sunrpc/svc_auth.c: Likewise.
70475 * sunrpc/svc_raw.c: Likewise.
70476 * sunrpc/svc_run.c: Likewise.
70477 * sunrpc/svc_tcp.c: Likewise.
70478 * sunrpc/svc_udp.c: Likewise.
70479 * sunrpc/svc_unix.c: Likewise.
70480 * sunrpc/svcauth_des.c: Likewise.
70481 * sunrpc/xcrypt.c: Likewise.
70482 * sunrpc/xdr.c: Likewise.
70483 * sunrpc/xdr_array.c: Likewise.
70484 * sunrpc/xdr_float.c: Likewise.
70485 * sunrpc/xdr_intXX_t.c: Likewise.
70486 * sunrpc/xdr_mem.c: Likewise.
70487 * sunrpc/xdr_rec.c: Likewise.
70488 * sunrpc/xdr_ref.c: Likewise.
70489 * sunrpc/xdr_sizeof.c: Likewise.
70490 * sunrpc/xdr_stdio.c: Likewise.
70491
70492 2012-05-10 Roland McGrath <roland@hack.frob.com>
70493
70494 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
70495 change. Update copyright years.
70496
70497 2012-05-10 Joseph Myers <joseph@codesourcery.com>
70498
70499 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
70500
70501 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
70502 Joseph Myers <joseph@codesourcery.com>
70503 Paul Pluzhnikov <ppluzhnikov@google.com>
70504
70505 [BZ #14012]
70506 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
70507 requiring rpcgen.
70508 [cross-compiling] (extra-libs): Likewise.
70509 [cross-compiling] (extra-libs-others): Likewise.
70510 [cross-compiling] (librpcsvc-routines): Likewise.
70511 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
70512 [cross-compiling] (omit-deps): Likewise.
70513 (sunrpc-CPPFLAGS): New variable.
70514 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
70515 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
70516 (cross-rpcgen-objs): New variable.
70517 (extra-objs): Append $(cross-rpcgen-objs).
70518 ($(cross-rpcgen-objs)): New rule.
70519 ($(objpfx)cross-rpcgen): Likewise.
70520 (rpcgen-cmd): Define to use $(built-program-file). Expand
70521 comment.
70522 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
70523 ($(objpfx)x%.stmp): Likewise.
70524 * sunrpc/proto.h [IS_IN_build] (_): Define.
70525 [IS_IN_build] (_libc_intl_domainname): Likewise.
70526
70527 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
70528
70529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
70530 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
70531 and R_X86_64_TPOFF64.
70532
70533 2012-05-10 Joseph Myers <joseph@codesourcery.com>
70534
70535 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
70536 sysdeps/unix/sysv/syscalls.list.
70537 (stime): Likewise.
70538 (utime): Likewise.
70539 * sysdeps/unix/sysv/syscalls.list: Remove file.
70540
70541 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
70542
70543 [BZ #3440]
70544 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
70545 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
70546 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
70547 (__LC_IDENTIFICATION): Make these macros useful in #if
70548 expressions, as required by C99.
70549
70550 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
70551
70552 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
70553 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
70554 after this.
70555
70556 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
70557
70558 * stdlib/longlong.h: Updated from GCC.
70559
70560 2012-05-09 Andreas Jaeger <aj@suse.de>
70561
70562 * nscd/nscd.c (run_modes): Make named enum, reorder so that
70563 default is first entry.
70564 (run_mode): Set type.
70565 (main): Remove informal message about syslog.
70566 (options): Fix typo.
70567
70568 [BZ #14053]
70569 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70570 to asm.
70571 (lrint): Likewise.
70572 (llrintf): Likewise.
70573 (llrint): Likewise.
70574 (rint): Likewise.
70575 (rintf): Likewise.
70576 (nearbyint): Likewise.
70577 (nearbyintf): Likewise.
70578
70579 2012-05-09 Andreas Jaeger <aj@suse.de>
70580 Pedro Alves <palves@redhat.com>
70581
70582 * nscd/nscd.c (run_mode): Use enum.
70583 (main): Cleanup coding style issue.
70584
70585 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
70586 Andreas Jaeger <aj@suse.de>
70587
70588 * nscd/nscd.c (go_background): Replaced with...
70589 (run_mode): ... this.
70590 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70591 (options): Add -F --foreground.
70592 (main): Implement it.
70593 (parse_opt): Parse it.
70594
70595 2012-05-09 Andreas Jaeger <aj@suse.de>
70596
70597 [BZ #14083]
70598 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70599 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70600 -Wconversion warning.
70601 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70602 Likewise.
70603
70604 2012-05-09 Joseph Myers <joseph@codesourcery.com>
70605
70606 * conform/data/locale.h-data (NULL): Use macro-constant. Require
70607 == 0.
70608 (LC_ALL): Use macro-int-constant.
70609 (LC_COLLATE): Likewise.
70610 (LC_CTYPE): Likewise.
70611 (LC_MESSAGES): Likewise.
70612 (LC_MONETARY): Likewise.
70613 (LC_NUMERIC): Likewise.
70614 (LC_TIME): Likewise.
70615 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70616 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70618 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70619 Specify type.
70620 [C99-based standards] (float_t): Expect type.
70621 [C99-based standards] (double_t): Expect type.
70622 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
70623 type.
70624 [C99-based standards] (HUGE_VALL): Likewise.
70625 [C99-based standards] (INFINITY): Likewise.
70626 [C99-based standards] (NAN): Likewise.
70627 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70628 [C99-based standards] (FP_NAN): Likewise.
70629 [C99-based standards] (FP_NORMAL): Likewise.
70630 [C99-based standards] (FP_SUBNORMAL): Likewise.
70631 [C99-based standards] (FP_ZERO): Likewise.
70632 [C99-based standards] (FP_FAST_FMA): Use
70633 optional-macro-int-constant. Specify type. Require == 1.
70634 [C99-based standards] (FP_FAST_FMAF): Likewise.
70635 [C99-based standards] (FP_FAST_FMAL): Likewise.
70636 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70637 [C99-based standards] (FP_ILOGBNAN): Likewise.
70638 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70639 Specify type.
70640 [C99-based standards] (MATH_ERREXCEPT): Likewise.
70641 [C99-based standards] (math_errhandling): Specify type.
70642 [ISO99 || ISO11] (signgam): Do not allow.
70643 [non-C99-based standards] (copysignf): Do not allow.
70644 [non-C99-based standards] (exp2f): Likewise.
70645 [non-C99-based standards] (log2f): Likewise.
70646 [non-C99-based standards] (modff): Allow.
70647 [non-C99-based standards] (erff): Do not allow.
70648 [non-C99-based standards] (erfcf): Likewise.
70649 [non-C99-based standards] (gammaf): Likewise.
70650 [non-C99-based standards] (hypotf): Likewise.
70651 [non-C99-based standards] (j0f): Likewise.
70652 [non-C99-based standards] (j1f): Likewise.
70653 [non-C99-based standards] (jnf): Likewise.
70654 [non-C99-based standards] (lgammaf): Likewise.
70655 [non-C99-based standards] (tgammaf): Likewise.
70656 [non-C99-based standards] (y0f): Likewise.
70657 [non-C99-based standards] (y1f): Likewise.
70658 [non-C99-based standards] (ynf): Likewise.
70659 [non-C99-based standards] (isnanf): Likewise.
70660 [non-C99-based standards] (acoshf): Likewise.
70661 [non-C99-based standards] (asinhf): Likewise.
70662 [non-C99-based standards] (atanhf): Likewise.
70663 [non-C99-based standards] (cbrtf): Likewise.
70664 [non-C99-based standards] (expm1f): Likewise.
70665 [non-C99-based standards] (ilogbf): Likewise.
70666 [non-C99-based standards] (log1pf): Likewise.
70667 [non-C99-based standards] (logbf): Likewise.
70668 [non-C99-based standards] (nextafterf): Likewise.
70669 [non-C99-based standards] (remainderf): Likewise.
70670 [non-C99-based standards] (rintf): Likewise.
70671 [non-C99-based standards] (scalbf): Likewise.
70672 [non-C99-based standards] (copysignl): Likewise.
70673 [non-C99-based standards] (exp2l): Likewise.
70674 [non-C99-based standards] (log2l): Likewise.
70675 [non-C99-based standards] (modfl): Allow.
70676 [non-C99-based standards] (erfl): Do not allow.
70677 [non-C99-based standards] (erfcl): Likewise.
70678 [non-C99-based standards] (gammal): Likewise.
70679 [non-C99-based standards] (hypotl): Likewise.
70680 [non-C99-based standards] (j0l): Likewise.
70681 [non-C99-based standards] (j1l): Likewise.
70682 [non-C99-based standards] (jnl): Likewise.
70683 [non-C99-based standards] (lgammal): Likewise.
70684 [non-C99-based standards] (tgammal): Likewise.
70685 [non-C99-based standards] (y0l): Likewise.
70686 [non-C99-based standards] (y1l): Likewise.
70687 [non-C99-based standards] (ynl): Likewise.
70688 [non-C99-based standards] (isnanl): Likewise.
70689 [non-C99-based standards] (acoshl): Likewise.
70690 [non-C99-based standards] (asinhl): Likewise.
70691 [non-C99-based standards] (atanhl): Likewise.
70692 [non-C99-based standards] (cbrtl): Likewise.
70693 [non-C99-based standards] (expm1l): Likewise.
70694 [non-C99-based standards] (ilogbl): Likewise.
70695 [non-C99-based standards] (log1pl): Likewise.
70696 [non-C99-based standards] (logbl): Likewise.
70697 [non-C99-based standards] (nextafterl): Likewise.
70698 [non-C99-based standards] (remainderl): Likewise.
70699 [non-C99-based standards] (rintl): Likewise.
70700 [non-C99-based standards] (scalbl): Likewise.
70701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70702 [non-C99-based standards] (FP_*): Do not allow.
70703 [C99-based standards] (FP_*): Change to
70704 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70705 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70706 allow.
70707 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70708 (SIG_ERR): Likewise.
70709 [X/Open-based standards] (SIG_HOLD): Likewise.
70710 (SIG_IGN): Likewise.
70711 (SIGABRT): Use macro-int-constant. Specify type. Require
70712 positive value.
70713 (SIGFPE): Likewise.
70714 (SIGILL): Likewise.
70715 (SIGINT): Likewise.
70716 (SIGSEGV): Likewise.
70717 (SIGTER): Likewise.
70718 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70719 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70720 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70721 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70722 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70723 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70724 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70725 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70726 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70727 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70728 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70729 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70730 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70731 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70732 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70733 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70734 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70735 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70736 [X/Open-based standards] (SIGTRAP): Likewise.
70737 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70738 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70739 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70740 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70741 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70742 allow.
70743
70744 2012-05-08 Ian Wienand <ianw@vmware.com>
70745
70746 [BZ #14080]
70747 * time/tzset.c (__tzset_parse_tz): Update default rules for
70748 daylight time changes in the Energy Policy Act of 2005.
70749
70750 2012-05-09 Andreas Jaeger <aj@suse.de>
70751
70752 [BZ #13983]
70753 * elf/ldconfig.c (parse_conf): Change string to make clear that
70754 ldconfig only issued a warning if ld.so.conf does not exist.
70755
70756 2012-05-08 David S. Miller <davem@davemloft.net>
70757
70758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70759 movxtod instead of popping the value on the stack.
70760
70761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70762
70763 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
70764
70765 * config.h.in: Add HAVE_ARM_PCS_VFP.
70766
70767 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
70768
70769 [BZ #13979]
70770 * include/features.h: Warn if user requests __FORTIFY_SOURCE
70771 checking but the checks are disabled for any reason.
70772
70773 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
70774
70775 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70776 and ELF64_R_TYPE with ELFW(R_TYPE).
70777
70778 2012-05-08 Joseph Myers <joseph@codesourcery.com>
70779
70780 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70781 (ulimit): Likewise.
70782
70783 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70784 (settimeofday): Likewise.
70785
70786 2012-05-08 Mike Frysinger <vapier@gentoo.org>
70787
70788 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
70789 a struct th_u2 inside the union, and move tu_block/tu_code into
70790 a new th_u3 union of tu_block/tu_code inside of that. Move
70791 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
70792 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
70793 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70794 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70795 (th_stuff): Change to th_u1.tu_stuff.
70796 (th_data): Define.
70797 (th_msg): Change to th_u1.th_u2.tu_data.
70798
70799 2012-05-07 David S. Miller <davem@davemloft.net>
70800
70801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70802
70803 [BZ #14074]
70804 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70805 (SETUP_PIC_REG): Use it.
70806 (SETUP_PIC_REG_LEAF): Use it.
70807
70808 2012-05-07 Joseph Myers <joseph@codesourcery.com>
70809
70810 [BZ #13885]
70811 [BZ #13923]
70812 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70813 USE_AS_EXPM1L.
70814 (EXPL_FINITE): Likewise.
70815 (FLDLOG): Likewise.
70816 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70817 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70818 e_expl.S.
70819 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70820 USE_AS_EXPM1L.
70821 (EXPL_FINITE): Likewise.
70822 (FLDLOG): Likewise.
70823 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70824 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70825 e_expl.S.
70826 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
70827 test of -max_value argument for long double.
70828 * sysdeps/i386/fpu/libm-test-ulps: Update.
70829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70830
70831 2012-05-06 David S. Miller <davem@davemloft.net>
70832
70833 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70834 quad soft-float symbols whose references which are compiler
70835 generated.
70836 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70837
70838 2012-05-06 Joseph Myers <joseph@codesourcery.com>
70839
70840 [BZ #13884]
70841 [BZ #13914]
70842 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70843 USE_AS_EXP10L.
70844 (EXPL_FINITE): Likewise.
70845 (FLDLOG): Likewise.
70846 (c0): Likewise.
70847 (c1): Likewise.
70848 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
70849 Adjust comments for base varying.
70850 (__expl_finite): Change alias to EXPL_FINITE.
70851 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70852 e_expl.S.
70853 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70854 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70855 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70856 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70857 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70858 USE_AS_EXP10L.
70859 (EXPL_FINITE): Likewise.
70860 (FLDLOG): Likewise.
70861 (c0): Likewise.
70862 (c1): Likewise.
70863 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
70864 Adjust comments for base varying.
70865 (__expl_finite): Change alias to EXPL_FINITE.
70866 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
70867 tests for bugs.
70868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70869
70870 [BZ #14064]
70871 * math/libm-test.inc (check_float_internal): Correct ulp
70872 calculation for subnormal expected results.
70873
70874 2012-05-06 Andreas Jaeger <aj@suse.de>
70875
70876 * Makeconfig (+math-flags): New, set to -frounding-math.
70877 (+cflags): Add +math-flags so that all of glibc gets compiled with
70878 it.
70879
70880 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70881
70882 2012-05-05 Joseph Myers <joseph@codesourcery.com>
70883
70884 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70885 Disable one test.
70886
70887 [BZ #13787]
70888 [BZ #13922]
70889 [BZ #14036]
70890 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70891 (__ieee754_expl): Allow for and saturate large arguments.
70892 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70893 (u_threshold): Likewise.
70894 (__exp): Call __ieee754_exp before checking for overflow and
70895 underflow.
70896 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70897 (u_threshold): Likewise.
70898 (__expf): Call __ieee754_expf before checking for overflow and
70899 underflow.
70900 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70901 (u_threshold): Likewise.
70902 (__expl): Call __ieee754_expl before checking for overflow and
70903 underflow.
70904 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70905 (__ieee754_expl): Allow for and saturate large arguments.
70906 * math/libm-test.inc (exp_test): Add another test. Do not allow
70907 missing overflow exception on overflow.
70908 (expm1_test): Do not allow missing overflow exception on overflow.
70909
70910 * sysdeps/i386/fpu/e_expl.c: Move to ...
70911 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
70912 rather than using inline asm.
70913 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70914 * sysdeps/x86_64/fpu/e_expl.S: Copy from
70915 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70916
70917 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70918 (nice): Likewise.
70919 (poll): Likewise.
70920 (signal): Likewise.
70921 (time): Likewise.
70922 (times): Likewise.
70923
70924 2012-05-04 Joseph Myers <joseph@codesourcery.com>
70925
70926 * sysdeps/unix/syscalls.list (adjtime): Add entry from
70927 sysdeps/unix/common/syscalls.list.
70928 (fchmod): Likewise.
70929 (fchown): Likewise.
70930 (ftruncate): Likewise.
70931 (getrusage): Likewise.
70932 (gettimeofday): Likewise.
70933 (setpgid): Likewise.
70934 (setregid): Likewise.
70935 (setreuid): Likewise.
70936 (sigaction): Likewise.
70937 (truncate): Likewise.
70938 (vhangup): Likewise.
70939 * sysdeps/unix/common/syscalls.list: Remove file.
70940 * sysdeps/unix/bsd/Implies: Don't include unix/common.
70941 * sysdeps/unix/sysv/linux/Implies: Likewise.
70942
70943 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
70944
70945 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70947 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70948 Moved to ...
70949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70950 Here.
70951 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70952 to ...
70953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70954 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70955 to ...
70956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70957 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70958 to ...
70959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70960 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70961 to ...
70962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70963 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70964 to ...
70965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70966 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70967 to ...
70968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70969 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70970 to ...
70971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70972 Here.
70973 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70974 to ...
70975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70976 Here.
70977 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70978 to ...
70979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70980 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70981 Moved to ...
70982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70983 Here.
70984 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70985 to ...
70986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70987
70988 2012-05-04 Joseph Myers <joseph@codesourcery.com>
70989
70990 * sysdeps/unix/common/bits/dirent.h: Remove file.
70991 * sysdeps/unix/common/bits/fcntl.h: Likewise.
70992
70993 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70994 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70995 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70996 * sysdeps/unix/bsd/isatty.c: Likewise.
70997 * sysdeps/unix/bsd/tcdrain.c: Likewise.
70998 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70999 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
71000
71001 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71002
71003 [BZ #13563]
71004 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
71005 long double comparison inaccuracies.
71006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
71007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71008
71009 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
71010
71011 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
71012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
71013
71014 2012-05-04 Joseph Myers <joseph@codesourcery.com>
71015
71016 [BZ #14049]
71017 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
71018 nonzero digits before rounding a hex value.
71019 * stdlib/tst-strtod.c (tests): Add another test.
71020
71021 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71022
71023 * sysdeps/s390/fpu/libm-test-ulps: Update.
71024
71025 2012-05-03 Andreas Jaeger <aj@suse.de>
71026
71027 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
71028 does not get optimized out.
71029 (malloc_opt_barrier): New.
71030
71031 2012-05-03 Andreas Jaeger <aj@suse.de>
71032 Roland McGrath <roland@hack.frob.com>
71033
71034 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
71035 intermediate file deletion.
71036 (generated): Add .symlist files.
71037
71038 2012-05-03 Joseph Myers <joseph@codesourcery.com>
71039
71040 [BZ #13775]
71041 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
71042 Redirect under this condition.
71043 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
71044 [__USE_GNU] (__dprintf_chk): Not under this condition.
71045 [__USE_GNU] (__vdprintf_chk): Likewise.
71046 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
71047 under this condition.
71048 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
71049 [__USE_XOPEN2K8] (dprintf): Define under this condition.
71050 [__USE_XOPEN2K8] (vdprintf): Likewise.
71051 [__USE_GNU] (__dprintf_chk): Not under this condition.
71052 [__USE_GNU] (__vdprintf_chk): Likewise.
71053 [__USE_GNU] (dprintf): Likewise.
71054 [__USE_GNU] (vdprintf): Likewise.
71055
71056 2012-05-03 Roland McGrath <roland@hack.frob.com>
71057
71058 * elf/Makefile (common-generated): Set this instead of generated for
71059 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
71060 $(all-built-dso)-derived lists.
71061
71062 2012-05-03 Andreas Jaeger <aj@suse.de>
71063
71064 * sysdeps/i386/fpu/libm-test-ulps: Update.
71065
71066 * FAQ: Removed.
71067 * FAQ.in: Likewise.
71068 * scripts/gen-FAQ.pl: Likewise.
71069 * manual/install.texi (Installation): Point to online location of
71070 FAQ.
71071 * Makefile (files-for-dist): Remove FAQ.
71072 (FAQ): Remove.
71073
71074 2012-05-02 Allan McRae <allan@archlinux.org>
71075
71076 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
71077 (LDFLAGS-reldepmod5.so): Likewise.
71078 (LDFLAGS-reldep6mod1.so): Likewise.
71079 (LDFLAGS-reldep6mod4.so): Likewise.
71080 (LDFLAGS-reldep8mod3.so): Likewise.
71081 (LDFLAGS-unload4mod1.so): Likewise.
71082 (LDFLAGS-unload4mod2.so): Likewise.
71083 (LDFLAGS-tst-initorder): Likewise.
71084 (LDFLAGS-tst-initordera2.so): Likewise.
71085 (LDFLAGS-tst-initordera3.so): Likewise.
71086 (LDFLAGS-tst-initordera4.so): Likewise.
71087 (LDFLAGS-tst-initorderb2.so): Likewise.
71088 (LDFLAGS-noload): Likewise.
71089 (LDFLAGS-next): Likewise.
71090 (LDFLAGS-order2mod1.so): Likewise.
71091 (LDFLAGS-order2mod2.so): Likewise.
71092 (LDFLAGS-tst-initorder2): Likewise.
71093 (LDFLAGS-tst-initorder2a.so): Likewise.
71094 (LDFLAGS-tst-initorder2b.so): Likewise.
71095 (LDFLAGS-tst-initorder2c.so): Likewise.
71096 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
71097
71098 2012-05-02 David S. Miller <davem@davemloft.net>
71099
71100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71101
71102 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
71103
71104 [BZ #14055]
71105 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
71106
71107 2012-05-02 Andreas Jaeger <aj@suse.de>
71108
71109 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
71110 since we manipulate rounding mode.
71111 (CPPFLAGS-test-idouble.c): Likewise.
71112 (CPPFLAGS-test-ifloat.c): Likewise.
71113 (CFLAGS-test-ldouble.c): Likewise.
71114 (CFLAGS-test-double.c): Likewise.
71115 (CFLAGS-test-float.c): Likewise.
71116 (CFLAGS-test-misc.c): Likewise.
71117 (CFLAGS-test-test-fenv.c): Likewise.
71118
71119 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71120
71121 [BZ #2550]
71122 [BZ #2570]
71123 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
71124 comparisons to determine direction to adjust input.
71125
71126 2012-05-01 Roland McGrath <roland@hack.frob.com>
71127
71128 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
71129 output to the target.
71130
71131 * scripts/localplt.awk: New file.
71132 * elf/Makefile ($(objpfx)check-localplt): Target removed.
71133 (check-localplt-CFLAGS): Variable removed.
71134 ($(all-built-dso:=.jmprel)): New static pattern rule.
71135 (generated): Add those targets.
71136 (localplt-built-dso): New variable.
71137 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
71138
71139 * elf/check-localplt.c: File removed.
71140
71141 * scripts/check-execstack.awk: New file.
71142 * elf/Makefile ($(objpfx)check-execstack): Target removed.
71143 (check-execstack-CFLAGS): Variable removed.
71144 ($(objpfx)check-execstack.h): Target removed.
71145 ($(objpfx)execstack-default): New target.
71146 (generated): Add that instead of check-execstack.h.
71147 ($(all-built-dso:=.phdr)): New static pattern rule.
71148 (generated): Add those targets.
71149 * elf/check-execstack.c: File removed.
71150
71151 * scripts/check-textrel.awk: New file.
71152 * elf/Makefile ($(objpfx)check-textrel): Target removed.
71153 (check-textrel-CFLAGS): Variable removed.
71154 (all-built-dso): Use := to define.o
71155 ($(all-built-dso:=.dyn)): New static pattern rule.
71156 (generated): Add those targets.
71157 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
71158 * config.make.in (READELF): New substituted variable.
71159 * elf/check-textrel.c: File removed.
71160
71161 2012-05-01 Joseph Myers <joseph@codesourcery.com>
71162
71163 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71164 allow.
71165 * conform/data/ctype.h-data [C99-based standards] (isblank):
71166 Expect function.
71167 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
71168 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
71169 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71170 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
71171 Specify type. Require positive value.
71172 (EILSEQ): Likewise.
71173 (ERANGE): Likewise.
71174 [ISO || POSIX] (EILSEQ): Do not expect.
71175 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
71176 Specify type. Require positive value.
71177 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
71178 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
71179 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
71180 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
71181 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
71182 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
71183 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
71184 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
71185 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
71186 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
71187 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
71188 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
71189 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
71190 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
71191 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
71192 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
71193 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
71194 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
71195 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
71196 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
71197 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
71198 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
71199 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
71200 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
71201 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
71202 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
71203 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
71204 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
71205 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
71206 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
71207 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
71208 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
71209 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
71210 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
71211 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
71212 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
71213 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
71214 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
71215 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
71216 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
71217 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
71218 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
71219 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
71220 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
71221 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
71222 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
71223 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
71224 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
71225 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
71226 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
71227 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
71228 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
71229 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
71230 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
71231 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
71232 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
71233 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
71234 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
71235 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
71236 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
71237 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
71238 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
71239 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
71240 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
71241 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
71242 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
71243 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
71244 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
71245 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
71246 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
71247 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
71248 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
71249 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
71250 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
71251 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
71252 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
71253 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
71254 Require >= 2.
71255 (FLT_ROUNDS): Expect as macro, not constant.
71256 (FLT_MANT_DIG): Use macro-int-constant.
71257 (DBL_MANT_DIG): Likewise.
71258 (LDBL_MANT_DIG): Likewise.
71259 (FLT_DIG): Likewise.
71260 (DBL_DIG): Likewise.
71261 (LDBL_DIG): Likewise.
71262 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
71263 (DBL_MIN_EXP): Likewise.
71264 (LDBL_MIN_EXP): Likewise.
71265 (FLT_MAX_EXP): Use macro-int-constant.
71266 (DBL_MAX_EXP): Likewise.
71267 (LDBL_MAX_EXP): Likewise.
71268 (FLT_MAX_10_EXP): Likewise.
71269 (DBL_MAX_10_EXP): Likewise.
71270 (LDBL_MAX_10_EXP): Likewise.
71271 (FLT_MAX): Use macro-constant.
71272 (DBL_MAX): Likewise.
71273 (LDBL_MAX): Likewise.
71274 (FLT_EPSILON): Use macro-constant. Give upper bound.
71275 (DBL_EPSILON): Likewise.
71276 (LDBL_EPSILON): Likewise.
71277 (FLT_MIN): Likewise.
71278 (DBL_MIN): Likewise.
71279 (LDBL_MIN): Likewise.
71280 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
71281 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
71282 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
71283 [ISO11] (FLT_HAS_SUBNORM): Likewise.
71284 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
71285 [ISO11] (DBL_DECIMAL_DIG): Likewise.
71286 [ISO11] (FLT_DECIMAL_DIG): Likewise.
71287 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
71288 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
71289 [ISO11] (FLT_TRUE_MIN): Likewise.
71290 [ISO11] (LDBL_TRUE_MIN): Likewise.
71291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71292 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
71293 (SCHAR_MIN): Use macro-int-constant. Specify type.
71294 (SCHAR_MAX): Likewise.
71295 (UCHAR_MAX): Likewise.
71296 (CHAR_MIN): Likewise.
71297 (CHAR_MAX): Likewise.
71298 (MB_LEN_MAX): Use macro-int-constant.
71299 (SHRT_MIN): Use macro-int-constant. Specify type.
71300 (SHRT_MAX): Likewise.
71301 (USHRT_MAX): Likewise.
71302 (INT_MAX): Likewise.
71303 (INT_MIN): Use macro-int-constant. Specify type. Make upper
71304 bound negative.
71305 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
71306 bound with "U".
71307 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
71308 bound with "L".
71309 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
71310 bound negative. Suffix upper bound with "L".
71311 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
71312 bound with "UL".
71313 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
71314 Specify type.
71315 [C99-based standards] (LLONG_MAX): Likewise.
71316 [C99-based standards] (ULLONG_MAX): Likewise.
71317 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
71318 == 0.
71319 [ISO11] (max_align_t): Require type.
71320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71321
71322 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
71323 from $CFLAGS, without defining away __attribute__ calls.
71324 (checknamespace): Use $CFLAGS_namespace.
71325
71326 * conform/conformtest.pl (@keywords): Only include C99 keywords
71327 for standards based on C99 or C11.
71328
71329 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
71330 Disable tests.
71331 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
71332 UNIX98]: Likewise.
71333
71334 * conform/conformtest.pl: Handle "macro-int-constant" and test for
71335 usability of symbols in #if.
71336
71337 * conform/conformtest.pl: If macro or constant types start
71338 "promoted:", expect the symbol to be of the following type
71339 promoted by the integer promotions.
71340
71341 * conform/conformtest.pl: Parse all "constant" and "macro" lines
71342 in one place. Also handle "macro-constant".
71343
71344 * conform/conformtest.pl: Only accept expected macro values with
71345 "==". Parse all "macro" lines in one place.
71346 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
71347
71348 * conform/conformtest.pl: Handle braced types on "constant" lines
71349 instead of handling "typed-constant".
71350 * conform/data/signal.h-data: Use "constant" instead of
71351 "typed-constant".
71352
71353 * conform/conformtest.pl: Handle "optional-" at start of lines in
71354 one place rather than duplicating several cases. Handle each
71355 format of "macro" line with initial "optional-".
71356
71357 * conform/conformtest.pl: Only accept expected constant or
71358 optional-constant values with "==". Parse all "constant" lines in
71359 one place. Parse all "optional-constant" lines in one place.
71360 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
71361 * conform/data/fmtmsg.h-data: Likewise.
71362 * conform/data/netinet/in.h-data: Likewise.
71363 * conform/data/tar.h-data: Likewise.
71364 * conform/data/limits.h-data: Use "==" form on "constant" and
71365 "optional-constant" lines.
71366
71367 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
71368 Use -std=c99 for XOPEN2K.
71369 (@knownproblems): Remove.
71370 (newtoken): Don't check %isknown.
71371
71372 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
71373 Do not expect macro.
71374 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
71375 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
71376 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
71377 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
71378 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
71379 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
71380 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
71381 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
71382 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
71383 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
71384 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
71385 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
71386 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
71387 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
71388 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
71389 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
71390 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
71391 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
71392 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
71393 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
71394 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
71395 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
71396 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
71397 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
71398 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
71399 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
71400 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
71401 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
71402 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
71403 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
71404 [XPG3] (acosh): Likewise.
71405 [XPG3] (asinh): Likewise.
71406 [XPG3] (atanh): Likewise.
71407 [XPG3] (cbrt): Likewise.
71408 [XPG3] (expm1): Likewise.
71409 [XPG3] (ilogb): Likewise.
71410 [XPG3] (log1p): Likewise.
71411 [XPG3] (logb): Likewise.
71412 [XPG3] (nextafter): Likewise.
71413 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
71414 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
71415 [XPG3] (remainder): Likewise.
71416 [XPG3] (rint): Likewise.
71417 [XPG3 || XPG4 || UNIX98] (round): Likewise.
71418 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
71419 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
71420 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
71421 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
71422 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
71423 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
71424 [UNIX98 || XOPEN2K] (scalb): Expect.
71425 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
71426 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
71427 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
71428 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
71429 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
71430 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
71431 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
71432 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
71433 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
71434 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
71435 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
71436 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
71437 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
71438 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
71439 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
71440 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
71441 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
71442 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
71443 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
71444 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
71445 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
71446 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
71447 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
71448 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
71449 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
71450 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
71451 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
71452 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
71453 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
71454 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
71455 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
71456 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
71457 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
71458 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
71459 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
71460 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
71461 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
71462 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
71463 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
71464 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
71465 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
71466 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
71467 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
71468 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
71469 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
71470 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
71471 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
71472 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
71473 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
71474 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
71475 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
71476 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
71477 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
71478 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
71479 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
71480 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
71481 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
71482 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
71483 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
71484 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
71485 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
71486 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
71487 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
71488 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
71489 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
71490 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
71491 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
71492 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
71493 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
71494 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
71495 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
71496 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
71497 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
71498 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
71499 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
71500 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
71501 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
71502 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
71503 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
71504 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
71505 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
71506 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
71507 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
71508 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
71509 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
71510 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
71511 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
71512 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
71513 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
71514 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
71515 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
71516 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
71517 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
71518 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
71519 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
71520 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
71521 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
71522 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
71523 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
71524 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
71525 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
71526 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
71527 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
71528 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
71529 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
71530 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
71531 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
71532 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
71533 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
71534 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
71535 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
71536 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
71537 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
71538 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
71539 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
71540 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
71541 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
71542 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
71543 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
71544 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
71545 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
71546 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
71547 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
71548 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
71549 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
71550 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
71551 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
71552 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
71553 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
71554 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
71555 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
71556 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
71557 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
71558 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
71559 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
71560 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
71561 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
71562
71563 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
71564 _XOPEN_SOURCE_EXTENDED for XPG4.
71565
71566 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
71567
71568 * Makeconfig (localtime): Remove variable.
71569 (inst_localtime-file): Likewise.
71570
71571 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
71572
71573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
71574 Update.
71575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71576 Update.
71577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71578 Update.
71579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71580 Update.
71581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71582 Update.
71583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71584 Update.
71585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71586 Update.
71587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71588 Update.
71589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71590 Update.
71591
71592 2012-05-01 Joseph Myers <joseph@codesourcery.com>
71593
71594 [BZ #2550]
71595 [BZ #2570]
71596 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71597 comparisons to determine direction to adjust input.
71598 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71599 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71600 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71601 Likewise.
71602 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71603 Likewise.
71604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71605 Likewise.
71606 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71607 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71608 Likewise.
71609 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71610 Likewise.
71611 * math/libm-test.inc (nexttoward_test): Add more tests.
71612
71613 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
71614
71615 [BZ #14040]
71616 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71617 in version GLIBC_2.1, not GLIBC_2.0.
71618 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71619 Likewise.
71620
71621 2012-04-30 Joseph Myers <joseph@codesourcery.com>
71622
71623 [BZ #13942]
71624 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71625 (1 - x) * (1 + x).
71626 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71627 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71628 * math/libm-test.inc (acos_test): Add more tests.
71629 (asin_test): Likewise.
71630 * sysdeps/i386/fpu/libm-test-ulps: Update.
71631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71632
71633 [BZ #14034]
71634 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71635 of square root.
71636 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71637 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71638 * math/libm-test.inc (acos_test_tonearest): New function.
71639 (acos_test_towardzero): Likewise.
71640 (acos_test_downward): Likewise.
71641 (acos_test_upward): Likewise.
71642 (asin_test_tonearest): Likewise.
71643 (asin_test_towardzero): Likewise.
71644 (asin_test_downward): Likewise.
71645 (asin_test_upward): Likewise.
71646 (main): Call the new functions.
71647 * sysdeps/i386/fpu/libm-test-ulps: Update.
71648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71649
71650 [BZ #13884]
71651 [BZ #13924]
71652 * math/e_exp10.c: Include <float.h>.
71653 (__ieee754_exp10): Handle underflow here rather than multiplying
71654 large negative argument by M_LN10.
71655 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71656 of __ieee754_expf.
71657 * math/e_exp10l.c: Include <float.h>.
71658 (__ieee754_exp10l): Handle underflow here rather than multiplying
71659 large negative argument by M_LN10l.
71660 * math/libm-test.inc (exp10_test): Add another test. Do not allow
71661 spurious overflow exception on underflow.
71662
71663 2012-04-29 Marek Polacek <polacek@redhat.com>
71664
71665 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71666 (__fortify_function): New macro.
71667 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71668 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71669 __extern_always_inline.
71670 * libio/bits/stdio2.h: Likewise.
71671 * libio/bits/stdio.h: Likewise.
71672 * string/string.h: Likewise.
71673 * string/bits/string3.h: Likewise.
71674 * include/stdio.h: Likewise.
71675 * stdlib/bits/stdlib.h: Likewise.
71676 * stdlib/stdlib.h: Likewise.
71677 * rt/bits/mqueue2.h: Likewise.
71678 * rt/mqueue.h: Likewise.
71679 * posix/bits/unistd.h: Likewise.
71680 * posix/unistd.h: Likewise.
71681 * io/bits/poll2.h: Likewise.
71682 * io/bits/fcntl2.h: Likewise.
71683 * io/fcntl.h: Likewise.
71684 * io/sys/poll.h: Likewise.
71685 * misc/bits/syslog.h: Likewise.
71686 * misc/bits/syslog-ldbl.h: Likewise.
71687 * misc/sys/syslog.h: Likewise.
71688 * socket/bits/socket2.h: Likewise.
71689 * socket/sys/socket.h: Likewise.
71690 * debug/tst-chk1.c: Likewise.
71691 * wcsmbs/bits/wchar2.h: Likewise.
71692 * wcsmbs/bits/wchar-ldbl.h: Likewise.
71693 * wcsmbs/wchar.h: Likewise.
71694
71695 2012-04-29 Andreas Jaeger <aj@suse.de>
71696
71697 * Makerules (tests): Remove enable-check-abi protection.
71698 (check-abi-warn): Remove.
71699 (check-abi-%): Remove check-abi-warn usage.
71700
71701 * configure.in: Remove check-abi configure option.
71702 * configure: Regenerated.
71703 * config.make.in (enable-check-abi): Remove.
71704
71705 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
71706
71707 [BZ #14033]
71708 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71709 double functions to double *_finite functions.
71710
71711 [BZ #13941]
71712 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71713 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71714 LDBL_MIN_EXP.
71715 * stdio-common/Makefile (tests): Add tst-sprintf3.
71716 * stdio-common/tst-sprintf3.c: New file.
71717
71718 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71719 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71720
71721 2012-04-28 Joseph Myers <joseph@codesourcery.com>
71722
71723 * conform/conformtest.pl: Remove duplicate typed-constant
71724 handling.
71725
71726 2012-04-28 David S. Miller <davem@davemloft.net>
71727
71728 * Makerules (%.abilist): Add vpath on sysdep_dirs.
71729 (check-abi-%): Remove AWK script prerequisite and explicit
71730 abilist directory.
71731 (check-abi): Rewrite to just diff the symlist with the abilist.
71732 (config-tls, config-abi-config): Delete, no longer used.
71733 (update-abi-%): Remove AWK script and explicit abilist directory.
71734 (update-abi): Rewrite to simply compare and conditionally copy the
71735 symlist and the sysdep abilist file. Remove update-abi-config
71736 checks.
71737 * abilist/ld.abilist: Remove.
71738 * abilist/libBrokenLocale.abilist: Remove.
71739 * abilist/libanl.abilist: Remove.
71740 * abilist/libcrypt.abilist: Remove.
71741 * abilist/libdl.abilist: Remove.
71742 * abilist/librt.abilist: Remove.
71743 * abilist/libthread_db.abilist: Remove.
71744 * abilist/libutil.abilist: Remove.
71745 * scripts/extract-abilist.awk: Remove.
71746 * scripts/merge-abilist.awk: Remove.
71747 * sysdeps/generic/libcidn.abilist: New file.
71748 * sysdeps/generic/libnss_compat.abilist: New file.
71749 * sysdeps/generic/libnss_db.abilist: New file.
71750 * sysdeps/generic/libnss_dns.abilist: New file.
71751 * sysdeps/generic/libnss_files.abilist: New file.
71752 * sysdeps/generic/libnss_hesiod.abilist: New file.
71753 * sysdeps/generic/libnss_nis.abilist: New file.
71754 * sysdeps/generic/libnss_nisplus.abilist: New file.
71755 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71756 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71757 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71758 file.
71759 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71760 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71761 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71762 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71763 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71764 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71765 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71766 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71767 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71768 file.
71769 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71770 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71771 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71772 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71773 file.
71774 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71775 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71776 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71777 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71778 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71779 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71780 file.
71781 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71782 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71783 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71784 file.
71785 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71787 New file.
71788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71789 New file.
71790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71791 New file.
71792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71793 New file.
71794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71795 New file.
71796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71797 New file.
71798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71799 New file.
71800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71801 New file.
71802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71803 New file.
71804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71805 New file.
71806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71807 New file.
71808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71809 New file.
71810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71811 New file.
71812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71813 file.
71814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71815 New file.
71816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71817 New file.
71818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71819 file.
71820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71821 New file.
71822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71823 New file.
71824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71825 file.
71826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71827 New file.
71828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71829 New file.
71830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71831 New file.
71832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71833 New file.
71834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71835 New file.
71836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71837 New file.
71838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71840 file.
71841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71842 New file.
71843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71844 file.
71845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71846 file.
71847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71848 file.
71849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71850 file.
71851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71852 file.
71853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71854 New file.
71855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71856 file.
71857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71858 file.
71859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71860 New file.
71861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71862 file.
71863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71865 file.
71866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71867 New file.
71868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71869 file.
71870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71871 file.
71872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71873 file.
71874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71875 file.
71876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71877 file.
71878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71879 New file.
71880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71881 file.
71882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71883 file.
71884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71885 New file.
71886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71887 file.
71888 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71889 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71890 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71891 file.
71892 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71893 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71894 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71895 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71896 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71897 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71898 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71899 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71900 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71901 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71904 file.
71905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71906 New file.
71907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71908 file.
71909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71910 file.
71911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71912 file.
71913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71914 file.
71915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71916 file.
71917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71918 New file.
71919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71920 New file.
71921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71922 file.
71923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71924 New file.
71925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71926 file.
71927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71929 file.
71930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71931 New file.
71932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71933 file.
71934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71935 file.
71936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71937 file.
71938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71939 file.
71940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71941 file.
71942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71943 New file.
71944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71945 New file.
71946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71947 file.
71948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71949 New file.
71950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71951 file.
71952
71953 2012-04-28 Joseph Myers <joseph@codesourcery.com>
71954
71955 * conform/conformtest.pl: Fix typo in handling typed-constant from
71956 allow-header.
71957
71958 2012-04-27 Joseph Myers <joseph@codesourcery.com>
71959
71960 * README: Cut down references to pre-2.6 Linux kernels and
71961 Linuxthreads. Update lists of configurations in libc and ports
71962 and sort alphabetically. Say "or newer" with Linux kernel version
71963 requirements.
71964
71965 * config.h.in [IS_IN_build]: Allow compiling without optimization.
71966
71967 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
71968
71969 [BZ #887]
71970 * math/libm-test.inc (logb_test_downward): New test to expose
71971 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71972 rounding mode.
71973
71974 2012-04-27 Joseph Myers <joseph@codesourcery.com>
71975
71976 [BZ #14027]
71977 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71978 to be done.
71979 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71980 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71981
71982 2012-04-26 Joseph Myers <joseph@codesourcery.com>
71983
71984 * sysdeps/unix/i386/brk.S: Remove file.
71985 * sysdeps/unix/i386/dl-brk.S: Likewise.
71986 * sysdeps/unix/i386/pipe.S: Likewise.
71987 * sysdeps/unix/i386/sigreturn.S: Likewise.
71988 * sysdeps/unix/i386/syscall.S: Likewise.
71989 * sysdeps/unix/i386/vfork.S: Likewise.
71990 * sysdeps/unix/i386/wait.S: Likewise.
71991
71992 * sysdeps/unix/common/tcsendbrk.c: Move to ...
71993 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71994
71995 * configure.in (arm*-none*): Do not allow without
71996 --enable-hacker-mode.
71997 (netbsd*): Remove case setting base_os.
71998 (386bsd*): Likewise.
71999 (freebsd*): Likewise.
72000 (bsdi*): Likewise.
72001 (osf*): Likewise.
72002 (sunos*): Likewise.
72003 (ultrix*): Likewise.
72004 (newsos*): Likewise.
72005 (dynix*): Likewise.
72006 (*bsd*): Likewise.
72007 (sysv*): Likewise.
72008 (isc*): Likewise.
72009 (esix*): Likewise.
72010 (sco*): Likewise.
72011 (minix*): Likewise.
72012 (irix4*): Likewise.
72013 (irix6*): Likewise.
72014 (solaris[2-9]*): Likewise.
72015 (none): Likewise.
72016 * configure: Regenerated.
72017
72018 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72019
72020 [BZ #11521]
72021 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
72022 overflow or cancellation in calculating denominator.
72023 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
72024 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
72025 down expression to avoid unexpected rounding in newer GCCs.
72026 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
72027
72028 2012-04-26 David S. Miller <davem@davemloft.net>
72029
72030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
72031 long-double compat symbols.
72032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
72036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
72038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
72039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
72040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
72041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
72042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
72043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
72044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72045
72046 2012-04-25 David S. Miller <davem@davemloft.net>
72047
72048 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
72049 HWCAP_* values only after the memory barriers have been defined.
72050 (atomic_full_barrier): Define.
72051 (atomic_read_barrier): Define.
72052 (atomic_write_barrier): Define.
72053
72054 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
72055
72056 * shlib-versions: Add libgcc_s version information.
72057 * sysdeps/generic/libgcc_s.h: Remove.
72058 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
72059 libgcc_s.h.
72060 * sysdeps/gnu/unwind-resume.c: Likewise.
72061 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
72062
72063 2012-04-25 David S. Miller <davem@davemloft.net>
72064
72065 * sysdeps/unix/sparc/brk.S: Delete.
72066 * sysdeps/unix/sparc/dl-brk.S: Delete.
72067 * sysdeps/unix/sparc/pipe.S: Delete.
72068 * sysdeps/unix/sparc/sysdep.S: Delete.
72069 * sysdeps/unix/sparc/sysdep.h: Delete.
72070 * sysdeps/unix/sparc/vfork.S: Delete.
72071 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
72072 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
72073 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
72074 (ret_ERRVAL, r0, r1, MOVE): Define.
72075 (JUMPTARGET): Remove.
72076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
72077 sysdeps/unix/sparc/sysdep.h
72078 (ENTRY, END): Remove.
72079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72080
72081 2012-04-25 Joseph Myers <joseph@codesourcery.com>
72082
72083 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
72084 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
72085 -DIS_IN_build.
72086
72087 * timezone/README: Update upstream location and email address for
72088 tzcode and tzdata.
72089 * timezone/zdump.c: Update from tzcode 2012b.
72090 * timezone/zic.c: Likewise.
72091
72092 * configure.in (libc_cv_as_needed): Remove test.
72093 * configure: Regenerated.
72094 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
72095 conditional definition.
72096 [$(have-as-needed) != yes] (no-as-needed): Likewise.
72097 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
72098 * config.make.in (have-as-needed): Remove variable.
72099
72100 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
72101 Paul Pluzhnikov <ppluzhnikov@google.com>
72102
72103 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
72104 strings correctly.
72105
72106 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
72107
72108 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
72109 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
72110 * sysdeps/sh/strlen.S: Likewise.
72111
72112 2012-04-24 Joseph Myers <joseph@codesourcery.com>
72113
72114 * sysdeps/unix/fork.S: Remove file.
72115 * sysdeps/unix/i386/fork.S: Likewise.
72116 * sysdeps/unix/sparc/fork.S: Likewise.
72117
72118 * sysdeps/unix/system.c: Remove file.
72119 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
72120
72121 * sysdeps/unix/getegid.S: Remove file.
72122 * sysdeps/unix/geteuid.S: Likewise.
72123
72124 2012-04-24 Roland McGrath <roland@hack.frob.com>
72125
72126 * scripts/check-localplt.awk: New file.
72127 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
72128 of diff.
72129 * scripts/data/localplt-generic.data: Add a comment.
72130
72131 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
72132 NODE when __dir_mkfile failed.
72133 * sysdeps/mach/hurd/symlinkat.c: Likewise.
72134 Reported by Ludovic Courtès <ludo@gnu.org>.
72135
72136 2012-04-24 Andreas Jaeger <aj@suse.de>
72137
72138 * Makerules (common-clean): Also remove gen-as-const-headers
72139 files.
72140
72141 2012-04-24 Joseph Myers <joseph@codesourcery.com>
72142
72143 * Makerules (native-compile): Do not change working directory for
72144 build. Use $(OUTPUT_OPTION) in command.
72145 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
72146
72147 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72148
72149 [BZ #13886]
72150 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
72151 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
72152 * math/libm-test.inc (floor_test): Add more tests.
72153 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
72154
72155 2012-04-24 Joseph Myers <joseph@codesourcery.com>
72156
72157 * sysdeps/unix/getdents.c: Remove file.
72158 * sysdeps/unix/sysv/getdents.c: Likewise.
72159 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
72160
72161 * sysdeps/unix/syscalls.list (madvise): Add syscall from
72162 sysdeps/unix/mman/syscalls.list.
72163 (mmap): Likewise.
72164 (mprotect): Likewise.
72165 (msync): Likewise.
72166 (munmap): Likewise.
72167 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
72168 * sysdeps/unix/mman/syscalls.list: Remove.
72169 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
72170
72171 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
72172 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
72173 * configure: Regenerated.
72174 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
72175 $(libgcc_s_suffix).
72176 * config.make.in (libgcc_s_suffix): Remove variable.
72177
72178 2012-04-23 Joseph Myers <joseph@codesourcery.com>
72179
72180 * sysdeps/unix/sysv/gethostname.c: Move to ...
72181 * sysdeps/posix/gethostname.c: ... here.
72182
72183 * sysdeps/unix/execve.S: Remove file.
72184
72185 * sysdeps/unix/_exit.S: Remove file.
72186
72187 2012-04-23 Andreas Jaeger <aj@suse.de>
72188
72189 [BZ #13739]
72190 * manual/Makefile: Remove make dist support, there's no
72191 need for a stand-alone documentation tar ball.
72192 (TEXI2DVI): Define always, it's not in Makeconfig.
72193 (dist): Removed.
72194 (tar-it): Removed.
72195 (edition): Removed.
72196 (glibc-doc-$(edition).tar): Removed
72197 (%.Z): Removed.
72198 (%.gz): Removed.
72199 (%.uu): Removed.
72200 (ETAGS): Remove, it's in Makeconfig.
72201 (move-if-change): Remove, it's in Makeconfig.
72202
72203 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
72204
72205 [BZ #13970]
72206 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
72207 (strtod, strtof, strtold, strtol, strtoul, strtoq)
72208 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
72209 (strtod_l, strtof_l, strtold_l): Remove __wur.
72210 It is not necessarily an error to ignore strtol's return value.
72211 One can reliably look at the stored endptr to decide whether
72212 the number had valid syntax.
72213
72214 2012-04-21 Andreas Jaeger <aj@suse.de>
72215
72216 [BZ #13739]
72217 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
72218
72219 2012-04-21 Joseph Myers <joseph@codesourcery.com>
72220
72221 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
72222 * sysdeps/unix/sysv/Versions: Remove file.
72223
72224 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
72225
72226 [BZ #13927]
72227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72228
72229 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
72230
72231 [BZ #7064]
72232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
72233 version from __vm86.
72234
72235 2012-04-20 Joseph Myers <joseph@codesourcery.com>
72236
72237 * sysdeps/unix/common/lxstat.c: Remove file.
72238 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
72239
72240 * sysdeps/unix/sysv/Makefile: Remove file.
72241
72242 * sysdeps/unix/sysv/direct.h: Remove file.
72243
72244 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
72245 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
72246 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
72247 * sysdeps/unix/sysv/bits/signum.h: Likewise.
72248 * sysdeps/unix/sysv/bits/stat.h: Likewise.
72249 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
72250 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
72251
72252 * sysdeps/unix/sysv/setrlimit.c: Remove file.
72253
72254 * sysdeps/unix/xmknod.c: Remove file.
72255 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
72256
72257 * sysdeps/unix/sysv/settimeofday.c: Remove file.
72258
72259 * sysdeps/unix/sysv/i386/time.S: Remove file.
72260
72261 * sysdeps/unix/fxstat.c: Remove file.
72262 * sysdeps/unix/xstat.c: Likewise.
72263 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
72264
72265 * sysdeps/unix/sysv/sigaction.c: Remove file.
72266
72267 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
72268 (sysdep_headers): Remove variable.
72269 [termio.h not in sysdep_headers] (generated): Likewise.
72270 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
72271 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
72272 * sysdeps/unix/sysv/tcdrain.c: Likewise.
72273 * sysdeps/unix/sysv/tcflow.c: Likewise.
72274 * sysdeps/unix/sysv/tcflush.c: Likewise.
72275 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
72276 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
72277 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
72278 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
72279 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
72280
72281 * sysdeps/unix/siglist.c: Remove file.
72282
72283 * sysdeps/unix/getppid.S: Remove file.
72284
72285 * sysdeps/unix/mkdir.c: Remove file.
72286 * sysdeps/unix/rmdir.c: Likewise.
72287
72288 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
72289
72290 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
72291 ERR_MAX value.
72292 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
72293 errlist-compat value.
72294
72295 2012-04-18 David S. Miller <davem@davemloft.net>
72296
72297 * sysdeps/generic/memcopy.h (reg_char): Delete.
72298 * debug/strcat_chk.c: Use char, not reg_char.
72299 * debug/strcpy_chk.c: Likewise.
72300 * debug/strncat_chk.c: Likewise.
72301 * debug/strncpy_chk.c: Likewise.
72302 * string/memchr.c: Likewise.
72303 * string/memrchr.c: Likewise.
72304 * string/rawmemchr.c: Likewise.
72305 * string/strcat.c: Likewise.
72306 * string/strchr.c: Likewise.
72307 * string/strchrnul.c: Likewise.
72308 * string/strcmp.c: Likewise.
72309 * string/strcpy.c: Likewise.
72310 * string/strncat.c: Likewise.
72311 * string/strncmp.c: Likewise.
72312 * string/strncpy.c: Likewise.
72313
72314 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
72315
72316 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
72317 __builtin_memcopy is called when src and dest ranges are known to not
72318 overlap.
72319
72320 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
72321
72322 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
72323 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
72324 fwd_align_merge macro call.
72325 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
72326 bwd_align_merge macro call.
72327 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72328
72329 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
72330
72331 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
72332 bwd_align_merge macros.
72333 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
72334 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
72335 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72336
72337 2012-04-18 David S. Miller <davem@davemloft.net>
72338
72339 * sysdeps/sparc/sparc64/memcopy.h: Delete.
72340
72341 2012-04-18 Andreas Jaeger <aj@suse.de>
72342
72343 [BZ# 6794]
72344 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
72345 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
72346 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72347
72348 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
72349 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
72350 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72351
72352 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
72353 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
72354 Adjust for changed ldbl-128 files.
72355
72356 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
72357 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
72358 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72359
72360 2012-04-17 David S. Miller <davem@davemloft.net>
72361
72362 * sysdeps/sparc/sparc32/memcopy.h: Delete.
72363
72364 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
72365
72366 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
72367 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
72368 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
72369 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
72370 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
72371 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
72372
72373 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72374
72375 [BZ #6794]
72376 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
72377 * math/libm-test.inc: Add ilogb errno and exception tests.
72378 * math/w_ilogb.c: New file: ilogb wrapper.
72379 * math/w_ilogbf.c: New file: ilogbf wrapper.
72380 * math/w_ilogbl.c: New file: ilogbl wrapper.
72381 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
72382 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
72383 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
72384 exception being thrown with 0.0 as argument.
72385 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
72386 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
72387 exception being thrown with 0.0 as argument.
72388 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
72389 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
72390 exception being thrown with 0.0 as argument.
72391 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
72392 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
72393 exception being thrown with 0.0 as argument.
72394 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
72395 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
72396 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
72397 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
72398 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
72399 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
72400 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
72401 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
72402 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
72403
72404 2012-04-17 Petr Baudis <pasky@ucw.cz>
72405
72406 * include/sys/uio.h: Change __vector to __iovec to avoid clash
72407 with altivec.
72408
72409 2012-04-16 Marek Polacek <polacek@redhat.com>
72410
72411 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
72412
72413 2012-04-16 Marek Polacek <polacek@redhat.com>
72414
72415 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
72416 operands of fdivp instruction.
72417
72418 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
72419
72420 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
72421 * elf/tst-auditmod3b.c: Likewise.
72422 * elf/tst-auditmod4b.c: Likewise.
72423 * elf/tst-auditmod5b.c: Likewise.
72424 * elf/tst-auditmod6b.c: Likewise.
72425 * elf/tst-auditmod6c.c: Likewise.
72426 * elf/tst-auditmod7b.c: Likewise.
72427 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
72428 * sysdeps/x86_64/preconfigure.in: Likewise.
72429 * sysdeps/x86_64/preconfigure: Regenerated.
72430
72431 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
72432
72433 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
72434 __ILP32__.
72435
72436 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
72437
72438 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72439 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
72440
72441 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
72442
72443 [BZ #13973]
72444 * locale/iso-639.def: Fix gl language name. Spotted by
72445 Yaron Shahrabani.
72446
72447 2012-04-12 Roland McGrath <roland@hack.frob.com>
72448
72449 [BZ #2074]
72450 * libio/libio.h (__io_write_fn): Update comment.
72451
72452 2012-04-12 Petr Baudis <pasky@ucw.cz>
72453
72454 [BZ #2074]
72455 * stdio.texi (Hook Functions): The user provided writer function
72456 is not allowed to return -1.
72457
72458 2012-04-11 David S. Miller <davem@davemloft.net>
72459
72460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72461
72462 2012-04-11 Mike Frysinger <vapier@gentoo.org>
72463
72464 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
72465 Add a leading slash to rtkaio.
72466
72467 2012-04-11 Jim Meyering <meyering@redhat.com>
72468
72469 [BZ #11959]
72470 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
72471 It is not necessarily an error to ignore fwrite's return
72472 value. One can reliably use ferror to test for errors after
72473 the fact.
72474
72475 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
72476
72477 * bits/types.h (__snseconds_t): New type.
72478 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
72479
72480 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
72481 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72482 (__SNSECONDS_T_TYPE): Likewise.
72483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72484 (__SNSECONDS_T_TYPE): Likewise.
72485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72486 (__SNSECONDS_T_TYPE): Likewise.
72487
72488 2012-04-10 Andreas Jaeger <aj@suse.de>
72489
72490 [BZ #2636]
72491 * manual/time.texi (Processor Time): Return type of times is
72492 elapsed real time since an arbitrary point in the past.
72493 (CPU Time): Move CLK_TCK from here...
72494 (Processor Time): ...to here. Correct description.
72495 * manual/conf.texi (Constants for Sysconf): Correct description of
72496 _SC_CLK_TCK.
72497
72498 2012-04-10 David S. Miller <davem@davemloft.net>
72499
72500 [BZ #13967]
72501 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
72502 where the is a gap between DT_REL(A) and DT_JMPREL.
72503
72504 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
72505
72506 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
72507 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72508 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72509
72510 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72511
72512 * elf/dl-support.c (_dl_inhibit_cache): New variable.
72513 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
72514 (dl_main): Handle --inhibit-cache.
72515 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
72516 _dl_inhibit_cache.
72517 * elf/dl-load.c (_dl_map_object): Use it.
72518 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
72519
72520 2012-04-09 Joseph Myers <joseph@codesourcery.com>
72521
72522 [BZ #13872]
72523 * sysdeps/i386/fpu/e_powl.S (p78): New object.
72524 (__ieee754_powl): Saturate large exponents rather than testing for
72525 overflow of y*log2(x).
72526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72527 * math/libm-test.inc (pow_test): Do not permit spurious overflow
72528 exceptions.
72529
72530 [BZ #11521]
72531 * math/s_ctan.c: Include <float.h>.
72532 (__ctan): Avoid internal overflow or cancellation in calculating
72533 denominator.
72534 * math/s_ctanf.c: Likewise.
72535 * math/s_ctanl.c: Likewise.
72536 * math/s_ctanh.c: Likewise.
72537 * math/s_ctanhf.c: Likewise.
72538 * math/s_ctanhl.c: Likewise.
72539 * math/libm-test.inc (ctan_test): Add more tests.
72540 (ctanh_test): Likewise.
72541 * sysdeps/i386/fpu/libm-test-ulps: Update.
72542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72543
72544 2012-04-09 Andreas Jaeger <aj@suse.de>
72545
72546 [BZ #6894]
72547 * manual/filesys.texi (Directory Entries): Mention that d_namlen
72548 is an optional BSD extension.
72549
72550 [BZ #10254]
72551 * manual/stdio.texi (Opening Streams): Document additional fopen
72552 parameters.
72553
72554 2012-04-09 Roland McGrath <roland@hack.frob.com>
72555
72556 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
72557 %eax without telling the compiler.
72558
72559 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
72560
72561 [BZ # 13963]
72562 * manual/install.texi: Use sourceware.org.
72563
72564 2012-04-09 Joseph Myers <joseph@codesourcery.com>
72565
72566 [BZ #13873]
72567 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
72568 (__ieee754_pow): Generate overflow and underflow using huge*huge
72569 and tiny*tiny rather than just returning constant infinity or zero
72570 for large exponents.
72571 * math/libm-test.inc (pow_test): Require overflow exceptions for
72572 applicable cases of large exponents.
72573
72574 [BZ #706]
72575 * sysdeps/i386/fpu/e_pow.S (p10): New object.
72576 (__ieee754_pow): Use iterative multiplication algorithm only for
72577 integer exponents with absolute value below 1024. Check for odd
72578 integer exponents when using algorithm for real exponents.
72579 * math/libm-test.inc (pow_test): Add more tests.
72580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72581
72582 2012-04-08 Joseph Myers <joseph@codesourcery.com>
72583
72584 [BZ #13705]
72585 * math/libm-test.inc (exp_test): Do not allow overflow exception
72586 on underflow test.
72587
72588 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
72589
72590 [BZ #13705]
72591 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72592 instead of __kernel_standard_f.
72593
72594 2012-04-08 Mike Frysinger <vapier@gentoo.org>
72595
72596 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72597 * sysdeps/x86_64/memset_chk.S: Likewise.
72598
72599 2012-04-08 Andreas Jaeger <aj@suse.de>
72600
72601 [BZ #10153]
72602 * manual/startup.texi (Environment Access): Describe return value
72603 for putenv and setenv.
72604
72605 [BZ #6895]
72606 * manual/filesys.texi (Directory Entries): Add description for
72607 DT_LNK.
72608
72609 [BZ #6890]
72610 * manual/filesys.texi (Directory Entries): Clarify that it's file
72611 system not operating system in the description of DT_UNKNOWN.
72612
72613 [BZ #6578]
72614 * manual/syslog.texi (closelog): Fix reference, it's openlog.
72615
72616 2012-04-08 Stephen Compall <s11@member.fsf.org>
72617
72618 [BZ #6649]
72619 * manual/llio.texi (Opening and Closing Files): Add cross
72620 reference to explain mode argument.
72621
72622 2012-04-07 Mike Frysinger <vapier@gentoo.org>
72623
72624 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72625 * sysdeps/x86_64/memset_chk.S: Likewise.
72626
72627 2012-04-07 David S. Miller <davem@davemloft.net>
72628
72629 * elf/elf.h (R_SPARC_WDISP10): Define.
72630 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72631 R_SPARC_SIZE32.
72632 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72633 R_SPARC_SIZE64 and R_SPARC_H34.
72634
72635 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
72636
72637 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72638 conditions and remove no longer applicable assertion.
72639
72640 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
72641
72642 * bits/byteswap.h: Include <features.h>.
72643 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72644 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72645
72646 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
72647
72648 * bits/byteswap.h (__bswap_16): Removed.
72649 Include <bits/byteswap-16.h> to get __bswap_16.
72650 * sysdeps/i386/bits/byteswap.h: Likewise.
72651 * sysdeps/s390/bits/byteswap.h: Likewise.
72652 * sysdeps/x86_64/bits/byteswap.h: Likewise.
72653 * bits/byteswap-16.h: New file.
72654 * sysdeps/i386/bits/byteswap-16.h: Likewise.
72655 * sysdeps/s390/bits/byteswap-16.h: Likewise.
72656 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72657 * string/Makefile (headers): Add bits/byteswap-16.h.
72658
72659 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
72660
72661 [BZ #13895]
72662 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72663 extra indirection.
72664 * nss/Makefile (tests-static, tests): Add tst-nss-static.
72665 * nss/tst-nss-static.c: New.
72666
72667 2012-04-06 Robert Millan <rmh@gnu.org>
72668
72669 [BZ #6486]
72670 * manual/llio.texi (File Position Primitive): lseek
72671 refers to WHENCE when it really means OFFSET.
72672
72673 2012-04-06 Andreas Jaeger <aj@suse.de>
72674
72675 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72676 strncmp declarations.
72677
72678 * abilist/libc.abilist: Add __poll and __ppoll.
72679
72680 2012-04-05 David S. Miller <davem@davemloft.net>
72681
72682 * scripts/check-local-headers.sh: Accept a host triplet in the
72683 path matched by the exclude regexp.
72684
72685 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72686 definition.
72687 * sysdeps/powerpc/powerpc32/dl-machine.h
72688 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72689 * sysdeps/s390/s390-32/dl-machine.h
72690 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72691 * sysdeps/sparc/sparc32/dl-machine.h
72692 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72693 * sysdeps/sparc/sparc64/dl-machine.h
72694 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72695
72696 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72697 lazy binding.
72698 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72699 undefined symbol errors.
72700
72701 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72702 DT_NEEDED entries.
72703
72704 2012-04-05 Michael Matz <matz@suse.de>
72705
72706 [BZ #13592]
72707 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72708
72709 2012-04-05 Andreas Jaeger <aj@suse.de>
72710
72711 [BZ #13908]
72712 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72713 comment.
72714
72715 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
72716
72717 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72718 which ROUND is no valid rounding mode.
72719
72720 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
72721
72722 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72723 read again.
72724 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72725
72726 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
72727
72728 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72729 an exception using FPU order intentionally.
72730
72731 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
72732
72733 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72734 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72735 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72736 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72737
72738 2012-04-05 Simon Josefsson <simon@josefsson.org>
72739
72740 [BZ #12340]
72741 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72742 EINVAL when BUFLEN is too smal.
72743
72744 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
72745
72746 [BZ #13553]
72747 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72748 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72749
72750 2012-04-03 Andreas Jaeger <aj@suse.de>
72751
72752 [BZ #13938]
72753 * manual/setjmp.texi (System V contexts): Fix sentence.
72754
72755 [BZ #13926]
72756 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72757 New macro for this case.
72758 [!__GNUC__] (__bswap_64): New inline function for this case.
72759 * sysdeps/x86_64/bits/byteswap.h: Likewise.
72760 * bits/byteswap.h: Likewise.
72761 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72762 ull, guard with __GLIBC_HAVE_LONG_LONG.
72763
72764 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72765 __GLIBC_HAVE_LONG_LONG.
72766
72767 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72768 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72769
72770 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72771
72772 [BZ #13691]
72773 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72774 inptr and inend, rather than using last_ch.
72775
72776 2012-04-02 David S. Miller <davem@davemloft.net>
72777
72778 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72779 * stdio-common/printf-parse.h (read_int): Change return type to
72780 'int', return -1 on INT_MAX overflow.
72781 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72782 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
72783 overflows INT_MAX. Check for overflow of in-format-string precision
72784 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
72785 SIZE_MAX not INT_MAX for integer overflow test.
72786 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72787 skip the construct in the format string but do not record anything.
72788 * stdio-common/bug22.c: Adjust to test both width/prevision
72789 INT_MAX overflow as well as total length INT_MAX overflow. Check
72790 explicitly for proper errno values.
72791
72792 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
72793
72794 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72795 CHAR_MAX.
72796 * string/test-strcmp.c [! WIDE]: Likewise.
72797 * time/tst-mktime2.c: Likewise for INT_MAX.
72798 * string/test-string.h: #include <sys/param.h> for MIN.
72799
72800 * csu/init-first.c (__libc_init_first): Call __ctype_init.
72801 * sysdeps/i386/init-first.c (init): Likewise.
72802 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72803 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72804 * sysdeps/sh/init-first.c (init): Likewise.
72805
72806 2012-04-01 Ulrich Drepper <drepper@gmail.com>
72807
72808 * po/ru.po: Update from translation team.
72809 * po/vi.po: Likewise.
72810
72811 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
72812
72813 * resolv/nss_dns/dns-host.c: Merge copyright years.
72814
72815 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72816
72817 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72818 Optimize memcpy with prefetch if
72819 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
72820 src, dst pointers have unequal 16 byte alignments.
72821
72822 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
72823
72824 [BZ #13928]
72825 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72826 from a CNAME entry and return the minimum ttl for the query.
72827 (gaih_getanswer_slice): Likewise.
72828
72829 2012-03-30 Jeff Law <law@redhat.com>
72830
72831 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72832 due to long keys.
72833 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72834 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72835
72836 * resolv/nss_dns/dns-host.c: Update copyright year.
72837
72838 2012-03-30 Ulrich Drepper <drepper@gmail.com>
72839
72840 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72841 requests to save a system call. Fix check that all bytes are sent.
72842
72843 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72844 comments for sendmmsg.
72845
72846 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72847
72848 [BZ #13691]
72849 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72850 with only 1 character between 0x0041 and 0x01b0.
72851 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72852 * wcsmbs/tst-mbsnrtowcs.c: New file.
72853
72854 2012-03-29 David S. Miller <davem@davemloft.net>
72855
72856 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72857 small copies by hand.
72858
72859 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72860
72861 [BZ #13761]
72862 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72863 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72864 group memberships.
72865
72866 2012-03-28 David S. Miller <davem@davemloft.net>
72867
72868 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72869 that branches into memcpy.
72870 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72871 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72873 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72875 bits.
72876 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72877 implementation too.
72878 * sysdeps/sparc/mempcpy.S: New file.
72879
72880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72881 the IFUNC routine in the libc case.
72882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72883
72884 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72885 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72886 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72887 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72888 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72889 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72890 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72891 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72892
72893 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72894 loop to 256 bytes instead of 64 bytes and fix test signedness.
72895
72896 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72897 * sysdeps/sparc/sparc32/Makefile: rather than here...
72898 * sysdeps/sparc/sparc64/Makefile: and here.
72899
72900 2012-03-28 Ulrich Drepper <drepper@gmail.com>
72901
72902 * malloc/mallocbug.c: Avoid warnings about unused variables.
72903
72904 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
72905
72906 [BZ #13760]
72907 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72908 in the right place. Discard and retry query if response is
72909 larger than input buffer size.
72910
72911 2012-03-28 Joseph Myers <joseph@codesourcery.com>
72912
72913 [BZ #369]
72914 [BZ #2678]
72915 [BZ #3866]
72916 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72917 x for large integer exponent.
72918 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72919 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
72920 sign of result as needed afterwards.
72921 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72922 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72923 result for underflowing pow the same as for overflow.
72924 (__kernel_standard_l): Handle powl overflow and underflow here
72925 rather than calling __kernel_standard.
72926 * math/libm-test.inc (pow_test): Add more tests.
72927
72928 [BZ #3868]
72929 [BZ #13879]
72930 [BZ #13910]
72931 [BZ #13911]
72932 [BZ #13912]
72933 [BZ #13913]
72934 [BZ #13915]
72935 [BZ #13916]
72936 [BZ #13917]
72937 [BZ #13918]
72938 [BZ #13919]
72939 [BZ #13920]
72940 [BZ #13921]
72941 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72942 * sysdeps/ieee754/k_standard.c: Include <float.h>.
72943 (__kernel_standard_l): New function.
72944 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72945 __kernel_standard.
72946 * math/w_acosl.c (__acosl): Likewise.
72947 * math/w_asinl.c (__asinl): Likewise.
72948 * math/w_atan2l.c (__atan2l): Likewise.
72949 * math/w_atanhl.c (__atanhl): Likewise.
72950 * math/w_coshl.c (__coshl): Likewise.
72951 * math/w_exp10l.c (__exp10l): Likewise.
72952 * math/w_exp2l.c (__exp2l): Likewise.
72953 * math/w_fmodl.c (__fmodl): Likewise.
72954 * math/w_hypotl.c (__hypotl): Likewise.
72955 * math/w_j0l.c (__j0l, __y0l): Likewise.
72956 * math/w_j1l.c (__j1l, __y1l): Likewise.
72957 * math/w_jnl.c (__jnl, __ynl): Likewise.
72958 * math/w_lgammal.c (__lgammal): Likewise.
72959 * math/w_log10l.c (__log10l): Likewise.
72960 * math/w_log2l.c (__log2l): Likewise.
72961 * math/w_logl.c (__logl): Likewise.
72962 * math/w_powl.c (__powl): Likewise.
72963 * math/w_remainderl.c (__remainderl): Likewise.
72964 * math/w_scalbl.c (sysv_scalbl): Likewise.
72965 * math/w_sinhl.c (__sinhl): Likewise.
72966 * math/w_sqrtl.c (__sqrtl): Likewise.
72967 * math/w_tgammal.c (__tgammal): Likewise.
72968 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72969 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72970 * math/libm-test.inc (acos_test): Add more tests.
72971 (acosh_test): Likewise.
72972 (asin_test): Likewise.
72973 (atanh_test): Likewise.
72974 (exp_test): Likewise.
72975 (exp10_test): Likewise.
72976 (exp2_test): Likewise.
72977 (expm1_test): Likewise.
72978 (lgamma_test): Likewise.
72979 (log_test): Likewise.
72980 (log10_test): Likewise.
72981 (log1p_test): Likewise.
72982 (log2_test): Likewise.
72983 (pow_test): Do not allow some spurious overflow exceptions.
72984 (sqrt_test): Add more tests.
72985 (tgamma_test): Likewise.
72986 (y0_test): Likewise.
72987 (y1_test): Likewise.
72988 (yn_test): Likewise.
72989
72990 2012-03-27 Anton Blanchard <anton@samba.org>
72991
72992 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72993 MAP_HUGETLB.
72994 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72995 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72996 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72997
72998 2012-03-27 David S. Miller <davem@davemloft.net>
72999
73000 * conform/Makefile: Run run-conformtest.sh using $(BASH).
73001
73002 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
73003 have-as-vis3 check.
73004
73005 2012-03-27 Andreas Jaeger <aj@suse.de>
73006
73007 * sysdeps/x86_64/elf/configure.in: Moved to ...
73008 * sysdeps/x86_64/configure.in: ... here.
73009 * sysdeps/x86_64/elf/start.S: Moved to ...
73010 * sysdeps/x86_64/start.S: ... here.
73011 * sysdeps/x86_64/elf/configure: Delete.
73012
73013 * sysdeps/x86_64/configure.in: Merge contents from
73014 sysdeps/i386/configure.in (without i686 check).
73015
73016 * sysdeps/i386/elf/Versions: Merge into ...
73017 * sysdeps/i386/Versions: ... this.
73018 * sysdeps/i386/elf/Versions: Delete file.
73019 * sysdeps/i386/elf/start.S: Moved to ...
73020 * sysdeps/i386/start.S: ...here.
73021 * sysdeps/i386/elf/configure.in: Merge into...
73022 * sysdeps/i386/configure.in: ...here.
73023 * sysdeps/i386/elf/configure.in: Delete file.
73024 * sysdeps/i386/elf/configure: Delete file.
73025
73026 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
73027 * debug/backtracesyms.c: ... here.
73028 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
73029 * debug/backtracesymsfd.c: ... here.
73030 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
73031 * sysdeps/generic/ifunc-sel.h: ... here.
73032
73033 * sysdeps/unix/i386/start.c: Delete file.
73034 * sysdeps/unix/sparc/start.c: Delete file.
73035 * sysdeps/unix/start.c: Delete file.
73036
73037 * sysdeps/sh/elf/configure.in: Moved to ...
73038 * sysdeps/sh/configure.in: ... here.
73039 * sysdeps/sh/elf/start.S: Moved to ...
73040 * sysdeps/sh/start.S: ... here.
73041 * sysdeps/sh/elf/configure: Delete file.
73042
73043 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
73044 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
73045 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
73046 * sysdeps/powerpc/powerpc64/entry.h: ... here.
73047 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
73048 * sysdeps/powerpc/powerpc64/start.S: here.
73049 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
73050 * sysdeps/powerpc/powerpc64/Makefile: ... this.
73051 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
73052 * sysdeps/powerpc/powerpc64/configure.in: ... this.
73053 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
73054
73055 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
73056 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
73057 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
73058 * sysdeps/powerpc/powerpc32/start.S: ... here.
73059 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
73060 * sysdeps/powerpc/powerpc32/configure.in: ... this.
73061 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
73062
73063 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
73064 * sysdeps/powerpc/ifunc-sel.h: ... here.
73065 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
73066 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
73067
73068 * sysdeps/sparc/elf/configure.in: Moved to ...
73069 * sysdeps/sparc/configure.in: ... here.
73070 * sysdeps/sparc/elf/configure: Delete file.
73071 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
73072 * sysdeps/sparc/sparc32/start.S: ... here.
73073 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
73074 * sysdeps/sparc/sparc64/start.S: ... here.
73075 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
73076 * sysdeps/sparc/sparc32/Makefile: ... this.
73077 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
73078 * sysdeps/sparc/sparc64/Makefile: ... this.
73079
73080 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
73081 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
73082 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
73083 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
73084 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
73085 * sysdeps/s390/s390-32/setjmp.S: ... here.
73086 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
73087 * sysdeps/s390/s390-32/configure.in: ... here.
73088 * sysdeps/s390/s390-32/elf/configure: Delete file.
73089 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
73090 * sysdeps/s390/s390-32/start.S: ... here.
73091
73092 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
73093 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
73094 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
73095 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
73096 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
73097 * sysdeps/s390/s390-64/setjmp.S: ... here.
73098 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
73099 * sysdeps/s390/s390-64/configure.in: ... here
73100 * sysdeps/s390/s390-64/elf/configure: Delete file.
73101 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
73102 * sysdeps/s390/s390-64/start.S: ... here.
73103 * sysdeps/s390/s390-64/elf/configure: Delete.
73104
73105 * configure.in: Remove support for elf directories in sysdeps.
73106
73107 * configure: Regenerated.
73108 * sysdeps/i386/configure: Regenerated.
73109 * sysdeps/powerpc/powerpc32/configure: Regenerated.
73110 * sysdeps/powerpc/powerpc64/configure: Regenerated.
73111 * sysdeps/s390/s390-32/configure: Regenerated.
73112 * sysdeps/s390/s390-64/configure: Regenerated.
73113 * sysdeps/sh/configure: Regenerated.
73114 * sysdeps/sparc/configure: Regenerated.
73115 * sysdeps/x86_64/configure: Regenerated.
73116
73117 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
73118
73119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73120
73121 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
73122 denormal result into account.
73123
73124 2012-03-25 Roland McGrath <roland@hack.frob.com>
73125
73126 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
73127 Reported by Allan McRae <allan@archlinux.org>.
73128
73129 2012-03-23 Jeff Law <law@redhat.com>
73130
73131 * nss/getnssent.c (__nss_getent): Fix typo.
73132
73133 2012-03-23 David S. Miller <davem@davemloft.net>
73134
73135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73136
73137 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
73138
73139 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
73140 to pad to uint64_t for each field.
73141 (dl_tls_index): Replace unsigned long with uint64_t.
73142
73143 2012-03-23 Daniel Jacobowitz <dmj@google.com>
73144 Paul Pluzhnikov <ppluzhnikov@google.com>
73145
73146 [BZ #6528]
73147 * grp/Makefile (otherlibs): Don't set it.
73148 * inet/Makefile (otherlibs): Likewise.
73149 * login/Makefile (otherlibs): Likewise.
73150 * nscd/Makefile (otherlibs): Likewise.
73151 * posix/Makefile (otherlibs): Likewise.
73152 * pwd/Makefile (otherlibs): Likewise.
73153 * rt/Makefile (otherlibs): Likewise.
73154 * sunrpc/Makefile (otherlibs): Likewise.
73155 * nss/Makefile (otherlibs): Likewise.
73156 Add libnss_files to routines and static-only-routines.
73157 ($(objpfx)getent): Remove rule.
73158 * resolv/Makefile: Add libnss_dns and libresolv to routines and
73159 static-only-routines.
73160
73161 2012-03-22 Joseph Myers <joseph@codesourcery.com>
73162
73163 [BZ #13892]
73164 * math/s_cexp.c: Include <float.h>.
73165 (__cexp): Handle exp result overflowing not necessarily
73166 overflowing both real and imaginary parts of result.
73167 * math/s_cexpf.c: Likewise.
73168 * math/s_cexpl.c: Likewise.
73169 * math/libm-test.inc (cexp_test): Add more tests.
73170 * sysdeps/i386/fpu/libm-test-ulps: Update.
73171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73172
73173 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
73174
73175 * include/link.h (ELFW): New macro.
73176 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
73177 Replace ELF64_R_TYPE with ELFW(R_TYPE).
73178
73179 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
73180
73181 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
73182 with uint64_t.
73183
73184 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
73185
73186 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
73187 declaration.
73188 (struct La_x32_retval): Likewise.
73189
73190 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
73191
73192 * sysdeps/x86_64/preconfigure.in: New file.
73193 * sysdeps/x86_64/preconfigure: New generated file.
73194
73195 2012-03-22 Joseph Myers <joseph@codesourcery.com>
73196
73197 [BZ #13824]
73198 * math/e_exp2l.c: Include <float.h>.
73199 (__ieee754_exp2l): Handle overflow and underflow cases
73200 separately. Only pass fractional part of argument to
73201 __ieee754_expl.
73202 * math/libm-test.inc (exp2_test): Add more tests.
73203
73204 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
73205 negating x to take absolute value.
73206 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
73207 Likewise.
73208 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
73209 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
73210 Likewise.
73211 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
73212 computing low part if x was negated.
73213 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
73214
73215 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
73216
73217 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
73218 la_x32_gnu_pltexit.
73219 (pltexit): Cast int_retval to ptrdiff_t.
73220 * elf/tst-auditmod3b.c: Likewise.
73221 * elf/tst-auditmod4b.c: Likewise.
73222 * elf/tst-auditmod5b.c: Likewise.
73223 * elf/tst-auditmod6b.c: Likewise.
73224 * elf/tst-auditmod6c.c: Likewise.
73225 * elf/tst-auditmod7b.c: Likewise.
73226
73227 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
73228 and x32_gnu_pltexit.
73229
73230 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
73231 __ELF_NATIVE_CLASS.
73232 (La_x32_regs): New macro.
73233 (La_x32_retval): Likewise.
73234 (la_x32_gnu_pltenter): New function prototype.
73235 (la_x32_gnu_pltexit): Likewise.
73236
73237 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
73238
73239 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
73240 exponent.
73241
73242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73243
73244 * configure.in (libc_cv_cc_nofma): Check for option to disable
73245 generation of FMA instructions.
73246 * configure: Regenerate.
73247 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
73248 * sysdeps/ieee754/dbl-64/Makefile: New file.
73249 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
73250 Remove brandred-fma4.
73251 (CFLAGS-brandred-fma4.c): Remove.
73252 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
73253 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
73254 define.
73255 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
73256 define.
73257
73258 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
73259
73260 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73261 LLONG_MAX != LONG_MAX.
73262 (_itoa_word): Use _ITOA_WORD_TYPE on value.
73263 (_fitoa_word): Likewise.
73264 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
73265 LLONG_MAX != LONG_MAX.
73266 * stdio-common/_itowa.h: Include <_itoa.h>.
73267 (_itowa_word): Use _ITOA_WORD_TYPE on value.
73268 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
73269 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
73270 only if not defined.
73271 (_ITOA_WORD_TYPE): Likewise.
73272 (_itoa_word): Use _ITOA_WORD_TYPE on value.
73273 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
73274
73275 2012-03-21 David S. Miller <davem@davemloft.net>
73276
73277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73278
73279 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
73280
73281 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
73282 of x86_64 when setting libc_cv_slibdir, libdir and
73283 libc_cv_localedir.
73284 * sysdeps/unix/sysv/linux/configure: Regenerated.
73285
73286 2012-03-21 Joseph Myers <joseph@codesourcery.com>
73287
73288 * manual/lang.texi (Old Varargs): Remove section.
73289 (How Variadic): Update menu.
73290 (va_start): Do not mention varargs.h.
73291
73292 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
73293 Joseph Myers <joseph@codesourcery.com>
73294
73295 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
73296 link test.
73297 * configure: Regenerated.
73298
73299 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
73300
73301 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
73302 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
73303 conformtest.pl
73304
73305 2012-03-21 Joseph Myers <joseph@codesourcery.com>
73306
73307 * NOTES: Remove.
73308 * Makefile (files-for-dist): Remove NOTES.
73309 (NOTES): Remove rule.
73310 * README: Don't refer to NOTES.
73311 * manual/creature.texi: Don't include macros.texi.
73312 * manual/intro.texi (creature.texi): Remove comment referring to
73313 NOTES.
73314
73315 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
73316 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
73317 * configure: Regenerated.
73318 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
73319 LIBC_TRY_CC_OPTION.
73320 (libc_cv_as_i686): Likewise.
73321 (libc_cv_cc_avx): Likewise.
73322 (libc_cv_cc_sse2avx): Likewise.
73323 (libc_cv_cc_fma4): Likewise.
73324 (libc_cv_cc_novzeroupper): Likewise.
73325 * sysdeps/i386/configure: Regenerated.
73326
73327 [BZ #13883]
73328 * sysdeps/i386/fpu/s_cexp.S: Remove.
73329 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73330 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73331 * math/libm-test.inc (cexp_test): Add more tests.
73332 * sysdeps/i386/fpu/libm-test-ulps: Update.
73333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73334
73335 2012-03-21 Allan McRae <allan@archlinux.org>
73336
73337 * timezone/Makefile: Do not install iso3166.tab and zone.tab
73338
73339 2012-03-21 Joseph Myers <joseph@codesourcery.com>
73340
73341 [BZ #13871]
73342 * math/w_exp2.c: Do not include <float.h>.
73343 (o_threshold, u_threshold): Remove.
73344 (__exp2): Calculate result before checking finiteness and calling
73345 __kernel_standard.
73346 * math/w_exp2f.c: Likewise.
73347 * math/w_exp2l.c: Likewise.
73348 * math/libm-test.inc (exp2_test): Require overflow exception for
73349 1e6 input.
73350
73351 [BZ #3866]
73352 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
73353 range of signed 64-bit integers before using fistpll. Remove
73354 checks for whether integers fit in mantissa bits.
73355 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
73356 the range of signed 32-bit integers before using fistpl. Remove
73357 checks for whether integers fit in mantissa bits.
73358 * sysdeps/i386/fpu/e_powl.S (p64): New object.
73359 (__ieee754_powl): Test for y outside the range of signed 64-bit
73360 integers before using fistpll. Reduce 64-bit values to 63-bit
73361 ones as needed.
73362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
73363 divide-by-zero is raised for zero to large negative powers.
73364 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
73365 (__ieee754_powl): Test for y outside the range of signed 64-bit
73366 integers before using fistpll. Reduce 64-bit values to 63-bit
73367 ones as needed.
73368 * math/libm-test.inc (pow_test): Add more tests.
73369
73370 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
73371
73372 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
73373 <stdio-common/_itoa.h>.
73374 * debug/segfault.c: Likewise.
73375 * elf/dl-cache.c: Likewise.
73376 * elf/dl-minimal.c: Likewise.
73377 * elf/dl-misc.c: Likewise.
73378 * elf/dl-sysdep.c: Likewise.
73379 * elf/dl-version.c: Likewise.
73380 * elf/rtld.c: Likewise.
73381 * hurd/hurdsock.c: Likewise.
73382 * hurd/lookup-retry.c: Likewise.
73383 * malloc/malloc.c: Likewise.
73384 * malloc/mtrace.c: Likewise.
73385 * nscd/nscd_getgr_r.c: Likewise.
73386 * nscd/nscd_getpw_r.c: Likewise.
73387 * nscd/nscd_getserv_r.c: Likewise.
73388 * posix/getopt_init.c: Likewise.
73389 * posix/wordexp.c: Likewise.
73390 * stdio-common/_itoa.c: Likewise.
73391 * stdio-common/printf_fphex.c: Likewise.
73392 * stdio-common/vfprintf.c: Likewise.
73393 * string/_strerror.c: Likewise.
73394 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
73395 * sysdeps/i386/i686/hp-timing.h: Likewise.
73396 * sysdeps/mach/_strerror.c: Likewise.
73397 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
73398 * sysdeps/mach/hurd/sethostid.c: Likewise.
73399 * sysdeps/mach/hurd/xmknodat.c: Likewise.
73400 * sysdeps/mach/xpg-strerror.c: Likewise.
73401 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
73402 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
73403 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
73404 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
73405 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
73406 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
73407 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
73408 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
73409 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
73410 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
73411 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
73412 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
73413 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
73414 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
73415 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
73416 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
73417 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
73418 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
73419 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
73420 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
73421 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
73422
73423 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
73424
73425 * stdio-common/_itoa.h: Moved to ...
73426 * sysdeps/generic/_itoa.h: Here.
73427
73428 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
73429
73430 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
73431 instead of "_itoa.h" and "_itowa.h".
73432 * stdio-common/vfprintf.: Likewise.
73433
73434 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
73435
73436 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
73437 <bits/wordsize.h>.
73438 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
73439 (__signbit): Likwise.
73440 (llrintf): Likwise.
73441 (llrint): Likwise.
73442
73443 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
73444
73445 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
73446 __WORDSIZE != 64.
73447
73448 2012-03-20 Joseph Myers <joseph@codesourcery.com>
73449
73450 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
73451 OVERFLOW_EXCEPTION_OK.
73452 * math/libm-test.inc ("Philosophy"): Update comment about
73453 exception testing.
73454 (OVERFLOW_EXCEPTION): Define.
73455 (OVERFLOW_EXCEPTION_OK): Likewise.
73456 (INVALID_EXCEPTION_OK): Renumber.
73457 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73458 (IGNORE_ZERO_INF_SIGN): Likewise.
73459 (test_exceptions): Handle FE_OVERFLOW.
73460 (exp10_test): Expect overflow exceptions.
73461 (exp2_test): Likewise.
73462 (expm1_test): Likewise.
73463 (nextafter_test): Likewise.
73464 (pow_test): Likewise.
73465 (scalbn_test): Likewise.
73466 (scalbln_test): Likewise.
73467
73468 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
73469
73470 * sysdeps/x86_64/bits/atomic.h
73471 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
73472 64bit integer.
73473 (atomic_exchange_acq): Likewise.
73474 (__arch_exchange_and_add_body): Likewise.
73475 (__arch_add_body): Likewise.
73476 (atomic_add_negative): Likewise.
73477 (atomic_add_zero): Likewise.
73478
73479 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
73480
73481 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
73482 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
73483
73484 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
73485
73486 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
73487 Check __x86_64__ instead of __WORDSIZE.
73488
73489 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
73490
73491 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
73492
73493 2012-03-19 David S. Miller <davem@davemloft.net>
73494
73495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73496
73497 * sysdeps/sparc/fpu/fenv_private.h: New file.
73498 * sysdeps/sparc/fpu/math_private.h: Use it.
73499 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
73500 Remove.
73501 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
73502 (libc_feholdexcept_setroundl): Remove.
73503 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
73504 Remove.
73505 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
73506 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
73507
73508 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
73509
73510 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
73511 int64_t instead of long int.
73512 (INSERT_WORDS64): Likwise.
73513
73514 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
73515
73516 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
73517 _Unwind_GetCFA return to _Unwind_Ptr first.
73518
73519 2012-03-19 Joseph Myers <joseph@codesourcery.com>
73520
73521 [BZ #13629]
73522 * math/s_clog.c: Include <float.h>.
73523 (__clog): Scale large or subnormal inputs.
73524 * math/s_clogf.c: Likewise.
73525 * math/s_clogl.c: Likewise.
73526 * math/s_clog10.c: Include <float.h>.
73527 (M_LOG10_2): Define.
73528 (__clog10): Scale large or subnormal inputs.
73529 * math/s_clog10f.c: Likewise.
73530 * math/s_clog10l.c: Likewise.
73531 * math/libm-test.inc (clog_test): Add more tests.
73532 (clog10_test): Likewise.
73533 * sysdeps/i386/fpu/libm-test-ulps: Update.
73534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73535
73536 [BZ #11451]
73537 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
73538 x and y.
73539 * math/libm-test.inc (atan2_test): Add another test.
73540
73541 * Makerules (common-objdir-compile): Remove.
73542 * sysdeps/unix/Makefile (config-generated): Do not add
73543 $(unix-generated) to variable.
73544 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
73545 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
73546 Remove rule.
73547 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
73548 Likewise.
73549 [generic bits/local_lim.h] (before-compile): Do not append to
73550 variable.
73551 [generic bits/local_lim.h] (common-generated): Likewise.
73552 [generic sys/param.h] (before-compile): Do not append to variable.
73553 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
73554 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
73555 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
73556 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
73557 include.
73558 [generic sys/param.h] (sys/param.h-includes): Remove variable.
73559 [generic sys/param.h] (sys/param.h-includes): Remove rule.
73560 [generic sys/param.h] ($(addprefix
73561 $(common-objpfx),$(sys/param.h-includes))): Likewise.
73562 [generic sys/param.h] (common-generated): Do not append to
73563 variable.
73564 [generic sys/param.h] (sysdep_headers): Likewise.
73565 [generic bits/errno.h] (before-compile): Do not append to
73566 variable.
73567 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
73568 rule.
73569 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
73570 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
73571 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
73572 [generic bits/errno.h] (common-generated): Do not append to
73573 variable.
73574 [generic bits/ioctls.h] (before-compile): Do not append to
73575 variable.
73576 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
73577 rule.
73578 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73579 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73580 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73581 rule.
73582 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73583 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73584 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73585 [generic bits/ioctls.h] (common-generated): Do not append to
73586 variable.
73587 [generic sys/syscall.h] (syscall.h): Remove variable.
73588 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73589 rule.
73590 [generic sys/syscall.h] (before-compile): Do not append to
73591 variable.
73592 [generic sys/syscall.h] (common-generated): Likewise.
73593 * sysdeps/unix/errnos-tmpl.c: Remove file.
73594 * sysdeps/unix/errnos.awk: Likewise.
73595 * sysdeps/unix/ioctls-tmpl.c: Likewise.
73596 * sysdeps/unix/ioctls.awk: Likewise.
73597 * sysdeps/unix/mk-local_lim.c: Likewise.
73598 * sysdeps/unix/snarf-ioctls: Likewise.
73599
73600 2012-03-19 Richard Henderson <rth@twiddle.net>
73601
73602 * sysdeps/i386/fpu/fenv_private.h: New file.
73603 * sysdeps/i386/fpu/math_private.h: Use it.
73604 (math_opt_barrier, math_force_eval): Remove.
73605 (libc_feholdexcept_setround_53bit): Remove.
73606 (libc_feupdateenv_53bit): Remove.
73607 * sysdeps/x86_64/fpu/math_private.h: Likewise.
73608 (math_opt_barrier, math_force_eval): Remove.
73609 (libc_feholdexcept): Remove.
73610 (libc_feholdexcept_setround): Remove.
73611 (libc_fetestexcept, libc_fesetenv): Remove.
73612 (libc_feupdateenv_test): Remove.
73613 (libc_feupdateenv, libc_feholdsetround): Remove.
73614 (libc_feresetround): Remove.
73615
73616 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73617 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73618
73619 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73620 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73621 (libc_feupdateenv_testl): New.
73622 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73623 (libc_feupdateenv_testf): New.
73624 (libc_feupdateenv): Use libc_feupdateenv_test.
73625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73626 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73627
73628 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73629 (libc_feholdsetroundf, libc_feholdsetroundl): New.
73630 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73631 (libc_feresetround_noex): New.
73632 (libc_feresetround_noexf): New.
73633 (libc_feresetround_noexl): New.
73634 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73635 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73636 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73637 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73638 SET_RESTORE_ROUND.
73639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73640 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73641 (__cos): Likewise.
73642 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73643 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73644 SET_RESTORE_ROUND_NOEX.
73645 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73646 SET_RESTORE_ROUND_NOEXF.
73647 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73648 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73649 (libc_feholdsetroundf): New.
73650 (libc_feresetround, libc_feresetroundf): New.
73651
73652 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73653 (libc_feholdexcept_setround_53bit): Convert from macro to function.
73654 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
73655
73656 * sysdeps/generic/math_private.h: Include <fenv.h>.
73657 (default_libc_feholdexcept): New.
73658 (default_libc_feholdexcept_setround): New.
73659 (default_libc_fesetenv, default_libc_feupdateenv): New.
73660 (libc_feholdexcept): Only define if undefined.
73661 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73662 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73663 (libc_feholdexcept_setroundl): Likewise.
73664 (libc_feholdexcept_setround_53bit): Likewise.
73665 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73666 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73667 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73668 (libc_feupdateenv_53bit): Likewise.
73669 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73670 (libc_feholdexcept): Convert from macro to inline function.
73671 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73672 (libc_fesetenv, libc_feupdateenv): Likewise.
73673
73674 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73675 not previously defined.
73676 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73677 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73678 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73679 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73680 * sysdeps/ieee754/flt-32/math_private.h: New file.
73681 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73682 math_private.h below SET_FLOAT_WORD.
73683 (__isnan, __isinf_ns, __finite): Remove.
73684 (__isnanf, __isinf_nsf, __finitef): Remove.
73685
73686 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
73687
73688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73689
73690 2012-03-17 David S. Miller <davem@davemloft.net>
73691
73692 [BZ #6471]
73693 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73694 for 2.16.
73695
73696 2012-03-16 David S. Miller <davem@davemloft.net>
73697
73698 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73699 warnings.
73700
73701 [BZ #6471]
73702 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73703 properly.
73704 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73705 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73706 sysdep_routines when subdir is sysvipc.
73707 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73708 __getshmlba helper.
73709
73710 * sysdeps/sparc/fpu/libm-test/ulps: Update.
73711
73712 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
73713
73714 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73715 [__LP64__].
73716
73717 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
73718
73719 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73720 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73721 (__lround): Renamed to ...
73722 (__llround): This. Replace long int with long long int.
73723 Define lround functions as aliases of llround functions.
73724 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73725
73726 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
73727
73728 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73729 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
73730 adresses to uintptr_t. Replace "long int" and "unsigned long
73731 int" with "greg_t" on va_arg.
73732
73733 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
73734
73735 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73736 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73737
73738 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73739 Move e_machine check before EI_CLASS check. Handle x32
73740 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73741 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73742 SKIP_EM_IA_64 and include
73743 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73744
73745 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73746 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73747 (add_system_dir): New macro.
73748
73749 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73750 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73751
73752 2012-03-16 Joseph Myers <joseph@codesourcery.com>
73753
73754 [BZ #2551]
73755 [BZ #2552]
73756 [BZ #2553]
73757 [BZ #2554]
73758 [BZ #2562]
73759 [BZ #2563]
73760 [BZ #2565]
73761 [BZ #2566]
73762 [BZ #2576]
73763 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73764 (y0): Likewise.
73765 * math/w_j0f.c (j0f): Likewise.
73766 (y0f): Likewise.
73767 * math/w_j0l.c (__j0l): Likewise.
73768 (__y0l): Likewise.
73769 * math/w_j1.c (j1): Likewise.
73770 (y1): Likewise.
73771 * math/w_j1f.c (j1f): Likewise.
73772 (y1f): Likewise.
73773 * math/w_j1l.c (__j1l): Likewise.
73774 (__y1l): Likewise.
73775 * math/w_jn.c (jn): Likewise.
73776 (yn): Likewise.
73777 * math/w_jnf.c (jnf): Likewise.
73778 (ynf): Likewise.
73779 * math/w_jnl.c (__jnl): Likewise.
73780 (__ynl): Likewise.
73781 * math/libm-test.inc (j0_test): Add more tests.
73782 (j1_test): Likewise.
73783 (jn_test): Likewise. Add trailing semicolon to existing test.
73784 (y0_test): Likewise.
73785 (y1_test): Likewise.
73786 * sysdeps/i386/fpu/libm-test-ulps: Update.
73787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73788
73789 [BZ #13851]
73790 [BZ #13854]
73791 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73792 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73793 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73794 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73795 (__tanl): Set errno for infinite argument.
73796 * sysdeps/i386/fpu/mptan.c: Remove.
73797 * sysdeps/i386/fpu/s_tan.S: Likewise.
73798 * sysdeps/i386/fpu/s_tanl.S: Likewise.
73799 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73800 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73801 * math/libm-test.inc (tan_test): Add more tests and enable more
73802 tests for double and long double.
73803 * sysdeps/i386/fpu/libm-test-ulps: Update.
73804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73805
73806 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
73807
73808 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73809 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73810
73811 2012-03-16 Roland McGrath <roland@hack.frob.com>
73812
73813 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73814 * configure.in: Use it for both main tree and add-ons.
73815 * configure: Regenerated.
73816
73817 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
73818
73819 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73820
73821 2012-03-16 Joseph Myers <joseph@codesourcery.com>
73822
73823 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73824 in comment.
73825
73826 [BZ #13851]
73827 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73828 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73829 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73830 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73831 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73832 infinite argument.
73833 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73834 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73835 != 0 for prec == 2.
73836 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73837 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73838 * sysdeps/i386/fpu/s_cosl.S: Likewise.
73839 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73840 * sysdeps/i386/fpu/s_sinl.S: Likewise.
73841 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73842 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73843 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73844 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73845 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73846 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73847 * math/libm-test.inc (cos_test): Add more tests and enable more
73848 tests for long double.
73849 (sin_test): Likewise.
73850 (sincos_test): Likewise.
73851 * sysdeps/i386/fpu/libm-test-ulps: Update.
73852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73853
73854 2012-03-16 David S. Miller <davem@davemloft.net>
73855
73856 * sysdeps/sparc/fpu/math_private.h: New file.
73857
73858 2012-03-15 David S. Miller <davem@davemloft.net>
73859
73860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73861 file.
73862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73864 file.
73865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73871 sysdep routines.
73872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73873
73874 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73875 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73876
73877 * sysdeps/sparc/sparc-ifunc.h: New file.
73878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73879 sparc-ifunc.h
73880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73882 Likewise.
73883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73884 Likewise.
73885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73889 Likewise.
73890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73895 Likewise.
73896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73897 Likewise.
73898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73904 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73918 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73922
73923 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
73924
73925 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73926 scaling.
73927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73928
73929 2012-03-15 Andreas Jaeger <aj@suse.de>
73930
73931 [BZ #13852]
73932 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73933 ieee754/flt-32 implementation for sin, cos and sincos.
73934 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73935 * sysdeps/i386/fpu/s_cosf.S: Likewise.
73936 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73937 * sysdeps/i386/fpu/s_sinf.S: Likewise.
73938 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73939 ieee754/flt-32 implementation for tan.
73940
73941 * math/libm-test.inc (cos_test): Enable some large input tests for
73942 float as well
73943 (sin_test): Likewise.
73944 (sincos_test): Likewise.
73945 (tan_test): Add tests for large input.
73946
73947 * sysdeps/i386/fpu/libm-test-ulps: Update.
73948
73949 2012-03-15 Andreas Jaeger <aj@suse.de>
73950
73951 [BZ #13658]
73952 * math/libm-test.inc (cos_test): Add more test cases.
73953 (sin_test): Likewise.
73954 (sincos_test): Likewise.
73955
73956 2012-03-15 Andreas Jaeger <aj@suse.de>
73957
73958 [BZ #13837]
73959 * math/libm-test.inc (cos_test): Add a test case for large input
73960 value.
73961 (sin_test): Likewise.
73962 (sincos_test): Likewise.
73963
73964 2012-03-15 Andreas Jaeger <aj@suse.de>
73965 Joseph Myers <joseph@codesourcery.com>
73966
73967 [BZ #13658]
73968 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73969 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73970 * sysdeps/i386/fpu/branred.c: Likewise.
73971 * sysdeps/i386/fpu/dosincos.c: Likewise.
73972 * sysdeps/i386/fpu/mpa.c: Likewise.
73973 * sysdeps/i386/fpu/s_cos.S: Likewise.
73974 * sysdeps/i386/fpu/s_sin.S: Likewise.
73975 * sysdeps/i386/fpu/s_sincos.S: Likewise.
73976 * sysdeps/i386/fpu/sincos32.c: Likewise.
73977
73978 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73979 Define.
73980 (libc_feupdateenv_53bit): Define.
73981 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73982 Define.
73983 (libc_feupdateenv_53bit): Define.
73984
73985 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73986 53 bit (without extend i386 double precision).
73987
73988 * math/libm-test.inc (sincos_test): Add tests for large input.
73989 (sin): Likewise.
73990 (cos): Likewise.
73991
73992 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73993
73994 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
73995
73996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73997
73998 2012-03-15 David S. Miller <davem@davemloft.net>
73999
74000 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
74001 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
74002 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
74003 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
74004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
74005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
74006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
74007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
74008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
74009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
74010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
74011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
74012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
74013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
74014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
74015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
74016 file.
74017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
74018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
74019 file.
74020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
74021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
74022 file.
74023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
74024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
74025 file.
74026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
74027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
74028 fmin/fmax sysdep routines.
74029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
74030
74031 2012-03-14 David S. Miller <davem@davemloft.net>
74032
74033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
74034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
74035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
74036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
74037 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
74038 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
74039 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
74040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
74041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
74042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
74043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
74044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
74045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
74046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
74047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
74048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
74049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
74050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
74051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
74052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
74053 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
74054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
74055 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
74056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
74057 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
74058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
74059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
74060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
74061 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
74062 routines.
74063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
74064 file.
74065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
74066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
74067 file.
74068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
74069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
74070 file.
74071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
74072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
74073 file.
74074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
74075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
74076 file.
74077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
74078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
74079 file.
74080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
74081 file.
74082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
74083 file.
74084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
74085 file.
74086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
74087 New file.
74088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
74089 file.
74090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
74091 file.
74092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
74093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
74094 file.
74095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
74096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
74097 file.
74098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
74099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
74100 file.
74101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
74102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
74103 VIS3 routines.
74104
74105 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
74106 New file.
74107
74108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74109
74110 * sysdeps/sparc/configure.in: New file.
74111 * sysdeps/sparc/configure: Generate.
74112 * configure.in (libc_cv_sparc_as_vis3): Substitute.
74113 * configure: Regenerate.
74114 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
74115 * config.make.in (have-as-vis3): New.
74116 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
74117 available use -Av9d instead of -Av9a.
74118 * sysdeps/sparc/sparc64/Makefile: Likewise.
74119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
74120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
74121 New file.
74122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
74123 file.
74124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
74125 New file.
74126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
74127 file.
74128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
74129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
74130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
74131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
74132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
74133
74134 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
74135 fzeros/fnegs to load 0x80000000 into a float register instead of
74136 using the stack.
74137 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
74138
74139 2012-03-14 Joseph Myers <joseph@codesourcery.com>
74140
74141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74142 bits/syscall.h.
74143 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
74144 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
74145 ($(inst_includedir)/bits/syscall.h): Remove rule.
74146 ($(objpfx)bits/syscall.d): Include instead of
74147 $(objpfx)syscall-list.d.
74148 (generated): Change syscall-list.h and syscall-list.d to
74149 bits/syscall.h and bits/syscall.d.
74150
74151 2012-03-14 Roland McGrath <roland@hack.frob.com>
74152
74153 [BZ #13846]
74154 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
74155
74156 2012-03-14 Joseph Myers <joseph@codesourcery.com>
74157
74158 [BZ #13841]
74159 * math/s_csqrt.c: Include <float.h>.
74160 (__csqrt): Scale large or subnormal inputs.
74161 * math/s_csqrtf.c: Likewise.
74162 * math/s_csqrtl.c: Likewise.
74163 * math/libm-test.inc (csqrt_test): Add more tests.
74164 * sysdeps/i386/fpu/libm-test-ulps: Update.
74165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74166
74167 [BZ #13840]
74168 * math/libm-test.inc (hypot_test): Add more tests.
74169
74170 2012-03-13 David S. Miller <davem@davemloft.net>
74171
74172 [BZ #13840]
74173 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
74174 double-precision for the calculation instead of scaling.
74175
74176 2012-03-13 Joseph Myers <joseph@codesourcery.com>
74177
74178 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
74179 manipulate bits before adding and subtracting TWO52[sx].
74180 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
74181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
74182 Likewise.
74183 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
74184
74185 2012-03-13 David S. Miller <davem@davemloft.net>
74186
74187 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
74188 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
74189 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
74190 rtld-global-offsets.h
74191 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74192
74193 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
74194 large parameters.
74195
74196 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
74197
74198 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
74199 'err' in the ifdef scope in which it is actually used.
74200
74201 * nss/nss_db/db-init.c: Include string.h
74202
74203 2012-03-12 David S. Miller <davem@davemloft.net>
74204
74205 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74206 masking out of the most significant byte of random value used.
74207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74208 Fix coding style in previous change.
74209
74210 * sysdeps/unix/sysv/linux/kernel-features.h
74211 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
74212 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
74213 expression.
74214 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
74215 later.
74216
74217 2012-03-11 David S. Miller <davem@davemloft.net>
74218
74219 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74220 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
74221 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
74222 for 'resultvar' otherwise things get truncated on 64-bit.
74223
74224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74225 Fix masking out of the most significant byte of random value used.
74226
74227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74228
74229 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
74230
74231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74232
74233 2012-03-09 David S. Miller <davem@davemloft.net>
74234
74235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
74236 variables with appropriate CPP guards.
74237 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
74238 from the frame pointer, not the stack pointer. Correct layout
74239 comments. Fix test on resulting framesize and the management of
74240 the outregs buffer for pltexit. Preserve floating point return
74241 values across _dl_call_pltexit call.
74242 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
74243 framesize and the management of the outregs buffer for pltexit.
74244 Preserve floating point return values across _dl_call_pltexit
74245 call.
74246 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
74247 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
74248 (la_sparc64_gnu_pltexit): New functions.
74249 (print_exit): Fix format string for return register value.
74250
74251 2012-03-10 Joseph Myers <joseph@codesourcery.com>
74252
74253 * sunrpc/Makefile (others): Add rpcgen.
74254 ($(objpfx)rpcgen): Remove special build rule and dependency on
74255 libc.
74256 * sunrpc/rpcgen.c: New file.
74257
74258 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
74259
74260 [BZ #13673]
74261 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
74262 * stdio-common/bug-vfprintf-nargs.c: Likewise.
74263 * sysdeps/i386/crti.S: Likewise.
74264 * sysdeps/i386/crtn.S: Likewise.
74265 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
74266 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
74267 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
74268 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
74269 * sysdeps/sh/crti.S: Likewise.
74270 * sysdeps/sh/crtn.S: Likewise.
74271 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74272
74273 [BZ #13673]
74274 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
74275 with URL.
74276 * locale/programs/locfile-kw.gperf: Likewise.
74277 * locale/programs/charmap-kw.h: Regenerated.
74278 * locale/programs/locfile-kw.h: Likewise.
74279
74280 [BZ #13673]
74281 * intl/plural.y: Replace FSF snail mail address with URL.
74282 * intl/plural.c: Regenerated.
74283
74284 2012-03-09 Richard Henderson <rth@twiddle.net>
74285
74286 * include/math_private.h: Remove file.
74287 * math/math_private.h: Move file ...
74288 * sysdeps/generic/math_private.h: ... here.
74289
74290 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
74291 * sysdeps/powerpc/fpu/math_private.h: Likewise.
74292 * sysdeps/x86_64/fpu/math_private.h: Likewise.
74293
74294 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
74295 and <math_private.h>.
74296 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74297 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74298 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74299 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74300 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74301 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
74302 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74304 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74305 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74307 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74308 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74309 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74310 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74311 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74312 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74313 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74314 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74315 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74317 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74318 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74320 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
74321 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74322 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74323 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74324 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74326 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74327 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74328 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
74329 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74330 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74331 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74332 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74333 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74334 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74335 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74336 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
74337 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74338 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74339 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
74340 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
74341 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74342 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
74343 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
74344 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74345 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74346 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
74347 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
74348 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
74349 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74350 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
74351 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74352 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74353 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
74354 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
74355 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
74356 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74357 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
74358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74359 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74360 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
74361 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74362 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74363 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74364 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
74365 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
74366 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
74367 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74368 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
74369 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74370 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
74371 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
74372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
74373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74374 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
74375 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
74376 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
74377 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
74378 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
74379 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74380 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
74382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
74383 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
74384 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74385 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74386 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74387 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74388 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74389 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74390 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74391 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74392 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74393 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74394 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74395 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74396 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74397 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74398 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74399 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74400 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74401 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74402 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74403 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74404 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74406 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74407 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74408 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74409 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74410 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
74411 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74412 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74413 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74414 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74415 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74416 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74417 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74418 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74419 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
74420 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74421 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74422 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74423 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
74424 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74425 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
74426 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
74427 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74428 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74429 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
74430 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
74431 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74432 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74433 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74434 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
74435 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74436 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74437 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74438 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74439 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
74440 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
74441 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74442 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74443 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74444 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
74445 * sysdeps/ieee754/k_standard.c: Likewise.
74446 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74447 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74448 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74449 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74450 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74451 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74452 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74453 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74454 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74455 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74456 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74457 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74458 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74459 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74460 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74461 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74462 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
74463 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74464 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74465 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
74466 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
74467 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
74468 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74469 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74470 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
74471 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
74472 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74473 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74474 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74475 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74476 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
74477 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74478 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74479 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74480 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
74481 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74482 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74483 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
74484 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
74485 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74486 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
74487 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
74488 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
74489 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74490 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
74491 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
74492 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74493 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74494 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74495 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74496 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74497 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
74498 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74499 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74500 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74501 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74502 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
74503 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
74504 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74505 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74506 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74507 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
74508 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74509 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74510 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74512 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74513 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74514 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74515 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74516 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74518 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74519 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74520 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74522 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
74523 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74525 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
74526 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
74527 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
74528 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74529 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74530 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
74531 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74532 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74533 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
74534 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74535 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74536 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
74537 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74538 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
74539 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
74540 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74541 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74542 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
74543 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
74544 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
74545 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
74546 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74547 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74548 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74549 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74550 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
74551 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74552 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74553 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
74554 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
74555 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74556 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74557 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74558 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74559 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74560 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74561 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74562 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74563 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74564 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74565 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74566 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74567 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74568 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74569 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74570 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74571 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
74572 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74573 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74574 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74575 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74576 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74577 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74578 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74579 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74580 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74581 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74582 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74583 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74584 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74585 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74586 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74587 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74588 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74589 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74590 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74591 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74592 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74593 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74594 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74595 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74596 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74597 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74598 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74599 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74600 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74601 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74602 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74603 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74604 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74605 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74606 * sysdeps/ieee754/s_lib_version.c: Likewise.
74607 * sysdeps/ieee754/s_matherr.c: Likewise.
74608 * sysdeps/ieee754/s_signgam.c: Likewise.
74609 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74610 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74611 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74612 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74613 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74614 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74615 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74616 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74617 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74618 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74619 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74620 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74621 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74622 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74623 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74624 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74625 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74626 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74627 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74629 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74630
74631 2012-03-09 Joseph Myers <joseph@codesourcery.com>
74632
74633 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74634 * sunrpc/rpc_main.c: Likewise.
74635 * sunrpc/rpc_svcout.c: Likewise.
74636
74637 2012-03-09 David S. Miller <davem@davemloft.net>
74638
74639 * include/math_private.h: New file.
74640
74641 2012-03-09 Joseph Myers <joseph@codesourcery.com>
74642
74643 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74644 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74645 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74646 from <bits/socket_type.h>.
74647 (enum __socket_type): Don't define here.
74648 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74650 bits/socket_type.h.
74651
74652 [BZ #13566]
74653 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74654 checking __USE_GNU.
74655
74656 * Makerules ($(inst_includedir)/%.h): New rule.
74657 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74658 (install-others): Remove variable setting.
74659 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74660
74661 2012-03-08 Richard Henderson <rth@twiddle.net>
74662
74663 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74664 from macro to inline function; merge with the
74665 !__LIBC_INTERNAL_MATH_INLINES version.
74666 (__ieee754_sqrtf): Likewise.
74667
74668 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74669 to inline function.
74670 (__rintf, __floor, __floorf): Likewise.
74671
74672 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74673 macro to inline function.
74674 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74675
74676 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74677 not <math/math_private.h>.
74678
74679 2012-03-08 David S. Miller <davem@davemloft.net>
74680
74681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74682 copyright year.
74683 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74684
74685 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
74686
74687 * resolv/gai_misc.c (handle_requests): Fix struct timespec
74688 normalization.
74689 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74690 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74691
74692 2012-03-08 Ulrich Drepper <drepper@gmail.com>
74693
74694 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
74695 be defined individually, they must be defined as a block. Define
74696 S for printing a string instead of hidint the different by using a
74697 macro for adding the 'l'.
74698 * stdio-common/tst-fphex-wide.c: Adjust.
74699
74700 2012-03-07 Marek Polacek <polacek@redhat.com>
74701
74702 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74703
74704 2012-03-08 Marek Polacek <polacek@redhat.com>
74705
74706 [BZ #13806]
74707 * stdio-common/Makefile (tests): Add tst-fphex-wide.
74708 * stdio-common/tst-fphex.c: Define a few macros to make the
74709 test reusable. Use them.
74710 * stdio-common/tst-fphex-wide.c: New file.
74711
74712 2012-03-08 Joseph Myers <joseph@codesourcery.com>
74713
74714 [BZ #6911]
74715 * manual/macros.texi (gnusystems): New macro.
74716 (nongnusystems): Likewise.
74717 (gnulinuxhurdsystems): Likewise.
74718 (gnuhurdsystems): Likewise..
74719 (gnulinuxsystems): Likewise.
74720 * manual/charset.texi: Use new macros or @theglibc{} to refer to
74721 variants of the GNU system, not "GNU system".
74722 * manual/conf.texi: Likewise.
74723 * manual/errno.texi: Likewise. Update example of errno macro
74724 expansion.
74725 * manual/filesys.texi: Likewise.
74726 (getumask): Document as specific to GNU/Hurd.
74727 * manual/install.texi: Likewise. Reword some references to
74728 GNU/Linux.
74729 * manual/intro.texi: Likewise.
74730 * manual/io.texi: Likewise.
74731 (File Name Portability): Detail which constraints are inapplicable
74732 to all GNU systems and which are only inapplicable to GNU/Hurd.
74733 * manual/job.texi: Likewise.
74734 * manual/llio.texi: Likewise.
74735 (O_NOCTTY): Document as present on GNU/Linux.
74736 * manual/maint.texi: Likewise.
74737 * manual/memory.texi: Likewise.
74738 * manual/pattern.texi: Likewise.
74739 * manual/pipe.texi: Likewise.
74740 * manual/process.texi: Likewise.
74741 * manual/resource.texi: Likewise.
74742 (RUSAGE_CHILDREN): Remove statement about specifying a particular
74743 child on GNU/Hurd.
74744 * manual/setjmp.texi: Likewise.
74745 * manual/signal.texi: Likewise.
74746 * manual/startup.texi: Likewise.
74747 * manual/stdio.texi: Likewise.
74748 * manual/terminal.texi: Likewise.
74749 (ONLCR): Document as POSIX.
74750 (OXTABS): Document availability on GNU/Linux as XTABS.
74751 (ONOEOT): Document availability separately from other bits.
74752 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74753 * manual/time.texi: Likewise.
74754 * manual/users.texi: Likewise.
74755 * INSTALL: Regenerated.
74756 * sysdeps/gnu/errlist.c: Regenerated.
74757
74758 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74759 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74760 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
74761 puts.
74762 * configure: Regenerated.
74763
74764 2012-03-07 Joseph Myers <joseph@codesourcery.com>
74765
74766 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74767 default includes instead of AC_HEADER_CHECK.
74768 * sysdeps/i386/configure: Regenerated.
74769
74770 [BZ #10716]
74771 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74772 * math/s_cacoshf.c (__cacoshf): Likewise.
74773 * math/s_cacoshl.c (__cacoshl): Likewise.
74774 * math/s_casinh.c (__casinh): Set signs of result from argument.
74775 * math/s_casinhf.c (__casinhf): Likewise.
74776 * math/s_casinhl.c (__casinhl): Likewise.
74777 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74778 (casinh_test): Add more tests.
74779 * sysdeps/i386/fpu/libm-test-ulps: Update.
74780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74781
74782 2012-03-07 Ulrich Drepper <drepper@gmail.com>
74783
74784 * po/zh_TW.po: Update from translation team.
74785
74786 * login/Makefile (distribute): Remove variable.
74787 * catgets/Makefile: Likewise.
74788 * mach/Makefile: Likewise.
74789 * malloc/Makefile: Likewise.
74790 * misc/Makefile: Likewise.
74791 * iconv/Makefile: Likewise.
74792 * nscd/Makefile: Likewise.
74793 * hurd/Makefile: Likewise.
74794 * manual/Makefile: Likewise.
74795 * locale/Makefile: Likewise.
74796 * intl/Makefile: Likewise.
74797 * conform/Makefile: Likewise.
74798 * nss/Makefile: Likewise.
74799 * time/Makefile: Likewise.
74800 * soft-fp/Makefile: Likewise.
74801 * dirent/Makefile: Likewise.
74802 * gmon/Makefile: Likewise.
74803 * po/Makefile: Likewise.
74804 * rt/Makefile: Likewise.
74805 * socket/Makefile: Likewise.
74806 * math/Makefile: Likewise.
74807 * signal/Makefile: Likewise.
74808 * debug/Makefile: Likewise.
74809 * elf/Makefile: Likewise.
74810 * timezone/Makefile: Likewise.
74811 * stdlib/Makefile: Likewise.
74812 * iconvdata/Makefile: Likewise.
74813 * sunrpc/Makefile: Likewise.
74814 * io/Makefile: Likewise.
74815 * argp/Makefile: Likewise.
74816 * inet/Makefile: Likewise.
74817 * hesiod/Makefile: Likewise.
74818 * grp/Makefile: Likewise.
74819 * csu/Makefile: Likewise.
74820 * wctype/Makefile: Likewise.
74821 * crypt/Makefile: Likewise.
74822 * libio/Makefile: Likewise.
74823 * string/Makefile: Likewise.
74824 * nis/Makefile: Likewise.
74825 * resolv/Makefile: Likewise.
74826 * stdio-common/Makefile: Likewise.
74827 * wcsmbs/Makefile: Likewise.
74828 * dlfcn/Makefile: Likewise.
74829 * posix/Makefile: Likewise.
74830
74831 [BZ #6959]
74832 * timezone/Makefile: Don't install timezone files, just the programs
74833 and scripts.
74834
74835 2012-03-06 Ulrich Drepper <drepper@gmail.com>
74836
74837 * nss/databases.def: Add missing gshadow entry.
74838
74839 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
74840
74841 2012-03-06 Marek Polacek <polacek@redhat.com>
74842
74843 [BZ #13726]
74844 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74845 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74846 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74847 * stdio-common/tst-long-dbl-fphex.c: New file.
74848
74849 2012-03-06 David S. Miller <davem@davemloft.net>
74850
74851 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74852 (set_obp_int): New function.
74853 (get_obp_int): New function.
74854 (__get_clockfreq_via_dev_openprom): Likewise.
74855 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74856 Avoid unused variable warnings on 'val' and use builtin_expect.
74857 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74858 __builtin_expect.
74859 (INLINE_CLONE_SYSCALL): Likewise.
74860
74861 2012-03-05 David S. Miller <davem@davemloft.net>
74862
74863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74864
74865 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
74866
74867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74868
74869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74870 only for |x| >= 40.
74871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74872
74873 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
74874
74875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74876 Replace gettimeofday with __vdso_gettimeofday.
74877
74878 * sysdeps/unix/sysv/linux/x86_64/init-first.c
74879 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74880 __vdso_clock_gettime and __vdso_getcpu.
74881
74882 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74883 time with __vdso_time.
74884
74885 2012-03-05 Joseph Myers <joseph@codesourcery.com>
74886
74887 * manual/lang.texi (size_t): Note types to which size_t may be
74888 equivalent with the GNU C Library, but do not describe when
74889 differences between them are significant.
74890
74891 2012-03-05 Andreas Jaeger <aj@suse.de>
74892
74893 * sysdeps/i386/fpu/libm-test-ulps: Update.
74894
74895 2012-03-05 Joseph Myers <joseph@codesourcery.com>
74896
74897 [BZ #3976]
74898 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74899 (__ieee754_pow): Save and restore rounding mode and use
74900 round-to-nearest for main computations.
74901 * math/libm-test.inc (pow_test_tonearest): New function.
74902 (pow_test_towardzero): Likewise.
74903 (pow_test_downward): Likewise.
74904 (pow_test_upward): Likewise.
74905 (main): Call the new functions.
74906 * sysdeps/i386/fpu/libm-test-ulps: Update.
74907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74908
74909 [BZ #3976]
74910 * math/libm-test.inc (cosh_test_tonearest): New function.
74911 (cosh_test_towardzero): Likewise.
74912 (cosh_test_downward): Likewise.
74913 (cosh_test_upward): Likewise.
74914 (sinh_test_tonearest): Likewise.
74915 (sinh_test_towardzero): Likewise.
74916 (sinh_test_downward): Likewise.
74917 (sinh_test_upward): Likewise.
74918 (main): Call the new functions.
74919 * sysdeps/i386/fpu/libm-test-ulps: Update.
74920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74921
74922 2012-03-05 Tom de Vries <tom@codesourcery.com>
74923
74924 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74925 default stack guard is set in last bytes.
74926 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74927
74928 2012-03-05 Kees Cook <keescook@chromium.org>
74929
74930 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74931
74932 [BZ #13656]
74933 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74934 possibly allocate from heap instead of stack.
74935 * stdio-common/bug-vfprintf-nargs.c: New file.
74936 * stdio-common/Makefile (tests): Add nargs overflow test.
74937
74938 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
74939
74940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74941
74942 2012-03-03 Marek Polacek <polacek@redhat.com>
74943
74944 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74945 * math/math_private.h: Likewise.
74946 * stdlib/tst-strtod.c: Likewise.
74947 * sysdeps/i386/i486/bits/atomic.h: Likewise.
74948 * sysdeps/x86_64/bits/atomic.h: Likewise.
74949
74950 2012-03-02 David S. Miller <davem@davemloft.net>
74951
74952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74956 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74957 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74958 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74959 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74960
74961 2012-03-02 Roland McGrath <roland@hack.frob.com>
74962
74963 [BZ #13792]
74964 * manual/examples/README: New file, says the example source files
74965 can be used under GPL>=2.
74966 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74967 line containing just "*/".
74968 * manual/examples/add.c: Add copyright header (GPL>=2).
74969 * manual/examples/argp-ex1.c: Likewise.
74970 * manual/examples/argp-ex2.c: Likewise.
74971 * manual/examples/argp-ex3.c: Likewise.
74972 * manual/examples/argp-ex4.c: Likewise.
74973 * manual/examples/atexit.c: Likewise.
74974 * manual/examples/db.c: Likewise.
74975 * manual/examples/dir.c: Likewise.
74976 * manual/examples/dir2.c: Likewise.
74977 * manual/examples/execinfo.c: Likewise.
74978 * manual/examples/filecli.c: Likewise.
74979 * manual/examples/filesrv.c: Likewise.
74980 * manual/examples/fmtmsgexpl.c: Likewise.
74981 * manual/examples/genpass.c: Likewise.
74982 * manual/examples/inetcli.c: Likewise.
74983 * manual/examples/inetsrv.c: Likewise.
74984 * manual/examples/isockad.c: Likewise.
74985 * manual/examples/longopt.c: Likewise.
74986 * manual/examples/memopen.c: Likewise.
74987 * manual/examples/memstrm.c: Likewise.
74988 * manual/examples/mkfsock.c: Likewise.
74989 * manual/examples/mkisock.c: Likewise.
74990 * manual/examples/mygetpass.c: Likewise.
74991 * manual/examples/pipe.c: Likewise.
74992 * manual/examples/popen.c: Likewise.
74993 * manual/examples/rprintf.c: Likewise.
74994 * manual/examples/search.c: Likewise.
74995 * manual/examples/select.c: Likewise.
74996 * manual/examples/setjmp.c: Likewise.
74997 * manual/examples/sigh1.c: Likewise.
74998 * manual/examples/sigusr.c: Likewise.
74999 * manual/examples/stpcpy.c: Likewise.
75000 * manual/examples/strdupa.c: Likewise.
75001 * manual/examples/strftim.c: Likewise.
75002 * manual/examples/strncat.c: Likewise.
75003 * manual/examples/subopt.c: Likewise.
75004 * manual/examples/swapcontext.c: Likewise.
75005 * manual/examples/termios.c: Likewise.
75006 * manual/examples/testopt.c: Likewise.
75007 * manual/examples/testpass.c: Likewise.
75008 * manual/examples/timeval_subtract.c: Likewise.
75009
75010 [BZ #13792]
75011 * manual/time.texi (Elapsed Time): Move timeval_subtract example
75012 function to ...
75013 * manual/timeval_subtract.c.texi: ... here, new file.
75014
75015 2012-03-02 David S. Miller <davem@davemloft.net>
75016
75017 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
75018
75019 2012-03-02 Joseph Myers <joseph@codesourcery.com>
75020
75021 [BZ #3976]
75022 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
75023 (__sin): Save and restore rounding mode and use round-to-nearest
75024 for all computations.
75025 (__cos): Save and restore rounding mode and use round-to-nearest
75026 for all computations.
75027 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
75028 <fenv.h>.
75029 (tan): Save and restore rounding mode and use round-to-nearest for
75030 all computations.
75031 * math/libm-test.inc (cos_test_tonearest): New function.
75032 (cos_test_towardzero): Likewise.
75033 (cos_test_downward): Likewise.
75034 (cos_test_upward): Likewise.
75035 (sin_test_tonearest): Likewise.
75036 (sin_test_towardzero): Likewise.
75037 (sin_test_downward): Likewise.
75038 (sin_test_upward): Likewise.
75039 (tan_test_tonearest): Likewise.
75040 (tan_test_towardzero): Likewise.
75041 (tan_test_downward): Likewise.
75042 (tan_test_upward): Likewise.
75043 (main): Call the new functions.
75044 * sysdeps/i386/fpu/libm-test-ulps: Update.
75045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75046
75047 [BZ #10135]
75048 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
75049 small n, then large n, before computing and testing k+n.
75050 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
75051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
75052 Likewise.
75053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
75054 Likewise.
75055 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
75056 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
75057 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
75058 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
75059 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
75060 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
75061 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
75062 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
75063 * math/libm-test.inc (scalbn_test): Add more tests.
75064 (scalbln_test): Likewise.
75065
75066 * manual/filesys.texi (mode_t): Describe constraints on size and
75067 signedness, not exact equivalence to a particular type.
75068 (ino_t): Likewise.
75069 (ino64_t): Likewise.
75070 (dev_t): Likewise.
75071 (nlink_t): Likewise.
75072 (blkcnt_t): Likewise.
75073 (blkcnt64_t): Likewise.
75074 * manual/llio.texi (off_t): Likewise.
75075
75076 [BZ #3976]
75077 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
75078 (__ieee754_exp): Save and restore rounding mode and use
75079 round-to-nearest for all computations.
75080 * math/libm-test.inc (exp_test_tonearest): New function.
75081 (exp_test_towardzero): Likewise.
75082 (exp_test_downward): Likewise.
75083 (exp_test_upward): Likewise.
75084 (main): Call the new functions.
75085 * sysdeps/i386/fpu/libm-test-ulps: Update.
75086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75087
75088 2012-03-01 Chris Demetriou <cgd@google.com>
75089
75090 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
75091 have predictable order.
75092
75093 2012-03-01 David S. Miller <davem@davemloft.net>
75094
75095 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
75096
75097 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
75098 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
75099 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
75100 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
75101
75102 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
75103 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
75104 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
75105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
75106 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
75107 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
75108 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
75109 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
75110 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
75111
75112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75113
75114 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
75115 * sysdeps/sparc/fpu/libm-test-ulps: to here.
75116 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
75117
75118 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
75119 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75120 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75121 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
75122 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
75123 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
75124 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
75125 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75126 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75127 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
75128 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
75129 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75131 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75132 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75134 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
75135 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
75136 * sysdeps/sparc/elf/configure: Regenerated.
75137
75138 2012-03-01 Joseph Myers <joseph@codesourcery.com>
75139
75140 * configure.in (AS, LD): Require binutils 2.20 or later.
75141 * configure: Regenerated.
75142 * manual/install.texi (Tools for Compilation): Give binutils 2.20
75143 as required minimum version.
75144 * INSTALL: Regenerated.
75145
75146 [BZ #2541]
75147 [BZ #4108]
75148 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
75149 before squaring exponent.
75150 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
75151 bottom long double and 27 bits of top long double before squaring
75152 exponent.
75153 * math/libm-test.inc (erfc_test): Add more tests.
75154 * sysdeps/i386/fpu/libm-test-ulps: Update.
75155 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75157
75158 2012-03-01 Kai Tietz <ktietz@redhat.com>
75159
75160 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
75161 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
75162 containing bit-fields.
75163 * soft-fp/extended.h (_FP_UNION_E): Likewise.
75164 * soft-fp/single.h (_FP_UNION_S): Likewise.
75165 * soft-fp/double.h (_FP_UNION_D): Likewise.
75166
75167 2012-02-29 Joseph Myers <joseph@codesourcery.com>
75168
75169 [BZ #13786]
75170 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
75171 not include ../strcmp.S.
75172 [USE_AS_STRNCASECMP_L]: Likewise.
75173 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
75174 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
75175 * sysdeps/i386/i686/multiarch/strncase_l-c.c
75176 (__strncasecmp_l_ia32): Define as alias to
75177 __strncasecmp_l_nonascii.
75178
75179 [BZ #5794]
75180 * math/libm-test.inc (expm1_test): Add test for bug 5794.
75181 * sysdeps/i386/fpu/libm-test-ulps: Update.
75182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75183
75184 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
75185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75186
75187 2012-02-29 Jeff Law <law@redhat.com>
75188
75189 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
75190 out of bounds read.
75191
75192 2012-02-29 Marek Polacek <polacek@redhat.com>
75193
75194 [BZ #13706]
75195 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
75196 * elf/Makefile: Add rules to run tst-unused-dep.out.
75197
75198 2012-02-28 David S. Miller <davem@davemloft.net>
75199
75200 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
75201 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
75202 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
75203 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
75204 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
75205 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
75206
75207 2012-02-29 Joseph Myers <joseph@codesourcery.com>
75208
75209 * math/libm-test.inc (llround_test): Move one test from
75210 lround_test. Use TEST_f_L in moved test.
75211 (lround_test): Move misplaced test to llround_test. Add testcase
75212 from bug 2561.
75213
75214 2012-02-28 Ulrich Drepper <drepper@gmail.com>
75215
75216 * sysdeps/x86_64/fpu/e_expf.S: New file.
75217 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
75218
75219 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
75220
75221 [BZ #13637]
75222 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
75223 of remain_len that may cause incomplete multi-byte character and
75224 false match.
75225 * posix/bug-regex33.c: New file.
75226 * posix/Makefile (tests): Add bug-regex33.
75227
75228 2012-02-28 Joseph Myers <joseph@codesourcery.com>
75229
75230 * manual/macros.texi: New file.
75231 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
75232 * manual/libc.texinfo: Include macros.texi.
75233 * manual/creatute.texi: Likewise.
75234 * manual/install.texi: Likewise.
75235 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
75236 @glibcadj{} in references to the GNU C Library.
75237 * manual/charset.texi: Likewise.
75238 * manual/conf.texi: Likewise.
75239 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
75240 when not using those macros.
75241 * manual/creature.texi: Likewise.
75242 * manual/crypt.texi: Likewise.
75243 * manual/errno.texi: Likewise.
75244 * manual/filesys.texi: Likewise.
75245 * manual/header.texi: Likewise.
75246 * manual/install.texi: Likewise.
75247 * manual/intro.texi: Likewise.
75248 * manual/io.texi: Likewise.
75249 * manual/job.texi: Likewise.
75250 * manual/lang.texi: Likewise.
75251 * manual/libc.texiinfo: Likewise.
75252 * manual/llio.texi: Likewise.
75253 * manual/locale.texi: Likewise.
75254 * manual/maint.texi: Likewise.
75255 * manual/math.texi: Likewise.
75256 * manual/memory.texi: Likewise.
75257 * manual/message.texi: Likewise.
75258 * manual/nss.texi: Likewise.
75259 * manual/pattern.texi: Likewise.
75260 * manual/process.texi: Likewise.
75261 * manual/resource.texi: Likewise.
75262 * manual/search.texi: Likewise.
75263 * manual/setjmp.texi: Likewise.
75264 * manual/signal.texi: Likewise.
75265 * manual/socket.texi: Likewise.
75266 * manual/startup.texi: Likewise.
75267 * manual/stdio.texi: Likewise.
75268 * manual/string.texi: Likewise.
75269 * manual/sysinfo.texi: Likewise.
75270 * manual/syslog.texi: Likewise.
75271 * manual/terminal.texi: Likewise.
75272 * manual/time.texi: Likewise.
75273 * manual/users.texi: Likewise.
75274 * INSTALL: Regenerated.
75275 * NOTES: Regenerated.
75276 * sysdeps/gnu/errlist.c: Regenerated.
75277
75278 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
75279
75280 * include/dirent.h: Include <dirstream.h> before
75281 <dirent/dirent.h>.
75282
75283 2012-02-28 David S. Miller <davem@davemloft.net>
75284
75285 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
75286 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
75287 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
75288 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
75289
75290 2012-02-27 David S. Miller <davem@davemloft.net>
75291
75292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
75293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
75294 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
75295 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
75296
75297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
75298 frame pointer instead of stack pointer relative arg slot.
75299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
75300 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
75301 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
75302
75303 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
75304
75305 [BZ #3992]
75306 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
75307
75308 2012-02-27 David S. Miller <davem@davemloft.net>
75309
75310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
75311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
75312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
75314 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
75315 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
75316 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
75317 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
75318
75319 2012-02-27 Joseph Myers <joseph@codesourcery.com>
75320
75321 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
75322 later. Allow versions 5-9.
75323 * configure: Regenerated.
75324 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
75325 required minimum version and 4.6 as recommended version. Do not
75326 mention bugs in GCC 2.7 and 2.8.
75327 * INSTALL: Regenerated.
75328
75329 2012-02-27 David S. Miller <davem@davemloft.net>
75330
75331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
75332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
75333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
75334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
75335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
75336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
75337 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
75338 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
75339
75340 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
75341 manipulate bits before adding and subtracting TWO112[sx].
75342 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
75343
75344 2012-02-27 Roland McGrath <roland@hack.frob.com>
75345
75346 [BZ #13775]
75347 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
75348 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
75349 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
75350 being in POSIX, because they are in 1003.1-2008.
75351
75352 * rt/tst-aio.c: Include <fcntl.h>.
75353 * rt/tst-aio7.c: Likewise.
75354 * rt/tst-aio64.c: Likewise.
75355
75356 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
75357
75358 2012-02-27 Joseph Myers <joseph@codesourcery.com>
75359
75360 * manual/install.texi (--with-headers): Describe headers as
75361 interface headers, not private headers.
75362 (Specific advice for GNU/Linux systems): Describe use of headers
75363 from "make headers_install", not private headers from older
75364 kernels.
75365 * INSTALL: Regenerated.
75366 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
75367 Change to 2.6.19.
75368 * sysdeps/unix/sysv/linux/configure: Regenerated.
75369
75370 * manual/llio.texi (fclean): Remove documentation.
75371
75372 * manual/Makefile (libc-texi-generated): New variable. Include
75373 version.texi.
75374 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
75375 $(libc-texi-generated), not duplicated list of files.
75376 (version.texi, stamp-version): New rules.
75377 (realclean): Remove $(libc-texi-generated), not individual files
75378 from that list. Do not remove dir-add.texinfo.
75379 * manual/libc.texinfo: Comment out uses of edition numbers and
75380 references to printed manual. Remove last-updated dates.
75381 (EDITION): Comment out.
75382 (ISBN): Likewise.
75383 (VERSION, UPDATED): Remove.
75384 (version.texi): Include.
75385
75386 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
75387
75388 * sysdeps/posix/spawni.c: Include <signal.h>.
75389 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
75390 * sysdeps/pthread/aio_fsync.c: Likewise.
75391
75392 2012-02-26 Ulrich Drepper <drepper@gmail.com>
75393
75394 * conform/Makefile (tests): Run only when not cross-compiling and
75395 when fast-check is not defined.
75396
75397 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
75398 * conform/data/limits.h-data: Fixes for POSIX2008.
75399 * conform/run-conformtest.sh: Run all tests.
75400 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
75401 headers.
75402 * include/bits/dlfcn.h: Likewise.
75403 * include/langinfo.h: Likewise.
75404 * include/monetary.h: Likewise.
75405 * include/sys/poll.h: Likewise.
75406
75407 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
75408 for __USE_GNU.
75409 * posix/spawn.h: Define __need_sigset_t.
75410 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
75411 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
75412 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
75413 to get sigevent_t only.
75414 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
75415 only for __USE_GNU.
75416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75417 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75418 process_vm_writev only for __USE_GNU.
75419 * termios/termios.h: Declare tcgetsid also for POSIX2008.
75420
75421 * conform/Makefile: For now ignore errors from run-conformtest.
75422 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
75423 POSIX to avoid namespace pollution. Don't prepend headers.
75424 * conform/data/aio.h-data: Fixes for POSIX testing.
75425 * conform/data/fcntl.h-data: Likewise.
75426 * conform/data/glob.h-data: Likewise.
75427 * conform/data/grp.h-data: Likewise.
75428 * conform/data/pthread.h-data: Likewise.
75429 * conform/data/pwd.h-data: Likewise.
75430 * conform/data/signal.h-data: Likewise.
75431 * conform/data/spawn.h-data: Likewise.
75432 * conform/data/stdio.h-data: Likewise.
75433 * conform/data/stdlib.h-data: Likewise.
75434 * conform/data/stropts.h-data: Likewise.
75435 * conform/data/sys/mman.h-data: Likewise.
75436 * conform/data/sys/stat.h-data: Likewise.
75437 * conform/data/sys/types.h-data: Likewise.
75438 * conform/data/sys/wait.h-data: Likewise.
75439 * conform/data/time.h-data: Likewise.
75440 * conform/data/unistd.h-data: Likewise.
75441 * conform/data/utime.h-data: Likewise.
75442
75443 * io/sys/stat.h: fchmod was always in POSIX.
75444 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
75445 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
75446 * rt/aio.h: Define __need_timespec before including <time.h>.
75447 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
75448 struct. Add forward declaration of pthread_attr_t and use it in
75449 sigevent.
75450 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75451 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75452 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
75453 always remove CLK_TCK definition.
75454
75455 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
75456
75457 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
75458
75459 2012-02-25 Ulrich Drepper <drepper@gmail.com>
75460
75461 * conform/run-conformtest.sh: New file.
75462 * conform/Makefile: Run run-conformtest for tests.
75463 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
75464 support.
75465
75466 * conform/data/uchar.h-data: New file.
75467 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
75468 * conform/data/arpa/inet.h-data: Likewise.
75469 * conform/data/assert.h-data: Likewise.
75470 * conform/data/complex.h-data: Likewise.
75471 * conform/data/cpio.h-data: Likewise.
75472 * conform/data/ctype.h-data: Likewise.
75473 * conform/data/dirent.h-data: Likewise.
75474 * conform/data/dlfcn.h-data: Likewise.
75475 * conform/data/errno.h-data: Likewise.
75476 * conform/data/fcntl.h-data: Likewise.
75477 * conform/data/float.h-data: Likewise.
75478 * conform/data/fmtmsg.h-data: Likewise.
75479 * conform/data/fnmatch.h-data: Likewise.
75480 * conform/data/ftw.h-data: Likewise.
75481 * conform/data/glob.h-data: Likewise.
75482 * conform/data/grp.h-data: Likewise.
75483 * conform/data/iconv.h-data: Likewise.
75484 * conform/data/inttypes.h-data: Likewise.
75485 * conform/data/langinfo.h-data: Likewise.
75486 * conform/data/libgen.h-data: Likewise.
75487 * conform/data/limits.h-data: Likewise.
75488 * conform/data/locale.h-data: Likewise.
75489 * conform/data/math.h-data: Likewise.
75490 * conform/data/monetary.h-data: Likewise.
75491 * conform/data/mqueue.h-data: Likewise.
75492 * conform/data/ndbm.h-data: Likewise.
75493 * conform/data/net/if.h-data: Likewise.
75494 * conform/data/netdb.h-data: Likewise.
75495 * conform/data/netinet/in.h-data: Likewise.
75496 * conform/data/nl_types.h-data: Likewise.
75497 * conform/data/poll.h-data: Likewise.
75498 * conform/data/pthread.h-data: Likewise.
75499 * conform/data/pwd.h-data: Likewise.
75500 * conform/data/regex.h-data: Likewise.
75501 * conform/data/sched.h-data: Likewise.
75502 * conform/data/search.h-data: Likewise.
75503 * conform/data/semaphore.h-data: Likewise.
75504 * conform/data/setjmp.h-data: Likewise.
75505 * conform/data/signal.h-data: Likewise.
75506 * conform/data/spawn.h-data: Likewise.
75507 * conform/data/stdarg.h-data: Likewise.
75508 * conform/data/stdio.h-data: Likewise.
75509 * conform/data/stdlib.h-data: Likewise.
75510 * conform/data/string.h-data: Likewise.
75511 * conform/data/strings.h-data: Likewise.
75512 * conform/data/stropts.h-data: Likewise.
75513 * conform/data/sys/ipc.h-data: Likewise.
75514 * conform/data/sys/mman.h-data: Likewise.
75515 * conform/data/sys/msg.h-data: Likewise.
75516 * conform/data/sys/resource.h-data: Likewise.
75517 * conform/data/sys/select.h-data: Likewise.
75518 * conform/data/sys/sem.h-data: Likewise.
75519 * conform/data/sys/shm.h-data: Likewise.
75520 * conform/data/sys/socket.h-data: Likewise.
75521 * conform/data/sys/stat.h-data: Likewise.
75522 * conform/data/sys/statvfs.h-data: Likewise.
75523 * conform/data/sys/time.h-data: Likewise.
75524 * conform/data/sys/timeb.h-data: Likewise.
75525 * conform/data/sys/times.h-data: Likewise.
75526 * conform/data/sys/types.h-data: Likewise.
75527 * conform/data/sys/uio.h-data: Likewise.
75528 * conform/data/sys/un.h-data: Likewise.
75529 * conform/data/sys/utsname.h-data: Likewise.
75530 * conform/data/sys/wait.h-data: Likewise.
75531 * conform/data/syslog.h-data: Likewise.
75532 * conform/data/tar.h-data: Likewise.
75533 * conform/data/termios.h-data: Likewise.
75534 * conform/data/utime.h-data: Likewise.
75535 * conform/data/utmpx.h-data: Likewise.
75536 * conform/data/varargs.h-data: Likewise.
75537 * conform/data/wchar.h-data: Likewise.
75538 * conform/data/wctype.h-data: Likewise.
75539 * conform/data/wordexp.h-data: Likewise.
75540
75541 * include/stropts.h: New file.
75542 * include/uchar.h: New file.
75543 * include/aio.h: Changes to allow conformtest.pl to use the headers.
75544 * include/assert.h: Likewise.
75545 * include/ctype.h: Likewise.
75546 * include/dirent.h: Likewise.
75547 * include/dlfcn.h: Likewise.
75548 * include/fcntl.h: Likewise.
75549 * include/fnmatch.h: Likewise.
75550 * include/glob.h: Likewise.
75551 * include/grp.h: Likewise.
75552 * include/libio.h: Likewise.
75553 * include/locale.h: Likewise.
75554 * include/math.h: Likewise.
75555 * include/net/if.h: Likewise.
75556 * include/netdb.h: Likewise.
75557 * include/netinet/in.h: Likewise.
75558 * include/pthread.h: Likewise.
75559 * include/pwd.h: Likewise.
75560 * include/regex.h: Likewise.
75561 * include/sched.h: Likewise.
75562 * include/search.h: Likewise.
75563 * include/setjmp.h: Likewise.
75564 * include/signal.h: Likewise.
75565 * include/stdio.h: Likewise.
75566 * include/stdlib.h: Likewise.
75567 * include/string.h: Likewise.
75568 * include/sys/cdefs.h: Likewise.
75569 * include/sys/mman.h: Likewise.
75570 * include/sys/msg.h: Likewise.
75571 * include/sys/resource.h: Likewise.
75572 * include/sys/select.h: Likewise.
75573 * include/sys/socket.h: Likewise.
75574 * include/sys/stat.h: Likewise.
75575 * include/sys/statvfs.h: Likewise.
75576 * include/sys/time.h: Likewise.
75577 * include/sys/times.h: Likewise.
75578 * include/sys/uio.h: Likewise.
75579 * include/sys/utsname.h: Likewise.
75580 * include/sys/wait.h: Likewise.
75581 * include/termios.h: Likewise.
75582 * include/time.h: Likewise.
75583 * include/ulimit.h: Likewise.
75584 * include/unistd.h: Likewise.
75585 * include/utime.h: Likewise.
75586 * include/wchar.h: Likewise.
75587 * include/wctype.h: Likewise.
75588 * include/wordexp.h: Likewise.
75589
75590 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75591
75592 * time/time.h: TIME_UTC must be a macro.
75593 Make timespec_get available for ISO C11 only as well.
75594
75595 2012-02-24 Ulrich Drepper <drepper@gmail.com>
75596
75597 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75598 Reported by Peng Haitao <penght@cn.fujitsu.com>.
75599
75600 2012-02-24 Joseph Myers <joseph@codesourcery.com>
75601
75602 * configure.in: Use -o not -a in test for unsupported multi-arch.
75603
75604 2012-02-24 Joseph Myers <joseph@codesourcery.com>
75605
75606 * manual/texinfo.tex: Update to version 2012-01-19.16.
75607
75608 2012-02-24 Joseph Myers <joseph@codesourcery.com>
75609
75610 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75611
75612 2012-02-24 Roland McGrath <roland@hack.frob.com>
75613
75614 [BZ #13738]
75615 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75616 * manual/fdl-1.3.texi: New file.
75617 * manual/fdl-1.1.texi: File removed.
75618
75619 [BZ #13738]
75620 * manual/libc.texinfo (FDL_VERSION): New @set.
75621 Use it for mention of FDL in cover text.
75622 (Documentation License): Use it in @include file name.
75623
75624 2012-02-22 Joseph Myers <joseph@codesourcery.com>
75625 Roland McGrath <roland@hack.frob.com>
75626
75627 [BZ #5461]
75628 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75629 (not LONG_LONG_MAX and LONG_LONG_MIN.
75630 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75631 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
75632 name.
75633 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75634
75635 2012-02-22 Joseph Myers <joseph@codesourcery.com>
75636
75637 [BZ #2547]
75638 [BZ #11365]
75639 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75640 manipulate bits before adding and subtracting TWO23[sx].
75641 * math/libm-test.inc (nearbyint_test): Add more tests.
75642
75643 2012-02-22 Joseph Myers <joseph@codesourcery.com>
75644
75645 [BZ #2548]
75646 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75647 bits before adding and subtracting TWO23[sx].
75648 * math/libm-test.inc (rint_test): Add more tests.
75649 (rint_test_tonearest): Likewise.
75650 (rint_test_towardzero): Likewise.
75651 (rint_test_downward): Likewise.
75652 (rint_test_upward: Likewise.
75653
75654 2012-02-22 Joseph Myers <joseph@codesourcery.com>
75655
75656 [BZ #10110]
75657 * include/stdc-predef.h: New file. Extracted from features.h.
75658 * include/features.h: Include stdc-predef.h.
75659 * Makefile (headers): Add stdc-predef.h.
75660 * CONFORMANCE (Compiler limitations): Update.
75661
75662 2012-02-22 Joseph Myers <joseph@codesourcery.com>
75663
75664 * manual/libc.texinfo (VERSION, UPDATED): Revert.
75665
75666 2012-02-21 David S. Miller <davem@davemloft.net>
75667
75668 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75669 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75670
75671 2012-02-20 David S. Miller <davem@davemloft.net>
75672
75673 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75674 using a normal save/restore sequence, rather than allocating a
75675 dummy stack frame just to store a frame pointer and restore.
75676 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75677
75678 2012-02-21 Joseph Myers <joseph@codesourcery.com>
75679
75680 * manual/install.texi: Fix stray word in line-wrapped comment.
75681
75682 2012-02-20 David S. Miller <davem@davemloft.net>
75683
75684 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75685 both binutils and gcc support GOTDATA.
75686
75687 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75688 "rd %pc" in the PIC register setup sequences.
75689
75690 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75691 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75692 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75693 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75694 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75697 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75699 (SYSCALL_ERROR_HANDLER): Likewise.
75700 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75701 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75702 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75703 (SYSCALL_ERROR_HANDLER): Likewise.
75704
75705 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75706 (HAVE_GCC_GOTDATA): New.
75707 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75708 relocation support in both binutils and gcc.
75709 * sysdeps/sparc/elf/configure: Regenerate.
75710
75711 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75712 * sysdeps/sparc/sparc32/elf/configure: Delete.
75713 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75714 * sysdeps/sparc/sparc64/elf/configure: Delete.
75715 * sysdeps/sparc/elf/configure.in: New file.
75716 * sysdeps/sparc/elf/configure: Generate.
75717
75718 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75719 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75720 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75721 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75722 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75723
75724 2012-02-21 Joseph Myers <joseph@codesourcery.com>
75725
75726 * manual/install.texi: Do not mention specific glibc version
75727 numbers.
75728 * manual/libc.texinfo (VERSION, UPDATED): Update.
75729 (@copying): Use @copyright{} and range of years.
75730
75731 2012-02-21 Joseph Myers <joseph@codesourcery.com>
75732
75733 [BZ #13695]
75734 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75735 [crti.S not in sysdirs] (generated): Do not append.
75736 [crti.S not in sysdirs] (omit-deps): Likewise.
75737 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75738 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75739 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75740 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75741 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75742 Likewise.
75743 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75744 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75745 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75746 * csu/defs.awk: Remove file.
75747 * sysdeps/generic/initfini.c: Likewise.
75748 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75749 variable.
75750 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75751 Likewise.
75752
75753 2012-02-20 Joseph Myers <joseph@codesourcery.com>
75754
75755 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75756 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75757 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75758 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75759 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75760 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75761 <bits/epoll.h>.
75762 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75763 (__EPOLL_PACKED): Define to empty if not defined by
75764 <bits/epoll.h>.
75765 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75767 bits/epoll.h.
75768
75769 2012-02-20 Joseph Myers <joseph@codesourcery.com>
75770
75771 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75772 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75773 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75774 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75775 <bits/timerfd.h>.
75776 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75778 bits/timerfd.h.
75779
75780 2012-02-20 Joseph Myers <joseph@codesourcery.com>
75781
75782 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75783 in C locale.
75784 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75785 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75786 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75788
75789 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
75790
75791 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75792 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75793
75794 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
75795
75796 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75797 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75798 defined.
75799 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75800 Likewise.
75801 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75802 entry for 2.16.
75803
75804 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
75805
75806 * math/w_acos.c: Use non-signaling floating-point comparisons.
75807 * math/w_acosf.c: Likewise.
75808 * math/w_acosh.c: Likewise.
75809 * math/w_acoshf.c: Likewise.
75810 * math/w_acoshl.c: Likewise.
75811 * math/w_acosl.c: Likewise.
75812 * math/w_asin.c: Likewise.
75813 * math/w_asinf.c: Likewise.
75814 * math/w_asinl.c: Likewise.
75815 * math/w_atanh.c: Likewise.
75816 * math/w_atanhf.c: Likewise.
75817 * math/w_atanhl.c: Likewise.
75818 * math/w_exp2.c: Likewise.
75819 * math/w_exp2f.c: Likewise.
75820 * math/w_exp2l.c: Likewise.
75821 * math/w_j0.c: Likewise.
75822 * math/w_j0f.c: Likewise.
75823 * math/w_j0l.c: Likewise.
75824 * math/w_j1.c: Likewise.
75825 * math/w_j1f.c: Likewise.
75826 * math/w_j1l.c: Likewise.
75827 * math/w_jn.c: Likewise.
75828 * math/w_jnf.c: Likewise.
75829 * math/w_log.c: Likewise.
75830 * math/w_log10.c: Likewise.
75831 * math/w_log10f.c: Likewise.
75832 * math/w_log10l.c: Likewise.
75833 * math/w_log2.c: Likewise.
75834 * math/w_log2f.c: Likewise.
75835 * math/w_log2l.c: Likewise.
75836 * math/w_logf.c: Likewise.
75837 * math/w_logl.c: Likewise.
75838 * math/w_sqrt.c: Likewise.
75839 * math/w_sqrtf.c: Likewise.
75840 * math/w_sqrtl.c: Likewise.
75841 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75842 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75843 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75844 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75845 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75846
75847 2012-02-19 Joseph Myers <joseph@codesourcery.com>
75848
75849 [BZ #9739]
75850 * manual/string.texi (strnlen): Use correct parameter name in
75851 equivalent expression.
75852
75853 2012-02-19 Joseph Myers <joseph@codesourcery.com>
75854
75855 [BZ #11174]
75856 * manual/users.texi (seteuid): Consistently use neweuid for
75857 argument name.
75858
75859 2012-02-19 Joseph Myers <joseph@codesourcery.com>
75860
75861 [BZ #13704]
75862 * manual/nss.texi (Services in the NSS configuration): Correct
75863 list of services in example configuration file.
75864
75865 2012-02-19 Nick Bowler <nbowler@draconx.ca>
75866
75867 [BZ #11322]
75868 * manual/arith.texi: Remove statements about negative zero
75869 behaving identically to zero.
75870
75871 2012-02-18 Joseph Myers <joseph@codesourcery.com>
75872
75873 [BZ #5993]
75874 * manual/install.texi: Do not document upgrading from libc5.
75875
75876 2012-02-18 Joseph Myers <joseph@codesourcery.com>
75877
75878 [BZ #4596]
75879 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75880
75881 2012-02-18 David S. Miller <davem@davemloft.net>
75882
75883 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75884 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75885 %o7 across the call.
75886 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75887 instead.
75888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75889 SETUP_PIC_REG_LEAF.
75890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75891 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75892 * sysdeps/sparc/crtn.S: Likewise.
75893
75894 2012-02-17 Ulrich Drepper <drepper@gmail.com>
75895
75896 * aout/Makefile: Remove.
75897
75898 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
75899
75900 [BZ #13058]
75901 * manual/examples/argp-ex1.c (main): Format definition in GNU
75902 style.
75903 * manual/examples/argp-ex2.c (main): Likewise.
75904 * manual/examples/argp-ex3.c (main): Likewise.
75905 * manual/examples/argp-ex4.c (main): Likewise.
75906 * manual/examples/longopt.c (main): Use new-style prototype
75907 definition.
75908 * manual/examples/strncat.c (main): Specify return type and use
75909 (void) for arguments.
75910 * manual/examples/subopt.c (main): Use char **argv argument.
75911
75912 2012-02-17 Joseph Myers <joseph@codesourcery.com>
75913
75914 [BZ #5077]
75915 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75916 rounding modes.
75917
75918 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
75919
75920 [BZ #6907]
75921 * manual/string.texi (strchr): Change when strchrnul is
75922 recommended.
75923
75924 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
75925
75926 [BZ #174]
75927 * manual/locale.texi (setlocale): Document LOCPATH.
75928
75929 2012-02-17 Joseph Myers <joseph@codesourcery.com>
75930
75931 [BZ #10210]
75932 * manual/process.texi (execle): Move @dots{} before last argument.
75933
75934 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
75935
75936 [BZ #12047]
75937 * manual/charset.texi (Generic Charset Conversion): Fix typo
75938 (LC_TYPE -> LC_CTYPE).
75939
75940 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
75941
75942 [BZ #5805]
75943 * manual/arith.texi (scalbn): Use @var{} on parameter names.
75944 (scalbnf): Likewise.
75945 (scalbnl): Likewise.
75946 (scalbln): Likewise.
75947 (scalblnf): Likewise.
75948 (scalblnl): Likewise.
75949 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75950 (vwarnx): Likewise.
75951 (verr): Likewise.
75952 (verrx): Likewise.
75953 * manual/filesys.texi (telldir): Use braces around return type.
75954 * manual/llio.texi (mmap): Add space after comma.
75955 (mmap64): Likewise.
75956 * manual/math.texi (jn): Use @var{} on parameter names.
75957 (jnf): Likewise.
75958 (jnl): Likewise.
75959 (yn): Likewise.
75960 (ynf): Likewise.
75961 (ynl): Likewise.
75962 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75963 line.
75964 * manual/resource.texi (ulimit): Use @dots{} instead of literal
75965 "...".
75966 (sched_get_priority_min): Remove semicolon on @deftypefun line.
75967 (sched_get_priority_max): Likewise.
75968 * manual/signal.texi (sigvec): Add space after comma.
75969 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75970 names.
75971 (if_indextoname): Likewise.
75972 (if_freenameindex): Likewise.
75973 (sendto): Use ',' instead of '.' in prototype.
75974 * manual/startup.texi (syscall): Use @dots{} instead of literal
75975 "...".
75976 * manual/stdio.texi (__fpending): Separate initial words of
75977 paragraph from @deftypefun line.
75978 * manual/syslog.texi (syslog): Use @dots{} instead of literal
75979 "...".
75980 (vsyslog): Use @var{} on parameter names.
75981 * manual/terminal.texi (stty): Use @var{} on parameter names.
75982 * manual/users.texi (getutmp): Use @var{} on parameter names.
75983 (getutmpx): Likewise.
75984
75985 2012-02-17 Joseph Myers <joseph@codesourcery.com>
75986
75987 [BZ #6884]
75988 * manual/stdio.texi (fopen): Fix typos in description of
75989 ",ccs=STRING".
75990
75991 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
75992
75993 [BZ #4026]
75994 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75995 get clock_id definition.
75996
75997 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
75998
75999 [BZ #4822]
76000 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
76001 (madvise): Cast every argument to void on its own.
76002
76003 2012-02-17 Joseph Myers <joseph@codesourcery.com>
76004
76005 [BZ #9902]
76006 * manual/startup.texi (Exit Status): Fix typo.
76007
76008 2012-02-17 Joseph Myers <joseph@codesourcery.com>
76009
76010 [BZ #10140]
76011 * manual/examples/argp-ex1.c: Include <stdlib.h>.
76012 * manual/examples/argp-ex2.c: Likewise.
76013 * manual/examples/argp-ex3.c: Likewise.
76014
76015 2012-02-16 Richard Henderson <rth@redhat.com>
76016
76017 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
76018 * sysdeps/s390/s390-32/initfini.c: Remove.
76019 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
76020 * sysdeps/s390/s390-64/initfini.c: Remove.
76021
76022 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
76023
76024 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
76025 compiler output for sysdeps/generic/initfini.c.
76026 * sysdeps/sh/elf/initfini.c: Remove file.
76027
76028 2012-02-16 David S. Miller <davem@davemloft.net>
76029
76030 [BZ #11494]
76031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
76032
76033 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
76034 * sysdeps/sparc/crti.S: New file.
76035 * sysdeps/sparc/crtn.S: New file.
76036 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
76037 * sysdeps/sparc/sparc64/Makefile: Likewise.
76038
76039 2012-02-15 Mike Frysinger <vapier@gentoo.org>
76040
76041 [BZ #3335]
76042 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
76043
76044 2012-02-15 Roland McGrath <roland@hack.frob.com>
76045
76046 [BZ #4822]
76047 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
76048
76049 * mach/devstream.c (cookie_io_functions_t): Macro removed.
76050 (write, read, close): Likewise.
76051 Patch by Aurelien Jarno <aurelien@aurel32.net>.
76052
76053 2012-02-15 Joseph Myers <joseph@codesourcery.com>
76054
76055 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
76056 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
76057 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
76058 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
76059 <bits/signalfd.h>.
76060 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
76061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76062 bits/signalfd.h.
76063
76064 2012-02-14 Marek Polacek <polacek@redhat.com>
76065
76066 * sysdeps/x86_64/crti.S: New file.
76067 * sysdeps/x86_64/crtn.S: New file.
76068 * sysdeps/x86_64/elf/initfini.c: Remove file.
76069
76070 2012-02-13 Joseph Myers <joseph@codesourcery.com>
76071
76072 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
76073 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
76074 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
76075 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
76076 <bits/inotify.h>.
76077 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
76078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76079 bits/inotify.h.
76080
76081 2012-02-13 Joseph Myers <joseph@codesourcery.com>
76082
76083 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
76084 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
76085 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
76086 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
76087 <bits/eventfd.h>.
76088 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
76089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76090 bits/eventfd.h.
76091
76092 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
76093
76094 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
76095 __feraiseexcept instead of feraiseexcept.
76096
76097 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
76098 nanosleep invocations.
76099 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
76100 strings, and add error checking for a nanosleep invocations.
76101
76102 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
76103
76104 Replace FSF snail mail address with URLs, as per GNU coding standards.
76105 Most of the snail mail addresses were wrong anyway, and omitting
76106 them makes the source code easier to maintain. Almost all of the
76107 changes are to license notices and to locale LC_IDENTIFICATION
76108 addresses, except for this one:
76109 * manual/libc.texinfo: In "Published by", give the FSF's URL,
76110 not its snail mail address.
76111
76112 2012-02-09 Richard Henderson <rth@twiddle.net>
76113
76114 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
76115 of kernel-features.h.
76116
76117 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
76118
76119 2012-02-08 Marek Polacek <polacek@redhat.com>
76120
76121 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
76122 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
76123 * sysdeps/gnu/_G_config.h: Likewise.
76124 * sysdeps/generic/_G_config.h: Likewise.
76125
76126 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
76127
76128 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
76129 tests.
76130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76131
76132 * sysdeps/powerpc/powerpc32/crti.S: New file.
76133 * sysdeps/powerpc/powerpc32/crtn.S: New file.
76134 * sysdeps/powerpc/powerpc64/crti.S: New file.
76135 * sysdeps/powerpc/powerpc64/crtn.S: New file.
76136
76137 * Makeconfig (have-initfini): Don't set.
76138 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
76139 * configure.in (nopic_initfini): Don't substitute.
76140 * config.h.in (HAVE_INITFINI): Don't #undef.
76141 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
76142 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
76143
76144 2012-02-08 Joseph Myers <joseph@codesourcery.com>
76145
76146 Support crti.S and crtn.S provided directly by architectures.
76147 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
76148 [crti.S in sysdirs] (omit-deps): Likewise.
76149 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
76150 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
76151 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
76152 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
76153 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
76154 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
76155 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
76156 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
76157 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
76158 compiler output for sysdeps/generic/initfini.c.
76159 * sysdeps/i386/elf/Makefile: Remove file.
76160 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
76161
76162 2012-02-07 Marek Polacek <polacek@redhat.com>
76163
76164 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
76165 * sysdeps/gnu/_G_config.h: Likewise.
76166 * sysdeps/mach/hurd/_G_config.h: Likewise.
76167
76168 2012-02-07 Marek Polacek <polacek@redhat.com>
76169
76170 * math/Makefile (tests): Add tst-CMPLX2.
76171 * math/tst-CMPLX2.c: New file.
76172
76173 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
76174
76175 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76176
76177 * math/libm-test.inc (jn_test): Add missing L suffix.
76178
76179 2012-02-06 Marek Polacek <polacek@redhat.com>
76180
76181 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
76182 * sysdeps/i386/fpu/e_powf.S: Likewise.
76183 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76184 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
76185 * sysdeps/i386/fpu/e_acosh.S: Likewise.
76186 * sysdeps/i386/fpu/e_pow.S: Likewise.
76187 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76188 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76189 * sysdeps/i386/fpu/s_expm1.S: Likewise.
76190 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76191 * sysdeps/i386/fpu/e_log2.S: Likewise.
76192 * sysdeps/i386/fpu/e_log2l.S: Likewise.
76193 * sysdeps/i386/fpu/e_scalb.S: Likewise.
76194 * sysdeps/i386/fpu/e_powl.S: Likewise.
76195 * sysdeps/i386/fpu/s_log1p.S: Likewise.
76196 * sysdeps/i386/fpu/e_log10f.S: Likewise.
76197 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76198 * sysdeps/i386/fpu/e_logl.S: Likewise.
76199 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76200 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
76201 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76202 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76203 * sysdeps/i386/fpu/e_log2f.S: Likewise.
76204 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76205 * sysdeps/i386/fpu/e_log.S: Likewise.
76206 * sysdeps/i386/fpu/s_cexp.S: Likewise.
76207 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76208 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
76209 * sysdeps/i386/fpu/e_logf.S: Likewise.
76210 * sysdeps/i386/fpu/e_log10l.S: Likewise.
76211 * sysdeps/i386/fpu/e_atanh.S: Likewise.
76212 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
76213 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76214 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
76215 * sysdeps/i386/fpu/e_log10.S: Likewise.
76216 * sysdeps/i386/fpu/s_frexp.S: Likewise.
76217 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76218 * sysdeps/i386/fpu/s_asinh.S: Likewise.
76219 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76220 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76221 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76222 * sysdeps/i386/asm-syntax.h: Likewise.
76223 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76224 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76225 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76226 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
76227 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
76228 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76229 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76230 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76231 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76232 * sysdeps/powerpc/sysdep.h: Likewise.
76233 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
76234 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76235
76236 2012-02-06 Joseph Myers <joseph@codesourcery.com>
76237
76238 [BZ #411]
76239 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
76240
76241 2012-02-06 Joseph Myers <joseph@codesourcery.com>
76242
76243 * sysdeps/i386/sysdep.h: Include <features.h>.
76244 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
76245 version.
76246
76247 2012-02-05 Joseph Myers <joseph@codesourcery.com>
76248
76249 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
76250 Define.
76251 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
76252 LOAD_PIC_REG_STR.
76253
76254 2012-02-03 Joseph Myers <joseph@codesourcery.com>
76255
76256 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
76257 (SETUP_PIC_REG): Use GET_PC_THUNK.
76258 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
76259 macro.
76260
76261 2012-02-03 Joseph Myers <joseph@codesourcery.com>
76262
76263 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
76264 for non-PIC compilation.
76265 (SETUP_PIC_REG): Add .p2align directive.
76266 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
76267 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
76268 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76269 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76270 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
76271 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76272 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
76273 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76274 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76275 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76276 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76277 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76278 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76279 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76280 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76281 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
76282 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
76283 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76284 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76285 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76286 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76287 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
76288 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76289 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76290 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
76291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
76292 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76293 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
76294 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76295 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76296 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76297 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76298 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76299 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76300 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76301 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76302 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76303 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76304 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76305 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76306 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76307
76308 2012-02-03 Joseph Myers <joseph@codesourcery.com>
76309
76310 * math/tst-CMPLX.c: Include <stdio.h>.
76311
76312 2012-01-31 Joseph Myers <joseph@codesourcery.com>
76313
76314 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
76315 float.
76316 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76317 * sysdeps/sparc/bits/mathdef.h: Likewise.
76318
76319 2012-01-31 Marek Polacek <polacek@redhat.com>
76320
76321 * libio/libio.h: Don't define _PARAMS.
76322 * locale/programs/config.h: Don't define PARAMS.
76323 * stdlib/strtol_l.c: Likewise.
76324 (__strtol_l): Remove PARAMS from the prototype.
76325
76326 2012-01-31 Ulrich Drepper <drepper@gmail.com>
76327
76328 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
76329 names. Just use the correct names. Remove unnecessary wrapper
76330 functions.
76331 * malloc/arena.c: Likewise.
76332 * malloc/hooks.c: Likewise.
76333
76334 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
76335 ARENA_TEST says not to. Simplify test for creation of a new arena.
76336 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
76337
76338 2012-01-30 Ulrich Drepper <drepper@gmail.com>
76339
76340 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
76341 into tail calls.
76342 (update_get_addr): New function.
76343 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
76344 GET_ADDR_MODULE parameter.
76345
76346 2012-01-30 Joseph Myers <joseph@codesourcery.com>
76347
76348 * crypt/cert.c: Remove __STDC__ conditionals.
76349 * crypt/crypt-entry.c: Likewise.
76350 * crypt/crypt_util.c: Likewise.
76351 * libio/filedoalloc.c: Likewise.
76352 * libio/fileops.c: Likewise.
76353 * libio/genops.c: Likewise.
76354 * libio/iofclose.c: Likewise.
76355 * libio/iofdopen.c: Likewise.
76356 * libio/iofopen.c: Likewise.
76357 * libio/iofopen64.c: Likewise.
76358 * libio/iogetdelim.c: Likewise.
76359 * libio/iopopen.c: Likewise.
76360 * libio/obprintf.c: Likewise.
76361 * libio/oldfileops.c: Likewise.
76362 * libio/oldiofclose.c: Likewise.
76363 * libio/oldiofdopen.c: Likewise.
76364 * libio/oldiofopen.c: Likewise.
76365 * libio/oldiopopen.c: Likewise.
76366 * libio/wfiledoalloc.c: Likewise.
76367 * libio/wgenops.c: Likewise.
76368 * locale/programs/xmalloc.c: Likewise.
76369 * misc/syslog.c: Likewise.
76370 * stdio-common/xbug.c: Likewise.
76371 * string/memchr.c: Likewise.
76372 * string/memcmp.c: Likewise.
76373 * string/memrchr.c: Likewise.
76374 * string/rawmemchr.c: Likewise.
76375 * sysdeps/posix/getcwd.c: Likewise.
76376 * time/strftime_l.c: Likewise.
76377
76378 2012-01-30 Joseph Myers <joseph@codesourcery.com>
76379
76380 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
76381 * config.make.in (config-cflags-sse2avx): Define.
76382 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
76383 Fix typo.
76384
76385 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
76386
76387 * scripts/config.guess: Update from upstream config git repository.
76388 * scripts/config.sub: Likewise.
76389
76390 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
76391
76392 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
76393 (EM_NUM): Update.
76394 (R_TILEPRO_*, R_TILEGX_*): New macros.
76395
76396 * scripts/firstversions.awk: Fix bug in version range handling.
76397
76398 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
76399
76400 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
76401
76402 * include/sys/epoll.h: New file.
76403 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
76404 libc_hidden_def.
76405
76406 2012-01-28 Ulrich Drepper <drepper@gmail.com>
76407
76408 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
76409 Avoid unnecessary __WORDSIZE == 64 test.
76410 (fmaxf): Use VEX format if possible.
76411 (fmax): Likewise.
76412 (fminf): Likewise.
76413 (fmin): Likewise.
76414
76415 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
76416 * math/math_private.h: Remove libc_fegetround* and
76417 libc_fesetround*.
76418 * sysdeps/i386/configure.in: Check for -msse2avx.
76419 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
76420 also if SSE2AVX is defined.
76421 Remove libc_fegetround* and libc_fesetround*.
76422 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
76423 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
76424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
76425 of HAS_YMM_USABLE.
76426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76427 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76430 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76431
76432 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
76433
76434 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76435
76436 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
76437 size is not set.
76438 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76439
76440 2012-01-27 Ulrich Drepper <drepper@gmail.com>
76441
76442 [BZ #13618]
76443 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
76444 relocation.
76445 * Makeconfig (libm): Define.
76446 * elf/Makefile: Add rules to build and run tst-relsort1.
76447 * elf/tst-relsort1.c: New file.
76448 * elf/tst-relsort1mod1.c: New file.
76449 * elf/tst-relsort1mod2.c: New file.
76450
76451 2012-01-27 Joseph Myers <joseph@codesourcery.com>
76452
76453 * math/s_ldexp.c: Remove __STDC__ conditionals.
76454 * math/s_ldexpf.c: Likewise.
76455 * math/s_ldexpl.c: Likewise.
76456 * math/s_nextafter.c: Likewise.
76457 * math/s_nexttowardf.c: Likewise.
76458 * math/s_significand.c: Likewise.
76459 * math/s_significandf.c: Likewise.
76460 * math/s_significandl.c: Likewise.
76461 * math/w_jnl.c: Likewise.
76462 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76463 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76464 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76465 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76466 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76467 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76468 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
76469 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76470 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76471 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76472 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76473 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76474 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76475 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76476 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76477 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76478 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76479 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76480 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76481 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76482 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76483 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76484 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76485 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76486 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76487 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76488 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76489 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76490 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76491 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76492 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76493 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76494 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76495 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76496 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76497 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76498 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76499 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76500 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76501 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76502 * sysdeps/ieee754/k_standard.c: Likewise.
76503 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76504 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76505 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76506 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76507 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76508 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76509 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76510 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76511 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76512 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76513 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76514 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76515 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76516 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76517 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76518 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76519 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76520 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76521 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76522 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76523 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76524 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76525 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76526 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76527 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76528 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76530 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76531 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76532 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76533 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76534 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
76535 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76536 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76537 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76538 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76539 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
76540 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76541 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76542 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
76543 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
76544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76545 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
76546 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
76547 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76548 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
76549 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
76550 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76551 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76552 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
76553 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
76554 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76555 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76556 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76557 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76558 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76559 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
76560 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76561 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76562 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76563 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76564 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76565 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76566 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76567 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76568 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76569 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76570 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76571 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76572 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76573 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76574 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76575 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76576 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76577 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76578 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76579 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76580 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76581 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76582 * sysdeps/ieee754/s_matherr.c: Likewise.
76583 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76584 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76587
76588 2012-01-26 Joseph Myers <joseph@codesourcery.com>
76589
76590 * crypt/md5.h: Remove __STDC__ conditionals.
76591 * libio/libioP.h: Likewise.
76592 * locale/programs/config.h: Likewise.
76593 * sysdeps/generic/sysdep.h: Likewise.
76594 * sysdeps/i386/asm-syntax.h: Likewise.
76595 * sysdeps/s390/asm-syntax.h: Likewise.
76596 * sysdeps/unix/sysdep.h: Likewise.
76597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76599
76600 2012-01-26 Joseph Myers <joseph@codesourcery.com>
76601
76602 * libio/libio.h: Remove __STDC__ conditionals.
76603 * malloc/obstack.h: Likewise.
76604 * math/complex.h: Likewise.
76605 * math/math.h: Likewise.
76606 * sysdeps/generic/_G_config.h: Likewise.
76607 * sysdeps/gnu/_G_config.h: Likewise.
76608 * sysdeps/mach/hurd/_G_config.h: Likewise.
76609 * sysdeps/powerpc/bits/mathdef.h: Likewise.
76610 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76611 * sysdeps/sparc/bits/mathdef.h: Likewise.
76612
76613 2012-01-26 Ulrich Drepper <drepper@gmail.com>
76614
76615 [BZ #13583]
76616 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76617 Clean up HAS_* macros.
76618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76619 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76620 possible.
76621 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76622 HAS_AVX.
76623 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76624 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76625 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76626 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76627 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76628
76629 2012-01-25 Joseph Myers <joseph@codesourcery.com>
76630
76631 * elf/tst-unique3.cc (gets): Remove declaration.
76632 * elf/tst-unique3lib.cc (gets): Likewise.
76633 * elf/tst-unique3lib2.cc (gets): Likewise.
76634 * elf/tst-unique4.cc (gets): Likewise.
76635
76636 2012-01-24 Ulrich Drepper <drepper@gmail.com>
76637
76638 * include/stdio.h: Add C++ protection. Add gets declarations and
76639 definitions.
76640 * debug/tst-chk1.c: Don't declare gets here.
76641 * stdio-common/tst-gets.c: Likewise.
76642
76643 2012-01-24 Joseph Myers <joseph@codesourcery.com>
76644
76645 * posix/glob: Remove directory.
76646
76647 2012-01-24 Joseph Myers <joseph@codesourcery.com>
76648
76649 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76650
76651 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
76652
76653 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76654 of the non-standard EPFNOSUPPORT.
76655
76656 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
76657
76658 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76659 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76660 ANYWHERE set to 1 only on KERN_NO_SPACE error.
76661
76662 2012-01-21 Ulrich Drepper <drepper@gmail.com>
76663
76664 * wcsmbs/uchar.h: Test __STDC_VERSION__.
76665
76666 2012-01-20 Ulrich Drepper <drepper@gmail.com>
76667
76668 * nscd/aicache.c (addhstaiX): Do not cache negative results of
76669 transient errors.
76670 * nscd/grpcache.c (cache_addgr): Likewise.
76671 * nscd/hstcache.c (cache_addhst): Likewise.
76672 * nscd/initgrcache.c (addinitgroupsX): Likewise.
76673 * nscd/pwdcache.c (cache_addpw): Likewise.
76674 * nscd/servicescache.c (cache_addserv): Likewise.
76675
76676 2012-01-16 Ulrich Drepper <drepper@gmail.com>
76677
76678 * malloc/malloc.c: Various cleanups.
76679 * malloc/hooks.c: Likewise.
76680
76681 * stdlib/Makefile (tests): Add bug-fmtmsg1.
76682 * stdlib/bug-fmtmsg1.c: New file.
76683
76684 * stdlib/fmtmsg.c (init): Add missing unlock.
76685 Patch by Peng Haitao <penght@cn.fujitsu.com>.
76686
76687 2012-01-12 Marek Polacek <polacek@redhat.com>
76688
76689 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76690 and _GNU_SOURCE.
76691
76692 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
76693
76694 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76695 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76696 macro to ensure uniqueness of label name.
76697 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76698 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76699
76700 2012-01-11 Ulrich Drepper <drepper@gmail.com>
76701
76702 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76703
76704 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76705 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76706 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76708
76709 2012-01-10 Ulrich Drepper <drepper@gmail.com>
76710
76711 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76712
76713 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76714 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76715 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76716
76717 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76718
76719 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76720 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76721 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76723
76724 * math/bits/math-finite.h: Add ldexp support.
76725
76726 2012-01-10 Marek Polacek <polacek@redhat.com>
76727
76728 * locale/programs/localedef.h (show_archive_content): Add noreturn
76729 attribute.
76730
76731 2012-01-09 Ulrich Drepper <drepper@gmail.com>
76732
76733 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76734
76735 2012-01-08 Ulrich Drepper <drepper@gmail.com>
76736
76737 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76738
76739 * io/Makefile (headers): Add bits/poll2.h.
76740
76741 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
76742
76743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76744 typo #include statement.
76745
76746 2012-01-08 Ulrich Drepper <drepper@gmail.com>
76747
76748 * include/sys/cdefs.h: Define __attribute_alloc_size.
76749 * catgets/gencat.c: Add alloc_size attribute and apply consistently
76750 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76751 * elf/pldd.c: Likewise.
76752 * iconv/iconv_charmap.c: Likewise.
76753 * iconv/iconvconfig.c: Likewise.
76754 * iconv/strtab.c: Likewise.
76755 * locale/programs/locale.c: Likewise.
76756 * locale/programs/localedef.h: Likewise.
76757 * locale/programs/simple-hash.c: Likewise.
76758 * nscd/nscd.h: Likewise.
76759 * nss/makedb.c: Likewise.
76760 * sysdeps/generic/ldconfig.h: Likewise.
76761 * locale/programs/localedef.c: Remove xmalloc prototype.
76762 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76763
76764 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76765
76766 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76767 appropriate.
76768
76769 2012-01-08 Ulrich Drepper <drepper@gmail.com>
76770
76771 * math/Makefile (tests): Add tst-CMPLX.
76772 * math/tst-CMPLX.c: New file.
76773
76774 * math/complex.h (CMPLXL): Fix typo.
76775
76776 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76777 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76778 GLIBC_2.16.
76779 * debug/tst-chk1.c: Add poll and ppoll tests.
76780 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76781 * include/sys/poll.h: Add hidden proto for ppoll.
76782 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76783 * sysdeps/mach/hurd/ppoll.c: Likewise.
76784 * io/ppoll.c: Likewise.
76785 * debug/poll_chk.c: New file.
76786 * debug/ppoll_chk.c: New file.
76787 * include/bits/poll2.h: New file.
76788 * io/bits/poll2.h: New file.
76789
76790 [BZ #1350]
76791 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76792
76793 * configure.in: static is always set to yes. Remove.
76794 * config.make.in: Don't set build-static.
76795 * Makeconfig: Remove use of build-static.
76796 * dlfcn/Makefile: Likewise.
76797 * elf/Makefile: Likewise.
76798 * math/Makefile: Likewise.
76799 * misc/Makefile: Likewise.
76800 * nptl/Makefile: Likewise.
76801 * sysdeps/mach/hurd/Makefile: Likewise.
76802
76803 * configure.in: PWD_P is not used anymore.
76804 * config.make.in: Remove PWD_P entry.
76805
76806 * configure.in: Remove last remnants of RANLIB.
76807 No need to check for signed size_t anymore.
76808 Don't set libc_commonpagesize and libc_relro_required here for Alpha
76809 and IA-64.
76810 Remove __builtin_expect test because we require at least gcc 3.4.
76811 * aclocal.m4: Likewise.
76812
76813 * wcsmbs/mbrtoc16.c: Implement using towc function.
76814 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76815 * wcsmbs/wcsmbsload.c: Likewise.
76816 * iconv/gconv_simple.c: Likewise.
76817 * iconv/gconv_int.h: Likewise.
76818 * iconv/gconv_builtin.h: Likewise.
76819 * iconv/iconv_prog.c: Remove CHAR16 handling.
76820
76821 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76822
76823 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76824
76825 * configure.in: Remove --with-elf and --enable-bounded options.
76826 Dont set base_machine for ia64. More non-ELF conditions removed.
76827 Remove testing and setting of leading underscore information.
76828 * config.make.in (build-bounded): Set to no.
76829 * config.h.in: Remove NO_UNDERSCORES entry.
76830 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
76831 them.
76832 * csu/start.c: Remove !NO_UNDERSCORE code.
76833 * locale/localeinfo.h: Likewise.
76834 * sysdeps/generic/machine-gmon.h: Likewise.
76835 * sysdeps/generic/sysdep.h: Likewise.
76836 * sysdeps/i386/sysdep.h: Likewise.
76837 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76838 * sysdeps/mach/sysdep.h: Likewise.
76839 * sysdeps/s390/s390-32/sysdep.h: Likewise.
76840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
76841 * sysdeps/sh/sysdep.h: Likewise.
76842 * sysdeps/sparc/sparc32/alloca.S: Likewise.
76843 * sysdeps/unix/i386/sysdep.S: Likewise.
76844 * sysdeps/unix/sparc/start.c: Likewise.
76845 * sysdeps/unix/sparc/sysdep.S: Likewise.
76846 * sysdeps/unix/sparc/sysdep.h: Likewise.
76847 * sysdeps/unix/start.c: Likewise.
76848 * sysdeps/unix/x86_64/sysdep.S: Likewise.
76849 * sysdeps/x86_64/sysdep.h: Likewise.
76850
76851 2012-01-07 Ulrich Drepper <drepper@gmail.com>
76852
76853 [BZ #13553]
76854 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76855 for non-gcc.
76856 * argp/argp-fmtstream.h: Use const instead __const.
76857 * argp/argp.h: Likewise.
76858 * assert/assert.h: Likewise.
76859 * bits/fenv.h: Likewise.
76860 * bits/sched.h: Likewise.
76861 * bits/sigset.h: Likewise.
76862 * bits/sigthread.h: Likewise.
76863 * catgets/nl_types.h: Likewise.
76864 * conform/data/pthread.h-data: Likewise.
76865 * crypt/crypt-private.h: Likewise.
76866 * crypt/crypt.h: Likewise.
76867 * crypt/crypt_util.c: Likewise.
76868 * ctype/ctype.h: Likewise.
76869 * debug/execinfo.h: Likewise.
76870 * debug/mbsnrtowcs_chk.c: Likewise.
76871 * debug/mbsrtowcs_chk.c: Likewise.
76872 * debug/wcsnrtombs_chk.c: Likewise.
76873 * debug/wcsrtombs_chk.c: Likewise.
76874 * debug/wcstombs_chk.c: Likewise.
76875 * dirent/dirent.h: Likewise.
76876 * dlfcn/dlfcn.h: Likewise.
76877 * elf/neededtest4.c: Likewise.
76878 * grp/grp.h: Likewise.
76879 * gshadow/gshadow.h: Likewise.
76880 * iconv/gconv.h: Likewise.
76881 * iconv/gconv_int.h: Likewise.
76882 * iconv/gconv_simple.c: Likewise.
76883 * iconv/iconv.h: Likewise.
76884 * iconv/loop.c: Likewise.
76885 * iconv/skeleton.c: Likewise.
76886 * include/aio.h: Likewise.
76887 * include/aliases.h: Likewise.
76888 * include/argz.h: Likewise.
76889 * include/arpa/inet.h: Likewise.
76890 * include/assert.h: Likewise.
76891 * include/dirent.h: Likewise.
76892 * include/dlfcn.h: Likewise.
76893 * include/execinfo.h: Likewise.
76894 * include/fcntl.h: Likewise.
76895 * include/fenv.h: Likewise.
76896 * include/glob.h: Likewise.
76897 * include/grp.h: Likewise.
76898 * include/libintl.h: Likewise.
76899 * include/mntent.h: Likewise.
76900 * include/netdb.h: Likewise.
76901 * include/pwd.h: Likewise.
76902 * include/rpc/netdb.h: Likewise.
76903 * include/sched.h: Likewise.
76904 * include/search.h: Likewise.
76905 * include/shadow.h: Likewise.
76906 * include/signal.h: Likewise.
76907 * include/stdio.h: Likewise.
76908 * include/stdlib.h: Likewise.
76909 * include/string.h: Likewise.
76910 * include/sys/socket.h: Likewise.
76911 * include/sys/stat.h: Likewise.
76912 * include/sys/statfs.h: Likewise.
76913 * include/sys/statvfs.h: Likewise.
76914 * include/sys/syslog.h: Likewise.
76915 * include/sys/time.h: Likewise.
76916 * include/sys/uio.h: Likewise.
76917 * include/time.h: Likewise.
76918 * include/unistd.h: Likewise.
76919 * include/utmp.h: Likewise.
76920 * include/wchar.h: Likewise.
76921 * include/wctype.h: Likewise.
76922 * inet/aliases.h: Likewise.
76923 * inet/arpa/inet.h: Likewise.
76924 * inet/netinet/ether.h: Likewise.
76925 * inet/netinet/in.h: Likewise.
76926 * intl/libintl.h: Likewise.
76927 * io/bits/fcntl2.h: Likewise.
76928 * io/fcntl.h: Likewise.
76929 * io/ftw.h: Likewise.
76930 * io/sys/poll.h: Likewise.
76931 * io/sys/stat.h: Likewise.
76932 * io/sys/statfs.h: Likewise.
76933 * io/sys/statvfs.h: Likewise.
76934 * io/utime.h: Likewise.
76935 * libio/bits/stdio.h: Likewise.
76936 * libio/bits/stdio2.h: Likewise.
76937 * libio/libio.h: Likewise.
76938 * libio/libioP.h: Likewise.
76939 * libio/stdio.h: Likewise.
76940 * locale/lc-ctype.c: Likewise.
76941 * locale/locale.h: Likewise.
76942 * login/utmp.h: Likewise.
76943 * malloc/arena.c: Likewise.
76944 * malloc/malloc.c: Likewise.
76945 * malloc/malloc.h: Likewise.
76946 * malloc/mcheck.c: Likewise.
76947 * malloc/mtrace.c: Likewise.
76948 * math/bits/mathcalls.h: Likewise.
76949 * math/fenv.h: Likewise.
76950 * math/math_private.h: Likewise.
76951 * misc/bits/error.h: Likewise.
76952 * misc/bits/syslog.h: Likewise.
76953 * misc/err.h: Likewise.
76954 * misc/error.h: Likewise.
76955 * misc/fstab.h: Likewise.
76956 * misc/mntent.h: Likewise.
76957 * misc/regexp.h: Likewise.
76958 * misc/search.h: Likewise.
76959 * misc/sgtty.h: Likewise.
76960 * misc/sys/mman.h: Likewise.
76961 * misc/sys/syslog.h: Likewise.
76962 * misc/sys/uio.h: Likewise.
76963 * misc/sys/xattr.h: Likewise.
76964 * misc/ttyent.h: Likewise.
76965 * nis/rpcsvc/ypclnt.h: Likewise.
76966 * nss/nss.h: Likewise.
76967 * posix/bits/unistd.h: Likewise.
76968 * posix/fnmatch.h: Likewise.
76969 * posix/glob.h: Likewise.
76970 * posix/sched.h: Likewise.
76971 * posix/spawn.h: Likewise.
76972 * posix/sys/wait.h: Likewise.
76973 * posix/unistd.h: Likewise.
76974 * posix/wordexp.h: Likewise.
76975 * pwd/pwd.h: Likewise.
76976 * resolv/netdb.h: Likewise.
76977 * resource/sys/resource.h: Likewise.
76978 * rt/aio.h: Likewise.
76979 * rt/bits/mqueue2.h: Likewise.
76980 * rt/mqueue.h: Likewise.
76981 * shadow/shadow.h: Likewise.
76982 * signal/signal.h: Likewise.
76983 * socket/send.c: Likewise.
76984 * socket/sendto.c: Likewise.
76985 * socket/sys/socket.h: Likewise.
76986 * stdio-common/printf.h: Likewise.
76987 * stdlib/bits/stdlib.h: Likewise.
76988 * stdlib/fmtmsg.h: Likewise.
76989 * stdlib/monetary.h: Likewise.
76990 * stdlib/stdlib.h: Likewise.
76991 * stdlib/ucontext.h: Likewise.
76992 * streams/stropts.h: Likewise.
76993 * string/argz.h: Likewise.
76994 * string/bits/string2.h: Likewise.
76995 * string/string.h: Likewise.
76996 * string/strings.h: Likewise.
76997 * sunrpc/rpc/auth.h: Likewise.
76998 * sunrpc/rpc/auth_des.h: Likewise.
76999 * sunrpc/rpc/clnt.h: Likewise.
77000 * sunrpc/rpc/netdb.h: Likewise.
77001 * sunrpc/rpc/pmap_clnt.h: Likewise.
77002 * sunrpc/rpc/xdr.h: Likewise.
77003 * sysdeps/generic/inttypes.h: Likewise.
77004 * sysdeps/generic/net/if.h: Likewise.
77005 * sysdeps/generic/sys/swap.h: Likewise.
77006 * sysdeps/gnu/net/if.h: Likewise.
77007 * sysdeps/gnu/utmpx.h: Likewise.
77008 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
77009 * sysdeps/i386/i486/bits/string.h: Likewise.
77010 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
77011 * sysdeps/s390/bits/string.h: Likewise.
77012 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
77013 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
77014 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
77015 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
77016 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
77017 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
77018 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
77019 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
77020 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
77021 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
77022 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
77023 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
77024 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
77025 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
77026 * sysdeps/unix/sysv/linux/readv.c: Likewise.
77027 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
77028 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
77029 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77030 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
77031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
77032 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
77033 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
77034 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
77035 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
77036 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
77037 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
77038 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
77039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77040 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
77041 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
77042 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
77043 * sysvipc/sys/ipc.h: Likewise.
77044 * sysvipc/sys/msg.h: Likewise.
77045 * sysvipc/sys/sem.h: Likewise.
77046 * sysvipc/sys/shm.h: Likewise.
77047 * termios/termios.h: Likewise.
77048 * time/sys/time.h: Likewise.
77049 * time/time.h: Likewise.
77050 * wcsmbs/bits/wchar2.h: Likewise.
77051 * wcsmbs/uchar.h: Likewise.
77052 * wcsmbs/wchar.h: Likewise.
77053 * wctype/wctype.h: Likewise.
77054
77055 [BZ #13551]
77056 * Makeconfig: Remove all but ELF support including AIX support.
77057 * Makerules: Likewise.
77058 * config.h.in: Likewise.
77059 * config.make.in: Likewise.
77060 * configure: Likewise.
77061 * configure.in: Likewise.
77062 * csu/Makefile: Likewise.
77063 * csu/version.c: Likewise.
77064 * debug/Makefile: Likewise.
77065 * dlfcn/Makefile: Likewise.
77066 * elf/Makefile: Likewise.
77067 * extra-lib.mk: Likewise.
77068 * iconv/Makefile: Likewise.
77069 * include/libc-symbols.h: Likewise.
77070 * include/shlib-compat.h: Likewise.
77071 * resolv/Makefile: Likewise.
77072 * resolv/res_libc.c: Likewise.
77073 * rt/Makefile: Likewise.
77074 * sysdeps/i386/asm-syntax.h: Likewise.
77075 * sysdeps/i386/sysdep.h: Likewise.
77076 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
77077 * sysdeps/mach/sysdep.h: Likewise.
77078 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
77079 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
77080 * sysdeps/s390/asm-syntax.h: Likewise.
77081 * sysdeps/s390/s390-32/sysdep.h: Likewise.
77082 * sysdeps/s390/s390-64/sysdep.h: Likewise.
77083 * sysdeps/sh/sysdep.h: Likewise.
77084 * sysdeps/unix/sparc/sysdep.h: Likewise.
77085 * sysdeps/wordsize-32/divdi3.c: Likewise.
77086 * sysdeps/x86_64/sysdep.h: Likewise.
77087
77088 * argp/Versions: Remove _argp_unlock_xxx.
77089
77090 [BZ #13559]
77091 * abilist/ld.abilist: Update. Adjust for removal of tls option.
77092 * abilist/libBrokenLocale.abilist: Likewise.
77093 * abilist/libanl.abilist: Likewise.
77094 * abilist/libc.abilist: Likewise.
77095 * abilist/libcrypt.abilist: Likewise.
77096 * abilist/libdl.abilist: Likewise.
77097 * abilist/libm.abilist: Likewise.
77098 * abilist/libnsl.abilist: Likewise.
77099 * abilist/libpthread.abilist: Likewise.
77100 * abilist/libresolv.abilist: Likewise.
77101 * abilist/librt.abilist: Likewise.
77102 * abilist/libthread_db.abilist: Likewise.
77103 * abilist/libutil.abilist: Likewise.
77104 * abilist/libnss_db.abilist: New file.
77105
77106 * scripts/abilist.awk: Add support for indirect functions.
77107
77108 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
77109
77110 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
77111
77112 * shlib-versions: Remove entries for ports architectures.
77113
77114 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
77115 files in ports.
77116 * elf/stackguard-macros.h: Remove support for IA-64.
77117 * elf/tst-auditmod1.c: Likewise.
77118 * sysdeps/generic/ldsodefs.h: Likewise.
77119
77120 * sysdeps/unix/sysv/linux/configure.in: Ports should define
77121 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
77122 configure files.
77123
77124 [BZ #13552]
77125 * configure.in: Remove --enable-omitfp support.
77126 * FAQ.in: Adjust.
77127 * config.make.in: Likewise.
77128 * Makeconfig: Likewise.
77129 * manual/install.texi: Likewise.
77130
77131 In case anyone cares, the IA-64 architecture could move to ports.
77132 * sysdeps/ia64/*: Removed.
77133 * sysdeps/unix/sysv/linux/ia64/*: Removed.
77134 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
77135
77136 [BZ #13555]
77137 * configure.in: Remove entries for unsupported architectures.
77138
77139 [BZ #13533]
77140 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
77141 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
77142 routines.
77143 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
77144 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
77145 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
77146 fall back to using wcrtomb.
77147 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
77148 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
77149 renaming.
77150 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
77151 * wcsmbs/tst-c16c32-1.c: New file.
77152
77153 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
77154 local variable.
77155
77156 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
77157
77158 * elf/tst-unique3.cc: Add explicit declaration of gets.
77159 * elf/tst-unique3lib.cc: Likewise.
77160 * elf/tst-unique3lib2.cc: Likewise.
77161 * elf/tst-unique4.cc: Likewise.
77162
77163 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
77164
77165 2012-01-06 Joseph Myers <joseph@codesourcery.com>
77166
77167 [BZ #13566]
77168 * assert/assert.h (static_assert): Don't define for C++.
77169 * libio/stdio.h (gets): Do declare for C++ <= C++11.
77170 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
77171
77172 2012-01-03 Ulrich Drepper <drepper@gmail.com>
77173
77174 * iconv/loop.c (single loop): Fix assertion in storing of
77175 remaining bytes.
77176
77177 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
77178
77179 2012-01-01 Ulrich Drepper <drepper@gmail.com>
77180
77181 * posix/getconf.c: Update copyright year.
77182 * nss/getent.c: Likewise.
77183 * nss/makedb.c: Likewise.
77184 * iconv/iconvconfig.c: Likewise.
77185 * iconv/iconv_prog.c: Likewise.
77186 * elf/ldconfig.c: Likewise.
77187 * elf/pldd.c: Likewise.
77188 * elf/sotruss.ksh: Likewise.
77189 * catgets/gencat.c: Likewise.
77190 * csu/version.c: Likewise.
77191 * elf/ldd.bash.in: Likewise.
77192 * elf/sprof.c (print_version): Likewise.
77193 * locale/programs/locale.c: Likewise.
77194 * locale/programs/localedef.c: Likewise.
77195 * login/programs/pt_chown.c: Likewise.
77196 * nscd/nscd.c (print_version): Likewise.
77197 * debug/xtrace.sh: Likewise.
77198 * malloc/memusage.sh: Likewise.
77199 * malloc/mtrace.pl: Likewise.
77200 * debug/catchsegv.sh: Likewise.
77201
77202 2011-12-30 Jakub Jelinek <jakub@redhat.com>
77203
77204 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
77205 pure attribute.
77206
77207 2011-12-24 Ulrich Drepper <drepper@gmail.com>
77208
77209 [BZ #13533]
77210 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
77211 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
77212 transformations.
77213 * iconv/gconv_int.h: Likewise.
77214 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
77215 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
77216 from libc for GLIBC_2.16.
77217 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
77218 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
77219 * wcsmbs/uchar.h: Really define mbstate_t.
77220 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
77221 * wcsmbs/c16rtomb.c: New file.
77222 * wcsmbs/mbrtoc16.c: New file.
77223 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
77224 for C/POSIX locale.
77225 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
77226 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
77227
77228 * wcsmbs/wchar.h: Add missing __restrict.
77229
77230 2011-12-23 Ulrich Drepper <drepper@gmail.com>
77231
77232 [BZ #13532]
77233 * time/Makefile (routines): Add timespec_get.
77234 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
77235 * time/time.h: Define TIME_UTC and declare timespec_get. Define
77236 timespec for ISO C11.
77237 * time/timespec_get.c: New file.
77238 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
77239 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
77240
77241 [BZ #13531]
77242 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
77243 * stdlib/stdlib.h: Declare aligned_alloc.
77244 * Versions.def: Add GLIBC_2.16 for libc.
77245 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
77246
77247 [BZ 13527]
77248 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
77249 ISO C11.
77250
77251 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
77252 code.
77253
77254 [BZ #13528]
77255 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
77256
77257 [BZ #13529]
77258 * assert/assert.h (static_assert): Define.
77259
77260 * version.h: Update for 2.16 development version.
77261
77262 [BZ #13526]
77263 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
77264 _ISOC11_SOURCE.
77265
77266 * version.h (RELEASE): Bump for 2.15 release.
77267 * include/features.h (__GLIBC_MINOR__): Bump to 15.
77268
77269 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
77270 Patch by Marek Polacek <mpolacek@redhat.com>.
77271
77272 * bits/byteswap.h: Protect long long constants with __extension__.
77273 * sysdeps/i386/bits/byteswap.h: Likewise.
77274 * sysdeps/ia64/bits/byteswap.h: Likewise.
77275 * sysdeps/s390/bits/byteswap.h: Likewise.
77276 * sysdeps/x86_64/bits/byteswap.h: Likewise.
77277
77278 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77279
77280 [BZ #13540]
77281 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
77282 destination buffer.
77283 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
77284
77285 2011-12-23 Marek Polacek <polacek@redhat.com>
77286
77287 * elf/dl-addr.c (determine_info): Add inline keyword.
77288 * elf/tst-auditmod4b.c (check_avx): Likewise.
77289 * elf/tst-auditmod6b.c (check_avx): Likewise.
77290 * elf/tst-auditmod6c.c (check_avx): Likewise.
77291 * elf/tst-auditmod7b.c (check_avx): Likewise.
77292
77293 2011-12-23 Ulrich Drepper <drepper@gmail.com>
77294
77295 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
77296 !__SSE_MATH__.
77297
77298 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77299
77300 [BZ #13540]
77301 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
77302 processing for last bytes.
77303
77304 2011-08-06 Bruno Haible <bruno@clisp.org>
77305
77306 [BZ #13061]
77307 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
77308 U+0385, not to U+1FEE.
77309
77310 [BZ #13062]
77311 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
77312 entry for U+00A5 U+0301.
77313
77314 2011-12-22 Ulrich Drepper <drepper@gmail.com>
77315
77316 [BZ #13166]
77317 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
77318 buffer for the output is too small.
77319
77320 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
77321 optimization.
77322
77323 [BZ #13185]
77324 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
77325 SSE flags if possible.
77326
77327 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77328
77329 [BZ #13540]
77330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
77331 processing for last bytes.
77332
77333 2011-12-22 Joseph Myers <joseph@codesourcery.com>
77334
77335 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
77336 (syscall-list-default-options, syscall-list-default-condition)
77337 (syscall-list-includes): Define.
77338 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
77339 list of ABIs and options and #if conditions for each ABI. Do not
77340 handle common syscalls between ABIs specially.
77341 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
77342 Remove.
77343 (syscall-list-variants, syscall-list-32bit-options)
77344 (syscall-list-32bit-condition, syscall-list-64bit-options)
77345 (syscall-list-64bit-condition): Define.
77346 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
77347 (syscall-list-variants, syscall-list-32bit-options)
77348 (syscall-list-32bit-condition, syscall-list-64bit-options)
77349 (syscall-list-64bit-condition): Define.
77350 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
77351 Remove.
77352 (syscall-list-variants, syscall-list-32bit-options)
77353 (syscall-list-32bit-condition, syscall-list-64bit-options)
77354 (syscall-list-64bit-condition): Define.
77355 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
77356 Remove.
77357 (syscall-list-variants, syscall-list-32bit-options)
77358 (syscall-list-32bit-condition, syscall-list-64bit-options)
77359 (syscall-list-64bit-condition): Define.
77360
77361 2011-12-22 Ulrich Drepper <drepper@gmail.com>
77362
77363 * locale/iso-639.def: Add brx entry.
77364
77365 [BZ #13328]
77366 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
77367 Proposed by Mariusz_Cukr <marcukr@op.pl>.
77368
77369 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
77370 __feraiseexcept_renamed.
77371
77372 2011-12-21 Ulrich Drepper <drepper@gmail.com>
77373
77374 [BZ #13538]
77375 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
77376 EPOLLET with unsigned values.
77377 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
77379
77380 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
77381 to large cancellation.
77382 * math/s_cacoshf.c: Likewise.
77383 * math/s_cacoshl.c: Likewise.
77384
77385 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
77386
77387 [BZ #13305]
77388 [BZ #12786]
77389 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
77390 * math/s_cacoshf.c: Likewise.
77391 * math/s_cacoshl.c: Likewise.
77392
77393 2011-12-21 Ulrich Drepper <drepper@gmail.com>
77394
77395 [BZ #13439]
77396 * iconv/gconv.h: Define __GCONV_SWAP.
77397 * iconvdata/unicode.c: The swap bit must be stored in __flags.
77398 * iconvdata/utf-16.c: Likewise.
77399 * iconvdata/utf-32.c: Likewise.
77400
77401 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
77402
77403 [BZ #13524]
77404 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
77405 numerator after shifting it by one limb.
77406
77407 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
77408
77409 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
77410 under [__USE_EXTERN_INLINES].
77411
77412 2011-12-17 Ulrich Drepper <drepper@gmail.com>
77413
77414 [BZ #13446]
77415 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
77416
77417 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77418
77419 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
77420 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
77421 optimized code.
77422 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
77423 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
77424 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
77425 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
77426 for strncasecmp/strncasecmp_l compilation.
77427 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
77428 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
77429
77430 2011-12-08 Marek Polacek <mpolacek@redhat.com>
77431
77432 [BZ #13484]
77433 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
77434 of __asm__.
77435
77436 2011-12-17 Ulrich Drepper <drepper@gmail.com>
77437
77438 [BZ #13506]
77439 * time/tzfile.c (__tzfile_read): Check values from file header.
77440
77441 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77442
77443 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
77444 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
77445 * powerpc/powerpc32/dl-start.S: Likewise.
77446 * powerpc/powerpc32/elf/start.S: Likewise.
77447 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
77448 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
77449 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
77450 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
77451 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
77452 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
77453 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
77454 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
77455 * powerpc/powerpc32/fpu/s_round.S: Likewise.
77456 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
77457 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
77458 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
77459 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
77460 * powerpc/powerpc32/memset.S: Likewise.
77461 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
77462 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
77463 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
77464 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
77465 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
77466 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
77467 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
77468 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
77469 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
77470 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
77471 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
77472 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77473 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77474
77475 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77476
77477 * math/libm-test.inc: Added more nearbyint tests.
77478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
77479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
77480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
77481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
77482
77483 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
77484
77485 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
77486 FD_CLOEXEC.
77487
77488 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77489
77490 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
77491 Add wcscpy-ssse3 wcscpy-c.
77492 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
77493 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
77494 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
77495 * sysdeps/x86_64/wcschr.S: New file.
77496 * sysdeps/x86_64/wcsrchr.S: New file.
77497 * string/test-strcmp.c: Remove checking of wcscmp function for
77498 wrong alignments.
77499 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
77500 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
77501 wcsrchr-sse2 wcsrchr-c.
77502 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
77503 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
77504 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
77505 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
77506 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
77507 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
77508 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
77509 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
77510 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
77511 * wcsmbc/wcschr.c (WCSCHR): New macro.
77512
77513 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77514
77515 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
77516 * wcsmbs/test-wcsrchr.c: New file.
77517 * string/test-strrchr.c: Add wcsrchr support.
77518 (WIDE): New macro.
77519 * wcsmbs/test-wcscpy.c: New file.
77520 * string/test-strcpy.c: Add wcscpy support.
77521 (WIDE): New macro.
77522
77523 2011-12-10 Ulrich Drepper <drepper@gmail.com>
77524
77525 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
77526 the inner loop.
77527
77528 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
77529
77530 [BZ #13472]
77531 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
77532
77533 2011-12-04 Ulrich Drepper <drepper@gmail.com>
77534
77535 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
77536 Minor optimizations.
77537
77538 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
77539 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
77540 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
77541
77542 2011-12-03 Ulrich Drepper <drepper@gmail.com>
77543
77544 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
77545 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
77546 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
77547 for gcc to avoid warnings.
77548 * inet/Makefile (tests): Add tst-checks.
77549 * inet/tst-checks.c: New file.
77550
77551 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
77552 warning.
77553
77554 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
77555 __wmemcmp_sse2.
77556
77557 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
77558 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
77559
77560 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
77561
77562 2011-12-02 Ulrich Drepper <drepper@gmail.com>
77563
77564 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
77565 problem.
77566
77567 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
77568
77569 2011-11-29 Joseph Myers <joseph@codesourcery.com>
77570
77571 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
77572 conditional on GCC version.
77573 (__arch_compare_and_exchange_val_8_acq)
77574 (__arch_compare_and_exchange_val_16_acq)
77575 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
77576 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
77577 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77578
77579 2011-12-02 Joseph Myers <joseph@codesourcery.com>
77580
77581 * sysdeps/sh/backtrace.c: New file.
77582
77583 2011-12-02 Andreas Schwab <schwab@redhat.com>
77584
77585 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
77586 parenthesis.
77587
77588 2011-12-01 Andreas Schwab <schwab@redhat.com>
77589
77590 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77591 falling back to utime.
77592
77593 2011-11-30 Andreas Schwab <schwab@redhat.com>
77594
77595 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77596 expectations for float.
77597
77598 2011-11-29 Andreas Schwab <schwab@redhat.com>
77599
77600 * locale/weight.h (findidx): Add parameter len.
77601 * locale/weightwc.h (findidx): Likewise.
77602 * posix/fnmatch_loop.c (FCT): Adjust caller.
77603 * posix/regcomp.c (build_equiv_class): Likewise.
77604 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77605 * posix/regexec.c (check_node_accept_bytes): Likewise.
77606 * string/strcoll_l.c (STRCOLL): Likewise.
77607 * string/strxfrm_l.c (STRXFRM): Likewise.
77608
77609 2011-11-17 Ulrich Drepper <drepper@gmail.com>
77610
77611 * Makefile.in: Remove CVSOPT handling.
77612 * configure.in: Remove use of AC_REVISION.
77613 * iconvdata/Makefile (distribute): No need to filter out CVS.
77614 * scripts/list-sources.sh: Remove CVS, subversion and monotone
77615 handling.
77616
77617 2011-11-16 Andreas Schwab <schwab@redhat.com>
77618
77619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77620 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77621 [USE_AS_STRNCASECMP_L]: Likewise.
77622 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77623 NO_TLS_DIRECT_SEG_REFS.
77624 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77625 Fix argument offsets for non-PIC.
77626 [USE_AS_STRNCASECMP_L]: Likewise.
77627 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77628 NO_TLS_DIRECT_SEG_REFS.
77629
77630 2011-11-15 Ulrich Drepper <drepper@gmail.com>
77631
77632 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77633 O_CLOEXEC.
77634 * locale/loadlocale.c (_nl_load_locale): Likewise.
77635
77636 2011-11-15 Andreas Schwab <schwab@redhat.com>
77637
77638 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77639 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77640 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77641 (SYSCALL_GETTIME): Set errno on error.
77642
77643 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77644 count references to noai6ai_cached.
77645
77646 2011-11-15 Ulrich Drepper <drepper@gmail.com>
77647
77648 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77649
77650 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77651 FD_CLOEXEC for /proc/self/maps.
77652
77653 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77654 FD_CLOEXEC for /proc/meminfo.
77655
77656 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77657 gai.conf.
77658
77659 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
77660 FD_CLOEXEC for given file.
77661
77662 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77663
77664 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77665 FD_CLOEXEC for /etc/hosts.
77666 (_gethtent): Likewise.
77667
77668 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77669
77670 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77671 cancellation and set FD_CLOEXEC for /etc/netgroup.
77672
77673 * nss/nss_files/files-key.c (search): Don't allow cancellation when
77674 reading /etc/publickey.
77675
77676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77677 allow cancellation when reading /etc/group.
77678
77679 * nss/nss_files/files-alias.c (internal_setent): Don't allow
77680 cancellation.
77681 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
77682
77683 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77684 when using data file.
77685
77686 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77687
77688 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77689 (write_nis_obj): Use "c" and "e" in fopen.
77690
77691 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77692
77693 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77694
77695 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77696
77697 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77698
77699 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77700 locale.alias.
77701
77702 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77703
77704 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77705
77706 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77707
77708 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77709 file parsing and set FD_CLOEXEC.
77710
77711 2011-11-14 Ulrich Drepper <drepper@gmail.com>
77712
77713 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77714
77715 2011-11-14 Andreas Schwab <schwab@redhat.com>
77716
77717 * malloc/arena.c (arena_get2): Don't call reused_arena when
77718 _int_new_arena failed.
77719
77720 2011-11-14 Ulrich Drepper <drepper@gmail.com>
77721
77722 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77723 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77724 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77725 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77726 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77727 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77728 to compile strcasecmp and strncasecmp.
77729 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77730 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77731
77732 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77733
77734 2011-11-13 Ulrich Drepper <drepper@gmail.com>
77735
77736 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77737 locale-defines.sym to gen-as-const-headers.
77738 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77739 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77741 to compile strcasecmp and strncasecmp.
77742 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77743 strcasecmp_l and strncasecmp_l.
77744 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77745 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77746 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77747 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77748 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77749 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77750 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77751 * sysdeps/i386/i686/multiarch/strncase.S: New file.
77752 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77753 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77754 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77755
77756 2011-11-12 Ulrich Drepper <drepper@gmail.com>
77757
77758 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77759 result of SYSDEP_GETTIME_CPU to retval.
77760 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77761 parameter list to macro. Remove trailing semicolon. Adjust users.
77762
77763 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77764 variable.
77765
77766 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77767 mantissa words.
77768 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77769
77770 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77771 from unused variable.
77772
77773 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77774 DWARF definitions.
77775 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77776 for assembling.
77777
77778 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77779 over namespaces.
77780
77781 * sunrpc/rpc_prot.c (rejected): Fix case value.
77782
77783 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77784 unsigned long long int to avoid warnings in shift.
77785
77786 * posix/regex_internal.c (re_string_reconstruct): Actually use result
77787 of use of trans.
77788 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77789 variable tmp.
77790
77791 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77792 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77793 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77794
77795 * nis/nis_table.c (nis_list): Use variable of correct type for
77796 result of __follow_path call.
77797
77798 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77799
77800 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77801 of math functions ceil, trunc, floor, round, and sqrt, when
77802 avaliable on the platform.
77803 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77804 name clash.
77805 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77806 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77807 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77808
77809 2011-10-30 Marek Polacek <mpolacek@redhat.com>
77810
77811 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77812 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77813
77814 2011-11-11 Roland McGrath <roland@hack.frob.com>
77815
77816 * include/unistd.h: Fix __readlink return type.
77817 Reported by Chris Metcalf <cmetcalf@tilera.com>.
77818
77819 2011-11-11 Ulrich Drepper <drepper@gmail.com>
77820
77821 * stdlib/ucontext.h: Undo last change for makecontext.
77822
77823 2011-11-11 Andreas Schwab <schwab@redhat.com>
77824
77825 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77826
77827 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77828 * setjmp/setjmp.h: Mark functions as non-leaf.
77829 * setjmp/bits/setjmp2.h: Likewise.
77830 * stdlib/ucontext.h: Likewise.
77831
77832 2011-11-10 Andreas Schwab <schwab@redhat.com>
77833
77834 * malloc/arena.c (_int_new_arena): Don't increment narenas.
77835 (reused_arena): Don't check arena limit.
77836 (arena_get2): Atomically check arena limit.
77837
77838 2011-11-08 Ulrich Drepper <drepper@gmail.com>
77839
77840 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77841 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77842
77843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77844 instructions.
77845
77846 2011-11-07 Andreas Schwab <schwab@redhat.com>
77847
77848 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77849 handler when locking.
77850
77851 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77852 Fix size of allocated buffer.
77853
77854 2011-11-04 Andreas Schwab <schwab@redhat.com>
77855
77856 [BZ #10103]
77857 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77858 declarations for long double functions.
77859 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77860
77861 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77862
77863 2011-11-03 Andreas Schwab <schwab@redhat.com>
77864
77865 * nscd/nscd.c (main): Don't start AVC thread until credentials are
77866 installed.
77867
77868 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77869 is disabled.
77870
77871 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
77872
77873 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77874
77875 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
77876
77877 * include/alloca.h (stackinfo_alloca_round): Define.
77878 (extend_alloca): Use it.
77879 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77880 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77881 here.
77882
77883 * scripts/check-local-headers.sh: Ignore libaudit.h.
77884
77885 * nscd/Makefile (extra-objs): Make recursively expanded.
77886
77887 2011-11-01 Ulrich Drepper <drepper@gmail.com>
77888
77889 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77890 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77891
77892 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77893 * posix/tst-rfc3484-2.c: Likewise.
77894 * posix/tst-rfc3484-3.c: Likewise.
77895
77896 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77897 process_vm_writev.
77898 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77899 process_vm_writev.
77900 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77901 process_vm_writev from libc using GLIBC_2.15 version.
77902
77903 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77904
77905 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
77906
77907 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77908 stack usage.
77909
77910 2011-10-31 Ulrich Drepper <drepper@gmail.com>
77911
77912 [BZ #13367]
77913 * nss/getent.c (initgroups_keys): Show error message in case no group
77914 names are given.
77915
77916 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77917 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77918 __bump_nl_timestamp.
77919 * nscd/connections (nscd_init): When host database is served open
77920 netlink socket and request notification about configuration changes.
77921 (main_loop_poll): Track netlink file descriptor and bump timestamp
77922 in case data becomes available.
77923 (main_loop_epoll): Likewise.
77924 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77925 (database_pers_head): Add extra_data fileds.
77926 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77927 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77928 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77929 Adjust caller.
77930 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77931 in6ai data, call __free_in6ai.
77932 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77933 Add -DHAVE_NETLINK.
77934 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
77935 interface information. Reuse previous data if netlink timestamp
77936 is not changed.
77937 (__bump_nl_timestamp): New function.
77938 (__free_in6ai): New function.
77939
77940 2011-10-30 Ulrich Drepper <drepper@gmail.com>
77941
77942 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77943 close_not_cancel_no_status here.
77944 (__check_pf): Reorganize code a bit to not call close twice if OOM.
77945
77946 2011-10-29 Ulrich Drepper <drepper@gmail.com>
77947
77948 [BZ #13276]
77949 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77950 return value.
77951
77952 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77953 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77954 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77955
77956 2011-07-03 Andreas Jaeger <aj@suse.de>
77957
77958 [BZ #10709]
77959 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77960 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77961 * math/libm-test.inc (sin_test): Add test case.
77962
77963 2011-10-29 Ulrich Drepper <drepper@gmail.com>
77964
77965 [BZ #13337]
77966 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77967 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77968
77969 * elf/chroot_canon.c (chroot_canon): Cleanups.
77970
77971 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77972
77973 [BZ #13335]
77974 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77975 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77976
77977 * string/test-strchr.c: Make usable for strchrnul testing.
77978 * string/test-strchrnul.c: New file.
77979 * string/Makefile (strop-tests): Add strchrnul.
77980
77981 * po/it.po: Update from translation team.
77982 * po/es.po: Likewise.
77983
77984 2011-10-28 Ulrich Drepper <drepper@gmail.com>
77985
77986 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77987 the three constants needed as parameters. Drop the others.
77988 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77989 __m128i_strloadu_tolower.
77990 Create and initialize variable zero and use it in all the places
77991 where _mm_setzero_si128 was used.
77992
77993 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77994 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77995 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77996 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77997 anymore.
77998 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77999 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
78000 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
78001 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
78002 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
78003 __mpranred, __mptan.
78004 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
78005 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
78006 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
78007 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
78008 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
78009 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
78010 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
78011 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
78012 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
78013
78014 2011-10-28 Andreas Schwab <schwab@redhat.com>
78015
78016 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
78017 redefine if SHARED.
78018 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
78019
78020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
78021 wide char related routines to wcsmbs subdir.
78022
78023 2011-10-27 Andreas Schwab <schwab@redhat.com>
78024
78025 [BZ #13344]
78026 * misc/sys/cdefs.h (__THROWNL): Define.
78027 * posix/unistd.h: Use __THREADNL instead of __THREAD
78028 for memory synchronization functions.
78029
78030 2011-10-26 Roland McGrath <roland@hack.frob.com>
78031
78032 [BZ #13349]
78033 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
78034 doesn't exist.
78035 * manual/stdio.texi (Obstack Streams): Node removed.
78036
78037 2011-10-26 Andreas Schwab <schwab@redhat.com>
78038
78039 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
78040 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78041 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78042
78043 * math/math_private.h (math_force_eval): Allow non-addressable
78044 arguments.
78045 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
78046
78047 2011-10-25 Ulrich Drepper <drepper@gmail.com>
78048
78049 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
78050 file is not needed.
78051
78052 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
78053 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
78054 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78055 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78056 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78057 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78058 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78059 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
78060 Add AVX variants.
78061 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
78062 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
78063 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
78064 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
78065 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
78066 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
78067 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
78068 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
78069 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
78070 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
78071 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
78072 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
78073 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
78074 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
78075 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
78076 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
78077 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
78078 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
78079 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
78080
78081 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
78082 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
78083
78084 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
78085 place. Use VEX encoding when compiling for AVX.
78086
78087 2011-10-25 Andreas Schwab <schwab@redhat.com>
78088
78089 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
78090 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
78091
78092 * string/test-strchr.c (do_test): Don't generate NUL bytes.
78093
78094 2011-10-25 Ulrich Drepper <drepper@gmail.com>
78095
78096 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
78097 useless if() expression.
78098 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78099 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78100 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78101 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78102 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78103 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78104 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78105 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78106 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78107 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78108 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78109 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78110 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78111 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78112 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78113 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78114 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78115 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78116 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78117
78118 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
78119
78120 2011-10-25 Andreas Schwab <schwab@redhat.com>
78121
78122 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
78123 condition.
78124 * elf/dl-fini.c (_dl_sort_fini): Likewise.
78125
78126 2011-10-25 Ulrich Drepper <drepper@gmail.com>
78127
78128 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
78129 .text section. Avoid duplicate constants.
78130 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78131 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78132 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78134 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78137 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78138 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
78139 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
78140 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
78141 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
78142 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
78143 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
78144 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
78145 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
78146 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
78147 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
78148 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78150 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78151 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78152 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78153 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
78154 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
78155 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
78156 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
78157 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
78158 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
78159 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
78160 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
78161 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
78162 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
78163 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
78164 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
78165 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
78166 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
78167 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
78168 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
78169 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
78170 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
78171 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
78172 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
78173 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
78174 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
78175
78176 2011-10-24 Ulrich Drepper <drepper@gmail.com>
78177
78178 * sysdeps/x86_64/dla.h: Move to ...
78179 * sysdeps/x86_64/fpu/dla.h: ...here.
78180 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
78181 situations. Use __builtin_fma only for gcc 4.6 and up.
78182
78183 * config.make.in: Add have-mfma4 entry.
78184 * configure.in: Substitute libc_cv_cc_fma4.
78185 * math/Makefile (dbl-only-routines): Add sincostab.
78186 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
78187 Use __sincostab not sincos.
78188 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
78189 name is a macro.
78190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
78194 using __copysign.
78195 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
78196 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
78197 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
78198 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
78199 and __inv.
78200 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
78201 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
78202 __copysign.
78203 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
78204 define aliases when function name is a macro.
78205 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
78206 sysdeps/ieee754/dbl-64/sincos.tbl.
78207 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
78208 fma4-enabled routines.
78209 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
78210 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
78211 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
78212 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
78213 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
78214 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
78215 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
78216 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
78217 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
78218 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
78219 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
78220 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
78221 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
78222 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
78223 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
78224 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
78225 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
78226 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
78227 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
78228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
78229 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
78230 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
78231 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
78232 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
78233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
78234 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
78235 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
78236 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
78237 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
78238 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
78239
78240 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
78241 rename.
78242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78247 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78248 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78249 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78250
78251 2011-10-24 Andreas Schwab <schwab@redhat.com>
78252
78253 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
78254
78255 2011-10-23 Ulrich Drepper <drepper@gmail.com>
78256
78257 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
78258
78259 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
78260 prediction.
78261 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
78262
78263 * string/strnlen.c: Don't define STRNLEN, reverse logic.
78264 Remove unused variable magic_bits.
78265 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
78266
78267 * string/strnlen.c: Define and use STRNLEN macro.
78268 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
78269 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
78270 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
78271 * wcsmbs/wcslen.c: Define and use WCSLEN.
78272 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
78273 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
78274 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
78275 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
78276 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
78277 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
78278 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78279
78280 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78281
78282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78283 strnlen-sse2-no-bsf.
78284 Rename strlen-no-bsf to strlen-sse2-no-bsf.
78285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
78286 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
78287 Add strnlen support.
78288 (USE_AS_STRNLEN): New macro.
78289 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
78290 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
78291 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
78292 * sysdeps/x86_64/wcslen.S: New file.
78293
78294 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
78295
78296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78297 XMM-moves are used for copying on small sizes.
78298
78299 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78300
78301 * wcsmbs/Makefile (strop-tests): Add wcschr.
78302 * wcsmbs/test-wcschr.c: New file.
78303 * string/test-strchr.c: Update.
78304 Add wcschr support.
78305 (WIDE): New macro.
78306
78307 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78308
78309 * wcsmbs/Makefile (strop-tests): Add wcslen.
78310 * wcsmbs/test-wcslen.c: New file.
78311 * string/test-strlen.c: Update.
78312 Add wcslen support.
78313 (WIDE): New macro.
78314
78315 2011-10-23 Ulrich Drepper <drepper@gmail.com>
78316
78317 * po/it.po: Update from translation team.
78318
78319 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78320
78321 * sysdeps/x86_64/wcscmp.S: Update.
78322 Fix wrong comparison semantics.
78323 wcscmp shall use signed comparison not unsigned.
78324 Don't use substraction to avoid overflow bug.
78325 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
78326 * wcsmbc/wcscmp.c: Likewise.
78327 * string/test-strcmp.c: Likewise.
78328 Add new tests to check cases with negative values.
78329
78330 2011-10-23 Ulrich Drepper <drepper@gmail.com>
78331
78332 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
78333 * sysdeps/x86_64/dla.h: ...here. New file.
78334 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
78335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78337 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78339 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78343
78344 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
78345
78346 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
78347 __ynl_finite aliases.
78348
78349 2011-10-22 Ulrich Drepper <drepper@gmail.com>
78350
78351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78352
78353 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
78354 define DLA_FMA.
78355 [DLA_FMA] (EMULV): Use DLA_FMA.
78356 [DLA_FMA] (MUL12): Use EMULV.
78357 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
78358 that are not needed.
78359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78366
78367 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
78368
78369 * math/s_nan.c: Undef __nan.
78370 * math/s_nanf.c: Undef __nanf.
78371 * math/s_nanl.c: Undef __nanl.
78372 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
78373 "math_private.h".
78374
78375 2011-10-22 Ulrich Drepper <drepper@gmail.com>
78376
78377 * math/s_catan.c: Add branch predictions.
78378 * math/s_catanf.c: Likewise.
78379 * math/s_catanh.c: Likewise.
78380 * math/s_catanhf.c: Likewise.
78381 * math/s_catanhl.c: Likewise.
78382 * math/s_catanl.c: Likewise.
78383 * math/s_cexp.c: Likewise.
78384 * math/s_cexpf.c: Likewise.
78385 * math/s_cexpl.c: Likewise.
78386 * math/s_clog.c: Likewise.
78387 * math/s_clog10.c: Likewise.
78388 * math/s_clog10f.c: Likewise.
78389 * math/s_clog10l.c: Likewise.
78390 * math/s_clogf.c: Likewise.
78391 * math/s_clogl.c: Likewise.
78392 * math/s_csqrt.c: Likewise.
78393 * math/s_csqrtf.c: Likewise.
78394 * math/s_csqrtl.c: Likewise.
78395 * math/s_ctanf.c: Likewise.
78396 * math/s_ctanh.c: Likewise.
78397 * math/s_ctanhf.c: Likewise.
78398 * math/s_ctanhl.c: Likewise.
78399 * math/s_ctanl.c: Likewise.
78400
78401 * math/math_private.h: Define __nan, __nanf, __nanl.
78402 * math/s_cacosh.c: Include <math_private.h>.
78403 * math/s_cacoshl.c: Likewise.
78404 * math/s_casinh.c: Likewise.
78405 * math/s_casinhf.c: Likewise.
78406 * math/s_casinhl.c: Likewise.
78407 * math/s_ccos.c: Rely entire on ccosh.
78408 * math/s_ccosf.c: Rely entire on ccoshf.
78409 * math/s_ccosl.c: Rely entirely on ccoshl.
78410 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
78411 Remove tests for FE_INVALID.
78412 * math/s_ccoshf.c: Likewise.
78413 * math/s_ccoshl.c: Likewise.
78414 * math/s_csin.c: Likewise.
78415 * math/s_csinf.c: Likewise.
78416 * math/s_csinh.c Likewise.
78417 * math/s_csinhf.c: Likewise.
78418 * math/s_csinhl.c: Likewise.
78419 * math/s_csinl.c: Likewise.
78420 * math/s_ctan.c: Likewise.
78421 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
78422 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
78423 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
78424
78425 2011-10-21 Ulrich Drepper <drepper@gmail.com>
78426
78427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
78428 compilation problems.
78429
78430 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
78431 __builtin_expect.
78432
78433 2011-10-20 Ulrich Drepper <drepper@gmail.com>
78434
78435 * sysdeps/i386/configure.in: Test for -mfma4 option.
78436 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
78437 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
78438 COMMON_CPUID_INDEX_80000001.
78439 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
78440 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
78441 use it if FMA3 is not supported.
78442 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
78443
78444 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
78445 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78446
78447 2011-10-20 Andreas Schwab <schwab@redhat.com>
78448
78449 [BZ #12892]
78450 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
78451 it would create a cycle with a link time dependency.
78452
78453 2011-10-19 Ulrich Drepper <drepper@gmail.com>
78454
78455 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
78456 instruction.
78457 * string/Makefile (strop-tests): Add rawmemchr.
78458 * string/test-rawmemchr.c: New file.
78459
78460 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
78461 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
78462 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
78463 when compiling str{,n}casecmp and when AVX is available. Hook up
78464 new optimized code in initializers.
78465
78466 2011-10-19 Andreas Schwab <schwab@redhat.com>
78467
78468 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
78469 __feraiseexcept instead of feraiseexcept.
78470
78471 2011-10-18 Ulrich Drepper <drepper@gmail.com>
78472
78473 * math/math_private.h: Define defaults for libc_fetestexcept and
78474 libc_feupdateenv.
78475 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
78476 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
78477 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78478 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78479 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78480 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78481 libc_fetestexcept and libc_feupdateenv.
78482
78483 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
78484 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
78485 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
78486 * sysdeps/x86_64/fpu/math_private.h: Define special version of
78487 libc_feholdexcept_setround.
78488
78489 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
78490 Add s_nearbyint-c and s_nearbyintf-c.
78491 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
78492 nearbyintf inlines.
78493 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
78494 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
78495 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
78496 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
78497
78498 * math/math_private.h: Define defaults for libc_fegetround,
78499 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
78500 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
78501 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
78502 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
78503 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
78504 standard functions.
78505 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78506 Remove comments and hacks for old compiler versions.
78507 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78508 libc_fegetround, libc_fesetround, libc_feholdexcept, and
78509 libc_feholdexceptl.
78510
78511 2011-10-18 Andreas Schwab <schwab@redhat.com>
78512
78513 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
78514 (__feraiseexcept_renamed): Add __NTH.
78515 (feraiseexcept): Add __NTH. Rename local variables to fix
78516 namespace violations.
78517
78518 2011-10-17 Ulrich Drepper <drepper@gmail.com>
78519
78520 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
78521
78522 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
78523
78524 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
78525 recently added interfaces.
78526 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
78527
78528 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
78529 about macro parameter expansion.
78530
78531 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
78532 __NO_MATH_INLINES is defined. Cleanups.
78533
78534 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
78535 and __floorf is target has SSE4.1.
78536 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
78537 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
78538 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
78539 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
78540
78541 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
78542 name.
78543 (floorf): Likewise.
78544
78545 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
78546
78547 2011-10-17 Andreas Schwab <schwab@redhat.com>
78548
78549 * misc/sys/cdefs.h: Fix last change.
78550
78551 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
78552 database lookup.
78553
78554 2011-10-16 Ulrich Drepper <drepper@gmail.com>
78555
78556 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
78557
78558 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
78559 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78560 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78561 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78562 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78563 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78564 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78565 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78566 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78567 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
78568 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
78569 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
78570 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
78571 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
78572 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
78573 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
78574 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
78575 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
78576 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
78577 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78578 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78579 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78580
78581 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78582 ceil, ceilf, floor, floorf.
78583
78584 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78585 Perform IRELATIVE relocations last.
78586
78587 * elf/do-rel.h: Add another parameter nrelative, replacing the
78588 local variable with the same name. Change name of the function
78589 to end in Rel or Rela (uppercase).
78590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78591 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
78592 elf_dynamic_do_##reloc function.
78593
78594 2011-10-15 Ulrich Drepper <drepper@gmail.com>
78595
78596 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78597 is sufficient, at least on modern CPUs.
78598
78599 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78600
78601 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78602 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78603
78604 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78605 __expl_finite.
78606 * math/bits/math-finite.h: Add entries for exp.
78607 * math/e_expl.c: Add __*_finite alias.
78608 * sysdeps/i386/fpu/e_exp.S: Likewise.
78609 * sysdeps/i386/fpu/e_expf.S: Likewise.
78610 * sysdeps/i386/fpu/e_expl.c: Likewise.
78611 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78612 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78613 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78614 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78615 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78616 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78617 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78618
78619 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78620 is sufficient, at least on modern CPUs.
78621
78622 * ctype/ctype-info.c (__ctype_init): Define.
78623 * include/ctype.h (__ctype_init): Declare.
78624 (__ctype_b_loc): The variable is always initialized.
78625 (__ctype_toupper_loc): Likewise.
78626 (__ctype_tolower_loc): Likewise.
78627 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78628 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78629
78630 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
78631
78632 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78633
78634 * configure.in: Also look in $cxxmachine/include for C++ system
78635 headers.
78636
78637 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78638
78639 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78640 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78641 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78642 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
78643 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78644 (USE_AS_WMEMCMP): New macro.
78645 Fixing indents.
78646 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78647 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78648 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78649 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78651 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78652 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78653 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78654 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78655 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78656 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78657 (USE_AS_WMEMCMP): New macro.
78658 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78659 * sysdeps/string/test-memcmp.c: Update.
78660 Fix simple_wmemcmp.
78661 Add new tests.
78662 * wcsmbs/wmemcmp.c: Update.
78663 (WMEMCMP): New macro.
78664 Fix overflow bug.
78665
78666 2011-10-12 Andreas Jaeger <aj@suse.de>
78667
78668 [BZ #13268]
78669 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78670
78671 2011-10-15 Ulrich Drepper <drepper@gmail.com>
78672
78673 * libio/iofwide.c (do_length): Avoid warning.
78674
78675 * ctype/ctype.h (__isctype_f): Add missing __THROW.
78676
78677 2011-10-14 Ulrich Drepper <drepper@gmail.com>
78678
78679 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78680
78681 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78682 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78683 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78684 * sysdeps/i386/i686/fpu/e_log.S: New file.
78685 * sysdeps/i386/i686/fpu/e_logf.S: New file.
78686 * sysdeps/i386/i686/fpu/e_logl.S: New file.
78687
78688 * ctype/ctype.h: Add support for inlined isXXX functions when
78689 compiling C++ code.
78690
78691 2011-10-14 Andreas Schwab <schwab@redhat.com>
78692
78693 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78694
78695 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78696
78697 2011-10-13 Roland McGrath <roland@hack.frob.com>
78698
78699 [BZ #13291]
78700 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78701
78702 2011-10-13 Andreas Schwab <schwab@redhat.com>
78703
78704 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78705 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78706 feraiseexcept.
78707
78708 * sysdeps/x86_64/memrchr.S: Check for zero size.
78709
78710 * string/stratcliff.c: Add memrchr tests.
78711
78712 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78713
78714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78715 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78716 rawmemchr-sse2 rawmemchr-sse2-bsf.
78717 * sysdeps/i386/i686/multiarch/memchr.S: New file.
78718 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78719 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78720 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78721 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78722 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78723 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78724 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78725 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78726 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78727 * string/memrchr.c (MEMRCHR): New macro.
78728
78729 2011-10-12 Ulrich Drepper <drepper@gmail.com>
78730
78731 Add integration with gcc's -ffinite-math-only and optimize wrapper
78732 functions in libm.
78733 * Versions.def: Define GLIBC_2.15 version for libm.
78734 * math/Makefile (headers): Add bits/math-finite.h.
78735 * math/bits/math-finite.h: New file.
78736 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78737 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78738 * math/e_acoshl.c: Add __*_finite alias.
78739 * math/e_acosl.c: Likewise.
78740 * math/e_asinl.c: Likewise.
78741 * math/e_atan2l.c: Likewise.
78742 * math/e_atanhl.c: Likewise.
78743 * math/e_coshl.c: Likewise.
78744 * math/e_exp10.c: Likewise.
78745 * math/e_exp10f.c: Likewise.
78746 * math/e_exp10l.c: Likewise.
78747 * math/e_exp2l.c: Likewise.
78748 * math/e_fmodl.c: Likewise.
78749 * math/e_gammal_r.c: Likewise.
78750 * math/e_hypotl.c: Likewise.
78751 * math/e_j0l.c: Likewise.
78752 * math/e_j1l.c: Likewise.
78753 * math/e_jnl.c: Likewise.
78754 * math/e_lgammal_r.c: Likewise.
78755 * math/e_log10l.c: Likewise.
78756 * math/e_log2l.c: Likewise.
78757 * math/e_logl.c: Likewise.
78758 * math/e_powl.c: Likewise.
78759 * math/e_sinhl.c: Likewise.
78760 * math/e_sqrtl.c: Likewise.
78761 * math/e_scalb.c: Completely rewritten and optimized.
78762 * math/e_scalbf.c: Likewise.
78763 * math/e_scalbl.c: Likewise.
78764 * math/w_acos.c: Likewise.
78765 * math/w_acosf.c: Likewise.
78766 * math/w_acosl.c: Likewise.
78767 * math/w_acosh.c: Likewise.
78768 * math/w_acoshf.c: Likewise.
78769 * math/w_acoshl.c: Likewise.
78770 * math/w_asin.c: Likewise.
78771 * math/w_asinf.c: Likewise.
78772 * math/w_asinl.c: Likewise.
78773 * math/w_atan2.c: Likewise.
78774 * math/w_atan2f.c: Likewise.
78775 * math/w_atan2l.c: Likewise.
78776 * math/w_atanh.c: Likewise.
78777 * math/w_atanhf.c: Likewise.
78778 * math/w_atanhl.c: Likewise.
78779 * math/w_exp10.c: Likewise.
78780 * math/w_exp10f.c: Likewise.
78781 * math/w_exp10l.c: Likewise.
78782 * math/w_fmod.c: Likewise.
78783 * math/w_fmodf.c: Likewise.
78784 * math/w_fmodl.c: Likewise.
78785 * math/w_j0.c: Likewise.
78786 * math/w_j0f.c: Likewise.
78787 * math/w_j0l.c: Likewise.
78788 * math/w_j1.c: Likewise.
78789 * math/w_j1f.c: Likewise.
78790 * math/w_j1l.c: Likewise.
78791 * math/w_jn.c: Likewise.
78792 * math/w_jnf.c: Likewise.
78793 * math/w_log.c: Likewise.
78794 * math/w_logf.c: Likewise.
78795 * math/w_logl.c: Likewise.
78796 * math/w_log10.c: Likewise.
78797 * math/w_log10f.c: Likewise.
78798 * math/w_log10l.c: Likewise.
78799 * math/w_log2.c: Likewise.
78800 * math/w_log2f.c: Likewise.
78801 * math/w_log2l.c: Likewise.
78802 * math/w_pow.c: Likewise.
78803 * math/w_powf.c: Likewise.
78804 * math/w_powl.c: Likewise.
78805 * math/w_remainder.c: Likewise.
78806 * math/w_remainderf.c: Likewise.
78807 * math/w_remainderl.c: Likewise.
78808 * math/w_scalb.c: Likewise.
78809 * math/w_scalbf.c: Likewise.
78810 * math/w_scalbl.c: Likewise.
78811 * math/w_sqrt.c: Likewise.
78812 * math/w_sqrtf.c: Likewise.
78813 * math/w_sqrtl.c: Likewise.
78814 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78815 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
78816 used.
78817 * math/math_private.h: Declare __kernel_standard_f.
78818 * math/w_cosh.c: Remove cruft and optimize a bit.
78819 * math/w_coshf.c: Likewise.
78820 * math/w_coshl.c: Likewise.
78821 * math/w_exp2.c: Likewise.
78822 * math/w_exp2f.c: Likewise.
78823 * math/w_exp2l.c: Likewise.
78824 * math/w_hypot.c: Likewise.
78825 * math/w_hypotf.c: Likewise.
78826 * math/w_hypotl.c: Likewise.
78827 * math/w_lgamma.c: Likewise.
78828 * math/w_lgamma_r.c: Likewise.
78829 * math/w_lgammaf.c: Likewise.
78830 * math/w_lgammaf_r.c: Likewise.
78831 * math/w_lgammal.c: Likewise.
78832 * math/w_lgammal_r.c: Likewise.
78833 * math/w_sinh.c: Likewise.
78834 * math/w_sinhf.c: Likewise.
78835 * math/w_sinhl.c: Likewise.
78836 * math/w_tgamma.c: Likewise.
78837 * math/w_tgammaf.c: Likewise.
78838 * math/w_tgammal.c: Likewise.
78839 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78840 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78841 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78842 Minor optimizations. Pretty printing. Remove cruft.
78843 * sysdeps/i386/fpu/e_acosf.S: Likewise.
78844 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78845 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78846 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78847 * sysdeps/i386/fpu/e_acosl.c: Likewise.
78848 * sysdeps/i386/fpu/e_asin.S: Likewise.
78849 * sysdeps/i386/fpu/e_asinf.S: Likewise.
78850 * sysdeps/i386/fpu/e_atan2.S: Likewise.
78851 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78852 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78853 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78855 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78856 * sysdeps/i386/fpu/e_exp10.S: Likewise.
78857 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78858 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78859 * sysdeps/i386/fpu/e_exp2.S: Likewise.
78860 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78861 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78862 * sysdeps/i386/fpu/e_fmod.S: Likewise.
78863 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78864 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78865 * sysdeps/i386/fpu/e_hypot.S: Likewise.
78866 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78867 * sysdeps/i386/fpu/e_log.S: Likewise.
78868 * sysdeps/i386/fpu/e_log10.S: Likewise.
78869 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78870 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78871 * sysdeps/i386/fpu/e_log2.S: Likewise.
78872 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78873 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78874 * sysdeps/i386/fpu/e_logf.S: Likewise.
78875 * sysdeps/i386/fpu/e_logl.S: Likewise.
78876 * sysdeps/i386/fpu/e_pow.S: Likewise.
78877 * sysdeps/i386/fpu/e_powf.S: Likewise.
78878 * sysdeps/i386/fpu/e_powl.S: Likewise.
78879 * sysdeps/i386/fpu/e_remainder.S: Likewise.
78880 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78881 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78882 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78883 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78885 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78886 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78887 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78888 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78889 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78890 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78891 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78892 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78893 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78894 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78895 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78897 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78898 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78899 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78901 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78902 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78905 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78906 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78908 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78909 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78910 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78911 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78912 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78913 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78914 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78915 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78916 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78917 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78918 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78919 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78922 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78923 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78924 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78925 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78926 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78927 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78928 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78929 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78930 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78931 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78932 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78933 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78934 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78935 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78936 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78937 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78938 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78939 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78940 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78941 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78942 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78943 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78944 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78945 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78946 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78947 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78948 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78949 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78950 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78951 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78952 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78953 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78954 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78955 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78956 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78957 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78958 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78959 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78960 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78962 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78963 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78964 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78965 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78966 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78967 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78969 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78970 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78971 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78972 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78973 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78974 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78975 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78976 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78977 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78978 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78979 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78980 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78981 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78982 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78983 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78984 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78985 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78986 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78987 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78988 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78989 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78990 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78991 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78992 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78993 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78994 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78995 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78996 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78997 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78998 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
78999 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
79000 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
79001 (__isnanf): Likewise.
79002 (__isinf_ns): Likewise.
79003 (__isinf_nsf): Likewise.
79004 (__finite): Likewise.
79005 (__finitef): Likewise.
79006 (__ieee754_sqrt): Define as macro.
79007 (__ieee754_sqrtf): Define as macro.
79008 (__ieee754_sqrtl): Define as macro.
79009 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
79010 inlined copy.
79011 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
79012 __FINITE_MATH_ONLY__ consistent.
79013 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
79014
79015 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
79016
79017 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
79018 of rawmemchr.
79019
79020 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
79021
79022 2011-10-09 Ulrich Drepper <drepper@gmail.com>
79023
79024 * po/ja.po: Update from translation team.
79025
79026 2011-10-08 Roland McGrath <roland@hack.frob.com>
79027
79028 * locale/programs/locarchive.c (prepare_address_space): New function.
79029 (create_archive, enlarge_archive, open_archive): Use it.
79030
79031 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
79032 inside [SHARED], where it is used.
79033
79034 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
79035
79036 * nss/getent.c (netgroup_keys): Remove unused variable.
79037 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79038
79039 2011-10-08 Ulrich Drepper <drepper@gmail.com>
79040
79041 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
79042 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
79043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
79044 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
79045 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
79046 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
79047 * math/Makefile (libm-calls): Add s_isinf_ns.
79048 * math/divtc3.c: Use __isinf_nsl instead of isinf.
79049 * math/multc3.c: Likewise.
79050 * math/s_casin.c: Likewise.
79051 * math/s_casinf.c: Likewise.
79052 * math/s_casinl.c: Likewise.
79053 * math/s_ccos.c: Likewise.
79054 * math/s_ccosf.c: Likewise.
79055 * math/s_ccosl.c: Likewise.
79056 * math/s_ctan.c: Likewise.
79057 * math/s_ctanf.c: Likewise.
79058 * math/s_ctanh.c: Likewise.
79059 * math/s_ctanhf.c: Likewise.
79060 * math/s_ctanhl.c: Likewise.
79061 * math/s_ctanl.c: Likewise.
79062 * math/w_fmod.c: Likewise.
79063 * math/w_fmodf.c: Likewise.
79064 * math/w_fmodl.c: Likewise.
79065 * math/w_remainder.c: Likewise.
79066 * math/w_remainderf.c: Likewise.
79067 * math/w_remainderl.c: Likewise.
79068 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
79069 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
79070 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
79071 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
79072 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
79073 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
79074 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
79075 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
79076
79077 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
79078 of the number.
79079 * stdio-common/printf_fphex.c: Likewise.
79080 * stdio-common/printf_size.c: Likewise.
79081
79082 * math/e_exp10.c: Include math_private.h using <...> not "...".
79083 * math/e_exp10f.c: Likewise.
79084 * math/e_exp10l.c: Likewise.
79085 * math/e_exp2l.c: Likewise.
79086 * math/e_j0l.c: Likewise.
79087 * math/e_j1l.c: Likewise.
79088 * math/e_jnl.c: Likewise.
79089 * math/e_lgammal_r.c: Likewise.
79090 * math/e_rem_pio2l.c: Likewise.
79091 * math/e_scalb.c: Likewise.
79092 * math/e_scalbf.c: Likewise.
79093 * math/e_scalbl.c: Likewise.
79094 * math/k_cosl.c: Likewise.
79095 * math/k_sinl.c: Likewise.
79096 * math/k_tanl.c: Likewise.
79097 * math/s_cacoshf.c: Likewise.
79098 * math/s_catan.c: Likewise.
79099 * math/s_catanf.c: Likewise.
79100 * math/s_catanh.c: Likewise.
79101 * math/s_catanhf.c: Likewise.
79102 * math/s_catanhl.c: Likewise.
79103 * math/s_catanl.c: Likewise.
79104 * math/s_ccosh.c: Likewise.
79105 * math/s_ccoshf.c: Likewise.
79106 * math/s_ccoshl.c: Likewise.
79107 * math/s_cexp.c: Likewise.
79108 * math/s_cexpf.c: Likewise.
79109 * math/s_cexpl.c: Likewise.
79110 * math/s_clog.c: Likewise.
79111 * math/s_clog10.c: Likewise.
79112 * math/s_clog10f.c: Likewise.
79113 * math/s_clog10l.c: Likewise.
79114 * math/s_clogf.c: Likewise.
79115 * math/s_clogl.c: Likewise.
79116 * math/s_csin.c: Likewise.
79117 * math/s_csinf.c: Likewise.
79118 * math/s_csinh.c: Likewise.
79119 * math/s_csinhf.c: Likewise.
79120 * math/s_csinhl.c: Likewise.
79121 * math/s_csinl.c: Likewise.
79122 * math/s_csqrt.c: Likewise.
79123 * math/s_csqrtf.c: Likewise.
79124 * math/s_csqrtl.c: Likewise.
79125 * math/s_ctan.c: Likewise.
79126 * math/s_ctanf.c: Likewise.
79127 * math/s_ctanh.c: Likewise.
79128 * math/s_ctanhf.c: Likewise.
79129 * math/s_ctanhl.c: Likewise.
79130 * math/s_ctanl.c: Likewise.
79131 * math/s_ldexp.c: Likewise.
79132 * math/s_ldexpf.c: Likewise.
79133 * math/s_ldexpl.c: Likewise.
79134 * math/s_significand.c: Likewise.
79135 * math/s_significandf.c: Likewise.
79136 * math/s_significandl.c: Likewise.
79137 * math/w_acos.c: Likewise.
79138 * math/w_acosf.c: Likewise.
79139 * math/w_acosh.c: Likewise.
79140 * math/w_acoshf.c: Likewise.
79141 * math/w_acoshl.c: Likewise.
79142 * math/w_acosl.c: Likewise.
79143 * math/w_asin.c: Likewise.
79144 * math/w_asinf.c: Likewise.
79145 * math/w_asinl.c: Likewise.
79146 * math/w_atan2.c: Likewise.
79147 * math/w_atan2f.c: Likewise.
79148 * math/w_atan2l.c: Likewise.
79149 * math/w_atanh.c: Likewise.
79150 * math/w_atanhf.c: Likewise.
79151 * math/w_atanhl.c: Likewise.
79152 * math/w_cosh.c: Likewise.
79153 * math/w_coshf.c: Likewise.
79154 * math/w_coshl.c: Likewise.
79155 * math/w_dremf.c: Likewise.
79156 * math/w_exp10.c: Likewise.
79157 * math/w_exp10f.c: Likewise.
79158 * math/w_exp10l.c: Likewise.
79159 * math/w_exp2.c: Likewise.
79160 * math/w_exp2f.c: Likewise.
79161 * math/w_fmod.c: Likewise.
79162 * math/w_fmodf.c: Likewise.
79163 * math/w_fmodl.c: Likewise.
79164 * math/w_hypot.c: Likewise.
79165 * math/w_hypotf.c: Likewise.
79166 * math/w_hypotl.c: Likewise.
79167 * math/w_j0.c: Likewise.
79168 * math/w_j0f.c: Likewise.
79169 * math/w_j0l.c: Likewise.
79170 * math/w_j1.c: Likewise.
79171 * math/w_j1f.c: Likewise.
79172 * math/w_j1l.c: Likewise.
79173 * math/w_jn.c: Likewise.
79174 * math/w_jnf.c: Likewise.
79175 * math/w_jnl.c: Likewise.
79176 * math/w_lgamma.c: Likewise.
79177 * math/w_lgamma_r.c: Likewise.
79178 * math/w_lgammaf.c: Likewise.
79179 * math/w_lgammaf_r.c: Likewise.
79180 * math/w_lgammal.c: Likewise.
79181 * math/w_lgammal_r.c: Likewise.
79182 * math/w_log.c: Likewise.
79183 * math/w_log10.c: Likewise.
79184 * math/w_log10f.c: Likewise.
79185 * math/w_log10l.c: Likewise.
79186 * math/w_log2.c: Likewise.
79187 * math/w_log2f.c: Likewise.
79188 * math/w_log2l.c: Likewise.
79189 * math/w_logf.c: Likewise.
79190 * math/w_logl.c: Likewise.
79191 * math/w_pow.c: Likewise.
79192 * math/w_powf.c: Likewise.
79193 * math/w_powl.c: Likewise.
79194 * math/w_remainder.c: Likewise.
79195 * math/w_remainderf.c: Likewise.
79196 * math/w_remainderl.c: Likewise.
79197 * math/w_scalb.c: Likewise.
79198 * math/w_scalbf.c: Likewise.
79199 * math/w_scalbl.c: Likewise.
79200 * math/w_sinh.c: Likewise.
79201 * math/w_sinhf.c: Likewise.
79202 * math/w_sinhl.c: Likewise.
79203 * math/w_sqrt.c: Likewise.
79204 * math/w_sqrtf.c: Likewise.
79205 * math/w_sqrtl.c: Likewise.
79206 * math/w_tgamma.c: Likewise.
79207 * math/w_tgammaf.c: Likewise.
79208 * math/w_tgammal.c: Likewise.
79209
79210 * po/ja.po: Update from translation team.
79211
79212 2011-09-29 Andreas Jaeger <aj@suse.de>
79213
79214 [BZ #13179]
79215 * sunrpc/netname.c (netname2host): Fix logic.
79216
79217 [BZ #6779]
79218 [BZ #6783]
79219 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
79220 correctly.
79221 * math/w_remainder.c (__remainder): Likewise.
79222 * math/w_remainderf.c (__remainderf): Likewise.
79223 * math/libm-test.inc (remainder_test): Add test cases.
79224
79225 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79226
79227 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
79228 sdiv_qrnnd.
79229
79230 2011-10-07 Ulrich Drepper <drepper@gmail.com>
79231
79232 * string/test-memcmp.c: Avoid unncessary #defines.
79233 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79234
79235 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79236
79237 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
79238 Use new sse2 version for core i3 - i7 as it's faster
79239 than sse42 version.
79240 (bit_Prefer_PMINUB_for_stringop): New.
79241 * sysdeps/x86_64/rawmemchr.S: Update.
79242 Replace with faster SSE2 version.
79243 * sysdeps/x86_64/memrchr.S: New file.
79244 * sysdeps/x86_64/memchr.S: Update.
79245 Replace with faster SSE2 version.
79246
79247 2011-09-12 Marek Polacek <mpolacek@redhat.com>
79248
79249 * elf/dl-load.c (lose): Add cast to avoid warning.
79250
79251 2011-10-07 Ulrich Drepper <drepper@gmail.com>
79252
79253 * po/ca.po: Update from translation team.
79254
79255 * inet/getnetgrent_r.c: Hook up nscd.
79256 * nscd/Makefile (routines): Add nscd_netgroup.
79257 (nscd-modules): Add netgroupcache.
79258 (CFLAGS-netgroupcache.c): Define.
79259 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
79260 (cache_search): Add const to second parameter.
79261 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
79262 INNETGR.
79263 (dbs): Add netgrdb entry.
79264 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
79265 (verify_persistent_db): Handle netgrdb.
79266 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
79267 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
79268 GETFDNETGR.
79269 (netgroup_response_header): Define.
79270 (innetgroup_response_header): Define.
79271 (datahead): Add netgroup_response_header and innetgroup_response_header
79272 elements.
79273 * nscd/nscd.conf: Add entries for netgroup cache.
79274 * nscd/nscd.h (dbtype): Add netgrdb.
79275 (_PATH_NSCD_NETGROUP_DB): Define.
79276 (netgroup_iov_disabled): Declare.
79277 (xmalloc, xcalloc, xrealloc): Move declarations here.
79278 (cache_search): Adjust prototype.
79279 Add netgroup-related prototypes.
79280 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
79281 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
79282 (__nscd_innetgr): Declare.
79283 * nscd/selinux.c (perms): Use access_vector_t as element type and
79284 add netgroup-related initializers.
79285 * nscd/netgroupcache.c: New file.
79286 * nscd/nscd_netgroup.c: New file.
79287 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
79288 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
79289 For four parameters use innetgr.
79290 * nss/nss_files/files-init.c: Add definition and callback for netgr.
79291 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
79292 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
79293 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
79294
79295 * nscd/connections.c (register_traced_file): Don't register file
79296 for disabled databases.
79297
79298 2011-10-06 Ulrich Drepper <drepper@gmail.com>
79299
79300 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
79301
79302 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
79303 from tree and freeing node.
79304
79305 2011-09-25 Jiri Olsa <jolsa@redhat.com>
79306
79307 * nss/nsswitch.c (__nss_database_lookup): Handle
79308 nss_parse_service_list out of memory case.
79309
79310 2011-09-15 Jiri Olsa <jolsa@redhat.com>
79311
79312 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
79313 out of memory case.
79314
79315 2011-10-04 Andreas Schwab <schwab@redhat.com>
79316
79317 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
79318 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
79319 pass it down.
79320 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
79321 elf_machine_rela, elf_machine_lazy_rel.
79322 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
79323 (ELF_DYNAMIC_DO_REL): Likewise.
79324 (ELF_DYNAMIC_DO_RELA): Likewise.
79325 (ELF_DYNAMIC_RELOCATE): Likewise.
79326 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
79327 to ELF_DYNAMIC_DO_REL.
79328 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
79329 (dl_main): In trace mode always set __RTLD_NOIFUNC.
79330 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
79331 elf_machine_rela.
79332 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
79333 skip_ifunc, don't call ifunc function if non-zero.
79334 (elf_machine_rela): Likewise.
79335 (elf_machine_lazy_rel): Likewise.
79336 (elf_machine_lazy_rela): Likewise.
79337 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
79338 (elf_machine_lazy_rel): Likewise.
79339 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
79340 Likewise.
79341 (elf_machine_lazy_rel): Likewise.
79342 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79343 Likewise.
79344 (elf_machine_lazy_rel): Likewise.
79345 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
79346 (elf_machine_lazy_rel): Likewise.
79347 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
79348 (elf_machine_lazy_rel): Likewise.
79349 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
79350 (elf_machine_lazy_rel): Likewise.
79351 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
79352 (elf_machine_lazy_rel): Likewise.
79353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
79354 (elf_machine_lazy_rel): Likewise.
79355 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
79356 (elf_machine_lazy_rel): Likewise.
79357
79358 2011-09-28 Ulrich Drepper <drepper@gmail.com>
79359
79360 * nss/nss_files/files-init.c (_nss_files_init): Use static
79361 initialization for all the *_traced_file variables.
79362
79363 2011-09-28 Andreas Schwab <schwab@redhat.com>
79364
79365 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79366
79367 2011-09-27 Roland McGrath <roland@hack.frob.com>
79368
79369 [BZ #13226]
79370 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
79371
79372 2011-09-27 Andreas Schwab <schwab@redhat.com>
79373
79374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79375 Reread the line before reparsing it.
79376
79377 2011-09-26 Andreas Schwab <schwab@redhat.com>
79378
79379 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
79380
79381 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
79382 Maxim Kuvyrkov <maxim@codesourcery.com>
79383 Joseph Myers <joseph@codesourcery.com>
79384
79385 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
79386 if needed for __stack_chk_guard.
79387
79388 2011-09-19 Roland McGrath <roland@hack.frob.com>
79389
79390 * sysdeps/posix/spawni.c (script_execute): Always define it.
79391 It will be optimized away if unused.
79392 (maybe_script_execute): New function.
79393 (__spawni): Call it.
79394
79395 * Makerules: Don't include tls.make.
79396 (config-tls): Always set to thread.
79397 * tls.make.c: File removed.
79398
79399 2011-09-19 Mike Frysinger <vapier@gentoo.org>
79400
79401 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
79402 * config.make.in (CPPFLAGS-config): New substituted variable.
79403
79404 2011-09-15 Ulrich Drepper <drepper@gmail.com>
79405
79406 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
79407
79408 [BZ #13192]
79409 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
79410 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
79411
79412 2011-09-15 Roland McGrath <roland@hack.frob.com>
79413
79414 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
79415 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
79416 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79417 (CALL_FAIL): Likewise.
79418 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
79419 (CALL_FAIL): Macro removed.
79420 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
79421
79422 2011-09-15 Ulrich Drepper <drepper@gmail.com>
79423
79424 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
79425 for __FINITE_MATH_ONLY__ == 1.
79426
79427 2011-09-15 Andreas Schwab <schwab@redhat.com>
79428
79429 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
79430 __ieee754_sqrt instead of sqrt.
79431 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
79432 __ieee754_sqrtf instead of sqrtf.
79433 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
79434 __floorf instead of floorf.
79435 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
79436 __floorf, __truncf instead of floorf, truncf.
79437
79438 2011-09-14 Ulrich Drepper <drepper@gmail.com>
79439
79440 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
79441
79442 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
79443 __extern_always_inline.
79444 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
79445 32-bit.
79446
79447 2011-09-14 Andreas Schwab <schwab@redhat.com>
79448
79449 * elf/rtld.c (dl_main): Also relocate in dependency order when
79450 doing symbol dependency testing.
79451
79452 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
79453
79454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79455 Always define `refsym'.
79456
79457 2011-09-13 Andreas Schwab <schwab@redhat.com>
79458
79459 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
79460 (__FD_ELT): Renamed from __FDELT.
79461 * misc/bits/select2.h (__FD_ELT): Likewise.
79462 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
79463 __FD_MASK instead of __FDELT, __FDMASK.
79464 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79465 Likewise.
79466 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79467 Likewise.
79468
79469 * elf/Makefile (gen-ldd): Fix pattern.
79470
79471 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
79472 (init_tls): Likewise.
79473
79474 2011-09-12 Ulrich Drepper <drepper@gmail.com>
79475
79476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
79477
79478 2011-09-12 Andreas Schwab <schwab@redhat.com>
79479
79480 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
79481 `struct cmsghdr *' instead of `void *'.
79482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
79483 Likewise.
79484
79485 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
79486
79487 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
79488 if non-absolute.
79489 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
79490 ldd_rewrite_script.
79491
79492 2011-09-11 Ulrich Drepper <drepper@gmail.com>
79493
79494 * configure.in: Remove --with-tls option.
79495 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
79496 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
79497 out in case it is missing.
79498 * sysdeps/ia64/elf/configure.in: Likewise.
79499 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
79500 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
79501 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
79502 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
79503 * sysdeps/sh/elf/configure.in: Likewise.
79504 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
79505 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79506 * sysdeps/x86_64/elf/configure.in: Likewise.
79507 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
79508 * sysdeps/mach/hurd/tls.h: Likewise.
79509
79510 [BZ #13067]
79511 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
79512
79513 [BZ #13090]
79514 * configure.in: Fix use of AC_INIT.
79515
79516 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
79517
79518 2011-09-10 Ulrich Drepper <drepper@gmail.com>
79519
79520 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
79521 __set_errno.
79522 * malloc/hooks.c: Likewise.
79523
79524 [BZ #11929]
79525 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
79526 variables statically.
79527 (narenas): Initialize.
79528 (list_lock): Initialize.
79529 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
79530 initializtion of main_arena and list_lock. Small cleanups.
79531 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
79532 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
79533 Add initializers to main_arena and mp_.
79534 (malloc_state): Remove pagesize member. Change all users to use
79535 GLRO(dl_pagesize).
79536
79537 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
79538 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
79539 is always initialized.
79540
79541 * malloc/malloc.c: Removed unused configurations and dead code.
79542 * malloc/arena.c: Likewise.
79543 * malloc/hooks.c: Likewise.
79544 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
79545
79546 * include/tls.h: Removed. USE___THREAD must always be defined.
79547 * bits/libc-tsd.h: Don't handle !USE___THREAD.
79548 * elf/dl-libc.c: Likewise.
79549 * elf/dl-tsd.c: Likewise.
79550 * include/errno.h: Likewise.
79551 * include/netdb.h: Likewise.
79552 * include/resolv.h: Likewise.
79553 * inet/herrno-loc.c: Likewise.
79554 * inet/herrno.c: Likewise.
79555 * malloc/arena.c: Likewise.
79556 * malloc/hooks.c: Likewise.
79557 * malloc/malloc.c: Likewise.
79558 * resolv/res-state.c: Likewise.
79559 * resolv/res_libc.c: Likewise.
79560 * sysdeps/i386/dl-machine.h: Likewise.
79561 * sysdeps/ia64/dl-machine.h: Likewise.
79562 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
79563 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
79564 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
79565 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
79566 * sysdeps/sh/dl-machine.h: Likewise.
79567 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79568 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79569 * sysdeps/unix/i386/sysdep.S: Likewise.
79570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
79571 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
79572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
79573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
79574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
79575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
79576 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
79577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79580 * sysdeps/unix/x86_64/sysdep.S: Likewise.
79581 * sysdeps/x86_64/dl-machine.h: Likewise.
79582 * tls.make.c: Likewise.
79583
79584 * configure.in: Remove --with-__thread option. Make tests for
79585 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79586 tls_model attribute fail if no support is available. Remove
79587 USE_IN_LIBIO.
79588 * Makeconfig: Adjust for dropped configure option. All features are
79589 now mandatory.
79590 * Makerules: Likewise.
79591 * Versions.def: Likewise.
79592 * argp/argp-fmtstream.c: Likewise.
79593 * argp/argp-fmtstream.h: Likewise.
79594 * argp/argp-help.c: Likewise.
79595 * assert/assert.c: Likewise.
79596 * config.h.in: Likewise.
79597 * config.make.in: Likewise.
79598 * configure: Likewise.
79599 * configure.in: Likewise.
79600 * csu/Versions: Likewise.
79601 * csu/init.c: Likewise.
79602 * elf/tst-audit2.c: Likewise.
79603 * elf/tst-tls10.c: Likewise.
79604 * elf/tst-tls10.h: Likewise.
79605 * elf/tst-tls11.c: Likewise.
79606 * elf/tst-tls12.c: Likewise.
79607 * elf/tst-tls14.c: Likewise.
79608 * elf/tst-tlsmod11.c: Likewise.
79609 * elf/tst-tlsmod12.c: Likewise.
79610 * elf/tst-tlsmod13.c: Likewise.
79611 * elf/tst-tlsmod13a.c: Likewise.
79612 * elf/tst-tlsmod14a.c: Likewise.
79613 * elf/tst-tlsmod15b.c: Likewise.
79614 * elf/tst-tlsmod16a.c: Likewise.
79615 * elf/tst-tlsmod16b.c: Likewise.
79616 * elf/tst-tlsmod7.c: Likewise.
79617 * elf/tst-tlsmod8.c: Likewise.
79618 * elf/tst-tlsmod9.c: Likewise.
79619 * gmon/gmon.c: Likewise.
79620 * grp/fgetgrent_r.c: Likewise.
79621 * grp/putgrent.c: Likewise.
79622 * hurd/fopenport.c: Likewise.
79623 * include/libc-symbols.h: Likewise.
79624 * include/tls.h: Likewise.
79625 * intl/gettextP.h: Likewise.
79626 * intl/loadinfo.h: Likewise.
79627 * locale/global-locale.c: Likewise.
79628 * locale/localeinfo.h: Likewise.
79629 * mach/devstream.c: Likewise.
79630 * malloc/arena.c: Likewise.
79631 * malloc/set-freeres.c: Likewise.
79632 * misc/err.c: Likewise.
79633 * misc/getttyent.c: Likewise.
79634 * misc/mntent_r.c: Likewise.
79635 * posix/getopt.c: Likewise.
79636 * posix/wordexp.c: Likewise.
79637 * pwd/fgetpwent_r.c: Likewise.
79638 * resolv/Versions: Likewise.
79639 * resolv/res_hconf.c: Likewise.
79640 * shadow/fgetspent_r.c: Likewise.
79641 * shadow/putspent.c: Likewise.
79642 * stdio-common/printf_fphex.c: Likewise.
79643 * stdio-common/tmpfile.c: Likewise.
79644 * stdlib/abort.c: Likewise.
79645 * stdlib/fmtmsg.c: Likewise.
79646 * sunrpc/auth_unix.c: Likewise.
79647 * sunrpc/clnt_perr.c: Likewise.
79648 * sunrpc/clnt_tcp.c: Likewise.
79649 * sunrpc/clnt_udp.c: Likewise.
79650 * sunrpc/clnt_unix.c: Likewise.
79651 * sunrpc/openchild.c: Likewise.
79652 * sunrpc/svc_simple.c: Likewise.
79653 * sunrpc/svc_tcp.c: Likewise.
79654 * sunrpc/svc_udp.c: Likewise.
79655 * sunrpc/svc_unix.c: Likewise.
79656 * sunrpc/xdr.c: Likewise.
79657 * sunrpc/xdr_array.c: Likewise.
79658 * sunrpc/xdr_rec.c: Likewise.
79659 * sunrpc/xdr_ref.c: Likewise.
79660 * sunrpc/xdr_stdio.c: Likewise.
79661
79662 2011-09-09 Ulrich Drepper <drepper@gmail.com>
79663
79664 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79665
79666 2011-07-03 Andreas Jaeger <aj@suse.de>
79667
79668 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79669 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79670 regenerate with gen-libm-tests.pl.
79671
79672 2010-05-12 Petr Baudis <pasky@suse.cz>
79673
79674 [BZ #11589]
79675 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79676 around j0() zero points by switching to j1().
79677 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79678 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79680 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79681
79682 2011-09-09 Ulrich Drepper <drepper@gmail.com>
79683
79684 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79685 instead of 0.
79686 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79687 instead of 0.
79688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79689 Patch in part by Pavel Roskin <proski@gnu.org>.
79690
79691 [BZ #13138]
79692 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79693 realloc.
79694 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
79695 Free memory block if necessary.
79696
79697 [BZ #12847]
79698 * libio/genops.c (INTDEF): For string streams the _lock pointer can
79699 be NULL. Don't lock in this case.
79700
79701 2011-09-09 Roland McGrath <roland@hack.frob.com>
79702
79703 * elf/elf.h (ELFOSABI_GNU): New macro.
79704 (ELFOSABI_LINUX): Define to that.
79705
79706 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
79707
79708 * string/strncat.c (strncat): Undef the symbol in case it has been
79709 defined in bits/string.h.
79710
79711 2011-09-09 Ulrich Drepper <drepper@gmail.com>
79712
79713 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79714
79715 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79716 link map.
79717
79718 2011-08-17 Andreas Jaeger <aj@suse.de>
79719
79720 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79721
79722 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
79723 Ian Lance Taylor <iant@google.com>
79724
79725 * math/libm-test.inc (lround_test): New testcase.
79726 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79727
79728 2011-09-08 Ulrich Drepper <drepper@gmail.com>
79729
79730 * Makefile: Remove support for automatic cvs check-ins.
79731 * Makerules: Likewise.
79732 * config.make.in: Likewise.
79733 * configure.in: Likewise.
79734 * intl/Makefile: Likewise.
79735 * locale/Makefile: Likewise.
79736 * po/Makefile: Likewise.
79737 * posix/Makefile: Likewise.
79738 * sysdeps/gnu/Makefile: Likewise.
79739 * sysdeps/mach/hurd/Makefile: Likewise.
79740 * sysdeps/sparc/sparc32/Makefile: Likewise.
79741
79742 [BZ #13118]
79743 * posix/Makefile (bug-regex32-ENV): Define.
79744 Patch by John Stanley <jpsinthemix@verizon.net>.
79745
79746 * misc/Makefile (headers): Add bits/select2.h.
79747 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79748 * misc/bits/select2.h: New file.
79749 * include/bits/select2.h: New file.
79750 * debug/Makefile (routines): Add fdelt_chk.
79751 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79752 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79753 FD_ISSET.
79754 * debug/fdelt_chk.c: New file.
79755
79756 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
79757 * wcsmbs/test-wmemcmp.c: Likewise.
79758 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79759 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79760
79761 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79762
79763 * string/Makefile (strop-tests): Add memcmp.
79764 * string/test-wmemcmp.c: New file.
79765 * string/test-memcmp.c: Add wmemcmp support.
79766
79767 2011-09-08 Roland McGrath <roland@hack.frob.com>
79768
79769 [BZ #13153]
79770 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79771 2011-07-19 change.
79772
79773 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79774 garbage value in a __mach_port_mod_refs call in the cases of the
79775 task-self and thread-self ports.
79776
79777 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
79778
79779 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79780
79781 2011-09-08 Andreas Schwab <schwab@redhat.com>
79782
79783 * elf/dl-load.c (lose): Check for non-null L.
79784
79785 2011-09-07 Ulrich Drepper <drepper@gmail.com>
79786
79787 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79788
79789 * elf/dl-libc.c (dlerror_run): Pass back error code from
79790 dl_catch_error.
79791
79792 [BZ #13123]
79793 * elf/dl-load.c (lose): Free l_origin if it is valid.
79794
79795 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79796 names.
79797 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79798 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79799 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79800 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79801 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79802 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79803
79804 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79805
79806 * sysdeps/powerpc/fpu/e_hypot.c: New file.
79807 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79808 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79809 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79810 * sysdeps/powerpc/fpu/k_cosf.c: New file.
79811 * sysdeps/powerpc/fpu/k_sinf.c: New file.
79812 * sysdeps/powerpc/fpu/s_cosf.c: New file.
79813 * sysdeps/powerpc/fpu/s_sinf.c: New file.
79814 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79815 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79816
79817 2011-08-15 Alan Modra <amodra@gmail.com>
79818
79819 [BZ #13092]
79820 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79821 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79822 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
79823 ppc_mcount to static-only-routines.
79824 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79825 __mcount_internal.
79826 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79827 __mcount_internal with usual JUMPTARGET. Remove useless nop.
79828
79829 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
79830
79831 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79832 for finite and infinity parameters.
79833
79834 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
79835
79836 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79837 and add nop instructions for throughput optimization.
79838 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79839
79840 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
79841
79842 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79843 aligned copy for power7 with vector-scalar instructions.
79844 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79845
79846 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
79847
79848 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79849 AVX check.
79850
79851 2011-09-07 Andreas Schwab <schwab@redhat.com>
79852
79853 [BZ #13144]
79854 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79855 last change.
79856
79857 2011-09-07 Ulrich Drepper <drepper@gmail.com>
79858
79859 * sysdeps/unix/sysv/linux/x86_64/init-first.c
79860 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79861 syscall wrapper around clock_gettime in __vdso_clock_gettime.
79862 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79863 clock_gettime.
79864
79865 2011-09-06 Ulrich Drepper <drepper@gmail.com>
79866
79867 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79868 Forgot to demangle the pointer.
79869
79870 * sysdeps/i386/sysdep.h: Define atom_text_section.
79871 * sysdeps/x86_64/sysdep.h: Likewise.
79872 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79873 section with atom_text_section.
79874 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79875 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79876 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79877 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79878 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79879
79880 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79881 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79882 already be defined. Change to take two parameters and don't assign
79883 result to variable. Adjust all users.
79884 Define INTERNAL_GETTIME if not already defined.
79885 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79886 call.
79887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79888 HAVE_CLOCK_GETTIME_VSYSCALL.
79889 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79890
79891 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79892 gettimeofday vsyscall, just use time.
79893
79894 2011-09-06 Andreas Schwab <schwab@redhat.com>
79895
79896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79897 <errno.h>.
79898
79899 2011-09-06 Ulrich Drepper <drepper@gmail.com>
79900
79901 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79902 syscall on x86-64.
79903 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79904 syscall.
79905 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79906 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79907 syscall if possible.
79908
79909 2011-09-05 Ulrich Drepper <drepper@gmail.com>
79910
79911 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79912 e_ident. Don't pass to find_mapsXX.
79913 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79914
79915 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
79916
79917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79918 strchr-sse2-no-bsf strrchr-sse2-no-bsf
79919 * sysdeps/x86_64/multiarch/strchr.S: Update.
79920 Check bit_slow_BSF bit.
79921 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79922 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79923 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79924
79925 2011-09-05 Ulrich Drepper <drepper@gmail.com>
79926
79927 [BZ #13134]
79928 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79929 before glibc 2.15.
79930 (tryshell): Define.
79931 (__spawni): Change last parameter to be flag. Test
79932 SPAWN_XFLAGS_USE_PATH flag to use path or not.
79933 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79934 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79935 * posix/spawni.c: Likewise.
79936 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79937 * posix/spawnp.c: Likewise. Change normal version to use
79938 SPAWN_XFLAGS_USE_PATH.
79939 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79940 SPAWN_XFLAGS_TRY_SHELL.
79941
79942 [BZ #13150]
79943 * posix/glob.h: Remove gcc 1.x support.
79944
79945 [BZ #13068]
79946 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79947
79948 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
79949
79950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79951 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79952 strrchr-sse2-bsf
79953 * sysdeps/i386/i686/multiarch/strchr.S: New file.
79954 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79955 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79956 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79957 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79958 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79959
79960 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79961
79962 * sysdeps/x86_64/wcscmp.S: New file.
79963
79964 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79965 wcscmp-c wcscmp-sse2
79966 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79967 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79968 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79969 * wcsmbs/wcscmp.c: Allow renaming.
79970
79971 2011-09-05 David S. Miller <davem@davemloft.net>
79972
79973 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79974 stack slot, rather than the struct return pointer slot.
79975 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79976 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79978 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79979
79980 2011-09-05 Ulrich Drepper <drepper@gmail.com>
79981
79982 * po/ja.po: Update from translation team.
79983
79984 [BZ #13144]
79985 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79986 kernel in 64-bit binaries.
79987
79988 2011-09-01 David S. Miller <davem@davemloft.net>
79989
79990 * elf/elf.h (HWCAP_SPARC_*): Move to..
79991 * sysdeps/sparc/sysdep.h: this new file and add new values.
79992 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79993 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79994 _DL_HWCAP_COUNT to 24.
79995 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79996 entries.
79997 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79998 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79999 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
80000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
80001 instead of magic constants.
80002 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80003
80004 2011-08-31 David S. Miller <davem@davemloft.net>
80005
80006 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
80007 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
80008 Reimplement to do errno handling inline.
80009 (SYSCALL_ERROR_HANDLER): New macro.
80010 (__SYSCALL_STRING): Do not do errno handling in asm.
80011 (__CLONE_SYSCALL_STRING): Delete.
80012 (__INTERNAL_SYSCALL_STRING): Delete.
80013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
80014 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
80015 (PSEUDO): Reimplement to do errno handling inline.
80016 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
80017 (SYSCALL_ERROR_HANDLER): New macro.
80018 (__SYSCALL_STRING): Do not do errno handling in asm.
80019 (__CLONE_SYSCALL_STRING): Delete.
80020 (__INTERNAL_SYSCALL_STRING): Delete.
80021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
80022 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
80023 i386.
80024 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
80025 (inline_syscall*): Add 'err' argument.
80026 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
80027 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
80028 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
80029 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
80030
80031 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
80032 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
80033
80034 2011-08-30 Andreas Schwab <schwab@redhat.com>
80035
80036 * elf/rtld.c (dl_main): Relocate objects in dependency order.
80037
80038 2011-08-29 Jiri Olsa <jolsa@redhat.com>
80039
80040 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
80041 directive.
80042
80043 2011-08-24 David S. Miller <davem@davemloft.net>
80044
80045 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
80046
80047 2011-08-24 Andreas Schwab <schwab@redhat.com>
80048
80049 * elf/Makefile: Add rules to build and run unload8 test.
80050 * elf/unload8.c: New file.
80051 * elf/unload8mod1.c: New file.
80052 * elf/unload8mod1x.c: New file.
80053 * elf/unload8mod2.c: New file.
80054 * elf/unload8mod3.c: New file.
80055
80056 * elf/dl-close.c (_dl_close_worker): Reset private search list if
80057 it wasn't used.
80058
80059 2011-08-23 David S. Miller <davem@davemloft.net>
80060
80061 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
80062 subtract stack bias.
80063 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
80064 %sp not %fp in calculations.
80065 (_JMPBUF_UNWINDS_ADJ): Likewise.
80066
80067 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
80068 (aio_suspend): Call it to force an exception region around the
80069 AIO_MISC_WAIT() invocation.
80070
80071 2011-08-23 Andreas Schwab <schwab@redhat.com>
80072
80073 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
80074 backslash.
80075
80076 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
80077
80078 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
80079 protection macro.
80080 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
80081 and <dl-machine.h>.
80082 (Elf64_FuncDesc): Remove.
80083
80084 2011-08-22 David S. Miller <davem@davemloft.net>
80085
80086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
80087 sigaltstack check, add missing cfi directives.
80088 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
80089 missing cfi directives, and sigaltstack handling.
80090
80091 2011-08-16 Andreas Schwab <schwab@redhat.com>
80092
80093 [BZ #11724]
80094 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
80095 object is seen twice.
80096 * elf/dl-fini.c (_dl_sort_fini): Likewise.
80097
80098 * elf/Makefile (distribute): Add tst-initorder2.c.
80099 (tests): Add tst-initorder2.
80100 (modules-names): Add tst-initorder2a tst-initorder2b
80101 tst-initorder2c tst-initorder2d. Add rules to build them.
80102 ($(objpfx)tst-initorder2.out): New rule.
80103 * elf/tst-initorder2.c: New file.
80104 * elf/tst-initorder2.exp: New file.
80105
80106 2011-08-22 Andreas Schwab <schwab@redhat.com>
80107
80108 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
80109
80110 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
80111 dependencies back to end of function.
80112
80113 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80114 $(elfobjdir)/ld.so.
80115
80116 2011-08-21 Ulrich Drepper <drepper@gmail.com>
80117
80118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
80119 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
80120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
80121 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
80122 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
80123 of __vdso_gettimeofday.
80124 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
80125 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
80126 attribute_hidden.
80127 (_libc_vdso_platform_setup): Remove initialization of
80128 __vdso_gettimeofday and __vdso_time.
80129
80130 2011-08-20 Ulrich Drepper <drepper@gmail.com>
80131
80132 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
80133 and fgetc_unlocked.
80134 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
80135 getc_unlocked.
80136
80137 * elf/dl-open.c (add_to_global): Report additions to the global scope
80138 for LD_DEBUG=scopes.
80139 (dl_open_worker): Also print scope of newly loaded dependencies.
80140 (_dl_show_scope): Indicate if there is no scope.
80141
80142 [BZ #13114]
80143 * stdio-common/Makefile (tests): Add bug24.
80144 * stdio-common/bug24.c: New file.
80145
80146 2011-08-19 Andreas Jaeger <aj@suse.de>
80147
80148 [BZ #13114]
80149 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
80150 non-existant file when using close-on-exec mode.
80151
80152 2011-08-20 Ulrich Drepper <drepper@gmail.com>
80153
80154 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
80155 the very first instruction.
80156
80157 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
80158 the CFI state in the end.
80159 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
80160 inclusion of dl-trampoline.h.
80161 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
80162
80163 2011-08-19 Andreas Schwab <schwab@redhat.com>
80164
80165 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
80166 expectations for long double.
80167
80168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
80169 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
80170
80171 2011-08-14 David S. Miller <davem@davemloft.net>
80172
80173 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
80174 artificual limit depends upon the system page size.
80175
80176 2011-08-17 Ulrich Drepper <drepper@gmail.com>
80177
80178 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
80179 * resolv/Makefile: Define CFLAGS-libresolv.
80180
80181 2011-08-17 Andreas Schwab <schwab@redhat.com>
80182
80183 * nss/makedb.c (compute_tables): Make variables used in nested
80184 function static.
80185
80186 2011-08-17 Ulrich Drepper <drepper@gmail.com>
80187
80188 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
80189 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
80190 if buffer was too small.
80191
80192 * elf/pldd.c (main): Attach to all threads in the process.
80193 Rewrite /proc handling to use *at functions.
80194
80195 2011-08-16 Ulrich Drepper <drepper@gmail.com>
80196
80197 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
80198 specifies first scope to show.
80199 (dl_open_worker): Update callers. Move printing scope of new
80200 object to before the relocation.
80201 * elf/rtld.c (dl_main): Update _dl_show_scope call.
80202 * sysdeps/generic/ldsodefs.h: Update declaration.
80203
80204 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
80205 string for the scope number.
80206
80207 2011-08-14 Ulrich Drepper <drepper@gmail.com>
80208
80209 * nscd/servicescache.c (cache_addserv): Make sure written is always
80210 initialized.
80211
80212 2011-08-14 Roland McGrath <roland@hack.frob.com>
80213
80214 * sysdeps/i386/i486/bits/atomic.h
80215 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
80216 statement expression, so as to suppress "set but not used" warning.
80217 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
80218
80219 * string/strncat.c (STRNCAT): Use prototype definition.
80220
80221 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
80222 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
80223 -Iprograms here.
80224 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
80225 (localedef-modules): Add localedef.
80226 (locale-modules): Add locale.
80227
80228 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
80229 * elf/rtld.c (dl_main): Invert order of assignment in last change,
80230 to avoid a warning.
80231
80232 2011-08-14 David S. Miller <davem@davemloft.net>
80233
80234 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
80235 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
80236
80237 2011-08-13 Ulrich Drepper <drepper@gmail.com>
80238
80239 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
80240 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
80241 * elf/rtld.c (dl_main): Set l_name of vDSO.
80242 Call _dl_show_scope when DL_DEBUG_SCOPES.
80243 (process_dl_debug): Recognize scopes flag and also set it for all.
80244 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
80245 Declare _dl_show_scope.
80246
80247 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
80248 (do_dlopen): Pass caller_dlopen to dl_open.
80249 (__libc_dlopen_mode): Initialize caller_dlopen.
80250
80251 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
80252 of libc. Make tolower call locale-independent. Optimize a bit by
80253 using isdigit instead of isalnum.
80254 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
80255
80256 2011-08-12 Ulrich Drepper <drepper@gmail.com>
80257
80258 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
80259 was a dependency or dynamically loaded.
80260
80261 2011-08-11 Ulrich Drepper <drepper@gmail.com>
80262
80263 * intl/l10nflist.c: Allow architecture-specific pop function.
80264 * sysdeps/x86_64/l10nflist.c: New file.
80265
80266 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
80267 classification.
80268
80269 2011-08-10 Andreas Schwab <schwab@redhat.com>
80270
80271 * include/dirent.h: Add libc_hidden_proto for scandirat and
80272 scandirat64. Don't declare __scandirat64.
80273 * dirent/scandirat.c: Add libc_hidden_def.
80274 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
80275 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
80276
80277 2011-08-10 David S. Miller <davem@davemloft.net>
80278
80279 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
80280 enum.
80281 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
80282 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80283 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
80284
80285 2011-08-09 Ulrich Drepper <drepper@gmail.com>
80286
80287 * Versions.def [libc]: Add GLIBC_2.15.
80288 * dirent/Makefile (routines): Add scandirat and scandirat64.
80289 * dirent/Versions [libc]: Export scandirat and scandirat64 for
80290 GLIBC_2.15.
80291 * dirent/dirent.h: Declare scandirat and scandirat64.
80292 * dirent/scandirat.c: New file.
80293 * dirent/scandirat64.c: New file.
80294 * sysdeps/wordsize-64/scandirat.c: New file.
80295 * sysdeps/wordsize-64/scandirat64.c: New file.
80296 * dirent/opendir.c: Define opendirat.
80297 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
80298 using scandirat.
80299 * dirent/scandir64.c: Adjust for scandir.c change.
80300 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
80301 __scandirat64, and __scandir_cancel_handler.
80302 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
80303 additional parameter and use openat instead of open (outside of ld.so).
80304 Add new __opendir as wrapper around __opendirat.
80305 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
80306 here without requiring old scandirat implementation.
80307
80308 2011-08-08 Ulrich Drepper <drepper@gmail.com>
80309
80310 * dirent/scandir.c (cancel_handler): Renamed to
80311 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
80312 defined. Adjust users.
80313 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
80314 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
80315
80316 2011-08-04 Ulrich Drepper <drepper@gmail.com>
80317
80318 * string/test-string.h (IMPL): Use __STRING to expand name and then
80319 stringify it.
80320
80321 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
80322 of cleanups.
80323
80324 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80325
80326 * string/Makefile: Update.
80327 (strop-tests): Append strncat.
80328 * string/test-wcscmp.c: New file.
80329 New comprehensive test for wcscmp.
80330 * string/test-strcmp.c: Update.
80331 (WIDE): New define.
80332
80333 2011-07-22 Andreas Schwab <schwab@redhat.com>
80334
80335 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
80336 line.
80337
80338 2011-07-26 Andreas Schwab <schwab@redhat.com>
80339
80340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80341 encoding to ACE if AI_IDN.
80342
80343 2011-08-01 Jakub Jelinek <jakub@redhat.com>
80344
80345 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
80346 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
80347
80348 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
80349
80350 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
80351 Fix overflow bug in strncat.
80352 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
80353
80354 * string/test-strncat.c: Update.
80355 Add new tests for checking overflow bugs.
80356
80357 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
80358
80359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80360 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
80361 * sysdeps/i386/i686/multiarch/strcat.S: New file.
80362 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
80363 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
80364 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
80365 * sysdeps/i386/i686/multiarch/strncat.S: New file.
80366 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
80367 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
80368
80369 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
80370 (USE_AS_STRCAT): Define.
80371 Add strcat and strncat support.
80372 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80373
80374 2011-07-25 Andreas Schwab <schwab@redhat.com>
80375
80376 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
80377 __n bigger than INT_MAX+1.
80378 (__strncmp_g): Likewise.
80379
80380 2011-07-23 Ulrich Drepper <drepper@gmail.com>
80381
80382 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
80383 * libio/stido.h: Likewise.
80384
80385 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
80386 (AF_NFC): Define.
80387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
80388 (AF_NFC): Define.
80389
80390 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
80391 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
80392 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
80393 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
80394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80395
80396 [BZ #13021]
80397 * scripts/test-installation.pl: Don't expect libnss_test1 to be
80398 installed.
80399
80400 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
80401 typo.
80402 (_dl_x86_64_save_sse): Likewise.
80403
80404 2011-07-22 Ulrich Drepper <drepper@gmail.com>
80405
80406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
80407 OSXSAVE.
80408 (_dl_x86_64_save_sse): Likewise.
80409
80410 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
80411
80412 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
80413
80414 2011-07-21 Andreas Schwab <schwab@redhat.com>
80415
80416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
80417 change.
80418 (_dl_x86_64_save_sse): Use correct AVX check.
80419
80420 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80421
80422 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
80423 bug in strncpy/strncat.
80424 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
80425
80426 2011-07-21 Ulrich Drepper <drepper@gmail.com>
80427
80428 * string/tester.c (test_strcat): Add tests for different alignments
80429 of source and destination.
80430 (test_strncat): Likewise.
80431
80432 2011-07-20 Ulrich Drepper <drepper@gmail.com>
80433
80434 [BZ #12852]
80435 * posix/glob.c (glob): Check passed in values before using them in
80436 expressions to avoid some overflows.
80437 (glob_in_dir): Likewise.
80438
80439 [BZ #13007]
80440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
80441 check for AVX enablement so that we don't crash with old kernels and
80442 new hardware.
80443 * elf/tst-audit4.c: Add same checks here.
80444 * elf/tst-audit6.c: Likewise.
80445
80446 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
80447
80448 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
80449
80450 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
80451
80452 2011-07-20 Ulrich Drepper <drepper@gmail.com>
80453
80454 * po/cs.po: Update from translation team.
80455 * po/bg.po: Likewise.
80456
80457 2011-07-12 Marek Polacek <mpolacek@redhat.com>
80458
80459 * misc/sys/cdefs.h: Add support for const attribute.
80460 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
80461 to gnu_dev_{major,minor,makedev} functions.
80462
80463 2011-07-20 Marek Polacek <mpolacek@redhat.com>
80464
80465 * intl/dcigettext.c (get_output_charset): Add missing bracket.
80466
80467 2011-07-20 Andreas Schwab <schwab@redhat.com>
80468
80469 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
80470 strlen results.
80471
80472 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80473
80474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
80475 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
80476 register in order to avoid conflicts with the soft frame pointer
80477 being held in r11 when necessary.
80478 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
80479 (INTERNAL_VSYSCALL_NCS): Likewise.
80480
80481 2011-07-14 Marek Polacek <mpolacek@redhat.com>
80482
80483 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
80484 * elf/dl-fini.c (_dl_fini): Adjust caller.
80485 * elf/dl-close.c (_dl_close_worker): Likewise.
80486 * sysdeps/generic/ldsodefs.h: Adjust declaration.
80487
80488 2011-07-15 Marek Polacek <mpolacek@redhat.com>
80489
80490 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
80491 "aux_cache->nlibs < 0".
80492
80493 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
80494 in the reload-count case.
80495
80496 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
80497
80498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80499 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
80500 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
80501 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
80502 * sysdeps/x86_64/multiarch/strcat.S: New file.
80503 * sysdeps/x86_64/multiarch/strncat.S: New file.
80504 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
80505 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
80506 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
80507 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
80508 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
80509 (USE_AS_STRCAT): Define.
80510 Add strcat and strncat support.
80511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80512 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80513 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
80514 * string/strncat.c: Update.
80515 (USE_AS_STRNCAT): Define.
80516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80517 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
80518 and i7.
80519 * sysdeps/x86_64/multiarch/init-arch.h
80520 (bit_Prefer_PMINUB_for_stringop): New.
80521 (index_Prefer_PMINUB_for_stringop): Likewise.
80522 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
80523 bit_Prefer_PMINUB_for_stringop.
80524
80525 2011-07-19 Ulrich Drepper <drepper@gmail.com>
80526
80527 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
80528 buffer64.
80529 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
80530 of casting of buffer.
80531 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
80532 buffer32 and buffer64.
80533 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
80534 writes instead of casting of buffer.
80535 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
80536 buffer32.
80537 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
80538 casting of buffer.
80539
80540 2011-07-19 Andreas Schwab <schwab@redhat.com>
80541
80542 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
80543
80544 2011-07-19 Ulrich Drepper <drepper@gmail.com>
80545
80546 * nscd/nscd.c (termination_handler): Don't do anything for a database
80547 if it has not yet been initialized.
80548
80549 2011-07-18 Ulrich Drepper <drepper@gmail.com>
80550
80551 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80552
80553 2011-07-15 Marek Polacek <mpolacek@redhat.com>
80554
80555 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80556
80557 2011-07-18 Ulrich Drepper <drepper@gmail.com>
80558
80559 * po/nl.po: Update from translation team.
80560 * po/sv.po: Likewise.
80561
80562 2011-07-16 Roland McGrath <roland@hack.frob.com>
80563
80564 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
80565 now disallowed by GCC.
80566
80567 * configure.in (use-default-link): Default to yes if a test -shared
80568 link meets our qualifications.
80569 * configure: Regenerated.
80570
80571 * config.make.in (output-format): New variable.
80572 * configure.in: Check for ld --print-output-format support.
80573 * configure: Regenerated.
80574 * Makerules ($(common-objpfx)format.lds)
80575 [$(output-format) != unknown]: Just use $(output-format),
80576 instead of the linker-script munging.
80577
80578 2011-07-14 Roland McGrath <roland@hack.frob.com>
80579
80580 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80581 of $(common-objpfx)shlib.lds.
80582 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80583
80584 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80585 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80586
80587 * configure.in (-z relro check): Adjust test code to add a large
80588 writable data section after it.
80589 * configure: Regenerated.
80590
80591 2011-07-11 Roland McGrath <roland@hack.frob.com>
80592
80593 * configure.in (-z relro check): Fix test code to make the variable
80594 truly const.
80595 * configure: Regenerated.
80596
80597 2011-07-11 Ulrich Drepper <drepper@gmail.com>
80598
80599 * nscd/nscd.h (struct traced_file): Define.
80600 (struct database_dyn): Remove inotify_descr, reset_res, and filename
80601 elements. Add traced_files.
80602 (inotify_fd): Declare.
80603 (register_traced_file): Declare.
80604 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80605 (inotify_fd): Export.
80606 (resolv_conf_descr): Remove.
80607 (nscd_init): Move inotify descriptor creation to main.
80608 Don't register files for notification here.
80609 (register_traced_file): New function.
80610 (invalidate_cache): Don't use reset_res to determine whether to call
80611 res_init, go through the list of registered files.
80612 (main_loop_poll): The inotify descriptors are now stored in the
80613 structures for the traced files.
80614 (main_loop_epoll): Likewise.
80615 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
80616 to __nss_disable_nscd.
80617 * nscd/cache.c (prune_cache): There is no single inotify descriptor
80618 for a database anymore. Check the records for all the registered
80619 files instead.
80620 * nss/Makefile (libnss_files-routines): Add files-init.
80621 (libnss_db-routines): Add db-init.
80622 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80623 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80624 * nss/nss_db/db-init.c: New file.
80625 * nss/nss_files/files-init.c: New file.
80626 * nss/nsswitch.c (nss_load_library): New function. Broken out of
80627 __nss_lookup_function.
80628 (__nss_lookup_function): Call nss_load_library.
80629 (nss_load_all_libraries): New function.
80630 (__nss_disable_nscd): Take parameter with callback function for files
80631 to register. Set is_nscd. Load all the DSOs for the NSS modules
80632 used for the cached services.
80633 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80634 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80635 options for features to all the files in nscd.
80636
80637 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80638
80639 2011-07-10 Roland McGrath <roland@hack.frob.com>
80640
80641 * csu/elf-init.c (__libc_csu_init): Comment typo.
80642
80643 2011-07-09 Ulrich Drepper <drepper@gmail.com>
80644
80645 * po/pl.po: Update from translation team.
80646 * po/ja.po: Likewise.
80647 * po/ru.po: Likewise.
80648 * po/ko.po: Likewise.
80649 * po/fr.po: Likewise.
80650
80651 2011-07-09 Roland McGrath <roland@hack.frob.com>
80652
80653 * configure.in (.ctors/.dtors header and trailer check):
80654 Use an empirical test on a built program.
80655 * configure: Regenerated.
80656
80657 * configure.in (-z relro check): Use an empirical test on a built DSO.
80658 Detect, but do not require, on ia64.
80659 * configure: Regenerated.
80660
80661 * configure.in (READELF): Find it with AC_CHECK_TOOL.
80662 Update tests that use readelf to use $READELF instead.
80663 * configure: Regenerated.
80664
80665 2011-07-08 Ulrich Drepper <drepper@gmail.com>
80666
80667 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80668 if the result is not used.
80669
80670 2011-07-05 Andreas Jaeger <aj@suse.de>
80671
80672 [BZ#9696]
80673 * stdlib/tst-strtod.c: Add testcase.
80674
80675 2011-07-07 Ulrich Drepper <drepper@gmail.com>
80676
80677 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80678 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80679 The latter has a higher limit. Take additional parameter to pass to
80680 the new function.
80681 (__pathconf): Pass file to __statfs_link_max.
80682 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80683 __statfs_link_max.
80684 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80685 __statfs_link_max.
80686
80687 [BZ #12868]
80688 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80690 Handle Lustre.
80691 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80692 (__statfs_filesize_max): Likewise.
80693 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80694
80695 2011-07-05 Andreas Jaeger <aj@suse.de>
80696
80697 * resolv/res_comp.c (dn_skipname): Remove unused variable.
80698
80699 2011-07-06 Marek Polacek <mpolacek@redhat.com>
80700
80701 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80702 `status' variable.
80703 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80704 Likewise.
80705
80706 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
80707
80708 * Makefile (strop-tests): Add strncat.
80709 * string/test-strncat.c: New file.
80710
80711 2011-06-30 Marek Polacek <mpolacek@redhat.com>
80712
80713 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80714
80715 2011-06-21 Andreas Jaeger <aj@suse.de>
80716
80717 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80718 Copy rule from iconvdata/Makefile.
80719
80720 2011-07-06 Ulrich Drepper <drepper@gmail.com>
80721
80722 [BZ #12922]
80723 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80724 but no long options are defined, just return 'W'.
80725
80726 2011-06-22 Marek Polacek <mpolacek@redhat.com>
80727
80728 [BZ #9696]
80729 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80730
80731 2011-07-06 Ulrich Drepper <drepper@gmail.com>
80732
80733 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80734 netgroups to read.
80735 (innetgr): Likewise.
80736
80737 2011-07-05 Roland McGrath <roland@hack.frob.com>
80738
80739 * config.make.in (install_root): Default to $(DESTDIR).
80740
80741 2011-07-05 Ulrich Drepper <drepper@gmail.com>
80742
80743 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80744
80745 2011-07-02 Roland McGrath <roland@hack.frob.com>
80746
80747 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80748
80749 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80750 containing directory rather than embedding absolute directory names.
80751
80752 * scripts/check-local-headers.sh: Rewritten using awk.
80753 Match by word, not by line. Print error messages for matches.
80754 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80755
80756 * Makerules [shlib-lds-flags empty]:
80757 ($(common-objpfx)libc_pic.opts): New target.
80758 ($(common-objpfx)libc_pic.os.clean): New target.
80759 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80760
80761 * config.make.in (OBJCOPY): New variable.
80762 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80763 * configure: Regenerated.
80764
80765 * config.make.in (use-default-link): New variable.
80766 * configure.in (use_default_link): Grok --with-default-link to set it.
80767 * configure: Regenerated.
80768 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80769 (shlib-lds, shlib-lds-flags): Define to empty.
80770
80771 * Makerules (shlib-lds): New variable.
80772 (shlib-lds-flags): New variable.
80773 (build-shlib, build-moduile, build-module-asneeded): Use it.
80774 ($(common-objpfx)libc.so): Use $(shlib-lds).
80775 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80776 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80777
80778 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80779 DT_FLAGS/DT_FLAGS_1 with zero flags.
80780
80781 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80782 linker script munging.
80783
80784 2011-07-02 Ulrich Drepper <drepper@gmail.com>
80785
80786 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80787 as 128-bit value.
80788 * crypt/sha512.c (sha512_process_block): Perform total addition using
80789 128-bit if possible.
80790 (__sha512_finish_ctx): Likewise.
80791 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80792 as 64-bit value.
80793 * crypt/sha256.c (SWAP64): Define.
80794 (sha256_process_block): Perform total addition using 64-bit if
80795 possible.
80796 (__sha256_finish_ctx): Likewise.
80797
80798 2011-07-01 Ulrich Drepper <drepper@gmail.com>
80799
80800 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
80801 * nscd/initgrcache.c (addinitgroupsX): Likewise.
80802 * nscd/hstcache.c (cache_addhst): Likewise.
80803 * nscd/grpcache.c (cache_addgr): Likewise.
80804 * nscd/aicache.c (addhstaiX): Likewise.
80805 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80806
80807 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
80808
80809 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
80811 * nscd/hstcache.c (cache_addhst): Likewise.
80812 * nscd/grpcache.c (cache_addgr): Likewise.
80813 * nscd/aicache.c (addhstaiX): Likewise.
80814
80815 2011-07-01 Andreas Schwab <schwab@redhat.com>
80816
80817 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80818 domain only when needed.
80819
80820 2011-06-30 Andreas Schwab <schwab@redhat.com>
80821
80822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80823 is always restored.
80824
80825 2011-06-29 Ulrich Drepper <drepper@gmail.com>
80826
80827 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80828 are re-adding the entry.
80829 * nscd/servicescache.c (cache_addserv): Likewise.
80830
80831 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
80832
80833 * sysdeps/generic/dl-irel.h: fix protection against multiple
80834 inclusions.
80835 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80836
80837 2011-06-28 Ulrich Drepper <drepper@gmail.com>
80838
80839 [BZ #12935]
80840 * malloc/memusage.sh: Fix quoting in message.
80841 * debug/xtrace.sh: Likewise.
80842
80843 * configure.in: Remove support for --experimental-malloc option, make
80844 it the default.
80845 * config.make.in: Likewise.
80846 * malloc/Makefile: Likewise.
80847
80848 2011-06-27 Andreas Schwab <schwab@redhat.com>
80849
80850 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80851 two-byte characters.
80852
80853 2011-06-27 Roland McGrath <roland@hack.frob.com>
80854
80855 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80856 AC_CACHE_CHECK invocation.
80857 * configure: Regenerated.
80858
80859 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80860
80861 2011-06-27 Ulrich Drepper <drepper@gmail.com>
80862
80863 [BZ #12350]
80864 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
80865 bit from old_res_options.
80866
80867 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80868
80869 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80870 value type for setfct.
80871
80872 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
80873
80874 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80875 __gettimeofday instead of gettimeofday.
80876
80877 2011-06-26 Ulrich Drepper <drepper@gmail.com>
80878
80879 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80880
80881 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
80882
80883 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80884
80885 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80886 info.
80887
80888 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
80889
80890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80891 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80892 strcpy-sse2-unaligned strncpy-sse2-unaligned
80893 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80894 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80895 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80896 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80897 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80898 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80899 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80900 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80901 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80902 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80903 (STRCPY): Support SSE2 and SSSE3 versions.
80904
80905 2011-06-24 Ulrich Drepper <drepper@gmail.com>
80906
80907 [BZ #12874]
80908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80909 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80910 kernels which artificially limit size of requests.
80911
80912 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
80913
80914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80915 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80916 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80917 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80918 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80919 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80920 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80921 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80922 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80923 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80924 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80925 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80926 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80927 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80928 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80930 Enable unaligned load optimization for Intel Core i3, i5 and i7
80931 processors.
80932 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80933 Define.
80934 (index_Fast_Unaligned_Load): Define.
80935 (HAS_FAST_UNALIGNED_LOAD): Define.
80936
80937 2011-06-23 Marek Polacek <mpolacek@redhat.com>
80938
80939 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80940
80941 2011-06-22 Ulrich Drepper <drepper@gmail.com>
80942
80943 [BZ #12907]
80944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80945 until it is clear that the information is realy needed.
80946 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80947
80948 2011-06-22 Andreas Schwab <schwab@redhat.com>
80949
80950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80951
80952 2011-06-22 Ulrich Drepper <drepper@gmail.com>
80953
80954 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80955 /sys/devices/system/cpu/online if it is usable.
80956
80957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80958 reading the information from the /proc filesystem to once a second.
80959
80960 2011-06-21 Andreas Jaeger <aj@suse.de>
80961
80962 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80963 NULL after inclusion of kernel headers.
80964
80965 2011-06-21 Ulrich Drepper <drepper@gmail.com>
80966
80967 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80968 calls to internal_setent.
80969
80970 [BZ #12885]
80971 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80972 addresses using gethostbyname4_r ignore IPv4 addresses.
80973
80974 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80975 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
80976
80977 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80978
80979 2011-06-20 David S. Miller <davem@davemloft.net>
80980
80981 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80982 inclusions.
80983 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80984
80985 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80986 (elf_irel): Use it.
80987 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80988 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80989 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80990 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80991 * sysdeps/x86_64/dl-irel.h: Likewise.
80992
80993 * elf/dl-runtime.c: Use elf_ifunc_invoke.
80994 * elf/dl-sym.c: Likewise.
80995
80996 2011-06-15 Ulrich Drepper <drepper@gmail.com>
80997
80998 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
80999 need to dereference resplen2.
81000
81001 2011-06-14 Andreas Schwab <schwab@redhat.com>
81002
81003 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
81004
81005 2011-06-15 Ulrich Drepper <drepper@gmail.com>
81006
81007 * Makeconfig: Define vardbdir and inst_vardbdir.
81008 * nss/Makefile: Add rules to install db-Makefile.
81009
81010 * nss/nss_db/db-XXX.c: Cleanup.
81011
81012 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
81013 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
81014 GLIBC_PRIVATE.
81015 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
81016 * nss/makedb.c: Implement -g option to specify that value strings
81017 are generated and should not be added to table iterated over for
81018 get*ent calls.
81019 * nss/nss_db/db-initgroups.c: New file.
81020
81021 * nss/getent.c: Add support for initgroups lookups through getgrouplist
81022 interface.
81023
81024 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
81025 (internal_getgrouplist): Adjust to name change.
81026 Update use_initgroups_entry if this is not the first call.
81027 * nss/databases.def: Add initgroups entry.
81028
81029 * nss/makedb.c (compute_tables): Check result of multiple hash table
81030 sizes to minimize maximum chain length.
81031
81032 2011-06-14 Ulrich Drepper <drepper@gmail.com>
81033
81034 * Versions.def: Add entry for libnss_db.
81035 * shlib-versions: Likewise.
81036 * nss/Makefile: Add rules to build libnss_db.
81037 * nss/Versions: Add libnss_db information. Organize libnss_files
81038 entries better.
81039 * nss/db-Makefile: Add gshadow support. Change rules for the new
81040 makedb progra. Some minor improvements to generate smaller files.
81041 * nss/nss_db/nss_db.h: Move NSS database header data structures to
81042 here from...
81043 * nss/makedb.c: ...here.
81044 Improve database format to be smaller and require less memory at
81045 runtime.
81046 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
81047 db anymore.
81048 * nss/nss_db/db-netgrp.c: Likewise.
81049 * nss/nss_db/db-open.c: Likewise.
81050 * nss/nss_files/flies-XXX.x: Adjust comments.
81051 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
81052 * nss/nss_files/files-grp.c: Likewise.
81053 * nss/nss_files/files-hosts.c: Likewise.
81054 * nss/nss_files/files-network.c: Likewise.
81055 * nss/nss_files/files-proto.c: Likewise.
81056 * nss/nss_files/files-pwd.c: Likewise.
81057 * nss/nss_files/files-rpc.c: Likewise.
81058 * nss/nss_files/files-service.c: Likewise.
81059 * nss/nss_files/files-sgrp.c: Likewise.
81060 * nss/nss_files/files-spwd.c: Likewise.
81061 * nss/nss_db/db-alias.c: Removed.
81062 * nss/nss_db/dummy-db.h: Removed.
81063
81064 2011-06-02 Ulrich Drepper <drepper@gmail.com>
81065
81066 * nss/makedb.c: Rewritten to not use database library.
81067 * nss/Makefile: Update to build new makedb program.
81068
81069 2011-06-14 Andreas Jaeger <aj@suse.de>
81070
81071 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
81072 memset declaration.
81073
81074 2011-06-10 Andreas Schwab <schwab@redhat.com>
81075
81076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
81077 tmpbuf.
81078
81079 2011-06-10 Roland McGrath <roland@hack.frob.com>
81080
81081 * Makerules (shlib.lds): Fail if the linker script comes out empty.
81082 * elf/Makefile ($(objpfx)ld.so): Likewise.
81083
81084 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
81085 Don't list ld.so twice in dependencies.
81086
81087 * posix/bug-regex31.c: Include <stdlib.h>.
81088
81089 * nscd/hstcache.c (cache_addhst): Remove unused variable.
81090
81091 * nis/nss_compat/compat-spwd.c
81092 (getspent_next_nss_netgr): Remove unused variable.
81093 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
81094
81095 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
81096 nonmembers" output to use the right array.
81097
81098 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
81099
81100 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
81101
81102 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
81103 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
81104 * catgets/gencat.c (read_input_file): Likewise.
81105 * locale/programs/locarchive.c (enlarge_archive): Likewise.
81106
81107 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
81108 variable definition inside #if's controlling its use.
81109
81110 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
81111
81112 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
81113
81114 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
81115
81116 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
81117 unreachable code.
81118
81119 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
81120
81121 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
81122 * configure: Regenerated.
81123
81124 * Makerules: Revert last change.
81125 * elf/Makefile: Likewise.
81126
81127 2011-06-09 Roland McGrath <roland@hack.frob.com>
81128
81129 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
81130 * elf/Makefile ($(objpfx)librtld.os): Likewise.
81131 (reloc-link): Likewise.
81132
81133 2011-06-09 Ulrich Drepper <drepper@gmail.com>
81134
81135 * elf/Makefile: Add rules to build pldd.
81136 * elf/pldd.c: New file.
81137 * elf/pldd-xx.c: New file.
81138
81139 2011-06-07 Ulrich Drepper <drepper@gmail.com>
81140
81141 * version.h: Update for 2.15 development version.
81142
81143 2011-06-07 David S. Miller <davem@davemloft.net>
81144
81145 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
81146 ifuncs.
81147 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
81148 elf_machine_lazy_rel): Likewise.
81149 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
81150 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
81151 elf_machine_lazy_rel): Likewise.
81152 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
81153 dl_hwcap via passed in argument.
81154 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
81155 Likewise.
81156
81157 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81158
81159 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
81160
81161 2011-06-06 Roland McGrath <roland@hack.frob.com>
81162
81163 [BZ #12849]
81164 * manual/fdl-1.1.texi: New file, verbatim from:
81165 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
81166 * manual/lgpl-2.1.texi: New file, verbatim from:
81167 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
81168 * manual/Makefile (licenses): New variable, list those new file names.
81169 (texis): Use it.
81170 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
81171
81172 * manual/fdl.texi: File removed.
81173 * manual/lesser.texi: File removed.
81174 * manual/libc.texinfo (Copying, Documentation License):
81175 Use new @include file names, put @appendix directive before @include.
81176
81177 2011-06-04 Jakub Jelinek <jakub@redhat.com>
81178
81179 [BZ #12841]
81180 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
81181 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
81182 (mq_open): Add __NTH.
81183
81184 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
81185
81186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81187 Assume Intel Core i3/i5/i7 processor if AVX is available.
81188
81189 2011-05-31 Ulrich Drepper <drepper@gmail.com>
81190
81191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81192 typo.
81193
81194 2011-05-31 Andreas Schwab <schwab@redhat.com>
81195
81196 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
81197 memory. Use alloca_account. Fix memory leak when retrying.
81198
81199 2011-05-31 Ulrich Drepper <drepper@gmail.com>
81200
81201 * version.h (RELEASE): Bump for 2.14 release.
81202 * include/features.h (__GLIBC_MINOR__): Bump to 14.
81203
81204 * config.make.in (RANLIB): Remove entry.
81205
81206 2011-05-30 Ulrich Drepper <drepper@gmail.com>
81207
81208 * po/Makefile (po-sed-cmd): Add ksh to extensions.
81209 (libc.pot): Work around missing support for .ksh extension in xgettext.
81210
81211 [BZ #12684]
81212 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
81213 if both request failed.
81214 (send_dg): In case of server errors clear resplen or *resplen2.
81215
81216 [BZ #12454]
81217 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
81218 when there are multiple maps.
81219 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
81220 (_dl_fini): Remove test here.
81221
81222 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
81223
81224 2011-05-29 Ulrich Drepper <drepper@gmail.com>
81225
81226 [BZ #12350]
81227 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
81228 bit from old_res_options.
81229 (gaih_inet): Likewise.
81230
81231 [BZ #11099]
81232 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
81233 as signed.
81234
81235 * resolv/res_init.c (res_setoptions): Make the code more compact.
81236
81237 [BZ #11558]
81238 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
81239 set RES_USEVC.
81240
81241 [BZ #11634]
81242 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
81243
81244 * malloc/malloc.h: Mark malloc hook variables as deprecated.
81245
81246 [BZ #11781]
81247 * malloc/malloc.h: Declare malloc hook variables as volatile.
81248
81249 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
81250 in last patch.
81251
81252 [BZ #11799]
81253 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
81254 raise in the comment.
81255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81257 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
81258
81259 2011-05-28 Ulrich Drepper <drepper@gmail.com>
81260
81261 [BZ #12811]
81262 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
81263 grow the buffers more if it already has to be sufficient.
81264 (build_wcs_upper_buffer): Likewise.
81265 * posix/regexec.c (check_matching): Likewise.
81266 (clean_state_log_if_needed): Likewise.
81267 (extend_buffers): Don't enlarge buffers beyond size of the input
81268 buffer.
81269 Patches mostly by Emil Wojak <emil@wojak.eu>.
81270 * posix/bug-regex32.c: New file.
81271 * posix/Makefile (tests): Add bug-regex32.
81272
81273 * locale/findlocale.c (_nl_find_locale): Return right away if
81274 _nl_explode_name failed.
81275 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
81276
81277 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
81278
81279 * debug/xtrace.sh: Unify messages.
81280 * malloc/memusage.sh: Likewise.
81281
81282 [BZ #12813]
81283 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
81284 time symbol from vDSO. Substitute with vsyscall if not available.
81285 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
81286 __vdso_time.
81287
81288 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
81289 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
81290 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
81291 Add sendmmsg and internal_sendmmsg.
81292 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
81293 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
81294 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
81295
81296 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
81297 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
81298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
81299
81300 2011-05-27 Ulrich Drepper <drepper@gmail.com>
81301
81302 [BZ #12813]
81303 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
81304 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
81305 available.
81306 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
81307 __vdso_getcpu.
81308
81309 [BZ #12814]
81310 * iconvdata/Makefile (tests): Add bug-iconv9.
81311 * iconvdata/bug-iconv9.c: New file.
81312
81313 2011-05-27 Andreas Schwab <schwab@redhat.com>
81314
81315 [BZ #12814]
81316 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
81317
81318 2011-05-25 Jakub Jelinek <jakub@redhat.com>
81319
81320 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81321 (struct user_regs_struct): Change intcs field back to cs.
81322
81323 2011-05-25 Ulrich Drepper <drepper@gmail.com>
81324
81325 * po/ja.po: Update from translation team.
81326
81327 2011-05-23 Ulrich Drepper <drepper@gmail.com>
81328
81329 [BZ #12795]
81330 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
81331 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
81332
81333 2011-05-20 Andreas Schwab <schwab@redhat.com>
81334
81335 * stdlib/longlong.h: Update from GCC.
81336
81337 2011-05-23 Andreas Schwab <schwab@redhat.com>
81338
81339 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
81340 parameter name.
81341 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
81342 Add parameter name.
81343 (__sysconf): Pass it down.
81344
81345 2011-05-22 Ulrich Drepper <drepper@gmail.com>
81346
81347 [BZ #12671]
81348 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
81349 some situations.
81350 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
81351 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
81352 add in in __libc_use_alloca calls. Adjust callers.
81353 (glob): Use malloc in some situations.
81354
81355 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
81356 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
81357 pltexit.
81358
81359 2011-05-21 Ulrich Drepper <drepper@gmail.com>
81360
81361 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
81362 and CLOCK_BOOTTIME_ALARM.
81363
81364 [BZ #12782]
81365 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
81366 is returned.
81367
81368 * string/_strerror.c (__strerror_r): Print negative errors as signed
81369 numbers.
81370
81371 [BZ #12777]
81372 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
81373 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
81374 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
81375
81376 * configure.in: Fix typo in redirection and correct removal of test
81377 files in two cases.
81378
81379 [BZ #12788]
81380 * locale/setlocale.c (new_composite_name): Fix test to check for
81381 identical name of all categories.
81382
81383 [BZ #12792]
81384 * libio/filedoalloc.c (local_isatty): New function.
81385 (_IO_file_doallocate): Use local_isatty.
81386 * stdio-common/perror.c (perror): In case a new stream is used
81387 forward the stream error.
81388 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
81389 error flag.
81390
81391 2011-05-20 Ulrich Drepper <drepper@gmail.com>
81392
81393 [BZ #11884]
81394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
81395 alloca.
81396 * include/alloca.h (extend_alloca_account): Define.
81397
81398 [BZ #11857]
81399 * posix/regex.h: Fix comments with documentation of user-accessible
81400 fields after compilation and describe correct free'ing of pattern
81401 after re_compile_pattern.
81402 Patch by Reuben Thomas <rrt@sc3d.org>.
81403
81404 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
81405
81406 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
81407 and -mno-altivec to prevent the compiler from using Altivec and/or
81408 VSX instructions when the corresponding registers are not available.
81409
81410 2011-05-19 Andreas Schwab <schwab@redhat.com>
81411
81412 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
81413
81414 2011-05-19 Ulrich Drepper <drepper@gmail.com>
81415
81416 * libio/freopen.c (freopen): Use __dup2, not dup2.
81417 * libio/freopen64.c (freopen64): Likewise.
81418
81419 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
81420
81421 [BZ #12775]
81422 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
81423 * math/Makefile (tests): Add test-powl.
81424 (CFLAGS-test-powl.c): Define.
81425 * math/test-powl.c: New file.
81426
81427 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
81428
81429 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
81430
81431 2011-05-17 Ulrich Drepper <drepper@gmail.com>
81432
81433 [BZ #11837]
81434 * iconvdata/gb18030.c: Update to GB18020-2005.
81435
81436 2011-05-16 Ulrich Drepper <drepper@gmail.com>
81437
81438 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
81439 RE_SYNTAX_POSIX_AWK): Update to match recent development.
81440 Patch by Aharon Robbins <arnold@skeeve.com>.
81441
81442 [BZ #11892]
81443 * stdlib/putenv.c (putenv): Don't always create copy of the variable
81444 on the stack.
81445
81446 [BZ #11895]
81447 * misc/pselect.c (__pselect): Handle timeout value errors hidden
81448 through underflows.
81449
81450 [BZ #12766]
81451 * misc/error.c (error_at_line): Ensure file_name and old_file_name
81452 point to strings before performing equality test for error_one_per_line
81453 mode.
81454
81455 [BZ #11697]
81456 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
81457
81458 [BZ #11820]
81459 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81460 (struct user_fpregs_struct): Avoid __uint*_t types.
81461
81462 [BZ #6420]
81463 * malloc/mtrace.c (tr_where): Add additional parameter to point to
81464 symbol info. Use it instead of calling _dl_addr locally.
81465 (lock_and_info): New function.
81466 (tr_freehook): Call lock_and_info and pass symbol info as additional
81467 parameter to tr_where.
81468 (tr_mallochook): Likewise.
81469 (tr_reallochook): Likewise.
81470 (tr_memalignhook): Likewise.
81471
81472 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
81473 used and couldn't be at all thread-safe.
81474
81475 2011-05-15 Ulrich Drepper <drepper@gmail.com>
81476
81477 * libio/freopen.c (freopen): Don't close old file descriptor
81478 before the new one is opened. Instead dup the new file descriptor
81479 to the old one after the new stream is created.
81480 * libio/freopen64.c (freopen64): Likewise.
81481 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
81482 * libio/fileops.c (_IO_new_file_close_it): Handle new
81483 _IO_FLAGS2_NOCLOSE flag.
81484 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
81485 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
81486 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
81487 _IO_FLAGS2_NOCLOSE flag.
81488 * include/unistd.h: Add hidden_proto for dup3.
81489 Define __have_dup3.
81490 * io/dup3.c: Define hidden symbol.
81491 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
81492
81493 [BZ #7101]
81494 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
81495 when an incomplete long option is used.
81496 * posix/tst-getopt_long1.c: New file.
81497 * posix/Makefile (tests): Add tst-getopt_long1.
81498
81499 [BZ #10138]
81500 * scripts/config.guess: Update from autoconf-2.68.
81501 * scripts/config.sub: Likewise.
81502
81503 [BZ #10157]
81504 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
81505 tests into ...
81506 (has_cpuclock): ...this. New function.
81507 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
81508 macro here based on has_cpuclock code.
81509
81510 [BZ #10149]
81511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81512 First byte (not low byte) is now always NUL.
81513 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
81514
81515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81516 Use non-cancelable interfaces.
81517
81518 [BZ #9809]
81519 * locale/iso-639.def: Add entry for Sorani.
81520
81521 [BZ #11901]
81522 * include/stdlib.h: Move include protection to the right place.
81523 Define abort_msg_s. Declare __abort_msg with it.
81524 * stdlib/abort.c (__abort_msg): Adjust type.
81525 * assert/assert.c (__assert_fail_base): New function. Majority
81526 of code from __assert_fail. Allocate memory for __abort_msg with
81527 mmap.
81528 (__assert_fail): Now call __assert_fail_base.
81529 * assert/assert-perr.c: Remove bulk of implementation. Use
81530 __assert_fail_base.
81531 * include/assert.hL Declare __assert_fail_base.
81532 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
81533 mmap.
81534 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
81535
81536 2011-05-14 Ulrich Drepper <drepper@gmail.com>
81537
81538 [BZ #11952]
81539 [BZ #12453]
81540 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
81541 until all modules are registered in the DTV.
81542 * elf/Makefile: Add rules to build and run tst-tls19.
81543 * elf/tst-tls19.c: New file.
81544 * elf/tst-tls19mod1.c: New file.
81545 * elf/tst-tls19mod2.c: New file.
81546 * elf/tst-tls19mod3.c: New file.
81547 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
81548
81549 [BZ #12083]
81550 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
81551 correctly.
81552
81553 [BZ #12601]
81554 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
81555 two-byte sequence errors.
81556 * iconvdata/Makefile (tests): Add bug-iconv8.
81557 * iconvdata/bug-iconv8.c: New file.
81558
81559 [BZ #12626]
81560 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
81561 buf2 definition.
81562
81563 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
81564
81565 [BZ #12432]
81566 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
81567 (dummy_getcfa): New function.
81568 (init): Get _Unwind_GetCFA address, use dummy if not found.
81569 (backtrace_helper): In recursion check, also check whether CFA changes.
81570 (__backtrace): Completely initialize arg.
81571
81572 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
81573 storing incomplete byte sequence in state object. Avoid testing for
81574 guaranteed too small input if we know there is enough data available.
81575
81576 2011-05-11 Andreas Schwab <schwab@redhat.com>
81577
81578 * Makeconfig (+link-pie): Indent.
81579 * Rules (binaries-pie): Define if $(have-fpie) and
81580 $(build-shared).
81581 (binaries-shared): Also filter out $(binaries-pie).
81582 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81583 * nscd/Makefile (others-pie): Add nscd.
81584 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81585 ($(objpfx)nscd): Remove command override.
81586 * login/Makefile (others-pie): Add pt_chown.
81587 ($(objpfx)pt_chown): Remove command override.
81588 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81589 remove command overrides.
81590
81591 2011-05-13 Ulrich Drepper <drepper@gmail.com>
81592
81593 * libio/tst_putwc.c: Fix error messages.
81594
81595 [BZ #12724]
81596 * libio/fileops.c (_IO_new_file_close_it): Always flush when
81597 currently writing and seek to current position when not.
81598 * libio/Makefile (tests): Add bug-fclose1.
81599 * libio/bug-fclose1.c: New file.
81600
81601 2011-05-12 Ulrich Drepper <drepper@gmail.com>
81602
81603 [BZ #12511]
81604 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81605 don't set DF_1_NODELETE here.
81606 (do_lookup_x): When entering new entry test for copy relocation
81607 and if necessary set DF_1_NODELETE flag.
81608 * elf/tst-unique4.cc: New file.
81609 * elf/tst-unique4.h: New file.
81610 * elf/tst-unique4lib.cc: New file.
81611 * elf/Makefile: Add rules to build and run tst-unique4.
81612 Patch by Piotr Bury <pbury@goahead.com>.
81613
81614 2011-05-11 Ulrich Drepper <drepper@gmail.com>
81615
81616 [BZ #12052]
81617 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81618
81619 [BZ #12625]
81620 * misc/mntent_r.c (addmntent): Flush the stream after the output
81621
81622 [BZ #12393]
81623 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81624 (is_trusted_path_normalize): Skip initial colon. Append slash
81625 to empty buffer. Duplicate is_trusted_path code but allow
81626 constructed patch to be prefix.
81627 (is_dst): Allow $ORIGIN followed by /.
81628 (_dl_dst_substitute): Correct clearing of check_for_trusted.
81629 Correct testing of result of is_trusted_path_normalize
81630 (decompose_rpath): Fix warning.
81631
81632 2011-05-10 Ulrich Drepper <drepper@gmail.com>
81633
81634 [BZ #11257]
81635 * grp/initgroups.c (internal_getgrouplist): When we found the service
81636 list through the initgroups entry in nsswitch.conf do not always
81637 continue on a successful lookup. Don't always use the
81638 __nss_group_database value if it is set.
81639 * nss/nsswitch.conf (initgroups): Change action for successful db
81640 lookup to continue for compatibility.
81641
81642 2011-05-09 Ulrich Drepper <drepper@gmail.com>
81643
81644 [BZ #11532]
81645 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81646 and CP774 modules.
81647 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81648 and CP774 modules.
81649 * iconvdata/tst-tables.sh: Likewise.
81650 * iconvdata/cp770.c: New file.
81651 * iconvdata/cp771.c: New file.
81652 * iconvdata/cp772.c: New file.
81653 * iconvdata/cp773.c: New file.
81654 * iconvdata/cp774.c: New file.
81655 * iconvdata/testdata/CP770: New file.
81656 * iconvdata/testdata/CP770..UTF8: New file.
81657 * iconvdata/testdata/CP771: New file.
81658 * iconvdata/testdata/CP771..UTF8: New file.
81659 * iconvdata/testdata/CP772: New file.
81660 * iconvdata/testdata/CP772..UTF8: New file.
81661 * iconvdata/testdata/CP773: New file.
81662 * iconvdata/testdata/CP773..UTF8: New file.
81663 * iconvdata/testdata/CP774: New file.
81664 * iconvdata/testdata/CP774..UTF8: New file.
81665
81666 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81667 END CHARMAP line.
81668 * iconvdata/gen-8bit-gap.sh: Likewise.
81669 * iconvdata/gen-8bit.sh: Likewise.
81670
81671 * locale/iso-639.def: Add ary entry.
81672
81673 [BZ #11258]
81674 * locale/C-translit.h.in: Add U20A1 transliteration.
81675
81676 [BZ #12178]
81677 * locale/iso-639.def: Add wae entry.
81678 Patch by Kevin Bortis <bortis@translate-wae.ch>.
81679
81680 [BZ #12545]
81681 * locale/programs/localedef.c (construct_output_path): Use ssize_t
81682 for n.
81683
81684 [BZ #12711]
81685 * locale/C-translit.h.in: Add entry for U20B9.
81686 Patch by pravin.d.s@gmail.com.
81687
81688 2011-05-08 Ulrich Drepper <drepper@gmail.com>
81689
81690 [BZ #12713]
81691 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81692 ENAMETOOLONG use generic getcwd.
81693 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
81694 in rtld. Use *stat64.
81695 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81696 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81697 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81698 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81699 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81700 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81701 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81702 __fstatat64 macros.
81703 * include/dirent.h: Add libc_hidden_proto for rewinddir.
81704 * dirent/rewinddir.c: Add libc_hidden_def.
81705 * sysdeps/mach/hurd/rewinddir.c: Likewise.
81706 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
81707
81708 * include/dirent.h (__alloc_dir): Add flags parameter.
81709 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81710 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81711 __alloc_dir.
81712 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
81713 from fdopendir if O_CLOEXEC is already set.
81714
81715 2011-03-15 Alan Modra <amodra@gmail.com>
81716
81717 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81718 l_tls_firstbyte_offset non-zero. Save padding offset in
81719 l_tls_firstbyte_offset for later use.
81720 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81721 freeing static tls block.
81722
81723 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
81724
81725 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81726 where #ifdef was intended. The intent is to prevent ARG_MAX from
81727 being defined by the kernel headers.
81728
81729 2011-05-07 Ulrich Drepper <drepper@gmail.com>
81730
81731 [BZ #12734]
81732 * resolv/resolv.h: Define RES_NOTLDQUERY.
81733 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81734 no-tld-query and set RES_NOTLDQUERY.
81735 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81736 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81737 modern BIND to search name as TLD unless forbidden.
81738
81739 2011-05-07 Petr Baudis <pasky@suse.cz>
81740 Ulrich Drepper <drepper@gmail.com>
81741
81742 [BZ #12393]
81743 * elf/dl-load.c (fillin_rpath): Move trusted path check...
81744 (is_trusted_path): ...to here.
81745 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81746 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81747 using is_trusted_path_normalize() in setuid scripts.
81748
81749 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
81750
81751 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81752 __BEGIN/__END_DECLS.
81753
81754 2011-05-06 Ulrich Drepper <drepper@gmail.com>
81755
81756 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81757 NSS_STATUS_NOTFOUND if no record was found.
81758
81759 2011-05-05 Andreas Schwab <schwab@redhat.com>
81760
81761 * sunrpc/Makefile (headers): Add rpc/netdb.h.
81762 (headers-not-in-tirpc): Remove rpc/netdb.h
81763 * resolv/netdb.h: Revert last change.
81764
81765 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
81766
81767 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81768 circular dependency between libgcc.a and libc.a.
81769
81770 2011-05-05 Andreas Schwab <schwab@redhat.com>
81771
81772 * resolv/netdb.h: Don't include <rpc/netdb.h>.
81773 * nis/Makefile: Don't install rpcsvc/*.
81774 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81775 instead of <rpc/types.h>.
81776 (MAXHOSTNAMELEN): Define.
81777
81778 2011-05-03 Andreas Schwab <schwab@redhat.com>
81779
81780 * elf/ldconfig.c (add_dir): Don't crash on empty path.
81781
81782 2011-04-28 Maciej Babinski <mbabinski@google.com>
81783
81784 [BZ #12714]
81785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81786 gethostbyname4_r when IPv6 results are possible.
81787
81788 2011-05-02 Ulrich Drepper <drepper@gmail.com>
81789
81790 [BZ #12723]
81791 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81792 _PC_PIPE_BUF handling.
81793
81794 2011-04-30 Bruno Haible <bruno@clisp.org>
81795
81796 [BZ #12717]
81797 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81798 * resolv/netdb.h (getnameinfo): Change type of flags parameter
81799 to 'int'.
81800 * inet/getnameinfo.c (getnameinfo): Likewise.
81801
81802 2011-04-29 Ulrich Drepper <drepper@gmail.com>
81803
81804 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81805 to groups setting in database lookup.
81806 * nss/nsswitch.conf: Add initgroups entry.
81807
81808 2011-04-22 Ulrich Drepper <drepper@gmail.com>
81809
81810 [BZ #12685]
81811 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81812 mode string.
81813 Patch by Eric Blake <eblake@redhat.com>.
81814
81815 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
81816
81817 * sunrpc/Makefile (need-export-routines): Add svc_run.
81818 (routines): Remove svc_run.
81819 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81820 * sunrpc/clnt_perr.c (clnt_perrno): Export.
81821 * sunrpc/svc_run.c (svc_run): Likewise.
81822 * sunrpc/svc_udp.c (svcudp_create): Likewise.
81823
81824 2011-04-21 Ulrich Drepper <drepper@gmail.com>
81825
81826 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81827 problem in reallocation in last patch.
81828
81829 2011-04-20 Ulrich Drepper <drepper@gmail.com>
81830
81831 * sunrpc/Makefile: Move inclusion of Rules.
81832
81833 2011-04-19 Ulrich Drepper <drepper@gmail.com>
81834
81835 * nss/nss_files/files-initgroups.c: New file.
81836 * nss/Makefile (libnss_files-routines): Add files-initgroups.
81837 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81838 _nss_files_initgroups_dyn.
81839
81840 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
81841
81842 * elf/elf.h (R_ARM_IRELATIVE): Define.
81843
81844 2011-04-19 Ulrich Drepper <drepper@gmail.com>
81845
81846 * po/ru.po: Update from translation team.
81847
81848 2011-04-17 Ulrich Drepper <drepper@gmail.com>
81849
81850 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81851 dependencies.
81852
81853 2011-02-06 Mike Frysinger <vapier@gentoo.org>
81854
81855 [BZ #12653]
81856 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81857 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81861
81862 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
81863
81864 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81865 differing bytes.
81866 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81868 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81869
81870 2011-04-17 Ulrich Drepper <drepper@gmail.com>
81871
81872 [BZ #12420]
81873 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81874 storing it.
81875 * stdlib/bug-getcontext.c: New file.
81876 * stdlib/Makefile: Add rules to build and run bug-getcontext.
81877
81878 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81879
81880 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81881 instructions into .machine "z9-109".
81882 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81883 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81884
81885 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81886
81887 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81888 between environment variables and auxiliary vector.
81889
81890 2011-04-16 Ulrich Drepper <drepper@gmail.com>
81891
81892 * Makefile: Add rules to build linkobj/libc.so.
81893 * include/libc-symbols.h: Define libc_hidden_nolink.
81894 * include/rpc/auth.h: Mark functions which are to be hidden.
81895 * include/rpc/auth_des.h: Likewise.
81896 * include/rpc/auth_unix.h: Likewise.
81897 * include/rpc/clnt.h: Likewise.
81898 * include/rpc/des_crypt.h: Likewise.
81899 * include/rpc/key_prot.h: Likewise.
81900 * include/rpc/pmap_clnt.h: Likewise.
81901 * include/rpc/pmap_prot.h: Likewise.
81902 * include/rpc/pmap_rmt.h: Likewise.
81903 * include/rpc/rpc_msg.h: Likewise.
81904 * include/rpc/svc.h: Likewise.
81905 * include/rpc/svc_auth.h: Likewise.
81906 * include/rpc/xdr.h: Likewise.
81907 * nis/Makefile: Link all DSOs against linkobj/libc.so.
81908 * nss/Makefile: Likewise.
81909 * sunrpc/Makefile: Don't install headers. Build library with normal
81910 entry points. Don't build rpcinfo. Link RPC tests appropriately.
81911 * sunrpc/auth_des.c: Hide exported symbols by default, export some
81912 for the compat linking library. Remove use of INTDEF/INTUSE.
81913 * sunrpc/auth_none.c: Likewise.
81914 * sunrpc/auth_unix.c: Likewise.
81915 * sunrpc/authdes_prot.c: Likewise.
81916 * sunrpc/authuxprot.c: Likewise.
81917 * sunrpc/clnt_gen.c: Likewise.
81918 * sunrpc/clnt_perr.c: Likewise.
81919 * sunrpc/clnt_raw.c: Likewise.
81920 * sunrpc/clnt_simp.c: Likewise.
81921 * sunrpc/clnt_tcp.c: Likewise.
81922 * sunrpc/clnt_udp.c: Likewise.
81923 * sunrpc/clnt_unix.c: Likewise.
81924 * sunrpc/des_crypt.c: Likewise.
81925 * sunrpc/des_soft.c: Likewise.
81926 * sunrpc/get_myaddr.c: Likewise.
81927 * sunrpc/key_call.c: Likewise.
81928 * sunrpc/key_prot.c: Likewise.
81929 * sunrpc/netname.c: Likewise.
81930 * sunrpc/pm_getmaps.c: Likewise.
81931 * sunrpc/pm_getport.c: Likewise.
81932 * sunrpc/pmap_clnt.c: Likewise.
81933 * sunrpc/pmap_prot.c: Likewise.
81934 * sunrpc/pmap_prot2.c: Likewise.
81935 * sunrpc/pmap_rmt.c: Likewise.
81936 * sunrpc/publickey.c: Likewise.
81937 * sunrpc/rpc_cmsg.c: Likewise.
81938 * sunrpc/rpc_common.c: Likewise.
81939 * sunrpc/rpc_dtable.c: Likewise.
81940 * sunrpc/rpc_prot.c: Likewise.
81941 * sunrpc/rpc_thread.c: Likewise.
81942 * sunrpc/rtime.c: Likewise.
81943 * sunrpc/svc.c: Likewise.
81944 * sunrpc/svc_auth.c: Likewise.
81945 * sunrpc/svc_authux.c: Likewise.
81946 * sunrpc/svc_raw.c: Likewise.
81947 * sunrpc/svc_run.c: Likewise.
81948 * sunrpc/svc_simple.c: Likewise.
81949 * sunrpc/svc_tcp.c: Likewise.
81950 * sunrpc/svc_udp.c: Likewise.
81951 * sunrpc/svc_unix.c: Likewise.
81952 * sunrpc/svcauth_des.c: Likewise.
81953 * sunrpc/xcrypt.c: Likewise.
81954 * sunrpc/xdr.c: Likewise.
81955 * sunrpc/xdr_array.c: Likewise.
81956 * sunrpc/xdr_float.c: Likewise.
81957 * sunrpc/xdr_intXX_t.c: Likewise.
81958 * sunrpc/xdr_mem.c: Likewise.
81959 * sunrpc/xdr_rec.c: Likewise.
81960 * sunrpc/xdr_ref.c: Likewise.
81961 * sunrpc/xdr_sizeof.c: Likewise.
81962 * sunrpc/xdr_stdio.c: Likewise.
81963
81964 2011-04-10 Ulrich Drepper <drepper@gmail.com>
81965
81966 [BZ #12650]
81967 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81968 * sysdeps/ia64/dl-tls.h: Likewise.
81969 * sysdeps/powerpc/dl-tls.h: Likewise.
81970 * sysdeps/s390/dl-tls.h: Likewise.
81971 * sysdeps/sh/dl-tls.h: Likewise.
81972 * sysdeps/sparc/dl-tls.h: Likewise.
81973 * sysdeps/x86_64/dl-tls.h: Likewise.
81974 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81975
81976 2011-03-14 Andreas Schwab <schwab@redhat.com>
81977
81978 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81979 rpath element also skip the following colon.
81980 (expand_dynamic_string_token): Add is_path parameter and pass
81981 down to DL_DST_REQUIRED and _dl_dst_substitute.
81982 (decompose_rpath): Call expand_dynamic_string_token with
81983 non-zero is_path. Ignore empty rpaths.
81984 (_dl_map_object_from_fd): Call expand_dynamic_string_token
81985 with zero is_path.
81986
81987 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
81988
81989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81990 Make cancelable.
81991
81992 2011-04-09 Ulrich Drepper <drepper@gmail.com>
81993
81994 [BZ #12655]
81995 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81996 Patch by Filipe David Manana <fdmanana@apache.org>.
81997
81998 2011-04-07 Andreas Schwab <schwab@redhat.com>
81999
82000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
82001 Maintain aligned stack.
82002 (CHECK_RSP): Remove unused macro.
82003
82004 2011-04-03 Ulrich Drepper <drepper@gmail.com>
82005
82006 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
82007 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
82008
82009 2011-04-02 Ulrich Drepper <drepper@gmail.com>
82010
82011 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
82012
82013 * include/features.h: Mention __USE_XOPEN2K8 in comment.
82014
82015 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
82016
82017 [BZ #12518]
82018 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
82019 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
82020 * sysdeps/x86_64/memmove.c: New file.
82021 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
82022 (memcpy): Renamed to ...
82023 (__new_memcpy): This.
82024 (memcpy): Provide GLIBC_2_14 memcpy.
82025 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
82026 (memcpy): Provide GLIBC_2_2_5 memcpy.
82027
82028 2011-04-01 Ulrich Drepper <drepper@gmail.com>
82029
82030 [BZ #12631]
82031 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
82032
82033 2011-03-30 Andreas Schwab <schwab@redhat.com>
82034
82035 * misc/syncfs.c: New file.
82036 * misc/Makefile (routines): Add syncfs.
82037 * posix/unistd.h: Declare syncfs.
82038 * sysdeps/unix/syscalls.list: Add syncfs.
82039
82040 2011-04-01 Andreas Schwab <schwab@redhat.com>
82041
82042 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
82043 open_by_handle_at.
82044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82045 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82047 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82049 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
82050 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82051
82052 2011-04-01 Ulrich Drepper <drepper@gmail.com>
82053
82054 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
82055 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82056 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
82057 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82058 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82059 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82060 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82061
82062 * io/Makefile: Compile fallocate.c, fallocate64.c, and
82063 sync_file_range.c with -fexceptions.
82064 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
82065 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
82066 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
82067 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
82068 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
82069 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
82070 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
82071 sync_file_range as cancellation point
82072 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
82073 now a wrapper around __call_sync_file_range with cancellation handling.
82074 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
82075 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
82076 function name to __call_sync_file_range.
82077 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
82078 Add call_sync_file_range.
82079
82080 2011-04-01 Andreas Schwab <schwab@redhat.com>
82081
82082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82083 bits/timex.h.
82084
82085 2011-04-01 Ulrich Drepper <drepper@gmail.com>
82086
82087 * iconv/iconv.h: Fix typo in comment.
82088 * io/fcntl.h: Likewise.
82089 * libio/stdio.h: Likewise.
82090 * posix/spawn.h: Likewise.
82091 * posix/unistd.h: Likewise.
82092 * stdlib/stdlib.h: Likewise.
82093 * time/time.h: Likewise.
82094 * wcsmbs/wchar.h: Likewise.
82095
82096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
82097 open_by_handle): Add.
82098 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
82099 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
82100 Augment a few comments.
82101 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82103 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82106 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
82107 open_by_handle.
82108
82109 * io/fcntl.h (AT_EMPTY_PATH): Define.
82110
82111 2011-03-30 Ulrich Drepper <drepper@gmail.com>
82112
82113 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
82114 * sysdeps/unix/sysv/linux/bits/time.h: New file.
82115 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
82116 to...
82117 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
82118 * Versions.def: Add GLIBC_2.14.
82119 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
82120 Export.
82121
82122 2011-03-22 Ulrich Drepper <drepper@gmail.com>
82123
82124 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
82125 round counter.
82126 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
82127
82128 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
82129
82130 [BZ #12597]
82131 * string/test-strncmp.c (do_page_test): New function.
82132 (check2): Likewise.
82133 (test_main): Call check2.
82134 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
82135
82136 2011-03-20 Ulrich Drepper <drepper@gmail.com>
82137
82138 [BZ #12587]
82139 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
82140 Handle cache information in CPU leaf 4.
82141 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
82142
82143 2011-03-18 Ulrich Drepper <drepper@gmail.com>
82144
82145 [BZ #12583]
82146 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
82147 character representation.
82148 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
82149
82150 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
82151
82152 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
82153 END(__isnan) to END(__isnanf) to match function entry point/label
82154 EALIGN(__isnanf,...).
82155
82156 2011-03-10 Jakub Jelinek <jakub@redhat.com>
82157
82158 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
82159
82160 2011-03-10 Ulrich Drepper <drepper@gmail.com>
82161
82162 [BZ #12510]
82163 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
82164 copy from the symbol referenced in the relocation to initialize the
82165 used variable.
82166 Patch by Piotr Bury <pbury@goahead.com>.
82167 * elf/Makefile: Add rules to build and tst-unique3.
82168 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
82169 * elf/tst-unique3.cc: New file.
82170 * elf/tst-unique3.h: New file.
82171 * elf/tst-unique3lib.cc: New file.
82172 * elf/tst-unique3lib2.cc: New file.
82173
82174 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
82175
82176 2011-03-10 Mike Frysinger <vapier@gentoo.org>
82177
82178 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
82179 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
82180 to _start.
82181
82182 2011-03-06 Ulrich Drepper <drepper@gmail.com>
82183
82184 * elf/dl-load.c (_dl_map_object): If we are looking for the first
82185 to-be-loaded object along a path to loader is ld.so.
82186
82187 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
82188 Ulrich Drepper <drepper@gmail.com>
82189
82190 * sysdeps/x86_64/memset.S: After aligning destination, code
82191 branches to different locations depending on the value of
82192 misalignment, when multiarch is enabled. Fix this.
82193
82194 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
82195
82196 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
82197 Set _x86_64_preferred_memory_instruction for AMD processsors.
82198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82199 Set bit_Prefer_SSE_for_memop for AMD processors.
82200
82201 2011-03-04 Ulrich Drepper <drepper@gmail.com>
82202
82203 * libio/fmemopen.c (fmemopen): Optimize a bit.
82204
82205 2011-03-03 Andreas Schwab <schwab@redhat.com>
82206
82207 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
82208
82209 2011-03-03 Roland McGrath <roland@redhat.com>
82210
82211 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
82212
82213 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
82214
82215 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
82216 __bzero_ultra1 instead of __memset_ultra1.
82217
82218 2011-02-23 Andreas Schwab <schwab@redhat.com>
82219 Ulrich Drepper <drepper@gmail.com>
82220
82221 [BZ #12509]
82222 * include/link.h (struct link_map): Add l_orig_initfini.
82223 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
82224 returning unsuccessfully.
82225 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
82226 close of a file loaded at startup, restore the original l_initfini
82227 list.
82228 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
82229 list, store the pointer.
82230 * elf/Makefile ($(objpfx)noload-mem): New rule.
82231 (noload-ENV): Define.
82232 (tests): Add $(objpfx)noload-mem.
82233 * elf/noload.c: Include <memcheck.h>.
82234 (main): Call mtrace. Close all opened handles.
82235
82236 2011-02-17 Andreas Schwab <schwab@redhat.com>
82237
82238 [BZ #12454]
82239 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
82240 dependencies are missing.
82241
82242 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
82243
82244 Fix __if_freereq crash: Unlike the generic version which uses free,
82245 Hurd needs munmap.
82246 * sysdeps/mach/hurd/ifreq.h: New file.
82247
82248 2011-01-27 Petr Baudis <pasky@suse.cz>
82249 Ulrich Drepper <drepper@gmail.com>
82250
82251 [BZ 12445]#
82252 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
82253 to extend_alloca().
82254 * stdio-common/bug23.c: New file.
82255 * stdio-common/Makefile (tests): Add bug23.
82256
82257 2010-09-28 Andreas Schwab <schwab@redhat.com>
82258 Ulrich Drepper <drepper@gmail.com>
82259
82260 [BZ #12489]
82261 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
82262 before performing relro protection. At old place add assertion
82263 to make sure nothing changed.
82264
82265 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
82266 Glauber de Oliveira Costa <glommer@gmail.com>
82267
82268 * elf/elf.h: Add new ARM TLS relocs.
82269
82270 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
82271
82272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
82273 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
82274 cast from r3.
82275 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
82276 'tests' variable.
82277 * sysdeps/wordsize-64/tst-writev.c: New file.
82278
82279 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
82280
82281 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
82282 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
82283 insns in _dl_start to prevent a TOC reference before relocs are
82284 resolved.
82285
82286 2011-02-15 Ulrich Drepper <drepper@gmail.com>
82287
82288 [BZ #12469]
82289 * Makeconfig: Remove RANLIB definition.
82290 * Makerules: Don't use RANLIB.
82291 * aclocal.m4: Remove ranlib test.
82292 * configure.in: No need to check for ranlib.
82293 * elf/rtld-Rules: Don't use RANLIB.
82294
82295 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
82296
82297 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
82298 protection macro.
82299 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
82300 inclusion protection macro.
82301
82302 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
82303 SIGRTMIN and SIGRTMAX and print information in that case only when
82304 SIGRTMIN is defined.
82305
82306 2011-02-11 Jakub Jelinek <jakub@redhat.com>
82307
82308 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
82309 arginfo fn returning -1.
82310
82311 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
82312 and thousands string is zero terminated.
82313
82314 2011-02-03 Andreas Schwab <schwab@redhat.com>
82315
82316 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
82317 sysdeps/unix/sysv/linux/bits/socket.h.
82318
82319 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
82320
82321 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
82322 (__CPU_COUNT): Remove old macros.
82323 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
82324 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
82325 (__CPU_ALLOC, __CPU_FREE): Add macros.
82326 (__sched_cpualloc, __sched_cpufree): Add declarations.
82327
82328 2011-02-05 Ulrich Drepper <drepper@gmail.com>
82329
82330 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
82331 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
82332 * nscd/aicache.c (addhstaiX): Return timeout of added value.
82333 (readdhstai): Return value of addhstaiX call.
82334 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
82335 (addgrbyX): Return value returned by cache_addgr.
82336 (readdgrbyname): Return value returned by addgrbyX.
82337 (readdgrbygid): Likewise.
82338 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
82339 (addpwbyX): Return value returned by cache_addpw.
82340 (readdpwbyname): Return value returned by addhstbyX.
82341 (readdpwbyuid): Likewise.
82342 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
82343 (addservbyX): Return value returned by cache_addserv.
82344 (readdservbyname): Return value returned by addservbyX:
82345 (readdservbyport): Likewise.
82346 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
82347 (addhstbyX): Return value returned by cache_addhst.
82348 (readdhstbyname): Return value returned by addhstbyX.
82349 (readdhstbyaddr): Likewise.
82350 (readdhstbynamev6): Likewise.
82351 (readdhstbyaddrv6): Likewise.
82352 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
82353 (readdinitgroups): Return value returned by addinitgroupsX.
82354 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
82355 (prune_cache): Keep track of timeout value of re-added entries.
82356 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
82357 * nscd/nscd.h: Adjust prototypes of readd* functions.
82358
82359 2011-02-04 Roland McGrath <roland@redhat.com>
82360
82361 * nis/nis_server.c (nis_servstate): Use the right name for 0.
82362 (nis_stats): Likewise.
82363 * nis/nis_modify.c (nis_modify): Likewise.
82364 * nis/nis_remove.c (nis_remove): Likewise.
82365 * nis/nis_add.c (nis_add): Likewise.
82366
82367 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
82368
82369 * posix/fnmatch_loop.c: Add some consts.
82370
82371 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
82372
82373 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
82374
82375 [BZ #12460]
82376 * config.make.in (config-cflags-novzeroupper): Define.
82377 * configure.in: Substitute libc_cv_cc_novzeroupper.
82378 * elf/Makefile (AVX-CFLAGS): Define.
82379 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
82380 (CFLAGS-tst-auditmod4a.c): Likewise.
82381 (CFLAGS-tst-auditmod4b.c): Likewise.
82382 (CFLAGS-tst-auditmod6b.c): Likewise.
82383 (CFLAGS-tst-auditmod6c.c): Likewise.
82384 (CFLAGS-tst-auditmod7b.c): Likewise.
82385 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
82386
82387 2011-02-02 Ulrich Drepper <drepper@gmail.com>
82388
82389 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
82390 function to the callback.
82391 Patch partly by Jiri Olsa <jolsa@redhat.com>.
82392
82393 2011-02-02 Andreas Schwab <schwab@redhat.com>
82394
82395 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
82396 of errno.
82397
82398 2011-01-19 Ulrich Drepper <drepper@gmail.com>
82399
82400 [BZ #11724]
82401 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
82402 of constructors.
82403 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
82404 of destructors.
82405 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
82406
82407 [BZ #11724]
82408 * elf/Makefile: Add rules to build and run new test.
82409 * elf/tst-initorder.c: New file.
82410 * elf/tst-initorder.exp: New file.
82411 * elf/tst-initordera1.c: New file.
82412 * elf/tst-initordera2.c: New file.
82413 * elf/tst-initordera3.c: New file.
82414 * elf/tst-initordera4.c: New file.
82415 * elf/tst-initorderb1.c: New file.
82416 * elf/tst-initorderb2.c: New file.
82417 * elf/tst-order-a1.c: New file.
82418 * elf/tst-order-a2.c: New file.
82419 * elf/tst-order-a3.c: New file.
82420 * elf/tst-order-a4.c: New file.
82421 * elf/tst-order-b1.c: New file.
82422 * elf/tst-order-b2.c: New file.
82423 * elf/tst-order-main.c: New file.
82424 New test case by George Gensure <werkt0@gmail.com>.
82425
82426 2010-10-01 Andreas Schwab <schwab@redhat.com>
82427
82428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82429 decoding ACE if AI_CANONIDN.
82430
82431 2011-01-18 Ulrich Drepper <drepper@gmail.com>
82432
82433 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
82434
82435 2011-01-17 Ulrich Drepper <drepper@gmail.com>
82436
82437 * version.h (RELEASE): Bump for 2.13 release.
82438 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
82439
82440 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
82441
82442 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
82443 MADV_NOHUGEPAGE.
82444 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
82445 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
82446 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82447 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82448 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82449 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82450
82451 * posix/getconf.c: Update copyright year.
82452 * catgets/gencat.c: Likewise.
82453 * csu/version.c: Likewise.
82454 * debug/catchsegv.sh: Likewise.
82455 * debug/xtrace.sh: Likewise.
82456 * elf/ldconfig.c: Likewise.
82457 * elf/ldd.bash.in: Likewise.
82458 * elf/sprof.c (print_version): Likewise.
82459 * iconv/iconv_prog.c: Likewise.
82460 * iconv/iconvconfig.c: Likewise.
82461 * locale/programs/locale.c: Likewise.
82462 * locale/programs/localedef.c: Likewise.
82463 * malloc/memusage.sh: Likewise.
82464 * malloc/mtrace.pl: Likewise.
82465 * nscd/nscd.c (print_version): Likewise.
82466 * nss/getent.c: Likewise.
82467
82468 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
82469 PF_CAIF, and PF_ALG.
82470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82471
82472 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
82473
82474 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
82475 (modules-names): Use them.
82476 (ifunc-test-modules, ifunc-pie-tests): Define.
82477 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
82478 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
82479 (test-extras): Likewise.
82480 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
82481 $(compile-command.c).
82482 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
82483 (all-built-dso): Define.
82484 (check-textrel.out, check-execstack.out): Depend on it.
82485
82486 * configure.in: Don't override --enable-multi-arch.
82487
82488 2011-01-15 Ulrich Drepper <drepper@gmail.com>
82489
82490 [BZ #6812]
82491 * nscd/hstcache.c (tryagain): Define.
82492 (cache_addhst): Return tryagain not notfound for temporary errors.
82493 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
82494 failed.
82495
82496 2011-01-14 Ulrich Drepper <drepper@gmail.com>
82497
82498 [BZ #10563]
82499 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
82500 to make the syscall.
82501 * sysdeps/unix/sysv/linux/setgroups.c: New file.
82502
82503 [BZ #12378]
82504 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
82505 and fall back to matching as normal character if the string ends before
82506 the matching ']' is found. This is what POSIX requires.
82507 * posix/testfnm.c: Adjust test result.
82508 * posix/globtest.sh: Adjust test result. Add new test.
82509 * posix/tst-fnmatch.input: Likewise.
82510 * posix/tst-fnmatch2.c: Add new test.
82511
82512 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
82513
82514 * elf/Makefile (check-execstack): Revert last change. Depend on
82515 check-execstack.h.
82516 (check-execstack.h): New target.
82517 (generated): Add check-execstack.h.
82518 * elf/check-execstack.c: Include "check-execstack.h".
82519 (main): Revert last change.
82520 (handle_file): Return zero if GNU_STACK is absent and
82521 DEFAULT_STACK_PERMS doesn't include PF_X.
82522
82523 2011-01-13 Ulrich Drepper <drepper@gmail.com>
82524
82525 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
82526 in child fails because the descriptor is already closed.
82527 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
82528 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
82529 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
82530
82531 [BZ #12397]
82532 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
82533 syscall.
82534
82535 [BZ #10484]
82536 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
82537 temporary buffer used to handle multi lookups locally.
82538 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
82539
82540 2011-01-12 Ulrich Drepper <drepper@gmail.com>
82541
82542 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
82543 loader is ld.so.
82544
82545 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
82546
82547 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
82548 alignment for SSE2.
82549
82550 2011-01-12 Ulrich Drepper <drepper@gmail.com>
82551
82552 [BZ #12394]
82553 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
82554 characters. When rounding increased number of integer digits recompute
82555 number of groups.
82556 * stdio-common/tst-grouping.c: New file.
82557 * stdio-common/Makefile: Add rules to build and run tst-grouping.
82558
82559 2011-01-09 Ulrich Drepper <drepper@gmail.com>
82560
82561 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
82562 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
82563
82564 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
82565 void.
82566 * bits/select.h: Likewise.
82567
82568 2011-01-08 Ulrich Drepper <drepper@gmail.com>
82569
82570 * po/ja.po: Update from translation team.
82571
82572 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
82573
82574 [BZ #11155]
82575 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
82576 implementation just like for lxstat, fxstatat, et al.
82577
82578 2010-12-27 Jim Meyering <meyering@redhat.com>
82579
82580 [BZ #12348]
82581 * posix/regexec.c (build_trtable): Return failure indication upon
82582 calloc failure. Otherwise, re_search_internal could infloop on OOM.
82583
82584 2010-12-25 Ulrich Drepper <drepper@gmail.com>
82585
82586 [BZ #12201]
82587 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82588 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82589 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82590 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82591
82592 [BZ #12207]
82593 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82594
82595 [BZ #12204]
82596 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82597 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82598
82599 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
82600
82601 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82602 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82603 script has SORT_BY_INIT_PRIORITY.
82604 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82605 NO_CTORS_DTORS_SECTIONS is defined.
82606 * elf/soinit.c: Likewise.
82607 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82608 NO_CTORS_DTORS_SECTIONS is defined.
82609 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82610 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82611 * sysdeps/sh/init-first.c: Likewise.
82612 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82613
82614 2010-12-24 Ulrich Drepper <drepper@gmail.com>
82615
82616 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82617 always use the slow path.
82618
82619 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
82620
82621 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82622 similar rule which adds the sysdep directories to the header search in
82623 order to pick up the correct platform stackinfo.h.
82624 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82625 perform test if it is, otherwise return successfully without testing.
82626 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82627 DEFAULT_STACK_PERMS define in stackinfo.h.
82628 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82629 defined in stackinfo.h.
82630 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82631 DEFAULT_STACK_PERMS defined in stackinfo.h.
82632 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82633 * sysdeps/ia64/stackinfo.h: Likewise.
82634 * sysdeps/s390/stackinfo.h: Likewise.
82635 * sysdeps/sh/stackinfo.h: Likewise.
82636 * sysdeps/sparc/stackinfo.h: Likewise.
82637 * sysdeps/x86_64/stackinfo.h: Likewise.
82638 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82639 PF_X for powerpc64. Retain PF_X for powerpc32.
82640
82641 2010-12-19 Ulrich Drepper <drepper@gmail.com>
82642
82643 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82644 accurately.
82645 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82646 GETDENTS_64BIT_ALIGNED.
82647
82648 2010-12-14 Ulrich Drepper <dreper@gmail.com>
82649
82650 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82651
82652 2010-12-10 Andreas Schwab <schwab@redhat.com>
82653
82654 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82655 _GNU_SOURCE.
82656
82657 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82658 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82659 Remove __restrict.
82660 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82661 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82662
82663 2010-12-09 Ulrich Drepper <drepper@gmail.com>
82664
82665 [BZ #11655]
82666 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82667 are initialized.
82668
82669 2010-12-09 Jakub Jelinek <jakub@redhat.com>
82670
82671 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82672
82673 2010-12-03 Ulrich Drepper <drepper@gmail.com>
82674
82675 * po/it.po: Update from translation team.
82676
82677 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
82678
82679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82680 unused codes.
82681
82682 2010-11-30 Ulrich Drepper <drepper@gmail.com>
82683
82684 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82685
82686 2010-11-24 Andreas Schwab <schwab@redhat.com>
82687
82688 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82689 specially.
82690 (gaih_getanswer_slice): Likewise.
82691
82692 2010-10-20 Jakub Jelinek <jakub@redhat.com>
82693
82694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82695
82696 2010-05-31 Petr Baudis <pasky@suse.cz>
82697
82698 [BZ #11149]
82699 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82700 silently even in the chroot mode.
82701
82702 2010-11-22 Ulrich Drepper <drepper@gmail.com>
82703
82704 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82705 last patch a bit. Pretty printing
82706
82707 2010-05-31 Petr Baudis <pasky@suse.cz>
82708
82709 [BZ #10085]
82710 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82711 initialization of skip_initgroups_dyn.
82712
82713 2010-11-19 Ulrich Drepper <drepper@gmail.com>
82714
82715 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82716 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82717
82718 2010-11-16 Ulrich Drepper <drepper@gmail.com>
82719
82720 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82721
82722 2010-11-11 Andreas Schwab <schwab@redhat.com>
82723
82724 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82725 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82726 (tst-fnmatch-ENV): Set MALLOC_TRACE.
82727 ($(objpfx)tst-fnmatch-mem): New rule.
82728 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82729 * posix/tst-fnmatch.c (main): Call mtrace.
82730
82731 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
82732
82733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82734 Support Intel processor model 6 and model 0x2c.
82735
82736 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
82737
82738 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82739 signed comparison.
82740
82741 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
82742
82743 [BZ #12205]
82744 * string/test-strncasecmp.c (check_result): New function.
82745 (do_one_test): Use it.
82746 (check1): New function.
82747 (test_main): Use it.
82748 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82749 Support strcasecmp and strncasecmp.
82750
82751 2010-11-08 Ulrich Drepper <drepper@gmail.com>
82752
82753 [BZ #12194]
82754 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82755 * sysdeps/x86_64/bits/byteswap.h: Likewise.
82756
82757 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
82758
82759 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82760 IFUNC support.
82761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82762 memset-x86-64.
82763 * sysdeps/x86_64/multiarch/bzero.S: New file.
82764 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82765 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82766 * sysdeps/x86_64/multiarch/memset.S: New file.
82767 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82769 Set bit_Prefer_SSE_for_memop for Intel processors.
82770 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82771 Define.
82772 (index_Prefer_SSE_for_memop): Define.
82773 (HAS_PREFER_SSE_FOR_MEMOP): Define.
82774
82775 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
82776
82777 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82778 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82779
82780 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
82781
82782 [BZ #12191]
82783 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82784 (__x86_64_raw_data_cache_size_half): Likewise.
82785 (__x86_64_raw_shared_cache_size): Likewise.
82786 (__x86_64_raw_shared_cache_size_half): Likewise.
82787
82788 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82789 (__x86_64_raw_data_cache_size_half): Likewise.
82790 (__x86_64_raw_shared_cache_size): Likewise.
82791 (__x86_64_raw_shared_cache_size_half): Likewise.
82792 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82793 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82794 and __x86_64_raw_shared_cache_size_half. Round
82795 __x86_64_data_cache_size_half, __x86_64_data_cache_size
82796 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82797 to multiple of 256 bytes.
82798
82799 2010-11-03 Ulrich Drepper <drepper@gmail.com>
82800
82801 [BZ #12167]
82802 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82803 of inacessible symlinks. Verify result of symlink before returning it.
82804 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82805 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82806
82807 2010-10-28 Erich Ritz <erichritz@gmail.com>
82808
82809 * math/math.h (isinf): Fix typo in comment.
82810
82811 2010-11-01 Ulrich Drepper <drepper@gmail.com>
82812
82813 * po/da.po: Update from translation team.
82814
82815 2010-10-26 Ulrich Drepper <drepper@gmail.com>
82816
82817 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82818 is added to the list.
82819
82820 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82821 Ulrich Drepper <drepper@gmail.com>
82822
82823 * elf/dl-object.c (_dl_new_object): Don't append the new object to
82824 the global list here. Move code to...
82825 (_dl_add_to_namespace_list): ...here. New function.
82826 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82827 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82828 * elf/dl-load.c (lose): Don't remove the element from the list.
82829 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82830 (_dl_map_object): Likewise.
82831
82832 2010-10-25 Ulrich Drepper <drepper@gmail.com>
82833
82834 [BZ #12159]
82835 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82836 into all bytes of SSE register.
82837 Patch by Richard Li <richardpku@gmail.com>.
82838
82839 2010-10-24 Ulrich Drepper <drepper@gmail.com>
82840
82841 [BZ #12140]
82842 * malloc/malloc.c (_int_free): Fill correct number of bytes when
82843 perturbing.
82844
82845 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
82846
82847 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82848 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82849 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82850 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82852 submachine.
82853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82854
82855 2010-10-22 Andreas Schwab <schwab@redhat.com>
82856
82857 * include/dlfcn.h (__RTLD_SECURE): Define.
82858 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
82859 mode & __RTLD_SECURE instead.
82860 (open_path): Rename preloaded parameter to secure.
82861 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82862 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82863 * elf/dl-deps.c (openaux): Likewise.
82864 * elf/rtld.c (struct map_args): Remove is_preloaded.
82865 (map_doit): Don't use it.
82866 (dl_main): Likewise.
82867 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82868 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82869
82870 2010-09-09 Andreas Schwab <schwab@redhat.com>
82871
82872 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82873 (sysd-rules-targets): Remove duplicates.
82874 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82875 rtld-%.$o dependency.
82876
82877 2010-10-18 Andreas Schwab <schwab@redhat.com>
82878
82879 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82880 _dl_map_object do it.
82881
82882 2010-10-19 Ulrich Drepper <drepper@gmail.com>
82883
82884 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82885 fast fma builtins, define the macros in the C99 standard.
82886 (FP_FAST_FMAF): Likewise.
82887 (FP_FAST_FMAL): Likewise.
82888 * sysdeps/x86_64/bits/mathdef.h: Likewise.
82889
82890 * bits/mathdef.h: Update copyright year.
82891 * sysdeps/powerpc/bits/mathdef.h: Likewise.
82892
82893 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
82894
82895 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82896 builtins, define the macros in the C99 standard.
82897 (FP_FAST_FMAF): Likewise.
82898 (FP_FAST_FMAL): Likewise.
82899 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82900 multiply/add.
82901 (FP_FAST_FMAF): Likewise.
82902
82903 2010-10-15 Jakub Jelinek <jakub@redhat.com>
82904
82905 [BZ #3268]
82906 * math/libm-test.inc (fma_test): Some new testcases.
82907 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82909 y and infinite z. Do multiplication by C already in long double.
82910 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82912 y and infinite z. Do bitwise or of inexact bit into u.d.
82913 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82914 * sysdeps/i386/fpu/s_fmaf.S: Removed.
82915 * sysdeps/i386/fpu/s_fma.S: Removed.
82916 * sysdeps/i386/fpu/s_fmal.S: Removed.
82917
82918 2010-10-16 Jakub Jelinek <jakub@redhat.com>
82919
82920 [BZ #3268]
82921 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82923 computation is not scheduled after fetestexcept. Fix value
82924 of minimum denormal long double.
82925
82926 2010-10-14 Jakub Jelinek <jakub@redhat.com>
82927
82928 [BZ #3268]
82929 * math/libm-test.inc (fma_test): Add some more tests.
82930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82931 correctly.
82932
82933 2010-10-15 Andreas Schwab <schwab@redhat.com>
82934
82935 * scripts/data/localplt-s390-linux-gnu.data: New file.
82936 * scripts/data/localplt-s390x-linux-gnu.data: New file.
82937
82938 2010-10-13 Jakub Jelinek <jakub@redhat.com>
82939
82940 [BZ #3268]
82941 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82942 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82943 instead of dbl-64.
82944 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82945 inlines.
82946 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82948 if one of x and y is very large and the other is subnormal.
82949 * sysdeps/s390/fpu/s_fmaf.c: New file.
82950 * sysdeps/s390/fpu/s_fma.c: New file.
82951 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82952 * sysdeps/powerpc/fpu/s_fma.S: New file.
82953 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82954 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82955 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82956
82957 2010-10-12 Jakub Jelinek <jakub@redhat.com>
82958
82959 [BZ #3268]
82960 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82961 fma tests.
82962 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82963 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82964 * sysdeps/i386/i686/multiarch/s_fma.c: Include
82965 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82966 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82967 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82968 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82969
82970 2010-10-12 Ulrich Drepper <drepper@redhat.com>
82971
82972 [BZ #12078]
82973 * posix/regcomp.c (parse_branch): One more memory leak plugged.
82974 * posix/bug-regex31.input: Add test case.
82975
82976 2010-10-11 Ulrich Drepper <drepper@gmail.com>
82977
82978 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82979 * posix/bug-regex31.input: New file.
82980
82981 [BZ #12078]
82982 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82983 (parse_sub_exp): Fix last change, use postorder.
82984
82985 * posix/bug-regex31.c: New file.
82986 * posix/Makefile: Add rules to build and run bug-regex31.
82987
82988 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82989
82990 [BZ #12078]
82991 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82992
82993 [BZ #12108]
82994 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82995 to have entries in sys_siglist.
82996
82997 [BZ #12093]
82998 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82999 be NULL.
83000
83001 2010-10-07 Jakub Jelinek <jakub@redhat.com>
83002
83003 [BZ #3268]
83004 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
83005 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
83006 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
83007 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
83008 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83009 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
83010 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
83011 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
83012 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
83013 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
83014 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
83015 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
83016 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
83017 * math/ftestexcept.c (fetestexcept): Likewise.
83018 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
83019 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
83020 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
83021 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
83022 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
83023 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
83024 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
83025
83026 2010-10-11 Ulrich Drepper <drepper@gmail.com>
83027
83028 [BZ #12107]
83029 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
83030 newline.
83031
83032 2010-10-06 Ulrich Drepper <drepper@gmail.com>
83033
83034 * string/bug-strstr1.c: New file.
83035 * string/Makefile: Add rules to build and run bug-strstr1.
83036
83037 2010-10-05 Eric Blake <eblake@redhat.com>
83038
83039 [BZ #12092]
83040 * string/str-two-way.h (two_way_long_needle): Always clear memory
83041 when skipping input due to the shift table.
83042
83043 2010-10-03 Ulrich Drepper <drepper@gmail.com>
83044
83045 [BZ #12005]
83046 * malloc/mcheck.c: Handle large requests.
83047
83048 [BZ #12077]
83049 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
83050 for strncmp and strncasecmp.
83051 * string/stratcliff.c: Add tests for strcmp and strncmp.
83052 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
83053
83054 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
83055
83056 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
83057 __set_fpscr.
83058
83059 2010-09-30 Andreas Jaeger <aj@suse.de>
83060
83061 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
83062 (CGROUP_SUPER_MAGIC): Define.
83063 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83064 Handle btrfs and cgroup file systems.
83065 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
83066 Likewise.
83067
83068 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
83069
83070 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
83071 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
83072
83073 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83074
83075 [BZ #12067]
83076 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
83077 trying to locate the ELF header.
83078
83079 2010-09-27 Andreas Schwab <schwab@redhat.com>
83080
83081 [BZ #11611]
83082 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
83083 Mask out sign-bit copies when constructing f_fsid.
83084
83085 2010-09-24 Petr Baudis <pasky@suse.cz>
83086
83087 * debug/stack_chk_fail_local.c: Add missing licence exception.
83088 * debug/warning-nop.c: Likewise.
83089
83090 2010-09-15 Joseph Myers <joseph@codesourcery.com>
83091
83092 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
83093 implementing getdents64 using getdents syscall, set d_type if
83094 __ASSUME_GETDENTS32_D_TYPE.
83095
83096 2010-09-16 Andreas Schwab <schwab@redhat.com>
83097
83098 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
83099 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
83100
83101 2010-09-21 Ulrich Drepper <drepper@redhat.com>
83102
83103 [BZ #12037]
83104 * posix/unistd.h: Undo change of feature selection for ftruncate from
83105 2010-01-11.
83106
83107 2010-09-20 Ulrich Drepper <drepper@redhat.com>
83108
83109 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
83110 detection.
83111
83112 2010-09-20 Andreas Schwab <schwab@redhat.com>
83113
83114 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
83115 fanotify_mark.
83116 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83117
83118 2010-09-14 Andreas Schwab <schwab@redhat.com>
83119
83120 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
83121 variables after CHECK_SP call.
83122 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
83123
83124 2010-09-13 Andreas Schwab <schwab@redhat.com>
83125 Ulrich Drepper <drepper@redhat.com>
83126
83127 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
83128 re-relocationg ld.so.
83129 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
83130 _dl_init_paths call.
83131 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
83132 here anymore.
83133
83134 2010-09-14 Ulrich Drepper <drepper@redhat.com>
83135
83136 * resolv/res_init.c (__res_vinit): Count the default server we added.
83137
83138 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
83139 Ulrich Drepper <drepper@redhat.com>
83140
83141 [BZ #11968]
83142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83143 (____longjmp_chk): Use %ebx for saving value across system call.
83144 Add unwind info.
83145
83146 2010-09-06 Andreas Schwab <schwab@redhat.com>
83147
83148 * manual/Makefile: Don't mix pattern rules with normal rules.
83149
83150 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
83151
83152 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
83153 operation.
83154 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
83155 * libio/iofopncook.c (_IO_cookie_init): Likewise.
83156 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
83157 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
83158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83159 Likewise.
83160
83161 2010-09-04 Ulrich Drepper <drepper@redhat.com>
83162
83163 [BZ #11979]
83164 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
83165 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
83166
83167 2010-09-02 Ulrich Drepper <drepper@redhat.com>
83168
83169 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
83170 * sysdeps/x86_64/addmul_1.S: Likewise.
83171 * sysdeps/x86_64/lshift.S: Likewise.
83172 * sysdeps/x86_64/mul_1.S: Likewise.
83173 * sysdeps/x86_64/rshift.S: Likewise.
83174 * sysdeps/x86_64/sub_n.S: Likewise.
83175 * sysdeps/x86_64/submul_1.S: Likewise.
83176
83177 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
83178
83179 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
83180 Define __sched_param instead of SCHED_* and sched_param when
83181 <bits/sched.h> is included with __need_schedparam defined.
83182 * bits/sched.h [__need_schedparam]
83183 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
83184 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
83185 (__defined_schedparam): Define to 1.
83186 (__sched_param): New structure, identical to sched_param.
83187 (__need_schedparam): Undefine.
83188
83189 2010-08-31 Mike Frysinger <vapier@gentoo.org>
83190
83191 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
83192 (epoll_create1): Declare.
83193
83194 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
83195
83196 2010-08-31 Andreas Schwab <schwab@redhat.com>
83197
83198 [BZ #7066]
83199 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
83200 shifting retval into place.
83201
83202 2010-09-01 Ulrich Drepper <drepper@redhat.com>
83203
83204 * nis/rpcsvc/nis.h: Update copyright notice.
83205 * nis/rpcsvc/nis.x: Likewise.
83206 * nis/rpcsvc/nis_callback.h: Likewise.
83207 * nis/rpcsvc/nis_callback.x: Likewise.
83208 * nis/rpcsvc/nis_object.x: Likewise.
83209 * nis/rpcsvc/nis_tags.h: Likewise.
83210 * nis/rpcsvc/yp.h: Likewise.
83211 * nis/rpcsvc/yp.x: Likewise.
83212 * nis/rpcsvc/ypupd.h: Likewise.
83213 * nis/yp_xdr.c: Likewise.
83214 * nis/ypupdate_xdr.c: Likewise.
83215
83216 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
83217 mainly the body of pmap_getport. Add parameters to specify timeouts.
83218 (pmap_getport): Use __libc_rpc_getport.
83219 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
83220 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
83221 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
83222
83223 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
83224
83225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
83226 fanotify_mark.
83227
83228 2010-08-27 Roland McGrath <roland@redhat.com>
83229
83230 * sysdeps/i386/i686/multiarch/Makefile
83231 (CFLAGS-varshift.c): New variable.
83232
83233 2010-08-27 Ulrich Drepper <drepper@redhat.com>
83234
83235 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
83236 * sysdeps/i386/i686/multiarch/varshift.c: New file.
83237
83238 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
83239
83240 * sysdeps/x86_64/strlen.S: Minimal code improvement.
83241
83242 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
83243
83244 * sysdeps/x86_64/strlen.S: Unroll the loop.
83245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83246 strlen-sse2 strlen-sse2-bsf.
83247 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
83248 __strlen_no_bsf if bit_Slow_BSF is set.
83249 (__strlen_sse42): Removed.
83250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
83251 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
83252
83253 2010-08-25 Roland McGrath <roland@redhat.com>
83254
83255 * sysdeps/x86_64/multiarch/varshift.S: File removed.
83256 * sysdeps/x86_64/multiarch/varshift.c: New file.
83257 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
83258 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
83259 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
83260 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
83261
83262 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
83263
83264 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83265 strlen-sse2 strlen-sse2-bsf.
83266 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
83267 __strlen_sse2_bsf if bit_Slow_BSF is unset.
83268 (__strlen_sse2): Removed.
83269 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
83270 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
83271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
83272 bit_Slow_BSF for Atom.
83273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
83274 (index_Slow_BSF): Define.
83275 (HAS_SLOW_BSF): Define.
83276
83277 2010-08-25 Ulrich Drepper <drepper@redhat.com>
83278
83279 [BZ #10851]
83280 * resolv/res_init.c (__res_vinit): When no server address at all
83281 is given default to loopback.
83282
83283 2010-08-24 Roland McGrath <roland@redhat.com>
83284
83285 * configure.in: Remove config-name.h generation.
83286 * configure: Regenerated.
83287 * config-name.in: File removed.
83288 * scripts/config-uname.sh: New file.
83289 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
83290 ($(objdir)config-name.h): New target.
83291
83292 * sunrpc/rpc_parse.h: Avoid nested comment.
83293
83294 2010-08-24 Richard Henderson <rth@redhat.com>
83295 Ulrich Drepper <drepper@redhat.com>
83296 H.J. Lu <hongjiu.lu@intel.com>
83297
83298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
83299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
83300 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
83301 Replace _mm_srli_si128 with __m128i_shift_right. Replace
83302 _mm_alignr_epi8 with _mm_loadu_si128.
83303 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
83304 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
83305 (__m128i_shift_right): Removed.
83306 * sysdeps/i386/i686/multiarch/varshift.h: New file.
83307 * sysdeps/i386/i686/multiarch/varshift.S: New file.
83308 * sysdeps/x86_64/multiarch/varshift.h: New file.
83309 * sysdeps/x86_64/multiarch/varshift.S: New file.
83310
83311 2010-08-21 Mike Frysinger <vapier@gentoo.org>
83312
83313 * configure.in: Move assembler checks to before sysdep dir checking.
83314
83315 2010-08-20 Petr Baudis <pasky@suse.cz>
83316
83317 * LICENSES: Sync the sunrpc license.
83318
83319 2010-08-19 Ulrich Drepper <drepper@redhat.com>
83320
83321 * sunrpc/auth_des.c: Update copyright notice once again.
83322 * sunrpc/auth_none.c: Likewise.
83323 * sunrpc/auth_unix.c: Likewise.
83324 * sunrpc/authdes_prot.c: Likewise.
83325 * sunrpc/authuxprot.c: Likewise.
83326 * sunrpc/bindrsvprt.c: Likewise.
83327 * sunrpc/clnt_gen.c: Likewise.
83328 * sunrpc/clnt_perr.c: Likewise.
83329 * sunrpc/clnt_raw.c: Likewise.
83330 * sunrpc/clnt_simp.c: Likewise.
83331 * sunrpc/clnt_tcp.c: Likewise.
83332 * sunrpc/clnt_udp.c: Likewise.
83333 * sunrpc/clnt_unix.c: Likewise.
83334 * sunrpc/des_crypt.c: Likewise.
83335 * sunrpc/des_soft.c: Likewise.
83336 * sunrpc/get_myaddr.c: Likewise.
83337 * sunrpc/getrpcport.c: Likewise.
83338 * sunrpc/key_call.c: Likewise.
83339 * sunrpc/key_prot.c: Likewise.
83340 * sunrpc/openchild.c: Likewise.
83341 * sunrpc/pm_getmaps.c: Likewise.
83342 * sunrpc/pm_getport.c: Likewise.
83343 * sunrpc/pmap_clnt.c: Likewise.
83344 * sunrpc/pmap_prot.c: Likewise.
83345 * sunrpc/pmap_prot2.c: Likewise.
83346 * sunrpc/pmap_rmt.c: Likewise.
83347 * sunrpc/rpc/auth.h: Likewise.
83348 * sunrpc/rpc/auth_unix.h: Likewise.
83349 * sunrpc/rpc/clnt.h: Likewise.
83350 * sunrpc/rpc/des_crypt.h: Likewise.
83351 * sunrpc/rpc/key_prot.h: Likewise.
83352 * sunrpc/rpc/netdb.h: Likewise.
83353 * sunrpc/rpc/pmap_clnt.h: Likewise.
83354 * sunrpc/rpc/pmap_prot.h: Likewise.
83355 * sunrpc/rpc/pmap_rmt.h: Likewise.
83356 * sunrpc/rpc/rpc.h: Likewise.
83357 * sunrpc/rpc/rpc_des.h: Likewise.
83358 * sunrpc/rpc/rpc_msg.h: Likewise.
83359 * sunrpc/rpc/svc.h: Likewise.
83360 * sunrpc/rpc/svc_auth.h: Likewise.
83361 * sunrpc/rpc/types.h: Likewise.
83362 * sunrpc/rpc/xdr.h: Likewise.
83363 * sunrpc/rpc_clntout.c: Likewise.
83364 * sunrpc/rpc_cmsg.c: Likewise.
83365 * sunrpc/rpc_common.c: Likewise.
83366 * sunrpc/rpc_cout.c: Likewise.
83367 * sunrpc/rpc_dtable.c: Likewise.
83368 * sunrpc/rpc_hout.c: Likewise.
83369 * sunrpc/rpc_main.c: Likewise.
83370 * sunrpc/rpc_parse.c: Likewise.
83371 * sunrpc/rpc_parse.h: Likewise.
83372 * sunrpc/rpc_prot.c: Likewise.
83373 * sunrpc/rpc_sample.c: Likewise.
83374 * sunrpc/rpc_scan.c: Likewise.
83375 * sunrpc/rpc_scan.h: Likewise.
83376 * sunrpc/rpc_svcout.c: Likewise.
83377 * sunrpc/rpc_tblout.c: Likewise.
83378 * sunrpc/rpc_util.c: Likewise.
83379 * sunrpc/rpc_util.h: Likewise.
83380 * sunrpc/rpcinfo.c: Likewise.
83381 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
83382 * sunrpc/rpcsvc/key_prot.x: Likewise.
83383 * sunrpc/rpcsvc/klm_prot.x: Likewise.
83384 * sunrpc/rpcsvc/mount.x: Likewise.
83385 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
83386 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
83387 * sunrpc/rpcsvc/rex.x: Likewise.
83388 * sunrpc/rpcsvc/rstat.x: Likewise.
83389 * sunrpc/rpcsvc/rusers.x: Likewise.
83390 * sunrpc/rpcsvc/sm_inter.x: Likewise.
83391 * sunrpc/rpcsvc/spray.x: Likewise.
83392 * sunrpc/rpcsvc/yppasswd.x: Likewise.
83393 * sunrpc/rtime.c: Likewise.
83394 * sunrpc/svc.c: Likewise.
83395 * sunrpc/svc_auth.c: Likewise.
83396 * sunrpc/svc_authux.c: Likewise.
83397 * sunrpc/svc_raw.c: Likewise.
83398 * sunrpc/svc_run.c: Likewise.
83399 * sunrpc/svc_simple.c: Likewise.
83400 * sunrpc/svc_tcp.c: Likewise.
83401 * sunrpc/svc_udp.c: Likewise.
83402 * sunrpc/svc_unix.c: Likewise.
83403 * sunrpc/svcauth_des.c: Likewise.
83404 * sunrpc/xcrypt.c: Likewise.
83405 * sunrpc/xdr.c: Likewise.
83406 * sunrpc/xdr_array.c: Likewise.
83407 * sunrpc/xdr_float.c: Likewise.
83408 * sunrpc/xdr_mem.c: Likewise.
83409 * sunrpc/xdr_rec.c: Likewise.
83410 * sunrpc/xdr_ref.c: Likewise.
83411 * sunrpc/xdr_sizeof.c: Likewise.
83412 * sunrpc/xdr_stdio.c: Likewise.
83413
83414 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
83415 handling.
83416
83417 2010-08-19 Andreas Schwab <schwab@redhat.com>
83418
83419 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
83420
83421 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
83422
83423 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
83424 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
83425 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
83426 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
83427 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
83428 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
83429 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
83430 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
83431 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
83432 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
83433 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
83434 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
83435 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
83436 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
83437
83438 2010-07-26 Anton Blanchard <anton@samba.org>
83439
83440 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
83441 * malloc/arena.c (heap_trim): Likewise.
83442
83443 2010-08-16 Ulrich Drepper <drepper@redhat.com>
83444
83445 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
83446 here. Not...
83447 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
83448 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
83449
83450 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
83451
83452 * sysdeps/i386/elf/Makefile: New file.
83453
83454 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
83455
83456 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
83457 from fanotify_init.
83458 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
83459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83460
83461 2010-08-15 Ulrich Drepper <drepper@redhat.com>
83462
83463 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
83464 of strncasecmp_l.
83465 * sysdeps/multiarch/strcmp.S: Likewise.
83466
83467 2010-08-14 Ulrich Drepper <drepper@redhat.com>
83468
83469 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83470 strncase_l-nonascii.
83471 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83472 Add strncase_l-ssse3.
83473 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
83474 * sysdeps/x86_64/strcmp.S: Likewise.
83475 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
83476 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
83477 * sysdeps/x86_64/strncase.S: New file.
83478 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
83479 * sysdeps/x86_64/strncase_l.S: New file.
83480 * string/Makefile (strop-tests): Add strncasecmp.
83481 * string/test-strncasecmp.c: New file.
83482
83483 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
83484 warning.
83485
83486 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
83487 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
83488
83489 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
83490
83491 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
83492
83493 2010-08-12 Ulrich Drepper <drepper@redhat.com>
83494
83495 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
83496 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
83497 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
83498
83499 2010-05-01 Alan Modra <amodra@gmail.com>
83500
83501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
83502 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
83503 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
83504 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
83505 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
83506 tidying. Don't tail-call __sigjmp_save for static lib.
83507 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
83508 save location.
83509 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
83510 (CALL_MCOUNT): Add eh info, and nop after bl.
83511 (TAIL_CALL_SYSCALL_ERROR): New macro.
83512 (PSEUDO_RET): Use it.
83513 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
83514 Correct save location of integer regs and cr.
83515 (_dl_profile_resolve): Correct cr save location. Delete nops
83516 after bl when SHARED. Reduce cfi size a little by better
83517 placement of cfi directives.
83518 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
83519 make a stack frame. Instead use parm save area as a temp.
83520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
83521 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
83522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
83523 Don't make a stack frame for parent, use parm save area.
83524 Increase child stack frame to 112 bytes. Don't save unused reg,
83525 and adjust reg usage. Set up cfi on error recovery and
83526 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
83527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
83528 (__makecontext): Add dummy nop after jump to exit.
83529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
83530 Use correct parm save area and cr save, reduce stack frame.
83531 Correct cfi for possible PSEUDO_RET frame setup.
83532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
83533 Branch to local label emitted by PSEUDO_RET rather than
83534 __syscall_error.
83535
83536 2010-08-12 Andreas Schwab <schwab@redhat.com>
83537
83538 [BZ #11904]
83539 * locale/programs/locale.c (print_assignment): New function.
83540 (show_locale_vars): Use it.
83541
83542 2010-08-11 Ulrich Drepper <drepper@redhat.com>
83543
83544 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
83545 field.
83546 (struct statfs64): Likewise.
83547 (_STATFS_F_FLAGS): Define.
83548 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
83549 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83550 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
83551 (ST_VALID): Define locally.
83552 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
83553 __statvfs_getflags, use the provided value.
83554 * sysdeps/unix/sysv/linux/kernel-features.h: Define
83555 __ASSUME_STATFS_F_FLAGS.
83556
83557 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
83558
83559 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
83560 Add sys/fanotify.h.
83561 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
83562 fanotify_mask for GLIBC_2.13.
83563 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
83564 fanotify_init and fanotify_mark.
83565 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83566 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
83567
83568 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
83569 Add prlimit.
83570 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
83571 prlimit64 for GLIBC_2.13.
83572 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
83573 prlimit64.
83574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
83575 syscall.
83576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
83577 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83578 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83579 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
83581 add prlimit alias.
83582 * sysdeps/unix/sysv/linux/prlimit.c: New file.
83583
83584 [BZ #11903]
83585 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83586 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83587
83588 * nss/Makefile: Add rules to build and run tst-nss-test1.
83589 * shlib-versions: Add entry for libnss_test1.
83590 * nss/nss_test1.c: New file.
83591 * nss/tst-nss-test1.c: New file.
83592
83593 * nss/nsswitch.c (__nss_database_custom): Define new variable.
83594 (__nss_configure_lookup): Set appropriate entry in
83595 __nss_configure_lookup to true.
83596 * nss/nsswitch.h: Define enum with indeces of databases in
83597 databases and __nss_database_custom arrays. Declare
83598 __nss_database_custom.
83599 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83600 to avoid using nscd when custom rules are installed.
83601 * nss/getXXbyYY_r.c: Likewise.
83602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83603
83604 * nss/nss_files/files-parse.c: Whitespace fixes.
83605
83606 2010-08-09 Ulrich Drepper <drepper@redhat.com>
83607
83608 [BZ #11883]
83609 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83610 * posix/fnmatch_loop.c: Likewise.
83611
83612 2010-07-17 Andi Kleen <ak@linux.intel.com>
83613
83614 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83615 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83616 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83617 * Versions.def [GLIBC_2.13]: Add.
83618
83619 2010-08-06 Ulrich Drepper <drepper@redhat.com>
83620
83621 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83622 Also fail if tpwd after pwuid call is NULL.
83623
83624 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
83625
83626 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83627 when converting to ms.
83628
83629 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
83630
83631 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83632 EOPNOTSUPP errors with ENOTTY.
83633 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83634 EOPNOTSUPP errors with ENOTTY.
83635
83636 2010-07-31 Ulrich Drepper <drepper@redhat.com>
83637
83638 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83639 Add strcasecmp_l-ssse3.
83640 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83641 strcasecmp.
83642 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83643 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83644 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83645
83646 2010-07-30 Ulrich Drepper <drepper@redhat.com>
83647
83648 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83649
83650 * string/Makefile (strop-tests): Add strcasecmp.
83651 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83652 strcasecmp_l-nonascii.
83653 (gen-as-const-headers): Add locale-defines.sym.
83654 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83655 * sysdeps/x86_64/strcasecmp.S: New file.
83656 * sysdeps/x86_64/strcasecmp_l.S: New file.
83657 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83658 * sysdeps/x86_64/locale-defines.sym: New file.
83659 * string/test-strcasecmp.c: New file.
83660
83661 * string/test-strcasestr.c: Test both ends of the range of characters.
83662 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83663
83664 2010-07-29 Roland McGrath <roland@redhat.com>
83665
83666 [BZ #11856]
83667 * manual/locale.texi (Yes-or-No Questions): Fix example code.
83668
83669 2010-07-27 Ulrich Drepper <drepper@redhat.com>
83670
83671 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83672 for ld.so.
83673
83674 2010-07-27 Andreas Schwab <schwab@redhat.com>
83675
83676 * manual/memory.texi (Malloc Tunable Parameters): Document
83677 M_PERTURB.
83678
83679 2010-07-26 Roland McGrath <roland@redhat.com>
83680
83681 [BZ #11840]
83682 * configure.in (-fgnu89-inline check): Set and substitute
83683 gnu89_inline, not libc_cv_gnu89_inline.
83684 * configure: Regenerated.
83685 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83686
83687 2010-07-26 Ulrich Drepper <drepper@redhat.com>
83688
83689 * string/test-strnlen.c: New file.
83690 * string/Makefile (strop-tests): Add strnlen.
83691 * string/tester.c (test_strnlen): Add a few more test cases.
83692 * string/tst-strlen.c: Better error reporting.
83693
83694 * sysdeps/x86_64/strnlen.S: New file.
83695
83696 2010-07-24 Ulrich Drepper <drepper@redhat.com>
83697
83698 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83699 lower-latency instructions.
83700
83701 2010-07-23 Ulrich Drepper <drepper@redhat.com>
83702
83703 * string/test-strcasestr.c: New file.
83704 * string/test-strstr.c: New file.
83705 * string/Makefile (strop-tests): Add strstr and strcasestr.
83706 * string/str-two-way.h: Don't undefine MAX.
83707 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83708
83709 2010-07-21 Andreas Schwab <schwab@redhat.com>
83710
83711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83712 strcasestr-nonascii.
83713 (CFLAGS-strcasestr-nonascii.c): Define.
83714 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83715 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83716 Remove unused attribute.
83717
83718 2010-07-20 Roland McGrath <roland@redhat.com>
83719
83720 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83721 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
83722 ld.so.cache was broken. With it, there is no way to disable dsocaps
83723 like LD_HWCAP_MASK can disable hwcaps.
83724
83725 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
83726
83727 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83728
83729 2010-07-16 Ulrich Drepper <drepper@redhat.com>
83730
83731 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83732 call in strcasestr.
83733 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83734 __strcasestr_sse42_nonascii.
83735 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83736 strcasestr-nonascii.c.
83737 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83738
83739 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
83740
83741 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83742 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83743 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83744 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83745
83746 2010-07-09 Ulrich Drepper <drepper@redhat.com>
83747
83748 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83749 fcntl.
83750
83751 2010-07-06 Andreas Schwab <schwab@redhat.com>
83752
83753 [BZ #11577]
83754 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83755 dl_signal_cerror.
83756
83757 2010-07-06 Ulrich Drepper <drepper@redhat.com>
83758
83759 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83760 _PC_PIPE_BUF using F_GETPIPE_SZ.
83761
83762 2010-07-05 Roland McGrath <roland@redhat.com>
83763
83764 * manual/arith.texi (Rounding Functions): Fix rint description
83765 implicit in round description.
83766
83767 2010-07-02 Ulrich Drepper <drepper@redhat.com>
83768
83769 * elf/Makefile: Fix linking for a few tests to make recent linker
83770 happy.
83771
83772 2010-06-30 Andreas Schwab <schwab@redhat.com>
83773
83774 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83775 $(common-objpfx)libc_nonshared.a.
83776
83777 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
83778
83779 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83780 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83781 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83782 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83783 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83784 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83785 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83786 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83801 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83802 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83803 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83804 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83805 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83806 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83807 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83808 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83809 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83810 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83811 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83812 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83827
83828 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
83829
83830 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83831 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
83832 * string/memmove.c (memmove): Renamed to ...
83833 (MEMMOVE): ...this. Default to memmove.
83834 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83835 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83836 (END_CHK): Define.
83837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83838 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83839 mempcpy-ssse3-back memmove-ssse3-back.
83840 * sysdeps/x86_64/multiarch/bcopy.S: New file .
83841 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83842 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83843 * sysdeps/x86_64/multiarch/memcpy.S: New file.
83844 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83845 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83846 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83847 * sysdeps/x86_64/multiarch/memmove.c: New file.
83848 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83849 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83850 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83851 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83852 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83854 Define.
83855 (index_Fast_Copy_Backward): Define.
83856 (HAS_ARCH_FEATURE): Define.
83857 (HAS_FAST_REP_STRING): Define.
83858 (HAS_FAST_COPY_BACKWARD): Define.
83859
83860 2010-06-21 Andreas Schwab <schwab@redhat.com>
83861
83862 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83863 Restore proper fallback handling.
83864
83865 2010-06-19 Ulrich Drepper <drepper@redhat.com>
83866
83867 [BZ #11701]
83868 * posix/group_member.c (__group_member): Correct checking loop.
83869
83870 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83871 OOM in getpwuid_r correctly. Return error number when the caller
83872 should return, otherwise -1.
83873 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83874 call returning > 0 value.
83875 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83876
83877 2010-06-07 Andreas Schwab <schwab@redhat.com>
83878
83879 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83880 libc_nonshared.a from targets in modules-names.
83881
83882 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
83883
83884 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83885 requires it.
83886
83887 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
83888
83889 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83890 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83892 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83893
83894 2010-06-02 Andreas Schwab <schwab@redhat.com>
83895
83896 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83897
83898 2010-06-14 Ulrich Drepper <drepper@redhat.com>
83899
83900 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83901 and F_GETPIPE_SZ.
83902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83906 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83907 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83908
83909 2010-06-14 Roland McGrath <roland@redhat.com>
83910
83911 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83912
83913 2010-06-07 Jakub Jelinek <jakub@redhat.com>
83914
83915 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83916 __REDIRECT followed by __THROW.
83917 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83918 * posix/getopt.h (getopt): Likewise.
83919
83920 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
83921
83922 * hurd/lookup-at.c (__file_name_lookup_at): Accept
83923 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
83924 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83925 in AT_FLAGS.
83926 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83927 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83928
83929 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
83930
83931 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83932
83933 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
83934
83935 [BZ #11640]
83936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83937 Properly check family and model.
83938
83939 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
83940
83941 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83942
83943 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
83944
83945 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83946
83947 2010-05-21 Ulrich Drepper <drepper@redhat.com>
83948
83949 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83950 symbol reference.
83951
83952 2010-05-19 Andreas Schwab <schwab@redhat.com>
83953
83954 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83955 symbol reference.
83956
83957 2010-05-21 Andreas Schwab <schwab@redhat.com>
83958
83959 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83960 and internal_recvmmsg.
83961 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83962 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83963 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83964 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83965
83966 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83967 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83968 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83969
83970 2010-05-20 Andreas Schwab <schwab@redhat.com>
83971
83972 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83973
83974 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
83975
83976 POWER7 optimizations.
83977 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83978 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83979
83980 2010-05-19 Ulrich Drepper <drepper@redhat.com>
83981
83982 * version.h: Update for 2.13 development version.
83983
83984 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
83985
83986 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83987 exceptions. Return 0.
83988
83989 2010-05-07 Roland McGrath <roland@redhat.com>
83990
83991 * elf/ldconfig.c (main): Add a const.
83992
83993 2010-05-06 Ulrich Drepper <drepper@redhat.com>
83994
83995 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83996 (args_options): Add no-idn option.
83997 (ahosts_keys_int): Add idn_flags to ai_flags.
83998 (parse_option): Handle 'i' option to clear idn_flags.
83999
84000 * malloc/malloc.c (_int_free): Possible race in the most recently
84001 added check. Only act on the data if no current modification
84002 happened.
84003
84004 See ChangeLog.17 for earlier changes.