]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage
[glibc.git] / ChangeLog
CommitLineData
f8aeae34
AO
12015-03-17 Alexandre Oliva <aoliva@redhat.com>
2
3 [BZ #17090]
4 [BZ #17620]
5 [BZ #17621]
6 [BZ #17628]
7 * NEWS: Update.
8 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
9 entries with Static TLS too. Skip entries past the end of the
10 allocated DTV, from Alan Modra.
11 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
12 Static TLS DTV entry set up from...
13 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15 * nptl/allocatestack.c (init_one_static_tls): ... and here...
16 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17 for Static TLS.
18 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
19 that the slot we find is associated with the given map before
20 using its generation count.
21 * nptl_db/db_info.c: Include ldsodefs.h.
22 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25 (link_map::l_tls_offset): New struct field.
26 (dtv_t::counter): Likewise.
27 (rtld_global): New struct.
28 (_rtld_global): New rtld variable.
29 (dl_tls_dtv_slotinfo_list): New rtld global field.
30 (dtv_slotinfo_list): New struct.
31 (dtv_slotinfo): Likewise.
32 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
33 (td_lookup): Rename to...
34 (td_mod_lookup): ... this. Use new mod parameter instead of
35 LIBPTHREAD_SO.
36 * nptl_db/td_thr_tlsbase.c: Include link.h.
37 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
39 addresses even if the DTV is out of date or missing them.
40 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
41 index zero-length arrays.
42 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
43 (td_lookup): Make it a macro implemented in terms of...
44 (td_mod_lookup): ... this declaration.
45 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
46 (DB_MAIN_VARIABLE): Likewise.
47
b97eb2bd
L
482015-03-16 H.J. Lu <hongjiu.lu@intel.com>
49
50 [BZ #18134]
51 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
52
cb219290
PE
532015-03-15 Paul Eggert <eggert@cs.ucla.edu>
54
55 * stdlib/setenv.c (__add_to_environ): Revert previous change.
56
a3905fd9
AS
572015-03-14 Andreas Schwab <schwab@linux-m68k.org>
58
59 [BZ #18128]
60 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
61 (atomic_add, atomic_increment_and_test)
62 (atomic_decrement_and_test): Fix 64-bit arithmetic.
63
2ecccaed
PE
642015-03-13 Paul Eggert <eggert@cs.ucla.edu>
65
66 * stdlib/setenv.c (__add_to_environ):
67 Dump core quickly if setenv (..., NULL, ...) is called.
68
cdaf79d0
RM
692015-03-13 Roland McGrath <roland@hack.frob.com>
70
71 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
72 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
73 all the necessary asm magic in one place.
74 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
75 using those.
76
cf9313e7
CD
772015-03-13 Carlos O'Donell <carlos@redhat.com>
78
79 [BZ #14906]
80 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
81 traced file mtime. Use consistent log message.
82 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
83 (register_traced_file): Call install_watches. Always set mtime.
84 (invalidate_cache): Iterate over all trace files. Call install_watches.
85 (inotify_check_files): Don't inline. Handle watching parent
86 directories and configuration file movement in and out.
87 (handle_inotify_events): New function.
88 (main_loop_poll): Call handle_inotify_events.
89 (main_loop_epoll): Likewise.
90 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
91 (struct traced_file): Use array of inotify fds. Add parent directory,
92 and basename.
93 (struct database_dyn): Remove unused file_mtime.
94 (init_traced_file): New inline function.
95 (define_traced_file): New macro.
96 * nss/nss_db/db-init.c: Use define_traced_file.
97 (_nss_db_init): Use init_traced_file.
98 * nss/nss_files/files-init.c: Use define_traced_file.
99 (_nss_files_init): Use init_traced_file.
100
7d67a196
JM
1012015-03-12 Joseph Myers <joseph@codesourcery.com>
102
103 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
104 [_LIBC]: Do not include <stdlib.h>.
105 [!_LIBC] (abort): Remove declaration.
106 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
107 _FP_STATIC_ASSERT instead of conditionally calling abort.
108 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
109 (_FP_EXTEND_CNAN): Likewise.
110 (FP_TRUNC): Likewise.
111 (__FP_CLZ): Likewise.
112 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
113
af85ebcd
YS
1142015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
115
116 * manual/string.texi (XPG basename): Fix prototype.
117
2e807f29
SL
1182015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
119
120 [BZ #18080]
121 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
122 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
123 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
124 (__setcontext): Likewise.
125 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
126 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
127 Call rt_sigprocmask syscall one time to set new signal mask
128 and retrieve the current signal mask instead of two calls.
129 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
130 (__swapcontext): Likewise.
131 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
132 * stdlib/tst-setcontext2.c: New file.
133
1b2bebe6
SL
1342015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
135
136 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
137
6a1cf708
AJ
1382015-03-11 Aurelien Jarno <aurelien@aurel32.net>
139
140 [BZ #18093]
141 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
142 the wrong size.
143
a2d4cf72
PP
1442015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
145
146 [BZ #18043]
147 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
148
5ca10a0c
AZ
1492015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
150
151 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
152 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
153 Remove define.
154 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
155 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
156 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
157 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
158 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
159 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
160 define.
161 * nptl_db/td_symbol_list.c (td_lookup): Remove
162 HAVE_ASM_GLOBAL_DOT_NAME code.
163 * sysdeps/powerpc/powerpc64/configure.ac: Remove
164 HAVE_ASM_GLOBAL_DOT_NAME check.
165 * sysdeps/powerpc/powerpc64/configure: Regenerate.
166 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
167 (DOT_LABEL): Remove define.
168 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
169 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
170 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
171 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
172 (__TLS_GET_ADDR): Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
174 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
175
e4363cfb
CD
1762015-03-11 Carlos O'Donell <carlos@redhat.com>
177
178 [BZ #18111]
179 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
180 (_FPU_SETCW): Initialize cw from fpsr before storing.
181 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
182 (fesetexceptflag): Rewrite using fpu_control.h.
183 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
184
fae1aa8d
JDA
1852015-03-11 John David Anglin <danglin@gcc.gnu.org>
186
187 [BZ #18110]
188 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
189 asms.
190 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
191
068a6274
JM
1922015-03-11 Joseph Myers <joseph@codesourcery.com>
193
194 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
195 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
196 abort.
197 (_FP_FMA): Likewise.
198 (_FP_DIV): Likewise.
199
d3821ab0
RM
2002015-03-10 Roland McGrath <roland@hack.frob.com>
201
44a6213c
RM
202 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
203 with 0 in that case.
204 * Makefile (summarize-tests): New canned sequence, factored out of
205 commands for targets tests and xtests. Display summary lines that
206 don't start with PASS: or XFAIL: rather than ones that do start with
207 ERROR: or FAIL:. Make the commands fail if any summary lines fail
208 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
209 do start with ERROR: or FAIL:.
210 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
211 (except for [$(build-shared) = yes]).
212 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
213 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
214 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
215 * nptl/Makefile: Revert 2015-03-04 changes.
216 [$(CXX) empty] (tests-unsupported): New variable.
217 * debug/Makefile: Likewise.
218
d3821ab0
RM
219 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
220 gnulib file. Replace __attribute with __attribute__ throughout.
221
85ca85ae
CD
2222015-03-10 Carlos O'Donell <carlos@redhat.com>
223
224 * sysdeps/hppa/fpu/libm-test-ulps: Update.
225
6411f81d
JM
2262015-03-10 Joseph Myers <joseph@codesourcery.com>
227
228 [BZ #18104]
229 * math/auto-libm-test-in: Add another test of pow.
230 * math/auto-libm-test-out: Regenerated.
231
d421868b
AZ
2322015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
233
234 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
235 $(config-cflags-nofma).
236
a2f8be9c
JM
2372015-03-10 Joseph Myers <joseph@codesourcery.com>
238
239 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
240 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
241 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
242 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
243 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
244 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
245 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
246 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
247 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
248 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
249 Add comment on closing #endif.
250
01d032e0
PP
2512015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
252
253 * posix/wordexp.c (CHAR_IN_SET): New macro.
254 (parse_param): Use it.
255
d439bc56
AZ
2562015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
257
258 * sysdeps/powerpc/fpu/libm-test-ulps: update.
259
5f85a4bf
PP
2602015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
261
262 [BZ #18043]
263 * posix/wordexp.c (parse_param): Fix buffer overflow.
264 * posix/wordexp-test.c (test_case): Add test case.
265
f8ba70e9
PP
2662015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
267
268 [BZ #18042]
269 * posix/wordexp.c (parse_backtick): Fix off-by-one.
270 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
271
36103ba2
PP
2722015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
273
274 [BZ #18043]
275 * posix/wordexp-test.c (test_case): Add test for BZ #18043
276 (do_bz18043): Delete.
277 (at_page_end): New.
278 (testit): Refactor to have words at the edge of unreadable page.
279
18d26750
PP
2802015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
281
282 [BZ #16734]
283 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
284 Cleanup read-only streams as well.
285 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
286
9f95dc5d
ST
2872015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
288
289 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
290 <bits/libc-lockP.h>
291
b838844b
JM
2922015-03-07 Joseph Myers <joseph@codesourcery.com>
293
294 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
295 on [__KERNEL__].
296 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
297 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
298 * soft-fp/op-common.h (_FP_DECL): Likewise.
299
e0ed2fb4
L
3002015-03-06 H.J. Lu <hongjiu.lu@intel.com>
301
302 * elf/ifuncdep2.c (global): Replace
303 __attribute__((visibility("protected"))) with
304 asm (".protected global").
305 * elf/ifuncmod1.c (global): Likewise.
306 * elf/ifuncmod5.c (global): Likewise.
307
fa9dda64
JM
3082015-03-06 Joseph Myers <joseph@codesourcery.com>
309
310 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
311 <asm/sfp-machine.h> instead of <sfp-machine.h>.
312
4acc27ed
RM
3132015-03-06 Roland McGrath <roland@hack.frob.com>
314
315 * manual/install.texi (Configuring and compiling):
316 Document test-wrapper-env-only.
317 * INSTALL: Regenerated.
318
895c30cb
PP
3192015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
320
321 [BZ #18043]
322 * posix/wordexp.c (parse_param): Fix buffer overflow.
323 * posix/wordexp-test.c (do_bz18043): Add test case.
324
5df56c7e
VB
3252015-03-06 Vincent Bernat <vincent@bernat.im>
326
327 * time/tst-strptime2.c (do_test): Ensure failing tests are
328 reported correctly.
329 * time/tst-strptime3.c (do_test): Likewise.
330
1cdf2ea1
ST
3312015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
332
333 Fix aio_error thread-safety.
1cdf2ea1
ST
334 * sysdeps/pthread/aio_error.c: New file
335 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
336 synchronization.
337
d176a41a
FW
3382015-03-06 Florian Weimer <fweimer@redhat.com>
339
340 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
341 (group_number, vfprintf): Use it.
1597b744
FW
342 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
343 (JUMP, REF): Use it.
344 (WORK_BUFFER_SIZE): New enum constant.
345 (process_arg, vfprintf): Use it.
d176a41a 346
7e7af349
RJ
3472015-03-06 Rical Jasan <ricaljasan@pacific.net>
348
349 * manual/errno.texi (Error Messages): Complete example function
350 by adding missing #define.
351 (program_invocation_name): Add statement indicating GNU
352 extension and reference which header file declares the variable.
353 (program_invocation_short_name): Likewise.
354
4ca8ddfb
MF
3552015-03-06 Mike Frysinger <vapier@gentoo.org>
356
357 * manual/errno.texi (Error Messages): Delete strerror ISO C89
358 compatibility note.
359
9162c01d
RM
3602015-03-05 Roland McGrath <roland@hack.frob.com>
361
362 * Makeconfig (test-wrapper-env-only): New variable.
363 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
364 then use that with $(test-wrapper-env-only) rather than using
365 $(test-wrapper-env) $(run-program-env) $($*-ENV).
366
209826bc
L
3672015-03-05 H.J. Lu <hongjiu.lu@intel.com>
368
369 [BZ #18082]
370 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
371 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
372 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
373 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
374 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
375 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
376 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
377 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
378 Likewise.
379 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
380 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
381 Likewise.
382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
383 Likewise.
384 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
385 Likewise.
386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
387 Likewise.
388 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
389 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
390 Likewise.
391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
392 Likewise.
393 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
394 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
395
2cfe32bc
RM
3962015-03-04 Roland McGrath <roland@hack.frob.com>
397
8bff5aab
RM
398 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
399 (ETH_ALEN): New macro.
400 (struct ether_addr): Use it for length of ether_addr_octet.
401
2752f338
RM
402 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
403 (setdb): Don't call __nss_configure_lookup for "rpc".
404 (do_test): Don't call test_rpc.
405 (output_rpcent, test_rpc): Functions moved ...
406 * sunrpc/test-rpcent.c: ... to this new file.
407 * sunrpc/Makefile (tests): Add it.
408
2cfe32bc
RM
409 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
410 __xpg_sigpause.
411 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
412 * nptl/tst-signal6.c: Likewise.
413 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
414 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
415
e4693aa7
RM
416 * configure.ac (libc_cv_cxx_link_ok): New check.
417 Reset CXX to empty if it fails to link.
418 * configure: Regenerated.
419 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
420 bug-atexit3-lib only if $(CXX) is nonempty.
421 * nptl/Makefile (tests): Likewise for tst-cancel24.
422 (tests, tests-static): Likewise for tst-cancel24-static.
423 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
424 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
425 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
426 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 427
8e2e833a
AS
4282015-03-04 Andreas Schwab <schwab@suse.de>
429
430 [BZ #17631]
431 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
432 for non-GCC compilers.
433 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
434 Likewise.
435
85b29045
AZ
4362015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
437
438 [BZ #17776]
439 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
440 integer before bitwise and assembly operations.
441 (feclearexcept): Likewise.
442 * math/test-fenvinline.c: New file.
443 * math/Makefile: Add test-fenvinline test.
444
a0af371c
AM
4452015-03-03 Alan Modra <amodra@gmail.com>
446
447 [BZ #16512]
448 * scripts/localplt.awk: Strip off symbol version.
449 * NEWS: Mention bug fix.
450
47465629
RM
4512015-03-02 Roland McGrath <roland@hack.frob.com>
452
453 * sysdeps/pthread/timer_routines.c
454 (timer_free_list, thread_free_list, thread_active_list): Make static.
455
6d08b022
JM
4562015-03-02 Joseph Myers <joseph@codesourcery.com>
457
458 [BZ #17779]
459 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
460 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
461 Undefine.
462 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
463 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
464 Likewise.
465 * sysdeps/unix/sysv/linux/sh/kernel-features.h
466 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
467 Likewise.
468
c2c6d39f
PP
4692015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
470
471 [BZ #18036]
472 * posix/fnmatch_loop.c (END): Detect invalid pattern.
473 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
474
e8b6be00
AS
4752015-03-02 Andreas Schwab <schwab@suse.de>
476
477 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
478 variable name.
479
1a2d98af
FW
4802015-03-02 Florian Weimer <fweimer@redhat.com>
481
482 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
483 Return error status.
484
e7f07af5
AO
4852015-02-27 Alexandre Oliva <aoliva@redhat.com>
486
487 [BZ #15969]
488 * locale/findlocale.c (_nl_find_locale): Introduce const
489 version of loc_name and drop unsafe type casts.
490
c7b19ca9
RM
4912015-02-27 Roland McGrath <roland@hack.frob.com>
492
493 * dlfcn/tststatic2.c (main): Converted to ...
494 (do_test): ... this.
495 (TEST_FUNCTION): New macro.
496 Include test-skeleton.c.
497
ef4ad06f
L
4982015-02-27 H.J. Lu <hongjiu.lu@intel.com>
499
500 [BZ #17711]
501 * elf/Makefile (tests): Add vismain only if PIE is enabled.
502 (tests-pie): Add vismain.
503 (CFLAGS-vismain.c): New.
504 * elf/vismain.c: Add comments for PIE requirement.
505
2ca725c5
JM
5062015-02-27 Joseph Myers <joseph@codesourcery.com>
507
508 [BZ #18046]
509 [BZ #18047]
510 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
511 0x1p-56L as threshold for just returning the argument.
512 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
513 0x1p-32L as threshold for just returning the argument.
514 * math/auto-libm-test-in: Add more tests of atanh.
515 * math/auto-libm-test-out: Regenerated.
516 * sysdeps/i386/fpu/libm-test-ulps: Update.
517 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
518
af96be34
WD
5192015-02-27 Wilco Dijkstra wdijkstr@arm.com
520
521 * string/bcopy.c (bcopy): Call memmove for performance.
522
ddcf6798
WD
5232015-02-27 Wilco Dijkstra wdijkstr@arm.com
524
525 * string/bzero.c (__bzero): Call memset for performance.
526
49f476f4
JDA
5272015-02-27 John David Anglin <dave.anglin@bell.net>
528
b42e14ff 529 [BZ #18068]
49f476f4
JDA
530 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
531 to 00100000.
532
f8ab5d38
JM
5332015-02-27 Joseph Myers <joseph@codesourcery.com>
534
535 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
536
380bd0fd
JM
5372015-02-26 Joseph Myers <joseph@codesourcery.com>
538
31331a07
JM
539 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
540 (__kernel_standard): Use CSTR macro when setting exc.name.
541 * sysdeps/ieee754/Makefile [$(subdir) = math]
542 (CFLAGS-k_standard.c): Remove variable.
543
09220e66
JM
544 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
545 setting p and q from "else if" to "else".
546 (qzero): Likewise.
547 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
548 (qone): Likewise.
549 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
550 (qzerof): Likewise.
551 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
552 (qonef): Likewise.
553 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
554 (qzero): Likewise.
555 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
556 (qone): Likewise.
557
1d9ab20c
JM
558 [BZ #18038]
559 [BZ #18039]
560 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
561 return pi/2 for arguments below 0x1p-113L.
562 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
563 return pi/2 for arguments below 0x1p-106L.
564 * math/auto-libm-test-in: Add more tests of acos.
565 * math/auto-libm-test-out: Regenerated.
566
ec0ce0d3
JM
567 [BZ #16351]
568 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
569 (MO): New macro.
570 (__ieee754_asin): Force underflow exception for results with small
571 absolute value.
572 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
573 (MO): New macro.
574 (__ieee754_asinf): Force underflow exception for results with
575 small absolute value.
576 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
577 (__ieee754_asin): Force underflow exception for results with small
578 absolute value.
579 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
580 (__ieee754_asinf): Force underflow exception for results with
581 small absolute value.
582 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
583 (__ieee754_asinl): Force underflow exception for results with
584 small absolute value.
585 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
586 (__ieee754_asinl): Force underflow exception for results with
587 small absolute value.
588 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
589 (__ieee754_asinl): Force underflow exception for results with
590 small absolute value.
591 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
592 Include <math.h>.
593 * math/auto-libm-test-in: Do not mark underflow exceptions as
594 possibly missing for bug 16351.
595 * math/auto-libm-test-out: Regenerated.
596
380bd0fd
JM
597 [BZ #18030]
598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
599 of power of 2 down when low part has opposite sign.
600 * math/libm-test.inc (logb_test_data): Add more tests.
601
4a28f4d5
AS
6022015-02-26 Andreas Schwab <schwab@suse.de>
603
604 [BZ #18032]
605 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
606 over collating symbol inside a bracket expression. Minor cleanup.
607 * posix/tst-fnmatch3.c (do_test): Add test case.
608
524ae9ea
JM
6092015-02-26 Joseph Myers <joseph@codesourcery.com>
610
611 [BZ #18029]
612 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
613 Adjust exponent of power of 2 down when low part has opposite
614 sign.
615 * math/libm-test.inc (ilogb_test_data): Add more tests.
616
23d43090
AO
6172015-02-26 Alexandre Oliva <aoliva@redhat.com>
618
619 [BZ #15969]
620 * locale/findlocale.c (_nl_find_locale): Fix constness error in
621 the previous change.
0d822a01
AO
622
623 [BZ #15969]
624 * locale/findlocale.c (_nl_find_locale): Retry archive search
625 after alias expansion.
626
d19df6ac
RM
6272015-02-25 Roland McGrath <roland@hack.frob.com>
628
ca681b7b
RM
629 * iconv/tst-iconv3.c (main): Converted to ...
630 (do_test): ... this.
631 (TEST_FUNCTION): New macro.
632 Include test-skeleton.c.
633
fd1f2f1c
RM
634 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
635 (convert): Make function static.
636 (test_unalign): Likewise. Add const to argument pointee types.
637 (main): Replace with static function do_test.
638 Print "Succeeded." only if RET is zero.
639 (TEST_FUNCTION): New macro.
640 Include test-skeleton.c.
641
d19df6ac
RM
642 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
643 returns a null pointer.
644
115e0de7
AZ
6452015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
646
647 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
648 to __memcpy_ppc only for static builds.
649
137cef7d
JM
6502015-02-25 Joseph Myers <joseph@codesourcery.com>
651
652 [BZ #18020]
653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
654 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
655 * math/auto-libm-test-in: Add more tests of asinh.
656 * math/auto-libm-test-out: Regenerated.
657 * sysdeps/i386/fpu/libm-test-ulps: Update.
658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
659
cb43bb0d
CW
6602015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
661
662 [BZ #15850]
663 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
664 and ip6_mtuinfo definitions here.
665 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
666 in this define too. Update comment.
667
9be1052b
BS
6682015-02-24 Benno Schulenberg <bensberg@justemail.net>
669
670 * elf/sprof.c (load_shobj): Tweak error message to match others.
671
6807b1db
KE
6722015-02-24 Kevin Easton <kevin@guarana.org>
673
674 [BZ #16145] (partial fix)
675 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
676 to reduce lock contention.
677
b433df00
ML
6782015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
679
680 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
681 (struct timex): Update time comment.
682 (ADJ_SETOFFSET): Define.
683
440169d6
JM
6842015-02-24 Joseph Myers <joseph@codesourcery.com>
685
686 [BZ #18019]
687 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
688 2**56 not 2**28 as threshold for log (2x) formula.
689 * math/auto-libm-test-in: Add more tests of acosh.
690 * math/auto-libm-test-out: Regenerated.
691 * sysdeps/i386/fpu/libm-test-ulps: Update.
692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
693
ba7d2c54
MF
6942015-02-24 Mike Frysinger <vapier@gentoo.org>
695
696 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
697 parenthesis around the buf assignment.
698 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
699
9438b237
JM
7002015-02-24 Joseph Myers <joseph@codesourcery.com>
701
702 [BZ #16783]
703 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
704 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
705 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
706 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
707 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
708 * math/libm-test.inc (scalb_test_data): Add more tests.
709
6909d276
PP
7102015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
711
712 [BZ #17916]
713 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
714 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
715
65f6f938
ER
7162015-02-24 Eric Rannaud <e@nanocritical.com>
717
718 [BZ #17523]
719 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
720 * io/bits/fcntl2.h (open): Use it.
721 (openat): Likewise.
722 * io/open.c (__libc_open): Likewise.
723 * io/open64.c (__libc_open64): Likewise.
724 * io/open64_2.c (__open64_2): Likewise.
725 * io/open_2.c (__open_2): Likewise.
726 * io/openat.c (__openat): Likewise.
727 * io/openat64.c (__openat64): Likewise.
728 * io/openat64_2.c (__openat64_2): Likewise.
729 * io/openat_2.c (__openat_2): Likewise.
730 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
731 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
732 * sysdeps/posix/open64.c (__libc_open64): Likewise.
733 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
734 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
735 (__open_nocancel): Likewise.
736 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
737 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
738 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
739
3e3002ff
SP
7402015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
741
742 [BZ #14841]
743 * resolv/gethnamaddr.c (getanswer): Skip logging if
744 RES_USE_DNSSEC is set.
745 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
746
9813dd58
MF
7472015-02-24 Mike Frysinger <vapier@gentoo.org>
748
749 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
750
7b1ec6a0
AO
7512015-02-23 Alexandre Oliva <aoliva@redhat.com>
752
753 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
754 201304L, for Unicode 7.
755
d49499c1
L
7562015-02-23 H.J. Lu <hongjiu.lu@intel.com>
757
758 [BZ #17836]
759 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
760 shared library. Add gmon-start.os otherwise.
761 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
762 $(objpfx)gmon-start.os if builing shared library.
763 ($(objpfx)g$(static-start-installed-name)): Likewise.
764
51225803
AS
7652015-02-23 Andreas Schwab <schwab@suse.de>
766
767 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
768
bdf1ff05
PP
7692015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
770
771 [BZ #17269]
772 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
773 (enlarge_userbuf): Likewise.
774
95296112
CLT
7752015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
776
777 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
778 * math/atest-exp.c (TIMEOUT): Adjust to 200.
779 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
780 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
781
e4a399dc
JM
7822015-02-20 Joseph Myers <joseph@codesourcery.com>
783
784 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
785 expression inside statement expression.
786
7133957f
SL
7872015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
788
789 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
790 <sysdeps/nptl/lowlevellock.h> and remove macros and
791 functions that are now defined there.
792 (SYS_futex): Remove.
793 (lll_compare_and_swap): Remove.
794 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
795
40176158
JM
7962015-02-19 Joseph Myers <joseph@codesourcery.com>
797
798 [BZ #17999]
799 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
800 instead of scandirat.
801 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
802 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
803 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
804 __scandirat.
805 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
806 (__scandirat): Declare. Use libc_hidden_proto.
807 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
808 Remove variable.
809 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
810
4629c866
JM
8112015-02-18 Joseph Myers <joseph@codesourcery.com>
812
813 [BZ #15319]
814 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
815 (MO): New macro.
816 (__ieee754_atan2): For results with small absolute value, force
817 underflow exception and remove excess range and precision from
818 return value.
819 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
820 (MO): New macro.
821 (__ieee754_atan2f): For results with small absolute value, force
822 underflow exception and remove excess range and precision from
823 return value.
824 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
825 (MO): New macro.
826 (__atan): For results with small absolute value, force underflow
827 exception and remove excess range and precision from return value.
828 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
829 (MO): New macro.
830 (__atanf): For results with small absolute value, force underflow
831 exception and remove excess range and precision from return value.
832 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
833 <math.h>.
834 (__ieee754_atan2): Force underflow exception for results with
835 small absolute value.
836 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
837 <math_private.h>.
838 (atan): Force underflow exception for results with small absolute
839 value.
840 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
841 (__atanf): Force underflow exception for results with small
842 absolute value.
843 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
844 <math.h>.
845 (__atanl): Force underflow exception for results with small
846 absolute value.
847 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
848 (__atanl): Force underflow exception for results with small
849 absolute value.
850 * sysdeps/x86/fpu/bits/mathinline.h
851 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
852 (__ieee754_atan2): Only define inline for long double.
853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
854 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
855 * math/auto-libm-test-in: Do not mark underflow exceptions as
856 possibly missing for bug 15319. Add more tests of atan2.
857 * math/auto-libm-test-out: Regenerated.
858 * math/libm-test.inc (casin_test_data): Do not mark underflow
859 exceptions as possibly missing for bug 15319.
860 (casinh_test_data): Likewise.
861 * sysdeps/i386/fpu/libm-test-ulps: Update.
862
9ee16d8b
SE
8632015-02-18 Steve Ellcey <sellcey@imgtec.com>
864
865 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
866 * sysdeps/mips/bits/endian.h: Fix comments.
867
4ffb1771
JM
8682015-02-18 Joseph Myers <joseph@codesourcery.com>
869
870 [BZ #17996]
871 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
872 (hdestroy_r): Likewise.
873 (hsearch_r): Likewise.
874 (__hcreate_r): Declare and use libc_hidden_proto.
875 (__hdestroy_r): Likewise.
876 (__hsearch_r): Likewise.
877 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
878 (hcreate): Call __hcreate_r instead of hcreate_r.
879 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
880 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
881 as weak alias of __hcreate_r.
882 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
883 __hdestroy_r.
884 (hsearch_r): Rename to __hsearch_r and define as weak alias of
885 __hsearch_r.
886 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
887 Remove variable.
888 (test-xfail-XPG4/search.h/linknamespace): Likewise.
889 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
890 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
891 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
892
94c5a52a
SP
8932015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
894
895 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
896 arena_lock into a single arena_get.
897
8a35c3fe
CD
8982015-02-17 Carlos O'Donell <carlos@redhat.com>
899
900 * dl-reloc.c: Inlucde libc-internal.h.
901 (_dl_try_allocate_static_tls): Call ALIGN_UP.
902 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
903 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
904 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
905 (grow_heap): Likewise.
906 * malloc/malloc.c: Include libc-internal.h.
907 (do_check_malloc): Call powerof2.
908 (sysmalloc): Use pagesize. Call ALIGN_UP.
909 (systrim): Use pagesize.
910 (mremap_chunk): Use pagesize. Call ALIGN_UP.
911 (__libc_valloc): Use pagesize.
912 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
913
1a2325c0
JM
9142015-02-17 Joseph Myers <joseph@codesourcery.com>
915
916 [BZ #17991]
917 * include/sys/resource.h (__getrlimit64): Declare. Use
918 libc_hidden_proto.
919 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
920 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
921 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
922 getrlimit64.
923 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
924 __getrlimit64.
925 [!getrlimit64] (getrlimit64): Define as weak alias of
926 __getrlimit64. Use libc_hidden_weak.
927 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
928 using __getrlimit64 not __new_getrlimit64.
929 (__GI_getrlimit64): Likewise.
930 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
931 Likewise.
932 (__GI_getrlimit64): Likewise.
933 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
935 (getrlimit): Add __getrlimit64 alias.
936 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
937 Likewise.
938 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
939 Remove variable.
940 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
941 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
942
8ae4bb5a
PP
9432015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
944
945 * libio/fileops.c: Add missing sys/mman.h
946 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
947
18a218b7
JM
9482015-02-17 Joseph Myers <joseph@codesourcery.com>
949
950 * manual/math.texi (Errors in Math Functions): Clarify goals
951 regarding inexact and underflow exceptions.
952
e72ad0ef
SE
9532015-02-17 Steve Ellcey <sellcey@imgtec.com>
954
955 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
956 * sysdeps/mips/memset.S: Ditto.
957
2caa4099
SE
9582015-02-17 Steve Ellcey <sellcey@imgtec.com>
959
960 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
961
f20bfc9b
SL
9622015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
963
964 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
965 (__v1longjmp): Remove versioned symbol.
966 (__v1siglongjmp): Remove alias and versioned symbol.
967 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
968 (__v2siglongjmp): Likewise.
969
71c06b69
TR
9702015-02-16 Torvald Riegel <triegel@redhat.com>
971
972 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
973
a9a05adb
MF
9742015-02-16 Mike Frysinger <vapier@gentoo.org>
975
976 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
977
ce8fc784
JM
9782015-02-16 Joseph Myers <joseph@codesourcery.com>
979
980 [BZ #17987]
981 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
982 zero result does not depend on the sign resulting from
983 subtraction.
984 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
985 Likewise.
986 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
987 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
988 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
989 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
990 * math/libm-test.inc (remquo_test_data): Add more tests.
991
0d7036bd
PE
9922015-02-16 Paul Eggert <eggert@cs.ucla.edu>
993
994 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
995 Problem reported by J William Piggott.
996
86c56b16
JM
9972015-02-16 Joseph Myers <joseph@codesourcery.com>
998
a820f9b3
JM
999 [BZ #17978]
1000 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1001 products 4 * y and 2 * y where those would overflow.
1002 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1003 Likewise.
1004 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1005 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1006 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1007 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1008 * math/libm-test.inc (remquo_test_data): Add more tests.
1009
be802953
JM
1010 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1011
e5e72fe9
JM
1012 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1013 [defined _COMPILING_NEWLIB].
1014 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1015 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1016
86c56b16
JM
1017 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1018 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1019
35264d14
TR
10202015-02-16 Torvald Riegel <triegel@redhat.com>
1021
1022 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1023 acquired.
1024
6f49e32a
MF
10252015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1026
1027 [BZ #17792]
1028 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1029 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1030 HOST_STACK_END_ADDR): Likewise.
1031
e525154e
SE
10322015-02-13 Steve Ellcey <sellcey@imgtec.com>
1033
1034 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1035 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1036 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1037
4ab770b7
RM
10382015-02-13 Roland McGrath <roland@hack.frob.com>
1039
1040 * sysdeps/generic/c++-types.data: New file.
1041 * sysdeps/generic/ld.abilist: New file.
1042 * sysdeps/generic/libBrokenLocale.abilist: New file.
1043 * sysdeps/generic/libanl.abilist: New file.
1044 * sysdeps/generic/libc.abilist: New file.
1045 * sysdeps/generic/libcrypt.abilist: New file.
1046 * sysdeps/generic/libdl.abilist: New file.
1047 * sysdeps/generic/libm.abilist: New file.
1048 * sysdeps/generic/libpthread.abilist: New file.
1049 * sysdeps/generic/libresolv.abilist: New file.
1050 * sysdeps/generic/librt.abilist: New file.
1051
d9afe48d
JM
10522015-02-13 Joseph Myers <joseph@codesourcery.com>
1053
1054 [BZ #17569]
1055 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1056 Compute absolute value of x as modified by fmod, not original
1057 value of x.
1058 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1059 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1060 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1061 RUN_TEST_ffI_f1_mod8.
1062 (remquo_test_data): Add more tests.
1063
3846188b
RM
10642015-02-13 Roland McGrath <roland@hack.frob.com>
1065
1066 * sysdeps/init_array/pt-crti.S: New file.
1067
95c26233
JM
10682015-02-13 Joseph Myers <joseph@codesourcery.com>
1069
1070 [BZ #17967]
1071 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1072 __builtin_fmaf instead of relying on contraction of a * b + c.
1073
3f293d61
WP
10742015-02-12 J William Piggott <elseifthen@gmx.com>
1075
1076 [BZ #17969]
1077 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1078 node.
1079
e8bd5286
JM
10802015-02-12 Joseph Myers <joseph@codesourcery.com>
1081
1082 [BZ #17964]
1083 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1084 __builtin_fma instead of relying on contraction of a * b + c.
1085
04f5a636
RM
10862015-02-12 Roland McGrath <roland@hack.frob.com>
1087
96a15749
RM
1088 * Makeconfig (ASFLAGS): Add -Werror=undef.
1089 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1090 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1091 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1092
04f5a636
RM
1093 * Makeconfig (after-link): New variable.
1094 (+link-pie, +link-pie-tests): Use it.
1095 (+link-static, +link-static-tests): Likewise.
1096 (+link, +link-tests): Likewise.
1097 * Makerules (build-module, build-module-asneeded): Likewise.
1098 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1099 Likewise.
1100 * elf/Makefile ($(objpfx)ld.so): Likewise.
1101
87a629c5
RS
11022015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1103
1104 [BZ #17965]
1105 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1106 both struct timeval and struct timespec.
1107
03d95bd4
JM
11082015-02-12 Joseph Myers <joseph@codesourcery.com>
1109
1110 [BZ #16560]
1111 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1112 and redefine.
1113 (__ieee754_exp2l): Do not multiply small fractional parts by
1114 M_LN2l.
1115 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1116 small argument.
1117 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1118 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1119 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1120 * math/auto-libm-test-in: Add more tests of exp2.
1121 * math/auto-libm-test-out: Regenerated.
1122
98408b95
RS
11232015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1124
1125 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1126 unaligned path.
1127
6f741503
AZ
11282015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1129
1130 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1131 little endian.
1132
2868e070
AS
11332015-02-12 Andreas Schwab <schwab@suse.de>
1134
1135 [BZ #15790]
1136 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1137 Filter out elision flags from value returned in kind.
1138 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1139 * nptl/tst-pthread-mutexattr.c: New file.
1140
ebf27d12
ST
11412015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1142
1143 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1144 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1145 into gnu-gnu, and update comment to refer to abi-tags.
1146
d435569c
JM
11472015-02-11 Joseph Myers <joseph@codesourcery.com>
1148
1149 [BZ #15467]
1150 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1151 (__sincos): Set errno to EDOM for infinite argument.
1152 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1153 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1154 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1155 (__sincosl): Set errno to EDOM for infinite argument.
1156 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1157 (__sincosl): Set errno to EDOM for infinite argument.
1158 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1159 (__sincosl): Set errno to EDOM for infinite argument.
1160 * math/libm-test.inc (sincos_test_data): Test errno setting.
1161
d35273f2
LH
11622015-02-11 Leonhard Holz <leonhard.holz@web.de>
1163
1164 * string/strxfrm_l.c: Remove #define STRCMP.
1165 * string/strcoll_l.c: Remove #define STRLEN.
1166 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1167 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1168
306bc0d1
JM
11692015-02-10 Joseph Myers <joseph@codesourcery.com>
1170
1171 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1172 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1173 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1174 * sysdeps/mips/mips64/Makefile: ... here.
1175 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1176 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1177 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1178 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1179 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1180 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1181 * sysdeps/mips/mips64/n64/Implies: Likewise.
1182
92b67e8d
RM
11832015-02-10 Roland McGrath <roland@hack.frob.com>
1184
1185 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1186 <sys/time.h>, <string.h>, and <errno.h>.
1187 (dest_offset, dest_address, value, zero): Remove unused variables.
1188 (ldouble): Remove typedef.
1189 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1190 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1191 1). Fix code style.
1192 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1193 (check): Function removed.
1194 (CHECK): New macro.
1195 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1196 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1197 Don't call set_sigaction_FP and remove_sigaction_FP here.
1198 (ldouble_test): Just use 'long double' as macro argument, no need for
1199 the 'ldouble' typedef.
1200 (do_test): Set up SIGFPE handler at start, using plain signal rather
1201 than sigaction. Fix code style.
1202
132a1328
EF
12032015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1204
1205 [BZ #17949]
1206 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1207 jump label.
1208
3001e54c
AZ
12092015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1210
bc0cdc49
AZ
1211 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1212 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1213
83658961
AZ
1214 * sysdeps/powerpc/configure.ac: Remove file.
1215 * sysdeps/powerpc/configure: Likewise.
1216
10169938
AZ
1217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1218 [sysdep_routines]: Remove wordcopy-power6 object.
1219 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1220 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1221 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1222 (__memmove_ppc32): Likewise.
1223 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1224 file.
1225 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1226 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1227 Remove preprocessor.
1228
8548a53d
AZ
1229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1230 [sysdep_routines]: Remove wide chars objects.
1231 [wcsmbs]: New rule for wide char objects.
1232
b2692114
AZ
1233 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1234 Remove wordcopy-power6 obejct.
1235 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1236 Use local call for wordcopy and memcpy symbols.
1237 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1238 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1239 implementation for loader.
1240 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1241
18e270aa
AZ
1242 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1243 Remove wordcopy-power7 object.
1244 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1245 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1246 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1247 (_wordcopy_fwd_dest_aligned): Likewise.
1248 (_wordcopy_bwd_aligned): Likewise.
1249 (_wordcopy_bwd_dest_aligned): Likewise.
1250
6f0993a6
AZ
1251 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1252 Rewrite to call __memmove_ppc instead of include default
1253 implementation.
1254
3001e54c
AZ
1255 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1256 Remove wide chars objects.
1257 [wcsmbs]: New rule for wide char objects.
1258
59b61c82
AS
12592015-02-09 Andreas Schwab <schwab@suse.de>
1260
1261 [BZ #17912]
1262 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1263 in terms of __O_DIRECTORY.
1264
ebd7aede
ST
12652015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1266
1267 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1268 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1269 call PTR_MANGLE.
1270 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1271 PTR_DEMANGLE.
ebd7aede 1272
3999d26e
PE
12732015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1274
1275 Add ersatz _Static_assert on older C hosts
1276 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1277 pre-C11 C platform that is not known to support _Static_assert.
1278
e9a5bc1c
ST
12792015-02-07 Richard Braun <rbraun@sceen.net>
1280
1281 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1282 sigstate.
e86c5b64 1283 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1284
e2049d17
ST
12852015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1286
1287 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1288 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1289 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1290 instead of int.
1291 * misc/fchflags.c (fchflags): Likewise.
1292 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1293 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1294 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1295 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1296 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1297 Declare macros.
1298 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1299 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1300 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1301 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1302 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1303 45.
a9a002fb
ST
1304 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1305 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1306 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1307 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1308 * hurd/hurd/signal.h (_hurd_self_sigstate,
1309 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1310 Explicit casts from void *.
4fc81a77 1311 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1312 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1313
f05826f0
ST
1314 [BZ #4719]
1315 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1316 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1317 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1318 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1319 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1320 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1321
a5eb23de
ST
1322 [BZ #17944]
1323 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1324 duplicates ADDR->sun_path with sockaddr LEN limitation.
1325 * sysdeps/mach/hurd/connect.c: Include <string.h>
1326 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1327 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1328 * sysdeps/mach/hurd/sendto.c: Likewise.
1329 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1330 implementing it by hand.
1331
ac9e0e5e
RM
13322015-02-06 Roland McGrath <roland@hack.frob.com>
1333
f8d1bb4c
RM
1334 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1335 Use sfi_breg on ldr.
1336 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1337 Likewise.
1338
022f4812
RM
1339 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1340 it's defined.
1341 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1342 Test SIGSETXID only if it's defined.
1343
1ac074e6
RM
1344 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1345
f50ad78b
RM
1346 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1347 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1348
9e7265f4
RM
1349 * nptl/tst-align2.c: Moved ...
1350 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1351 * nptl/Makefile (tests): Remove tst-align2.
1352 * sysdeps/unix/sysv/linux/Makefile
1353 [$(subdir) = nptl] (tests): Add tst-align-clone.
1354 * nptl/tst-getpid1.c: Moved ...
1355 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1356 * nptl/tst-getpid2.c: Moved ...
1357 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1358 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1359 * sysdeps/unix/sysv/linux/Makefile
1360 [$(subdir) = nptl] (tests): ... here.
1361 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1362 * sysdeps/unix/sysv/linux/Makefile
1363 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1364
62ad2abc
RM
1365 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1366 Drop trailing \n from perror argument. Use return rather than exit.
1367
cfa69b0b
RM
1368 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1369 on [SA_SIGINFO].
1370 * nptl/tst-cancel21.c (do_test): Likewise.
1371 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1372 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1373 [!SA_SIGINFO]: Make it a stub test.
1374
82727806
RM
1375 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1376 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1377
da3a1594
RM
1378 * posix/tst-getlogin.c: Move to ...
1379 * login/tst-getlogin.c: ... here.
1380 * posix/Makefile (tests): Move tst-getlogin to ...
1381 * login/Makefile (tests): ... here.
1382
b65c0ff9
RM
1383 * libio/tst-atime.c (do_test): Move local variables SV and E
1384 inside [ST_NOATIME] conditional.
1385
56606ab3
RM
1386 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1387
ebf7d6ee
RM
1388 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1389
ca0e0675
RM
1390 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1391 (wait_code): New function replaces macro.
1392 Call nanosleep rather than syscall.
1393
8c28bbc6
RM
1394 * nptl/pt-system.c: Rewritten. Put everything under
1395 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1396 Use IFUNC to redirect when possible.
1397
ec2a88b3
RM
1398 * nptl/pt-longjmp.c: Rewritten. Put everything under
1399 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1400 Use IFUNC to redirect when possible.
1401
beff1d13
RM
1402 * nptl/pt-fork.c: Rewritten. Put everything under
1403 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1404 Use IFUNC to redirect when possible.
1405 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1406
ea02c6b8
RM
1407 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1408 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1409 unconditionally nowadays. This included the only reference to
1410 __vdso_clock_gettime that appears outside libc proper.
1411 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1412 Remove version set (containing only __vdso_clock_gettime).
1413 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1414 Add attribute_hidden.
1415 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1416 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1417 libc_hidden_data_def.
1418 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1420
a1309c2b
RM
1421 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1422 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1423 setrpcent, and getrpcport to ...
1424 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1425 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1426 getrpcbynumber_r, and getrpcent_r to ...
1427 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1428 * inet/getrpcbyname.c: Moved ...
1429 * sunrpc/getrpcbyname.c: ... here.
1430 * inet/getrpcbyname_r.c: Moved ...
1431 * sunrpc/getrpcbyname_r.c: ... here.
1432 * inet/getrpcbynumber.c: Moved ...
1433 * sunrpc/getrpcbynumber.c: ... here.
1434 * inet/getrpcbynumber_r.c: Moved ...
1435 * sunrpc/getrpcbynumber_r.c: ... here.
1436 * inet/getrpcent.c: Moved ...
1437 * sunrpc/getrpcent.c: ... here.
1438 * inet/getrpcent_r.c: Moved ...
1439 * sunrpc/getrpcent_r.c: ... here.
1440 * inet/Makefile (routines): Move those to ...
1441 * sunrpc/Makefile (routines): ... here.
1442 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1443 the $(subdirs) list.
1444 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1445 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1446 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1447 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1448
ac9e0e5e
RM
1449 * elf/Makefile (routines): Include $(all-dl-routines), not just
1450 $(dl-routines).
1451 (rtld-routines): Likewise. Use = rather than :=.
1452 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1453 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1454 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1455 * sysdeps/arm/Makefile: Likewise.
1456 * sysdeps/i386/Makefile: Likewise.
1457 * sysdeps/x86_64/Makefile: Likewise.
1458 * sysdeps/hppa/Makefile [$(subdir) = elf]
1459 (sysdep_routines, sysdep-rtld-routines): Don't add
1460 $(sysdep-dl-routines) to these.
1461 * sysdeps/ia64/Makefile: Likewise.
1462 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1463 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1464 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1465 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1466 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1467 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1469 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1470 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1471 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1472 these; sysdep-dl-routines alone is enough.
1473
639e42eb
JM
14742015-02-06 Joseph Myers <joseph@codesourcery.com>
1475
1c7a4a51
JM
1476 [BZ #17932]
1477 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1478 where multiplication results in zero and third argument is finite
1479 and nonzero.
1480 * math/auto-libm-test-in: Add more tests of fma.
1481 * math/auto-libm-test-out: Regenerated.
1482
61f006c1
JM
1483 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1484 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1485 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1486 (_FP_CMP_EQ): Likewise.
1487 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1488
639e42eb
JM
1489 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1490 extra argument CHECK_NAN. Redefine as wrapper around
1491 _FP_EXTEND_CNAN.
1492
3c0c543b
CD
14932015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1494
4e42b5b8
CD
1495 * version.h (RELEASE): Set to "stable".
1496 (VERSION): Set to "2.21"
1497 * include/features.h (__GLIBC_MINOR__): Set to 21.
1498
3c0c543b
CD
1499 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1500
5bd80bfe 15012015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1502 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1503
1504 [BZ #16618]
1505 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1506 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1507 size in bytes. Store needed elements in wpmax. Use needed size
1508 in bytes for extend_alloca.
1509
3f823f48
CD
15102015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1511
04cb913d
CD
1512 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1513 binutls 2.25, and texinfo 5.2.
1514 * INSTALL: Regenerate.
1515 * sysdeps/nios2/configure: Regenerate.
1516 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1517 * manual/contrib.texi: Update.
1518 * po/be.po: Update.
1519 * po/bg.po: Update.
1520 * po/ca.po: Update.
1521 * po/cs.po: Update.
1522 * po/da.po: Update.
1523 * po/de.po: Update.
1524 * po/el.po: Update.
1525 * po/eo.po: Update.
1526 * po/es.po: Update.
1527 * po/fi.po: Update.
1528 * po/fr.po: Update.
1529 * po/gl.po: Update.
1530 * po/hr.po: Update.
1531 * po/hu.po: Update.
1532 * po/ia.po: Update.
1533 * po/id.po: Update.
1534 * po/it.po: Update.
1535 * po/ja.po: Update.
1536 * po/ko.po: Update.
1537 * po/lt.po: Update.
1538 * po/nb.po: Update.
1539 * po/nl.po: Update.
1540 * po/pl.po: Update.
1541 * po/pt_BR.po: Update.
1542 * po/ru.po: Update.
1543 * po/rw.po: Update.
1544 * po/sk.po: Update.
1545 * po/sl.po: Update.
1546 * po/sv.po: Update.
1547 * po/tr.po: Update.
1548 * po/uk.po: Update.
1549 * po/vi.po: Update.
1550 * po/zh_CN.po: Update.
1551 * po/zh_TW.po: Update.
1552
3f823f48
CD
1553 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1554 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1555 * sysdeps/hppa/dl-irel.h: Remove #warning.
1556 * sysdeps/hppa/entry.h: Provide prototype for
1557 __canonicalize_funcptr_for_compare and cast argument.
1558 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1559 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1560 * sysdeps/hppa/sotruss-lib.c: New file.
1561 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1562 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1563 (atomic_compare_and_exchange_bool_acq): Likewise.
1564 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1565 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1566
1567 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1568 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1569 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1570
34c56048
CLT
15712015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1572
1573 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1574 called function in non-PIC case.
1575
d4abeca5
DM
15762015-01-31 David S. Miller <davem@davemloft.net>
1577
edac0a60
DM
1578 * sysdeps/sparc/sparc32/bits/atomic.h
1579 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1580 unlock not after it.
1581 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1582 volatile register usage warnings from the compiler.
1583
d4abeca5
DM
1584 * sysdeps/sparc/nptl/sem_init.c: Delete.
1585 * sysdeps/sparc/nptl/sem_post.c: Delete.
1586 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1587 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1588 * sysdeps/sparc/sparc32/sem_init.c: New file.
1589 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1590 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1591 padding explicitly initialized.
1592 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1593 padding for in-semaphore spinlock.
1594 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1595 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1596 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1597 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1598 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1599 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1600 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1601 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1602 version.
1603 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1604 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1605
5f3d0b78
L
16062015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1607
1608 [BZ #17801]
1609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1610 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1611 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1612 New.
1613 (index_AVX_Fast_Unaligned_Load): Likewise.
1614 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1615 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1616 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1617 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1618 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1619 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1620 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1621 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1622 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1623
b658fdd8
AS
16242015-01-29 Andreas Schwab <schwab@suse.de>
1625
1626 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1627
3cb26316
SP
16282015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1629
1630 [BZ #17892]
1631 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1632
527de9e4
MS
16332015-01-28 Martin Sebor <msebor@redhat.com>
1634
1635 * math/README.libm-test: Clarify. Add "How to read the test output."
1636
06991eb8
CM
16372015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1638
1639 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1640 Define to 0.
1641
df341342
JM
16422015-01-28 Joseph Myers <joseph@codesourcery.com>
1643
1644 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1645 (__HAVE_64B_ATOMICS): Define to 0.
1646
08cee2a4
AZ
16472015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1648
d4d0ecb2
AZ
1649 [BZ #17885]
1650 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1651 value to set as new flag.
1652
08cee2a4
AZ
1653 [BZ #16576]
1654 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1655 and use _ARCH_PPCSQ instead.
1656 (__ieee754_sqrt): Likewise.
1657 (__ieee754_sqrtf): Likewise.
1658 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1659 _ARCH_PPCSQ is defined.
1660 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1661 fsqrt instruction.
1662 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1663 _ARCH_PPCSQ is defined.
1664 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1665 fsqrts instruction.
1666 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1667
5fe8e359
AK
16682015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1669
1670 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1671 bug (GCC BZ #64739).
1672
24bb7432
AS
16732015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1674
fa20da31
AS
1675 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1676 Mark _retval as used.
1677 (lll_futex_wake_unlock): Likewise.
1678 (lll_futex_timed_wait_requeue_pi): Likewise.
1679
45819cbc
AS
1680 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1681 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1682 register variables.
1683
403cc231
AS
1684 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1685 libm_hidden_def.
1686
24bb7432
AS
1687 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1688 (__bswap_64): Mark as __always_inline.
1689
9317ea65
B
16902015-01-25 Bram <bug_rh@spam.wizbit.be>
1691
1692 [BZ #15378]
1693 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1694 when none of the search directories exist.
1695
0e87343e
AZ
16962015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1697
bea58013
AZ
1698 [BZ #17869]
1699 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1700 power8 in .machine directive.
1701
0e87343e
AZ
1702 [BZ #17868]
1703 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1704 set dependency from opd value.
1705
ede0236c
L
17062015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1709 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1710 architecture.
ede0236c 1711
22971c35
L
17122015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1713
1714 [BZ #17870]
1715 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1716 with uint64_t.
1717 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1718 (uint64_t) 1.
e0da28a1 1719 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1720 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1721 Replace 1UL with (uint64_t) 1.
1722 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1723 int with uint64_t.
1724
da5bf245
RM
17252015-01-23 Roland McGrath <roland@hack.frob.com>
1726
2ec2d703
RM
1727 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1728 (if_freenameindex): Likewise.
1729
da5bf245
RM
1730 * resource/getrlimit64.c: Add missing libc_hidden_def.
1731
d7423856
JM
17322015-01-22 Joseph Myers <joseph@codesourcery.com>
1733
1734 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1735 __label__.
1736 (_FP_FMA): Likewise.
1737 (_FP_TO_INT_ROUND): Likewise.
1738 (_FP_FROM_INT): Likewise.
1739
6b2ba95b
AZ
17402015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1741
1742 [BZ #16418]
1743 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1744 Make code racy and cancel safe.
1745
ccdb048d
CD
17462015-01-21 Carlos O'Donell <carlos@redhat.com>
1747
191220b3
CD
1748 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1749 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1750 attribution.
1751
0897c551
CD
1752 * pwd/tst-getpw.c: Rewrite.
1753
ccdb048d
CD
1754 [BZ #17702]
1755 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1756 (modules-names): Add moddummy1 and moddummy2.
1757 ($(objpfx)tst-rec-dlopen): Define.
1758 * dlfcn/moddummy1.c: New file.
1759 * dlfcn/moddummy2.c: New file.
1760 * dlfcn/tst-rec-dlopen.c: New file.
1761 * elf/dl-cache.c (_dl_load_cache_lookup):
1762 Return char*. Copy result with alloca/strcpy/strdup.
1763 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1764 returns char*. Free cached. If not saving realname
1765 free cached.
1766 * elf/dl-open.c (dl_open_worker): Do not assert that
1767 _r_debug->r_state is RT_CONSISTENT.
1768 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1769 returns char*.
1770
042e1521
CD
17712015-01-21 Torvald Riegel <triegel@redhat.com>
1772 Carlos O'Donell <carlos@redhat.com>
1773
1774 [BZ #12674]
1775 * nptl/sem_waitcommon.c: New file.
1776 * nptl/sem_wait.c: Include sem_waitcommon.c.
1777 (__sem_wait_cleanup, do_futex_wait): Remove.
1778 (__new_sem_wait): Adapt.
1779 (__new_sem_trywait): New function.
1780 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1781 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1782 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1783 (sem_timedwait): Adapt.
1784 * nptl/sem_post.c (__new_sem_post): Adapt.
1785 (futex_wake): New function.
1786 (__old_sem_post): Add release MO fence.
1787 * nptl/sem_open.c (sem_open): Adapt.
1788 * nptl/sem_init.c (__new_sem_init): Adapt.
1789 (futex_private_if_supported): New function.
1790 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1791 (__old_sem_getvalue): Add using previous code.
1792 * sysdeps/nptl/internaltypes.h: Adapt.
1793 * nptl/tst-sem13.c (do_test): Adapt.
1794 * nptl/tst-sem11.c (main): Adapt.
1795 * nptl/sem_trywait.c: Remove.
1796 * nptl/DESIGN-sem.txt: Remove.
1797 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1798 (gen-as-const-headers): Remove structsem.sym.
1799 * nptl/structsem.sym: Remove.
1800 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1801 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1802 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1803 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1804 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1805 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1806 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1807 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1808 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1809 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1810 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1811 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1812 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1813 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1814 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1815 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1816 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1817 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1818 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1819 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1820 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1821 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1822
fe0e85af
CD
18232015-01-20 Carlos O'Donell <carlos@redhat.com>
1824
a8db092e
CD
1825 * INSTALL: Regenerated.
1826
fe0e85af
CD
1827 * po/libc.pot: Regenerated.
1828
522e6ee3
CLT
18292015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1830 Sandra Loosemore <sandra@codesourcery.com>
1831 Andrew Jenner <andrew@codesourcery.com>
1832 Joseph Myers <joseph@codesourcery.com>
1833 Nathan Sidwell <nathan@codesourcery.com>
1834
1835 * NEWS: Mention new Nios II port.
1836 * sysdeps/nios2/Implies: New file.
1837 * sysdeps/nios2/Makefile: New file.
1838 * sysdeps/nios2/Subdirs: New file.
1839 * sysdeps/nios2/Versions: New file.
1840 * sysdeps/nios2/__longjmp.S: New file.
1841 * sysdeps/nios2/abort-instr.h: New file.
1842 * sysdeps/nios2/backtrace.c: New file.
1843 * sysdeps/nios2/bits/endian.h: New file.
1844 * sysdeps/nios2/bits/fenv.h: New file.
1845 * sysdeps/nios2/bits/link.h: New file.
1846 * sysdeps/nios2/bits/setjmp.h: New file.
1847 * sysdeps/nios2/bsd-_setjmp.S: New file.
1848 * sysdeps/nios2/bsd-setjmp.S: New file.
1849 * sysdeps/nios2/configure: New generated file.
1850 * sysdeps/nios2/configure.ac: New file.
1851 * sysdeps/nios2/crti.S: New file.
1852 * sysdeps/nios2/crtn.S: New file.
1853 * sysdeps/nios2/dl-init.c: New file.
1854 * sysdeps/nios2/dl-machine.h: New file.
1855 * sysdeps/nios2/dl-sysdep.h: New file.
1856 * sysdeps/nios2/dl-tls.h: New file.
1857 * sysdeps/nios2/dl-trampoline.S: New file.
1858 * sysdeps/nios2/gccframe.h: New file.
1859 * sysdeps/nios2/gmp-mparam.h: New file.
1860 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1861 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1862 * sysdeps/nios2/ldsodefs.h: New file.
1863 * sysdeps/nios2/libc-tls.c: New file.
1864 * sysdeps/nios2/libm-test-ulps: New file.
1865 * sysdeps/nios2/machine-gmon.h: New file.
1866 * sysdeps/nios2/math-tests.h: New file.
1867 * sysdeps/nios2/math_private.h: New file.
1868 * sysdeps/nios2/memusage.h: New file.
1869 * sysdeps/nios2/nptl/Makefile: New file.
1870 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1871 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1872 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1873 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1874 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1875 * sysdeps/nios2/nptl/tls.h: New file.
1876 * sysdeps/nios2/preconfigure: New file.
1877 * sysdeps/nios2/s_fma.c: New file.
1878 * sysdeps/nios2/s_fmaf.c: New file.
1879 * sysdeps/nios2/setjmp.S: New file.
1880 * sysdeps/nios2/sfp-machine.h: New file.
1881 * sysdeps/nios2/sotruss-lib.c: New file.
1882 * sysdeps/nios2/stackguard-macros.h: New file.
1883 * sysdeps/nios2/stackinfo.h: New file.
1884 * sysdeps/nios2/start.S: New file.
1885 * sysdeps/nios2/sysdep.h: New file.
1886 * sysdeps/nios2/tls-macros.h: New file.
1887 * sysdeps/nios2/tst-audit.h: New file.
1888 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1889 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1890 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1891 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1892 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1893 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1894 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1895 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1896 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1897 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1898 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1899 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1900 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1901 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1902 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1903 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1904 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1905 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1906 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1907 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1908 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1909 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1910 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1911 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1912 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1913 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1914 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1915 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1916 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1917 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1918 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1919 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1920 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1921 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1922 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1923 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1924 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1925 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1926 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1927 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1928 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1929 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1930 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1931 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1932
026eb207
SL
19332015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1934
1935 [BZ #17844]
1936 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1937 (getutent): Use weak_alias in non SHARED case
1938 and default_symbol_version in SHARED case.
1939 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1940 (getutent_r, pututline): Likewise.
1941 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1942 (getutid): Likewise.
1943 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1944 (getutid_r): Likewise.
1945 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1946 (getutline): Likewise.
1947 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1948 (getutline_r): Likewise.
1949 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1950 (updwtmp): Likewise.
1951
1d532483
SL
19522015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1953
1954 [BZ #17848]
1955 * sysdeps/s390/s390-32/memcmp.S
1956 (memcmp_g5): Rename to __memcmp_g5.
1957 * sysdeps/s390/s390-32/memcpy.S
1958 (memcpy_g5): Rename to __memcpy_g5.
1959 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1960 (memcpy_mvcle) Rename to __memcpy_mvcle.
1961 * sysdeps/s390/s390-32/memset.S
1962 (memset_g5): Rename to __memset_g5.
1963 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1964 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1965 and use prefixed functions.
1966 * sysdeps/s390/s390-32/multiarch/memcmp.S
1967 (memcmp_z196): Rename to __memcmp_z196.
1968 (memcmp_z10): Rename to __memcmp_z10.
1969 (memcmp): Set alias to __memcmp_g5.
1970 (bcmp): Set alias to __memcmp_g5.
1971 * sysdeps/s390/s390-32/multiarch/memcpy.S
1972 (memcpy_z196): Rename to __memcpy_z196.
1973 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1974 (memcpy_z10): Rename to __memcpy_z10.
1975 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1976 (memcpy): Set alias to __memcpy_g5.
1977 * sysdeps/s390/s390-32/multiarch/memset.S
1978 (memset_z196): Rename to __memset_z196.
1979 Jump to __memset_mvcle instead of memset_mvcle.
1980 (memset_z10): Rename to __memset_z10.
1981 Jump to __memset_mvcle instead of memset_mvcle.
1982 (memset_mvcle) Rename to __memset_mvcle.
1983 (memset): Set alias to __memset_g5.
1984 * sysdeps/s390/s390-64/memcmp.S
1985 (memcmp_z900): Rename to __memcmp_z900.
1986 * sysdeps/s390/s390-64/memcpy.S
1987 (memcpy_z900): Rename to __memcpy_z900.
1988 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1989 (memcpy_mvcle) Rename to __memcpy_mvcle.
1990 * sysdeps/s390/s390-64/memset.S
1991 (memset_z900): Rename to __memset_z900.
1992 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1993 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1994 and use prefixed functions.
1995 * sysdeps/s390/s390-64/multiarch/memcmp.S
1996 (memcmp_z196): Rename to __memcmp_z196.
1997 (memcmp_z10): Rename to __memcmp_z10.
1998 (memcmp): Set alias to __memcmp_z900.
1999 (bcmp): Set alias to __memcmp_z900.
2000 * sysdeps/s390/s390-64/multiarch/memcpy.S
2001 (memcpy_z196): Rename to __memcpy_z196.
2002 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2003 (memcpy_z10): Rename to __memcpy_z10.
2004 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2005 (memcpy): Set alias to __memcpy_z900.
2006 * sysdeps/s390/s390-64/multiarch/memset.S
2007 (memset_z196): Rename to __memset_z196.
2008 Jump to __memset_mvcle instead of memset_mvcle.
2009 (memset_z10): Rename to __memset_z10.
2010 Jump to __memset_mvcle instead of memset_mvcle.
2011 (memset_mvcle) Rename to __memset_mvcle.
2012 (memset): Set alias to __memset_z900.
2013
53fbd169
JM
20142015-01-14 Joseph Myers <joseph@codesourcery.com>
2015
2016 [BZ #17748]
2017 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2018 __fesetenv instead of fesetenv.
2019
d639a363
SP
20202015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2021
2022 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2023 macro.
2024
d3b00f46
AZ
20252015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2026
ce6615c9
AZ
2027 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2028 regression on LE.
2029
d3b00f46
AZ
2030 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2031 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2032 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2033 strncmp-power8 object.
2034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2035 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2036 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2037 * NEWS: Update.
2038
72607db0
RS
20392015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2040 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2041
2042 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2043 trailing byte check.
2044
54dc5461
DM
20452015-01-13 David S. Miller <davem@davemloft.net>
2046
2047 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2048
1c6e6f23
RM
20492015-01-13 Roland McGrath <roland@hack.frob.com>
2050
2051 * login/logout.c (logout): Use memset rather than bzero.
2052 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2053 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2054 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2055 (_gethtbyaddr): Likewise.
2056 * locale/programs/simple-hash.c (bcopy): Macro removed.
2057
96d6fd6c
AZ
20582015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059
8bedcb5f
AZ
2060 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2061 Add strcmp-power8 object.
2062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2063 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2064 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2065 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2066 __strcmp_power8 implementation.
2067 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2068 * NEWS: Update.
2069
f06a4faf
AZ
2070 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2071 Add strncpy-power8 and stpncpy-power8 objects.
2072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2073 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2074 implementations.
2075 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2076 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2077 __stpncpy_power8 implementation.
2078 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2079 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2080 __strncpy_power8 implementation.
2081 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2082 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2083 * NEWS: Update.
2084
9f2f36e5
AZ
2085 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2086 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2087 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2088
96d6fd6c 2089 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2090 strncat-power8 object.
2091 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2092 __strcat_power8 implementation.
2093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2094 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2095 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2096 optimized strcat for power8.
2097
2098 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2099 strcpy-power8 and stpcpy-power8 objects.
2100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2101 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2102 implementations.
2103 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2104 multiarch stpcpy implementation for POWER8.
2105 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2106 multiarch strcpy implementation for POWER8.
2107 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2108 __strcpy_power8 function.
2109 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2110 stpcpy for POWER8.
2111 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2112 strcpy for POWER8.
2113 * NEWS: Update.
2114
0f9e5854
LH
21152015-01-13 Leonhard Holz <leonhard.holz@web.de>
2116
2117 [BZ #16009]
2118 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2119 weights and rules. Use do_xfrm_cached if data fits in cache,
2120 do_xfrm otherwise. Moved former main loop to...
2121 * (do_xfrm_cached): New function.
2122 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2123 find_idx, find_position and stack_push.
2124 * (find_idx): New function.
2125 * (find_position): Likewise.
2126 * localedata/sort-test.sh: Added test run for do_xfrm.
2127 * localedata/xfrm-test.c (main): Added command line option
2128 -nocache to run the test with strings that are too large for
2129 the STRXFRM cache.
2130
c60ec0e0
TR
21312015-01-13 Torvald Riegel <triegel@redhat.com>
2132
2133 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2134 variable to lll_futex_wake call, not the value itself.
2135
34e93d6c
JM
21362015-01-12 Joseph Myers <joseph@codesourcery.com>
2137
5a9e4c09
JM
2138 [BZ #17803]
2139 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2140 twom64. Adjust value to 0x1p-64L.
2141 (__scalblnl): Only return standard underflowing result for K <=
2142 -64 not K <= -63; adjust exponent for underflowing result by 64
2143 not 63.
2144 * math/libm-test.inc (scalbn_test_data): Add more tests.
2145 (scalbln_test_data): Likewise.
2146
34e93d6c
JM
2147 [BZ #17834]
2148 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2149 0x1p63L.
2150 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2151 not HX.
2152 * math/libm-test.inc (scalbn_test_data): Add more tests.
2153 (scalbln_test_data): Likewise.
2154
ca677d3c
AZ
21552015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2156 Stefani Seibold <stefani@seibold.net>
2157
2158 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2159 (sysdep_routines): Add dl-vdso here, ...
2160 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2161 (sysdep_routines): ... not here.
2162 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2163 fallback when vDSO is not presented.
2164 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2165 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2166 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2167 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2168 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2169 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2170 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2172 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2174 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2175 fallback configurable symbol when vDSO is not available.
2176 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2177 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2178 be able to redefine fallback symbol when vDSO is not available.
2179 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2180 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2181
49a9f6ab 21822015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2183
56cf2763
AZ
2184 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2185 (TLS_INIT_TP): Add tm_capable initialization.
2186 (TLS_DEFINE_INIT_TP): Likewise.
2187 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2188 TCB.
2189 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2190 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2191 calculation.
2192 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2193 transactoion is lock elision is built and TCB tm_capable is set.
2194 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2196 (INTERNAL_SYSCALL_NCS): Likewise.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2198 (INTERNAL_SYSCALL_NCS): Likewise.
2199 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2200
4b45943a
AZ
2201 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2202 for powerpc.
2203 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2204 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2205 and remove it for 32 bits case.
2206 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2207 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2208 initialization.
2209 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2210 Disable lock elision with rdlocks if elision is not available.
2211
8d2c0a59
AZ
2212 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2213 (sysdep_routines): Add lock elision objects.
2214 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2215 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2216 [pthread_mutex_t] (__elision): Add field.
2217 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2218 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2219 elision definitions for powerpc.
2220 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2221 implementation of lock elision for powerpc.
2222 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2223 implementation of timed lock elision for powerpc.
2224 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2225 implementation of trylock with lock elision for powerpc.
2226 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2227 implementaion of unlock for lock elision for powerpc.
2228 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2229 automatic enable lock elision for mutexes.
2230 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2231 transaction execution definitions for powerpc.
2232 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2233 definitions.
2234 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2235 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2236 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2237 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2238 * NEWS: Update.
2239
bc0ed9f7
RM
22402015-01-09 Roland McGrath <roland@hack.frob.com>
2241
2242 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2243 for #include of <shm-directory.h>.
2244
585d9c18
CLT
22452015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2246
2247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2248 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2249
aee6626c
MF
22502015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2251
2252 [BZ #17791]
2253 * NEWS: Mention bug fix.
2254 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2255 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2256 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2257
9e560f48
TR
22582015-01-09 Torvald Riegel <triegel@redhat.com>
2259
2260 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2261
e1cfbd0c
TR
22622015-01-09 Torvald Riegel <triegel@redhat.com>
2263
2264 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2265
cf71e44f
DH
22662015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2267
2268 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2269 pointer and cast to uintptr_t.
2270
b360ee62
DH
22712015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2272
2273 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2274 removed.
2275 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2276
caff764e
DH
22772015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2278
2279 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2280 of 0.
2281
59ff172f
RM
22822015-01-08 Roland McGrath <roland@hack.frob.com>
2283
c97d27f1
RM
2284 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2285 <nptl/pthreadP.h> instead.
2286 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2287
08734ccd
RM
2288 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2289 already defined.
2290 [__SIGRTMIN] (init): Function removed.
2291 [__SIGRTMIN] (initialized): Variable removed.
2292 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2293 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2294 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2295 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2296 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2297 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2298 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2299 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2300 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2301 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2302 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2303 * sysdeps/nptl/allocrtsig.c: New file.
2304 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2305 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2306 * sysdeps/generic/testrtsig.h: File removed.
2307
7b052e33
RM
2308 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2309 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2310
cc40d25e
RM
2311 * nptl/nptl-init.c (pthread_functions): Conditionalize
2312 .ptr__nptl_setxid initialization on [SIGSETXID].
2313
9287adf0
RM
2314 * sysdeps/nptl/sys/procfs.h: New file.
2315 * nptl_db/Makefile (headers): Add it.
2316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2317
59ff172f
RM
2318 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2319 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2320 * nptl/pthread_attr_setaffinity.c: Include it.
2321 * nptl/pthread_setattr_default_np.c: Likewise.
2322 * nptl/check-cpuset.h: New file.
2323
b9205857
RH
23242015-01-08 Richard Henderson <rth@redhat.com>
2325
2326 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2327 (CFLAGS-tst-execstack-prog.c): Likewise.
2328 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2329
1a0a8d15
CLT
23302015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2331 Sandra Loosemore <sandra@codesourcery.com>
2332 Andrew Jenner <andrew@codesourcery.com>
2333 Joseph Myers <joseph@codesourcery.com>
2334 Nathan Sidwell <nathan@codesourcery.com>
2335
2336 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2337 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2338 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2339 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2340 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2341 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2342 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2343 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2344 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2345 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2346 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2347 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2348 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2349 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2350 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2351 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2352 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2353
dd6e8af6
AZ
23542015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2355
2356 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2357 timespec struct member in syscall macro.
2358 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2359 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2360 first timeval struct member in syscall macro.
2361 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2362
8116321f
JM
23632015-01-07 Joseph Myers <joseph@codesourcery.com>
2364
2365 [BZ #17748]
2366 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2367 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2368 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2369 __feupdateenv and define as weak alias of __feupdateenv. Use
2370 libm_hidden_weak.
2371 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2372 libm_hidden_def.
2373 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2374 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2375 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2376 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2377 libm_hidden_def.
2378 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2379 __feupdateenv and define as weak alias of __feupdateenv. Use
2380 libm_hidden_weak.
2381 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2382 libm_hidden_def.
2383 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2384 __feupdateenv and define as weak alias of __feupdateenv. Use
2385 libm_hidden_weak.
2386 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2387 libm_hidden_def.
2388 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2389 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2390 (__feupdateenv): Likewise.
2391 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2392 __feupdateenv and define as weak alias of __feupdateenv. Use
2393 libm_hidden_weak.
2394 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2395 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2396 libm_hidden_def.
2397 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2398 function.
2399 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2400 libm_hidden_def.
2401 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2402 __feupdateenv instead of feupdateenv.
2403 (default_libc_feupdateenv_test): Likewise.
2404 (libc_feresetround_ctx): Likewise.
2405
882dfe18
AZ
24062015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2407
2408 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2409 prototype.
2410
39a12f8d
CM
24112015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2412
2413 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2414 COLL_SYM in a couple of places to avoid uninitialized variable
2415 wanings on tilegx gcc 4.8.2.
2416
dc400d7b
RE
24172015-01-07 Richard Earnshaw <rearnsha@arm.com>
2418
2419 * sysdeps/aarch64/strcpy.S: New file.
2420 * sysdeps/aarch64/stpcpy.S: New file.
2421 * NEWS: Updated.
2422
ec582ca0
RE
24232015-01-07 Richard Earnshaw <rearnsha@arm.com>
2424
2425 * sysdeps/aarch64/strrchr.S: New file.
2426 * NEWS: Updated.
2427
d5b1c5ed
EB
24282015-01-07 Eric Biggers <ebiggers3@gmail.com>
2429
2430 [BZ #17658]
2431 * stdlib/setenv.c: Fix memory leak when setting large,
2432 duplicate string.
2433
fb87ee96
VN
24342015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2435
60f046a8 2436 [BZ #17273]
fb87ee96
VN
2437 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2438 and tabs from buffer before parsing fstab entry.
2439 * misc/tst-mntent.c (main): Add test for mount entry with
2440 trailing spaces and tabs.
2441
cd42798a
JM
24422015-01-06 Joseph Myers <joseph@codesourcery.com>
2443
01238691
JM
2444 [BZ #17748]
2445 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2446 * math/fesetround.c (fesetround): Rename to __fesetround and
2447 define as weak alias of __fesetround. Use libm_hidden_weak.
2448 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2449 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2450 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2451 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2452 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2453 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2454 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2455 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2456 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2457 __fesetround_inline.
2458 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2459 __fesetround_inline instead of __fesetround.
2460 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2461 __fesetround and define as weak alias of __fesetround. Use
2462 libm_hidden_weak. Call __fesetround_inline instead of
2463 __fesetround.
2464 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2465 __fesetround and define as weak alias of __fesetround. Use
2466 libm_hidden_weak.
2467 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2468 Likewise.
2469 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2470 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2471 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2472 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2473 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2474 __fesetround and define as weak alias of __fesetround. Use
2475 libm_hidden_weak.
2476 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2477 __fesetround instead of fesetround.
2478 (default_libc_feholdexcept_setround): Likewise.
2479 (libc_feholdsetround_ctx): Likewise.
2480 (libc_feholdsetround_noex_ctx): Likewise.
2481
cd42798a
JM
2482 [BZ #17748]
2483 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2484 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2485 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2486 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2487 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2488 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2489 define as weak alias of __fesetenv. Use libm_hidden_weak.
2490 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2491 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2492 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2493 define as weak alias of __fesetenv. Use libm_hidden_weak.
2494 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2495 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2496 define as weak alias of __fesetenv. Use libm_hidden_weak.
2497 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2498 libm_hidden_def.
2499 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2500 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2501 Likewise.
2502 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2503 define as weak alias of __fesetenv. Use libm_hidden_weak.
2504 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2505 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2506 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2507 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2508 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2509 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2510 __fesetenv instead of fesetenv.
2511 (libc_feresetround_noex_ctx): Likewise.
2512 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2513 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2514 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2515 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2516 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2517 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2518 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2519 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2520 (__feupdateenv): Likewise.
2521 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2522 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2523 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2524 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2525
38949026
AJ
25262015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2527
1cf98e27 2528 [BZ #17806]
38949026
AJ
2529 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2530 addresses have been freed.
2531
5fe55e9c
AJ
25322015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2533
2534 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2535 and nservall.
2536
dc8ab018
OB
25372015-01-06 Ondřej Bílka <neleai@seznam.cz>
2538
2539 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2540 Clean up check_pf allocation pattern. addresses
2541
14bb4e57
AZ
25422015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2543
2544 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2545 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2546 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2547 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2548 * nptl/pthread_join.c (pthread_join): Likewise.
2549 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2550 * sysdeps/posix/waitid.c (__waitid): Likewise.
2551 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2552 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2553 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2554 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2555 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2556 Likewise.
2557 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2558 (__libc_pread64): Likewise.
2559 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2560 (__libc_pwrite): Likewise.
2561 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2562 (__libc_pwrite64): Likewsie.
2563 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2564 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2565 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2566 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2567 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2568 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2569 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2571 Likewise.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2573 (__libc_pread64): Likewise.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2575 Likewise.
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2577 (__libc_pwrite64): Likewise.
2578 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2579 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2580 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2581 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2582 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2583 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2584 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2585 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2586 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2587 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2588 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2589 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2590 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2591 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2592 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2593 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2594 Likewise.
2595
10a5e112
AS
25962015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2597
2598 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2599 (CFLAGS-test-double.c): Likewise.
2600 (CFLAGS-test-ldouble.c): Likewise.
2601 (CPPFLAGS-test-ifloat.c): Likewise.
2602 (CPPFLAGS-test-idouble.c): Likewise.
2603 (CPPFLAGS-test-ildoubl.c): Likewise.
2604 (CFLAGS-test-test-fenv.c): Remove variable.
2605 (CFLAGS-test-misc.c): Likewise.
2606
57ada0e7
L
26072015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2608
2609 [BZ #17797]
2610 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2611 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2612 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2613 CLOCKS_PER_SEC == 1000000.
2614 * time/clocktest.c (main): Replace %ld with %jd and cast to
2615 intmax_t.
2616
46abb64d
RM
26172015-01-05 Roland McGrath <roland@hack.frob.com>
2618
2619 * sysdeps/generic/unwind-resume.h: New file.
2620 * sysdeps/gnu/unwind-resume.c: Include it.
2621 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2622 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2623 argument list.
2624 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2625 global rather than static.
2626 (_Unwind_Resume): Update user.
2627 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2628 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2629 rather than static. Add __attribute__ ((cold)).
2630 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2631 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2632 * sysdeps/arm/arm-unwind-resume.S: New file.
2633 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2634 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2635 * sysdeps/arm/Makefile [$(subdir) = csu]
2636 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2637 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2638 Add rt-arm-unwind-resume.
2639 [$(subdir) = nptl]
2640 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2641 Add pt-arm-unwind-resume.
2642 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2643 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2644
ef9faf13
JM
26452015-01-05 Joseph Myers <joseph@codesourcery.com>
2646
2647 [BZ #17748]
2648 * include/fenv.h (__feholdexcept): Declare. Use
2649 libm_hidden_proto.
2650 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2651 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2652 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2653 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2654 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2655 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2656 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2657 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2658 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2659 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2660 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2661 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2662 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2663 (feholdexcept): Likewise.
2664 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2665 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2666 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2667 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2668 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2669 __feholdexcept instead of feholdexcept.
2670 (default_libc_feholdexcept_setround): Likewise.
2671
295a453e
SE
26722015-01-05 Steve Ellcey <sellcey@imgtec.com>
2673
2674 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2675 to avoid using stl/str to align destination.
2676
882c4b9f
SE
26772015-01-05 Steve Ellcey <sellcey@imgtec.com>
2678
2679 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2680
ac4c11f5
JM
26812015-01-05 Joseph Myers <joseph@codesourcery.com>
2682
2683 [BZ #17796]
2684 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2685 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2686 Define as weak alias not strong alias.
2687
03403e30
SE
26882015-01-05 Steve Ellcey <sellcey@imgtec.com>
2689
2690 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2691 bltzal with addiupc.
2692 (RTLD_START): Ditto.
2693
1dca195e
CM
26942015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2695
00b8b9ba
SP
2696 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2697 for __vdso_* functions in declarations.
2698 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2699 definitions.
2700 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2701 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2702
1dca195e
CM
2703 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2704 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2705 function with cast from llround().
2706 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2707 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2708 Define.
2709
a287953a
JM
27102015-01-05 Joseph Myers <joseph@codesourcery.com>
2711
ab70da77
JM
2712 [BZ #17793]
2713 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2714 Define as weak alias not strong alias.
2715
b8986484
JM
2716 [BZ #17635]
2717 * ctype/ctype-c99.c: New file. isblank implementation moved from
2718 ...
2719 * ctype/ctype-extn.c: ... here.
2720 (__isblank_l): Move to ...
2721 * ctype/ctype-c99_l.c: ... here. New file.
2722 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2723 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2724 Remove variable.
2725 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2726 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2727 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2728 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2729 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2730
a287953a
JM
2731 [BZ #17777]
2732 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2733 (posix_fadvise64): Define as weak alias not strong alias.
2734 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2735 (posix_fallocate64): Likewise.
2736 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2737 Remove variable.
2738 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2739 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2740 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2741 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2742 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2743
b1efe3bb
MF
27442015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2745
2746 [BZ #16191]
2747 * NEWS: Mention bug fix.
2748 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2749 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2750 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2751 (HOST_STACK_END_ADDR): Likewise.
2752
9706dc5f
JM
27532015-01-02 Joseph Myers <joseph@codesourcery.com>
2754
b93c2205
JM
2755 [BZ #17748]
2756 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2757 * math/fegetround.c (fegetround): Rename to __fegetround and
2758 define as weak alias of __fegetround. Use libm_hidden_weak.
2759 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2760 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2761 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2762 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2763 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2764 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2765 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2766 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2767 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2768 Undefine after rather than before function definition; use
2769 parentheses around function name in definition.
2770 (__fegetround): Also undefine macro after function definition.
2771 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2772 __fegetround and define as weak alias of __fegetround. Use
2773 libm_hidden_weak. Do not undefine as macro.
2774 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2775 Likewise.
2776 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2777 __fegetround and define as weak alias of __fegetround. Use
2778 libm_hidden_weak.
2779 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2780 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2781 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2782 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2783 __fegetround and define as weak alias of __fegetround. Use
2784 libm_hidden_weak.
2785 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2786 __fegetround instead of fegetround.
2787
253a59cc
JM
2788 [BZ #17782]
2789 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2790 Condition macro definition on [__USE_MISC].
2791
27dae011
JM
2792 [BZ #17781]
2793 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2794 (struct sigaction): Change type of sa_flags field to int.
2795
172019c0
JM
2796 [BZ #17780]
2797 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2798 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2799 __glibc_reserved0.
2800
522ad1d6
JM
2801 * nptl/version.c (banner): Use single year in copyright notice.
2802
9706dc5f
JM
2803 * NEWS: Update copyright dates.
2804 * catgets/gencat.c (print_version): Likewise.
2805 * csu/version.c (banner): Likewise.
2806 * debug/catchsegv.sh: Likewise.
2807 * debug/pcprofiledump.c (print_version): Likewise.
2808 * debug/xtrace.sh (do_version): Likewise.
2809 * elf/ldconfig.c (print_version): Likewise.
2810 * elf/ldd.bash.in: Likewise.
2811 * elf/pldd.c (print_version): Likewise.
2812 * elf/sotruss.sh: Likewise.
2813 * elf/sprof.c (print_version): Likewise.
2814 * iconv/iconv_prog.c (print_version): Likewise.
2815 * iconv/iconvconfig.c (print_version): Likewise.
2816 * locale/programs/locale.c (print_version): Likewise.
2817 * locale/programs/localedef.c (print_version): Likewise.
2818 * login/programs/pt_chown.c (print_version): Likewise.
2819 * malloc/memusage.sh (do_version): Likewise.
2820 * malloc/memusagestat.c (print_version): Likewise.
2821 * malloc/mtrace.pl: Likewise.
2822 * manual/libc.texinfo: Likewise.
2823 * nptl/version.c (banner): Likewise.
2824 * nscd/nscd.c (print_version): Likewise.
2825 * nss/getent.c (print_version): Likewise.
2826 * nss/makedb.c (print_version): Likewise.
2827 * posix/getconf.c (main): Likewise.
2828 * scripts/test-installation.pl: Likewise.
2829 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2830
b8607aac
WN
28312015-01-02 Will Newton <will.newton@linaro.org>
2832
2833 * sysdeps/arm/armv7/configure: Removed.
2834 * sysdeps/arm/armv7/configure.ac: Likewise.
2835
b168057a
JM
28362015-01-02 Joseph Myers <joseph@codesourcery.com>
2837
2838 * All files with FSF copyright notices: Update copyright dates
2839 using scripts/update-copyrights.
2840 * intl/plural.c: Regenerated.
2841 * locale/programs/charmap-kw.h: Likewise.
2842 * locale/programs/locfile-kw.h: Likewise.
2843
b217c15f
SP
28442015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2845
2846 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2847
73a268c7
JM
28482014-12-31 Joseph Myers <joseph@codesourcery.com>
2849
2850 [BZ #17748]
2851 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2852 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2853 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2854 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2855 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2856 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2857 define as weak alias of __fegetenv. Use libm_hidden_weak.
2858 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2859 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2860 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2861 define as weak alias of __fegetenv. Use libm_hidden_weak.
2862 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2863 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2864 define as weak alias of __fegetenv. Use libm_hidden_weak.
2865 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2866 libm_hidden_def.
2867 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2868 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2869 Likewise.
2870 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2871 define as weak alias of __fegetenv. Use libm_hidden_weak.
2872 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2873 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2874 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2875 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2876 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2877 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2878 __fegetenv instead of fegetenv.
2879 (libc_feholdsetround_noex_ctx): Likewise.
2880
0bd95672
MF
28812014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2882
2883 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2884 (Elf_MIPS_ABIFlags_v0): New structure.
2885 (EF_MIPS_FP64): Define.
2886 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2887 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2888 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2889 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2890 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2891 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2892 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2893 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2894 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2895 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2896 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2897 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2898 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2899 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2900 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2901 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2902 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2903 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2904 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2905 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2906 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2907 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2908 field.
2909 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2910 EF_MIPS_FP64.
2911 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2912 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2913 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2914 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2915 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2916 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2917 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2918 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2919 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2920 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2921 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2922 record the current FP ABI extension.
2923 (mips-mode-switch): Define to show if kernel headers support mode
2924 switching.
2925 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2926 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2927 supported SYSV ABI version to 3.
2928 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2929 feature.
2930
f59ad976
RS
29312014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2932 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2933
2934 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2935 path.
2936 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2937
4a3d3999
JM
29382014-12-31 Joseph Myers <joseph@codesourcery.com>
2939
2940 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2941 __fegetround and redefine to call __fegetround. Remove condition
2942 on [!__NO_MATH_INLINES].
2943 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2944 function.
2945 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2946 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2947 Remove macro.
2948 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2949 instead of <fenv_libc.h>.
2950 (__llrintl): Call fegetround instead of __fegetround.
2951 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2952 instead of <fenv_libc.h>.
2953 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2954 (__lrintl): Call fegetround instead of __fegetround.
2955 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2956 instead of <fenv_libc.h>.
2957 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2958 (__rintl): Call fegetround instead of __fegetround.
2959
195f3afc
SP
29602014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2961
2962 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2963 arrays.
2964
7062bd42
L
29652014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2966
2967 [BZ #17775]
2968 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2969 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2970 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2971
07256e18
AS
29722014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2973
2974 * sysdeps/i386/tls-macros.h: Include <features.h>.
2975 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2976 (TLS_IE): Likewise.
2977 (TLS_LD): Likewise.
2978 (TLS_GD): Likewise.
2979 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2980 define for GCC >= 5.0.
2981
1ff950ad
CM
29822014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2983
2984 * math/test-fenv.c (test_single_exception, set_single_exc,
2985 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2986 feexcp_mask_test, feenable_test, fe_single_test): Add
2987 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2988 case where they are not used.
2989 * math/libm-test.inc: Likewise.
2990 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2991 unused in the absence of FP rounding/exception support.
2992 * stdio-common/tst-printf-round.c: Likewise.
2993 * stdlib/tst-strtod-round.c: Likewise.
2994 * stdlib/tst-strtod-underflow.c: Likewise.
2995
0747f818
JM
29962014-12-30 Joseph Myers <joseph@codesourcery.com>
2997
2998 [BZ #17723]
2999 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3000 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3001 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3002 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3003 libm_hidden_weak.
3004 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3005 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3006 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3007 libm_hidden_def.
3008 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3009 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3010 libm_hidden_weak.
3011 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3012 Likewise.
3013 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3014 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3015 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3016 libm_hidden_weak.
3017 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3018 libm_hidden_def.
3019 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3020 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3021 (__feraiseexcept): Likewise.
3022 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3023 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3024 libm_hidden_weak.
3025 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3026 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3027 libm_hidden_def.
3028 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3029 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3030 Use libm_hidden_def.
3031 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3032 libm_hidden_def.
3033 (feraiseexcept): Define as weak not strong alias. Use
3034 libm_hidden_weak.
3035 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3036 New inline function. Factored out of ...
3037 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3038 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3039 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3040 feraiseexcept.
3041 * math/w_acos.c (__acos): Likewise.
3042 * math/w_asin.c (__asin): Likewise.
3043 * math/w_ilogb.c (__ilogb): Likewise.
3044 * math/w_j0.c (y0): Likewise.
3045 * math/w_j1.c (y1): Likewise.
3046 * math/w_jn.c (yn): Likewise.
3047 * math/w_log.c (__log): Likewise.
3048 * math/w_log10.c (__log10): Likewise.
3049 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3050 * sysdeps/aarch64/fpu/math_private.h
3051 (libc_feupdateenv_test_aarch64): Likewise.
3052 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3053 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3054 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3055 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3056 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3057 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3058 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3059 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3060 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3061 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3062
8d2b2763
L
30632014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3064
3065 [BZ #17732]
3066 * io/test-utime.c (main): Replace %ld with %jd and cast to
3067 intmax_t.
41fad830 3068 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3069 * nptl/tst-mutex5.c: Include <stdint.h>.
3070 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3071 * posix/tst-regex.c (run_test): Likewise.
3072 (run_test_backwards): Likewise.
5d619de4
L
3073 * rt/tst-clock.c: Include <stdint.h>.
3074 (clock_test): Replace %ld with %jd and cast to intmax_t.
3075 * rt/tst-cpuclock1.c: Include <stdint.h>.
3076 (do_test): Replace %lu with %ju and cast to uintmax_t.
3077 * rt/tst-cpuclock2.c: Include <stdint.h>.
3078 (do_test): Replace %lu with %ju and cast to uintmax_t.
3079 * rt/tst-mqueue1.c: Include <stdint.h>.
3080 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3081 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3082 intmax_t.
3083 * rt/tst-mqueue4.c (do_test): Likewise.
3084 * rt/tst-timer4.c: Include <stdint.h>.
3085 (check_ts): Replace %ld with %jd and cast to intmax_t.
3086 (do_test): Likewise.
ad86fbc3
L
3087 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3088 and cast to intmax_t.
37f46900 3089 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3090 * time/clocktest.c (main): Likewise.
3091 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3092 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3093
8b4416d8
AS
30942014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3095 H.J. Lu <hongjiu.lu@intel.com>
3096
3097 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3098 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3099 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3100 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3101 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3102 version if bit_Fast_Unaligned_Load is set.
3103 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3104 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3106 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3107 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3108 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3110 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3111 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3112 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3113 to 4.
3114 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3115 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3116 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3117 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3118
e47b8d3b
CM
31192014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3120
6d6d7fde
CM
3121 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3122 instead of #if to avoid a Wundef warning.
3123 * stdlib/tst-limits.c (do_test): Likewise.
3124
cd2c37c9
CM
3125 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3126 parallel other exception macros.
3127 (fegetenv): Convert from macro to extern inline so that it applies
3128 retroactively to inline functions already seen by the compiler.
3129 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3130
e47b8d3b
CM
3131 * posix/Makefile (before-compile): Use $(objpfx) for
3132 posix-conf-vars-def.h.
3133
4a6aca7b
SP
31342014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3135
7910c2ae
SP
3136 * posix/getconf.c (main): Use size_t for type of I.
3137 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3138 NSPEC.
3139
50cbbaa9
SP
3140 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3141 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3142 * posix/posix-envs.def: Likewise.
3143 * sysdeps/posix/sysconf.c: Likewise.
3144 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3145 (specs): Remove array.
3146 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3147 array.
3148
3b566046
SP
3149 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3150 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3151 (__sysconf): Use CONF_IS_* macros.
3152
4a6aca7b
SP
3153 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3154 ($(objpfx)posix-conf-vars-def.h): New target.
3155 * posix/posix-conf-vars.list: New file.
3156 * posix/posix-conf-vars.h: New file.
3157 * posix/confstr.c: Include posix-conf-vars.h.
3158 (confstr): Use CONF_IS_* macros.
3159 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3160 CONF_IS_* macros.
3161 * scripts/gen-posix-conf-vars.awk: New file.
3162
7c1395a7
CM
31632014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3164
0025b4cc
CM
3165 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3166 fegetround): Add no-op macros to avoid linknamespace issues.
3167
d8aaf74b
CM
3168 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3169 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3170
5d24aa60
CM
3171 * sysdeps/unix/sysv/linux/tile/sysdep.h
3172 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3173 assembly-specific section to avoid a redefinition warning.
3174
7c1395a7
CM
3175 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3176 long before casting to pointer to avoid a cast warning.
3177
3c87c616
CM
31782014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3179
3180 * sysdeps/tile/tilegx/Implies: New file.
3181
f559d8cf
RE
31822014-12-23 Richard Earnshaw <rearnsha@arm.com>
3183
3184 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3185
7d81e8d6
FW
31862014-12-23 Florian Weimer <fweimer@redhat.com>
3187
3188 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3189
90aa3d09
JM
31902014-12-22 Joseph Myers <joseph@codesourcery.com>
3191
3192 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3193 not define.
3194 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3195 <kernel-features.h>.
3196 (__utimes) [__NR_utimes]: Make code unconditional.
3197 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3198 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3199 (__ASSUME_UTIMES): Do not undefine.
3200 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3201 (__ASSUME_UTIMES): Likewise.
3202 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3203 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3204 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3205 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3206
4c0c0e2a
SE
32072014-12-22 Steve Ellcey <sellcey@imgtec.com>
3208
3209 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3210
0dacd7a3
CM
32112014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3212
b638f96a
CM
3213 [BZ #17747]
3214 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3215 alias to weak alias for j0l, y0l.
3216 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3217 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3218
0dacd7a3
CM
3219 [BZ #17746]
3220 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3221 conversion.
3222
528479c4
SE
32232014-12-22 Steve Ellcey <sellcey@imgtec.com>
3224
3225 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3226 to zero if not already defined.
3227
f56f9124
JM
32282014-12-22 Joseph Myers <joseph@codesourcery.com>
3229
3230 [BZ #17724]
3231 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3232 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3233 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3234 (char *) casts added.
3235 * sysdeps/ieee754/k_standardf.c: New file.
3236 * sysdeps/ieee754/k_standardl.c: Likewise.
3237 * math/Makefile (libm-support): Remove k_standard.
3238 (libm-calls): Add k_standard.
3239
8622d556
WD
32402014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3241
3242 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3243 Optimize to avoid an unnecessary FPCR read.
3244
f3806bdb
WD
32452014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3246
3247 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3248 Optimize to reduce FPCR/FPSR accesses.
3249
9b47df58
WD
32502014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3251
3252 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3253 Call libc_fetestexcept_aarch64.
3254
97be3cac
WD
32552014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3256
3257 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3258 Call libc_fesetround_aarch64.
3259
935ab817
JM
32602014-12-22 Joseph Myers <joseph@codesourcery.com>
3261
3262 [BZ #17733]
3263 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3264 (__bind): Do not define as weak alias.
3265 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3266 define.
3267 (__getsockname): Do not define as weak alias.
3268
cc8623f1
WN
32692014-12-22 Will Newton <will.newton@linaro.org>
3270
3271 * manual/install.texi: Document that we require bison 2.7
3272 or above.
3273 * INSTALL: Regenerate.
3274 * configure.ac: Use AC_CHECK_PROG_VER instead of
3275 AC_PATH_PROG when checking for bison and check for
3276 version 2.7 or above.
3277 * configure: Regenerate.
3278
a19ca65a
CM
32792014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3280
92901170 3281 [BZ #17745]
e969965a
CM
3282 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3283 * sysdeps/tile/ffsll.c (ffsll): To here.
3284
a19ca65a
CM
3285 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3286
050f7298
L
32872014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3288
3289 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3290 if not defined.
3291 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3292 definition.
3293 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3294 hidden ___tls_get_addr.
3295 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3296 hidden __tls_get_addr.
3297 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3298 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3299 Likewise.
3300
6df5547e
AS
33012014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3302
3303 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3304 _dl_init call.
3305
7432d613
L
33062014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3307
3308 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3309 from "call _dl_init@PLT".
3310 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3311
98fe149e
AK
33122014-12-21 Anders Kaseorg <andersk@mit.edu>
3313
3314 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3315 guarantees.
3316
d12455f5
CM
33172014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3318
3319 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3320
95dee05f
CM
33212014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3322
92901170 3323 [BZ #17744]
95dee05f
CM
3324 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3325 strnlen.
3326
2ef4b74a
SE
33272014-12-19 Steve Ellcey <sellcey@imgtec.com>
3328
3329 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3330 of multu on MIPSr6.
3331 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3332 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3333 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3334 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3335 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3336
33372014-12-19 Steve Ellcey <sellcey@imgtec.com>
3338
3339 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3340 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3341 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3342 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3343 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3344 mips32r6/mips64r6.
3345 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3346
3eb38795
OB
33472014-12-19 Ondřej Bílka <neleai@seznam.cz>
3348
3349 * string/strncat.c (STRNCAT): Simplify implementation.
3350
6d4188dd
DM
33512014-12-19 David S. Miller <davem@davemloft.net>
3352
0d4ba8be
DM
3353 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3354 access the quad as both a long double and as a series of 4 words.
3355
6d4188dd
DM
3356 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3357 link_map->l_info array access.
3358
4ef91cdc
CM
33592014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3360
804c54f7
CM
3361 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3362
4ef91cdc
CM
3363 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3364 * math/atest-exp2.c (TIMEOUT): Likewise.
3365 * math/atest-sincos.c (TIMEOUT): Likewise.
3366
afd176d6
L
33672014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3368
3369 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3370 -Wno-error with -fno-builtin-lround.
3371
a4a43a90
TR
33722014-12-19 Torvald Riegel <triegel@redhat.com>
3373
3374 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3375 Contains futex constants and functions moved over from ...
3376 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3377 <lowlevellock-futex.h>.
3378 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3379 (lll_timedwait_tid): Add comments and parentheses around macro
3380 arguments.
3381
76f71081
TR
33822014-12-19 Torvald Riegel <triegel@redhat.com>
3383
3384 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3385 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3386 (__lll_private_flag): Remove.
3387 (lll_futex_wait): Likewise.
3388 (lll_futex_timed_wait): Likewise.
3389 (lll_futex_wake): Likewise.
3390 (lll_futex_requeue): Likewise.
3391 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3392 (__lll_timedwait_tid): Spell out argument names.
3393 (lll_timedwait_tid): Add comments and parentheses around macro
3394 arguments.
3395 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3396 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3397
6b814909
TR
33982014-12-19 Torvald Riegel <triegel@redhat.com>
3399
3400 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3401 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3402 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3403 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3404 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3405 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3406 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3407 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3408 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3409 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3410 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3411 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3412 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3413 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3414 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3415 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3416 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3417 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3418 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3419
9cd4d4ab
L
34202014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 * sysdeps/x86_64/x32/Makefile: New file.
3423
c9c1a2d0
L
34242014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3425
3426 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3427 1L with (mp_limb_t) 1.
3428
af102d95
RM
34292014-12-17 Roland McGrath <roland@hack.frob.com>
3430
dd690454
RM
3431 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3432 * nptl/libc_pthread_init.c: ... here.
3433 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3434 * nptl/register-atfork.c: ... here.
3435
74eb826c
RM
3436 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3437 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3438 Use assert_perror to check its return value.
3439 (__gai_create_helper_thread): Likewise.
3440
c9ce306b
RM
3441 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3442
af102d95
RM
3443 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3444
8ac5a76a
JM
34452014-12-17 Joseph Myers <joseph@codesourcery.com>
3446
ea41469b
JM
3447 [BZ #17725]
3448 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3449 __profil_counter.
3450 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3451 Likewise.
3452 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3453 Likewise.
3454 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3455 Likewise.
3456 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3457 (profil_counter): Likewise.
3458 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3459 (profil_counter): Likewise.
3460 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3461 Likewise.
3462 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3463 Likewise.
3464 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3465 (profil_counter): Likewise.
3466 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3467 Likewise.
3468 [!__profil_counter] (profil_counter): Define as weak alias of
3469 __profil_counter.
3470 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3471 (profil_counter): Rename to __profil_counter.
3472 [!__profil_counter] (profil_counter): Define as weak alias of
3473 __profil_counter.
3474 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3475 (profil_counter): Rename to __profil_counter.
3476 [!__profil_counter] (profil_counter): Define as weak alias of
3477 __profil_counter.
3478 * sysdeps/posix/profil.c: Update comment referring to
3479 profil_counter.
3480 (__profil): Use __profil_counter instead of profil_counter.
3481 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3482 __profil_counter. Use __profil_counter_ushort and
3483 __profil_counter_uint in definitions.
3484 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3485 instead of profil_counter_uint and profil_counter_ushort.
3486
8ac5a76a
JM
3487 [BZ #17722]
3488 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3489 define as weak alias of __inet_makeaddr.
3490 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3491 as weak alias of __inet_addr.
3492 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3493 as weak alias of __inet_pton. Use libc_hidden_weak.
3494 * include/arpa/inet.h (__inet_pton): Declare. Use
3495 libc_hidden_proto.
3496 (inet_makeaddr): Don't use libc_hidden_proto.
3497 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3498 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3499 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3500 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3501 Remove variable.
3502 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3503 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3504
66ce3cb1
SE
35052014-12-17 Steve Ellcey <sellcey@imgtec.com>
3506
3507 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3508
d22ce01b
SL
35092014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3510
3511 * stdio-common/bug-vfprintf-nargs.c (do_test):
3512 Cast value to intptr_t to avoid format warning
3513 for usage with PRIdPTR printing macro.
3514
eca2772b
SL
35152014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3516
3517 * libio/tst-widetext.c (do_test):
3518 Use format type %td instead of %Zd for ptrdiff_t
3519 in order to avoid format warning.
3520
bdf079da
AS
35212014-12-17 Andreas Schwab <schwab@suse.de>
3522
3523 * nscd/mem.c (gc): Add size_t cast to match printf format.
3524
3eb5d2fc
RM
35252014-12-16 Roland McGrath <roland@hack.frob.com>
3526
3527 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3528 (init): Apply PTR_MANGLE to pointers before storing them.
3529 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3530 before using them.
3531
d003ada2
JM
35322014-12-16 Joseph Myers <joseph@codesourcery.com>
3533
380292ba
JM
3534 [BZ #17719]
3535 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3536 define as weak alias of __memrchr.
3537 (__memrchr): Do not define as strong alias of memrchr.
3538 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3539 Remove variable.
3540 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3541 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3542 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3543
9a44d530
JM
3544 [BZ #17717]
3545 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3546 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3547 (if_indextoname): Rename to __if_indextoname and define as weak
3548 alias of __if_indextoname. Use libc_hidden_weak.
3549 (if_freenameindex): Rename to __if_freenameindex and define as
3550 weak alias of __if_freenameindex.
3551 (if_nameindex): Rename to __if_nameindex and define as weak alias
3552 of __if_nameindex.
3553 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3554 __if_nametoindex and define as weak alias of __if_nametoindex.
3555 Use libc_hidden_weak.
3556 (if_freenameindex): Rename to __if_freenameindex and define as
3557 weak alias of __if_freenameindex.
3558 (if_nameindex): Rename to __if_nameindex and define as weak alias
3559 of __if_nameindex.
3560 (if_indextoname): Rename to __if_indextoname and define as weak
3561 alias of __if_indextoname. Use libc_hidden_weak.
3562 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3563 __if_nametoindex and define as weak alias of __if_nametoindex.
3564 Use libc_hidden_weak.
3565 (if_freenameindex): Rename to __if_freenameindex and define as
3566 weak alias of __if_freenameindex. Use libc_hidden_weak.
3567 (if_nameindex_netlink): Use __if_freenameindex instead of
3568 if_freenameindex.
3569 (if_nameindex): Rename to __if_nameindex and define as weak alias
3570 of __if_nameindex. Use libc_hidden_weak.
3571 (if_indextoname): Rename to __if_indextoname and define as weak
3572 alias of __if_indextoname. Use libc_hidden_weak.
3573 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3574 libc_hidden_proto.
3575 [!_ISOMAC] (__if_freenameindex): Likewise.
3576 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3577 if_nametoindex.
3578 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3579 variable.
3580 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3581 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3582 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3583 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3584 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3585 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3586 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3587
d003ada2
JM
3588 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3589 Remove variable.
3590 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3591 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3592
a0d424ef
SP
35932014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3594
0cd85520
SP
3595 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3596 subscript above bounds'
3597
a0d424ef
SP
3598 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3599 bounds.
3600
0e426475
AS
36012014-12-16 Arjun Shankar <arjun.is@lostca.se>
3602
8b460906
AS
3603 * libio/tst-fopenloc.c: Use test-skeleton.c.
3604
fa13e15b
AS
3605 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3606 (entry): Rename to ITEM.
3607 (do_test, comp): Adjust.
3608
0e426475
AS
3609 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3610
4f646bce
TR
36112014-12-16 Torvald Riegel <triegel@redhat.com>
3612
3613 * string/tester.c: Include <libc-internal.h>.
3614 (test_memset): Ignore -Wmemset-transposed-args.
3615
a07c4427
TR
36162014-12-16 Torvald Riegel <triegel@redhat.com>
3617
3618 * misc/tst-mntent2.c (do_test): Fix warning.
3619
1469f466
TR
36202014-12-16 Torvald Riegel <triegel@redhat.com>
3621
3622 * elf/tst-unique4lib.cc(a): Mark as used.
3623
11e3417a
FW
36242014-12-16 Florian Weimer <fweimer@redhat.com>
3625
3626 [BZ #17630]
3627 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3628 names.
3629
ae61fc7b
AM
36302014-12-16 Allan McRae <allan@archlinux.org>
3631
3632 * stdio-common/Makefile (tests): Re-add bug26.
3633
363a9899
OB
36342014-12-15 Ondřej Bílka <neleai@seznam.cz>
3635
3636 [BZ #17657]
3637 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3638 static array.
3639
d52c62df
TR
36402014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3641
3642 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3643 (__lll_lock_wait): Likewise.
3644 (__lll_timedlock_wait): Likewise.
3645 (__lll_timedwait_tid): Likewise.
3646 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3647 (__lll_robust_timedlock_wait): Likewise.
3648 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3649 (lll_cond_trylock): Likewise.
3650 (__lll_lock): Likewise.
3651 (__lll_robust_lock): Likewise.
3652 (__lll_cond_lock): Likewise.
3653 (lll_robust_cond_lock): Likewise.
3654 (__lll_timedlock): Likewise.
3655 (__lll_robust_timedlock): Likewise.
3656 (__lll_unlock): Likewise.
3657 (__lll_robust_unlock): Likewise.
3658 (lll_wait_tid): Likewise.
3659 (lll_timedwait_tid): Likewise.
3660
045a6bcd
TR
36612014-12-15 Torvald Riegel <triegel@redhat.com>
3662
3663 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3664
7f786dc1
TR
36652014-12-15 Torvald Riegel <triegel@redhat.com>
3666
3667 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3668
e7e21cba
AZ
36692014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3670
3671 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3672 * stdio-common/tst-sprintf.c: Likewise.
3673
bc89c0fc
TR
36742014-12-15 Torvald Riegel <triegel@redhat.com>
3675
3676 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3677
a5357b7c
JL
36782014-12-15 Jeff Law <law@redhat.com>
3679
3680 [BZ #16617]
3681 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3682 on the heap. (CVE-2012-3406)
3683 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3684 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3685 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3686
3a12c70f
WN
36872014-12-15 Will Newton <will.newton@linaro.org>
3688
3689 * manual/install.texi: Bump required version of texinfo
3690 to 4.7 from 4.5.
3691 * INSTALL: Regenerated.
3692 * configure.ac: Check for makeinfo version 4.7 and above.
3693 * configure: Regenerated.
3694
e4f639e4
RM
36952014-12-12 Roland McGrath <roland@hack.frob.com>
3696
3697 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3698 PREFIX, string constant to insert between directory and name.
3699 * sysdeps/posix/shm_open.c: Update caller.
3700 * sysdeps/posix/shm_unlink.c: Likewise.
3701 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3702 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3703 (SEM_SHM_PREFIX): New macro.
3704 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3705 [$(have-thread-library) = no].
3706 * nptl/Makefile (libpthread-routines): Add shm-directory.
3707 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3708 * sysdeps/nptl/shm-directory.h: New file.
3709 * sysdeps/posix/shm-directory.c
3710 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3711 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3712 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3713 INTERNAL_SYSCALL.
3714 (__where_is_shmfs): Function removed.
3715 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3716 Variables removed.
3717 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3718 Use SHM_GET_NAME.
3719 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3720
3721 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3722 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3723 unconditional for use inside libpthread.
3724 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3725
439c43f6
RM
37262014-12-12 Roland McGrath <roland@hack.frob.com>
3727
c76d1ff5
RM
3728 * nptl/pthread_getaffinity.c: New file.
3729 * nptl/pthread_setaffinity.c: New file.
3730 * nptl/pthread_getname.c: New file.
3731 * nptl/pthread_setname.c: New file.
3732
439c43f6
RM
3733 * nptl/pthread_create.c (START_THREAD_DEFN)
3734 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3735
48e435cd
SL
37362014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3737 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3738
3739 * resolv/res_send.c (send_vc): Disable warning resplen may
3740 be used uninitialized.
3741
9d9c0019
SL
37422014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3743
3744 * nptl/tst-mutex6.c
3745 (ATTR_NULL): New define checks ATTR against NULL.
3746 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3747 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3748
9173840b
JL
37492014-12-11 James Lemke <jwlemke@codesourcery.com>
3750
3751 [BZ #17581]
3752 * malloc/hooks.c
3753 (mem2mem_check): Revert my previous change.
3754 (malloc_check_get_size): Revert my previous change.
3755 (mem2chunk_check): Revert my previous change.
3756
78e21c5d
RM
37572014-12-11 Roland McGrath <roland@hack.frob.com>
3758
3759 * sysdeps/posix/shm-directory.c: New file.
3760 * sysdeps/posix/shm-directory.h: New file.
3761 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3762 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3763 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3764 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3765 Transmute EPERM to EACCES.
3766 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3767 from ...
3768 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3769 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3770
f82c43af
KK
37712014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3772
3773 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3774 pointer and cast to uintptr_t.
3775 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3776 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3777 Add cast to avoid warning.
3778 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3779
fc00cf7b
JM
37802014-12-11 Joseph Myers <joseph@codesourcery.com>
3781
3782 * nptl/semaphore.h: Move to ...
3783 * sysdeps/pthread/semaphore.h: ... here.
3784 * Makefile (installed-headers): Change nptl/semaphore.h to
3785 sysdeps/pthread/semaphore.h.
3786
1c4053db
RM
37872014-12-11 Roland McGrath <roland@hack.frob.com>
3788
73b0c1a1
RM
3789 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3790 generated error format strings.
3791
1c4053db
RM
3792 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3793 -Wformat-extra-args warnings for scanf formats.
3794 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3795 test of zero-length format (duh).
3796 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3797 corner-case scanf format test.
3798 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3799 generated fprintf format string.
3800 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3801 corner-case sprintf format tests.
3802 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3803 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3804 -Wformat-extra-args warnings throughout.
3805 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3806 (CFLAGS-scanf4.c): Likewise.
3807 (CFLAGS-scanf7.c): Likewise.
3808 (CFLAGS-tst-sprintf.c): Likewise.
3809 (CFLAGS-tst-printf.c): Likewise.
3810 (CFLAGS-tst-printfsz.c): Likewise.
3811
47d51f4f
JM
38122014-12-11 Joseph Myers <joseph@codesourcery.com>
3813
a1edbf3c
JM
3814 * include/cpio.h: New file.
3815 * include/fmtmsg.h: Likewise.
3816
47d51f4f
JM
3817 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3818 corresponding format argument to size_t.
3819 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3820 arguments.
3821 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3822 corresponding format argument to size_t.
3823 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3824 arguments.
3825 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3826 corresponding format argument to size_t.
3827 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3828 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3829 (CFLAGS-tst-mbswcs2.c): Likewise.
3830 (CFLAGS-tst-mbswcs3.c): Likewise.
3831 (CFLAGS-tst-mbswcs4.c): Likewise.
3832 (CFLAGS-tst-mbswcs5.c): Likewise.
3833 (CFLAGS-tst-trans.c): Likewise
3834
e9813cfb
RM
38352014-12-11 Roland McGrath <roland@hack.frob.com>
3836
3837 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3838 rather than assuming they won't contain any '%'s.
3839
f627ca82
CM
38402014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3841
3842 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3843 inhibit_loop_to_libcall to avoid recursive calls.
3844 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3845 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3846
7f296942
AZ
38472014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3848
3849 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3850 prototype.
3851
d0276e18
SE
38522014-12-11 Steve Ellcey <sellcey@imgtec.com>
3853
3854 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3855 integer value instead of boolean.
3856
fc56e970
SE
38572014-12-11 Steve Ellcey <sellcey@imgtec.com>
3858
3859 * malloc/malloc.c: Fix powerof2 check.
3860
40e53917
SL
38612014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3862
3863 * locale/programs/locfile.h (maybe_swap_uint32):
3864 Remove inline and add unused attribute.
3865
1ea166df
SL
38662014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3867
9d9c0019 3868 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3869 Truncating assembler expression to a .long expression.
3870
acf869f4
AS
38712014-12-11 Andreas Schwab <schwab@suse.de>
3872
3873 * elf/rtld.c (struct map_args): Constify str member.
3874 (do_preload): Constify fname argument.
3875
9d969099
AZ
38762014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3877
3878 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3879 constants definition.
3880
da5bcaa4
AS
38812014-12-11 Andreas Schwab <schwab@suse.de>
3882
b0a3c164
AS
3883 [BZ #16657]
3884 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3885 FORCE_ELISION instead of DO_ELISION.
3886 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3887 Remove.
3888 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3889 Likewise.
3890
da5bcaa4
AS
3891 * iconvdata/gconv-modules: Remove duplicate entry.
3892
6d248857
WN
38932014-12-11 Will Newton <will.newton@linaro.org>
3894
3895 Merge gettext 0.19.3 into intl/.
3896
3897 This involves a number of cosmetic changes to comments
3898 and ANSI function definitions and prototypes throughout
3899 all the files. The gettext copyright header is used but
3900 with the date ranges taken from the glibc copy.
3901
3902 * NEWS: Add gettext merge to 2.21.
3903 * intl/bindtextdom.c: Switch to gettext copyright.
3904 Use ANSI definitions and prototypes.
3905 Use gl_* locking primitives rather than __libc_* ones.
3906 Use __builtin_expect rather than __glibc_likely/unlikely.
3907 * intl/dcgettext.c: Switch to gettext copyright.
3908 Use ANSI definitions and prototypes.
3909 * intl/dcigettext.c: Switch to gettext copyright.
3910 Use ANSI definitions and prototypes.
3911 (INTDIV0_RAISES_SIGFPE): New define.
3912 Use gl_* locking primitives rather than __libc_* ones.
3913 Include eval-plural.h instead of plural-eval.c.
3914 Use __builtin_expect rather than __glibc_likely/unlikely.
3915 * intl/dcngettext.c: Switch to gettext copyright.
3916 Use ANSI definitions and prototypes.
3917 * intl/dgettext.c: Likewise.
3918 * intl/dngettext.c: Likewise.
3919 * intl/plural-eval.c: Renamed to...
3920 * intl/eval-plural.h: ...this.
3921 * intl/explodename.c: Switch to gettext copyright.
3922 Use ANSI definitions and prototypes.
3923 (_nl_explode_name): Use strchr instead of __rawmemchr.
3924 * intl/finddomain.c: Switch to gettext copyright.
3925 Use ANSI definitions and prototypes.
3926 Use gl_* locking primitives rather than __libc_* ones.
3927 (_nl_find_domain): Use malloc rather than alloca for
3928 allocation of temporary locale name.
3929 * intl/gettext.c: Switch to gettext copyright.
3930 Use ANSI definitions and prototypes.
3931 * intl/gettextP.h: Switch to gettext copyright.
3932 Use ANSI definitions and prototypes.
3933 Use gl_* locking primitives rather than __libc_* ones.
3934 * intl/gmo.h: Switch to gettext copyright.
3935 (struct sysdep_string): Move struct segment_pair outside of
3936 struct definition.
3937 * intl/hash-string.c: Use ANSI definitions and prototypes.
3938 * intl/hash-string.h: Switch to gettext copyright.
3939 Use ANSI definitions and prototypes.
3940 * intl/l10nflist.c: Switch to gettext copyright.
3941 Use ANSI definitions and prototypes.
3942 (_nl_normalize_codeset): Avoid integer overflow.
3943 * intl/loadinfo.h: Switch to gettext copyright.
3944 Use ANSI definitions and prototypes.
3945 (LIBINTL_DLL_EXPORTED): New define.
3946 (PATH_SEPARATOR): New define.
3947 * intl/loadmsgcat.c: Switch to gettext copyright.
3948 * intl/localealias.c: Switch to gettext copyright.
3949 Use ANSI definitions and prototypes.
3950 (_nl_expand_alias): Use PATH_SEPARATOR.
3951 * intl/ngettext.c: Switch to gettext copyright.
3952 Use ANSI definitions and prototypes.
3953 * intl/plural-exp.c: Likewise.
3954 * intl/plural-exp.h: Switch to gettext copyright.
3955 Use ANSI definitions and prototypes.
3956 (struct expression): Move definition of enum operator outside
3957 of struct definition.
3958 * intl/plural.c: Regenerate.
3959 * intl/plural.y: Switch to gettext copyright.
3960 Use ANSI definitions and prototypes.
3961 Port to bison 3.0.
3962 * intl/textdomain.c: Switch to gettext copyright.
3963 Use ANSI definitions and prototypes.
3964 Use gl_* locking primitives rather than __libc_* ones.
3965
48c43298
SE
39662014-12-10 Steve Ellcey <sellcey@imgtec.com>
3967
3968 * debug/warning-nop.c: Add used atrribute.
3969
2b89bce9
JM
39702014-12-10 Joseph Myers <joseph@codesourcery.com>
3971
c153ac9f
JM
3972 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3973
2b89bce9
JM
3974 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3975 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3976 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3977
2cfbdb9a
JM
39782014-12-10 Joseph Myers <joseph@codesourcery.com>
3979 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3980
3981 [BZ #17634]
3982 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3983 Undefine after defining function. Define as weak alias of
3984 __wcschr. Use libc_hidden_weak.
3985 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3986 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3987 (libc_hidden_def): Also define __GI___wcschr alias.
3988 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3989 __wcschr and define as weak alias of __wcschr.
3990 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3991 __wcschr.
3992 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3993 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3994 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3995 libc_hidden_weak. Do not use libc_hidden_def.
3996 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3997 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3998 __GI___wcschr alias.
3999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4000 [IS_IN (libc)] (wcschr): Define as macro expanding to
4001 __redirect_wcschr.
4002 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4003 [IS_IN (libc)] (__wcschr_power6): Likewise.
4004 [IS_IN (libc)] (__wcschr_power7): Likewise.
4005 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4006 instead of wcschr.
4007 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4008 __libc_wcschr.
4009 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4010 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4011 __wcschr and define as weak alias of __wcschr. Use
4012 libc_hidden_builtin_def.
4013 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4014 as weak alias of __wcschr. Use libc_hidden_weak.
4015 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4016 wcschr.
4017 * time/era.c (_nl_init_era_entries): Likewise.
4018 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4019 variable.
4020 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4021 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4022
1b8bf351
JM
40232014-12-10 Joseph Myers <joseph@codesourcery.com>
4024
4025 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4026 format for long int variable.
4027
f5f46d51
AK
40282014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4029
4030 [BZ #10672]
07008f7d 4031 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4032 qsort stable.
4033
217a74a8
AS
40342014-12-10 Andreas Schwab <schwab@suse.de>
4035
4036 [BZ #12847]
4037 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4038 user-controlled locks.
4039
aa76a5c7
RE
40402014-12-10 Richard Earnshaw <rearnsha@arm.com>
4041
4042 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4043 register.
4044
2084e7ca
JM
40452014-12-10 Joseph Myers <joseph@codesourcery.com>
4046
a4ecc9eb
JM
4047 * configure.ac (--disable-werror): New configure option.
4048 (enable_werror): New AC_SUBST.
4049 * configure: Regenerated.
4050 * config.make.in (enable-werror): New variable.
4051 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4052 -Wno-error=undef.
4053 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4054 * manual/install.texi (Configuring and compiling): Document
4055 --disable-werror.
4056 * INSTALL: Regenerated.
4057 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4058 (CFLAGS-tst-chk2.c): Likewise.
4059 (CFLAGS-tst-chk3.c): Likewise.
4060 (CFLAGS-tst-chk4.cc): Likewise.
4061 (CFLAGS-tst-chk5.cc): Likewise.
4062 (CFLAGS-tst-chk6.cc): Likewise.
4063 (CFLAGS-tst-lfschk1.c): Likewise.
4064 (CFLAGS-tst-lfschk2.c): Likewise.
4065 (CFLAGS-tst-lfschk3.c): Likewise.
4066 (CFLAGS-tst-lfschk4.cc): Likewise.
4067 (CFLAGS-tst-lfschk5.cc): Likewise.
4068 (CFLAGS-tst-lfschk6.cc): Likewise.
4069
0f88636c
JM
4070 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4071 (main): Disable -Wdeprecated-declarations around calls to
4072 register_printf_function.
4073
c81e9deb
JM
4074 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4075 (do_test): Disable -Wdiv-by-zero around some calls to
4076 fwrite_unlocked and fread_unlocked.
4077
2084e7ca
JM
4078 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4079 (DIAG_POP_NEEDS_COMMENT): Likewise.
4080 (_DIAG_STR1): Likewise.
4081 (_DIAG_STR): Likewise.
4082 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4083 * stdio-common/bug21.c: Include <libc-internal.h>.
4084 (do_test): Disable -Wformat around call to sscanf.
4085 * stdio-common/scanf14.c: Include <libc-internal.h>.
4086 (main): Disable -Wformat around some calls to scanf functions.
4087
df7ecc6b
TR
40882014-12-09 Torvald Riegel <triegel@redhat.com>
4089
4090 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4091
2aa3862e
AZ
40922014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4093
4094 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4095 stack variable alignment.
4096
c5c2b7c3
JM
40972014-12-06 Joseph Myers <joseph@codesourcery.com>
4098
4099 [BZ #17682]
4100 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4101 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4102 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4103 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4104 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4105 __getrlimit instead of getrlimit.
4106 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4107 __gettimeofday instead of gettimeofday.
4108 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4109 Likewise.
4110 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4111 Likewise.
4112 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4113 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4114 Remove variable.
4115 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4116 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4117
9752c3cd
AZ
41182014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4119
4120 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4121 for wide-character tests.
4122
4bee4cd9
RM
41232014-12-04 Roland McGrath <roland@hack.frob.com>
4124
4125 * io/openat64.c: #include <libc-internal.h>
4126 (__openat64): Prototypify. Use ignore_value on MODE.
4127 * io/openat.c: Likewise.
4128 * misc/reboot.c: #include <libc-internal.h>
4129 (reboot): Prototypify. Use ignore_value on HOWTO.
4130 * misc/ptrace.c: #include <libc-internal.h>
4131 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4132
84dbedb6
JM
41332014-12-04 Joseph Myers <joseph@codesourcery.com>
4134
4135 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4136 XPG4, UNIX98 and XOPEN2K.
4137 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4138 Remove variable.
4139 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4140
b7a3e1c4 41412014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4142
af50dfc1 4143 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4144 * libio/iofopen.c: Likewise.
4145 * libio/wfileops.c: Likewise.
4146
fe8b4d98
SP
4147 [BZ #17653]
4148 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4149 offset on EOF.
4150 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4151 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4152 (fgets_func): Function pointer to fgets and fgetws.
4153 (do_ftell_test): Add test to verify ftell value after read
4154 EOF.
4155 (do_test): Set fgets_func.
4156
61b4f792
SP
4157 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4158 O_TRUNC flag for w and w+ modes.
4159 (do_rewind_test): Likewise.
4160 (do_ftell_test): Likewise.
4161 (do_write_test): Likewise.
4162
be349d70
SP
4163 [BZ #17647]
4164 * libio/fileops.c (do_ftell): Seek only when there are
4165 unflushed writes.
4166 * libio/wfileops.c (do_ftell_wide): Likewise.
4167 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4168 test case.
4169 (do_one_test): Call it.
4170
e3d6dba5
JM
41712014-12-03 Joseph Myers <joseph@codesourcery.com>
4172
4173 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4174 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4175 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4176 Remove variable.
4177 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4178 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4179 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4180
7f994279
JM
41812014-12-02 Joseph Myers <joseph@codesourcery.com>
4182
28a91e8f
JM
4183 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4184 Remove variable.
4185 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4186
7f994279
JM
4187 [BZ #17668]
4188 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4189 as weak alias of __getifaddrs. Use libc_hidden_weak.
4190 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4191 __freeifaddrs. Use libc_hidden_weak.
4192 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4193 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4194 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4195 __freeifaddrs. Use libc_hidden_weak.
4196 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4197 __getifaddrs and define as weak alias of __getifaddrs. Use
4198 libc_hidden_weak.
4199 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4200 __freeifaddrs. Use libc_hidden_weak.
4201 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4202 Remove variable.
4203 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4204 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4205
bbe4c142
PJ
42062014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4207
4208 [BZ #17601]
4209 * sysdeps/mips/start.S (__start): Use indirect jump to call
4210 __libc_start_main.
4211
66cadc05
JM
42122014-12-02 Joseph Myers <joseph@codesourcery.com>
4213
909e16d9
JM
4214 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4215
4e0b9016
JM
4216 * nptl/tst-mutex1.c: Include <stdbool.h>.
4217 [!ATTR] (ATTR_NULL): New macro.
4218 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4219 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4220 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4221
b1aff6a4
JM
4222 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4223 to char *.
4224
266865c0
JM
4225 [BZ #17665]
4226 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4227 Change conditional to [__USE_MISC].
4228
84e5e756
JM
4229 [BZ #17664]
4230 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4231 fgets_unlocked.
4232 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4233 __fgets_unlocked.
4234 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4235 fgets_unlocked.
4236 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4237 Remove variable.
4238 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4239 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4240 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4241 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4242 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4243 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4244 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4245 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4246 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4247
66cadc05
JM
4248 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4249
2e8a2de2 42502014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4251
4252 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4253 Remove strpbrk objects.
4254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4255 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4256 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4257 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4258 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4259 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4260
bb2542e0
AZ
4261 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4262 Remove strcspn objects.
4263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4264 (__libc_ifunc_impl_list): Remove strcspn implementation.
4265 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4266 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4267 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4268 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4269
4270 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4271 Remove strspn objetcs.
4272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4273 (__libc_ifunc_impl_list): Remove strspn implementation.
4274 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4275 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4276 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4277 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4278
08f1e1d2
JL
42792014-12-01 James Lemke <jwlemke@codesourcery.com>
4280
4281 [BZ #17581]
4282 * malloc/hooks.c
4283 (mem2mem_check): Add a terminator to the chain of checking blocks.
4284 (malloc_check_get_size): Use it here.
4285 (mem2chunk_check): Ditto.
4286
a8a7d7d2
RS
42872014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4288
4289 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4290 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4291
97114a38
CD
42922014-11-29 Carlos O'Donell <carlos@redhat.com>
4293
c8dc1727
CD
4294 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4295
6d03458e
CD
4296 * nptl/nptl-init.c: Include libc-internal.h.
4297 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4298
97114a38
CD
4299 * elf/ldconfig.c (search_dir): Expand comment.
4300
0e7e69ba
JM
43012014-11-29 Joseph Myers <joseph@codesourcery.com>
4302
4303 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4304 variable.
4305 (linknamespace-symlist-stdlibs-tests): Likewise.
4306 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4307 instead of $(objpfx)symlist-stdlibs.
4308 (linknamespace-libs-isoc): New variable.
4309 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4310 (linknamespace-libs-ISO): New variable.
4311 (linknamespace-libs-ISO99): Likewise.
4312 (linknamespace-libs-ISO11): Likewise.
4313 (linknamespace-libs-XPG3): Likewise.
4314 (linknamespace-libs-XPG4): Likewise.
4315 (linknamespace-libs-POSIX): Likewise.
4316 (linknamespace-libs-UNIX98): Likewise.
4317 (linknamespace-libs-XOPEN2K): Likewise.
4318 (linknamespace-libs-POSIX2008): Likewise.
4319 (linknamespace-libs-XOPEN2K8): Likewise.
4320 ($(objpfx)symlist-stdlibs): Replace by
4321 $(linknamespace-symlist-stdlibs-tests). Use
4322 $(linknamespace-libs-$*) as set of libraries.
4323 ($(linknamespace-header-tests)): Update dependencies. Use
4324 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4325 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4326 * conform/linknamespace.pl: Remove comment about considering
4327 definitions of symbols from irrelevant libraries.
4328
d8dd0080
L
43292014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4330
4331 [BZ #13862]
4332 * elf/dl-tls.c: Include <atomic.h>.
4333 (oom): Remove #ifdef SHARED/#endif.
4334 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4335 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4336 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4337 big enough.
4338 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4339 * nptl/Makefile (tests): Add tst-stack4.
4340 (modules-names): Add tst-stack4mod.
4341 ($(objpfx)tst-stack4): New.
4342 (tst-stack4mod.sos): Likewise.
4343 ($(objpfx)tst-stack4.out): Likewise.
4344 ($(tst-stack4mod.sos)): Likewise.
4345 (clean): Likewise.
4346 * nptl/tst-stack4.c: New file.
4347 * nptl/tst-stack4mod.c: Likewise.
4348
167da422
B
43492014-11-27 J. Brown <jb999@gmx.de>
4350
4351 * sysdeps/x86/bits/string.h: Add recent CPUs.
4352
9114625b
JM
43532014-11-27 Joseph Myers <joseph@codesourcery.com>
4354
6b5189eb
JM
4355 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4356 sigblock.
4357
49051f8e
JM
4358 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4359 feof.
4360
9114625b
JM
4361 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4362 variable.
4363
e7300fef
SL
43642014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4365
4366 * nscd/connections.c: Include libc-internal.h because of macro
4367 usage ignore_value.
4368
1721f0a4
SP
43692014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4370
4371 * string/bits/string3.h (__warn_memset_zero_len): Don't
4372 declare for gcc newer than 5.0.
4373 (memset): Don't test for zero-length __LEN for gcc newer than
4374 5.0.
4375
be970916
JM
43762014-11-27 Joseph Myers <joseph@codesourcery.com>
4377
d88548f4
JM
4378 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4379 size_t for %zu format.
4380
be970916
JM
4381 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4382 difference, not %ju.
4383
3b20fd5c
JM
43842014-11-26 Joseph Myers <joseph@codesourcery.com>
4385
8915eace
JM
4386 * include/libc-internal.h (ignore_value): New macro.
4387 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4388 with ignore_value.
4389
f1a5a0e3
JM
4390 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4391 definition.
4392
59ef1715
JM
4393 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4394 pthread_cleanup_push to void *.
4395
a6f3079b
JM
4396 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4397 Undefine.
4398
706688aa
JM
4399 [BZ #16619]
4400 [BZ #16740]
4401 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4402 instead of 1L << 52.
4403
12da14a5
JM
4404 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4405 * libio/bug-rewind2.c (do_test): Likewise.
4406
bd5dadac
JM
4407 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4408 * debug/test-strcpy_chk-ifunc.c: Likewise.
4409 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4410 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4411 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4412 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4413 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4414 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4415 * Rules [$(multi-arch) = no] (tests): Do not filter out
4416 $(tests-ifunc).
4417 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4418 * debug/Makefile (tests-ifunc): Remove variable.
4419 (tests): Do not add $(tests-ifunc).
4420 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4421 (tests): Do not add $(tests-ifunc).
4422 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4423 [TEST_IFUNC]: Remove conditionals.
4424 * string/test-string.h (TEST_IFUNC): Remove macro.
4425 [TEST_IFUNC]: Remove conditionals.
4426
3b20fd5c
JM
4427 * string/test-strchr.c [!WIDE] (L): New macro.
4428 [WIDE] (L): Likewise.
4429 (check1): Use CHAR instead of char. Use L on string and character
4430 constants.
4431
704f7947
AZ
44322014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4433
4434 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4435 tests.
4436 * sysdeps/powerpc/bits/atomic.h
4437 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4438 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4439 (atomic_exchange_and_add_acq): Likewise.
4440 (atomic_exchange_and_add_rel): Likewise.
4441 * sysdeps/powerpc/powerpc32/bits/atomic.h
4442 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4443 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4444 * sysdeps/powerpc/powerpc64/bits/atomic.h
4445 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4446 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4447
cdcb42d7
TR
44482014-11-26 Torvald Riegel <triegel@redhat.com>
4449
4450 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4451 Change synchronization of __sched_fifo_min_prio and
4452 __sched_fifo_max_prio.
4453 * nptl/pthread_mutexattr_getprioceiling.c
4454 (pthread_mutexattr_getprioceiling): Likewise.
4455 * nptl/pthread_mutexattr_setprioceiling.c
4456 (pthread_mutexattr_setprioceiling): Likewise.
4457 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4458 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4459 Likewise.
4460
c82f5c0c
JM
44612014-11-26 Joseph Myers <joseph@codesourcery.com>
4462
4463 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4464 void.
4465
439e1ad6
JM
44662014-11-25 Joseph Myers <joseph@codesourcery.com>
4467
4468 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4469 third argument const.
4470
b1eda10e
PE
44712014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4472
4473 fnmatch: work around GCC compiler warning bug with uninit var
4474 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4475 This works around a bug with x86-64 GCC 4.9.2 and earlier
4476 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4477 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4478 used uninitialized in this function [-Wmaybe-uninitialized]".
4479
bde2667a
JM
44802014-11-25 Joseph Myers <joseph@codesourcery.com>
4481
4482 * posix/bug-regex31.c (main): Return RES not 0.
4483
5fbb5691
AB
44842014-11-25 Anton Blanchard <anton@samba.org>
4485
4486 * sysdeps/powerpc/bits/atomic.h
4487 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4488
467fec0b
BM
44892014-11-24 Sterling Augustine <saugustine@google.com>
4490
4491 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4492
e9ff8efb
RC
44932014-11-24 Ryan Cumming <etaoins@gmail.com>
4494
4495 [BZ #17608]
4496 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4497
9744496f
JM
44982014-11-24 Joseph Myers <joseph@codesourcery.com>
4499
4500 [BZ #17633]
4501 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4502 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4503 variable.
4504 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4505 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4506
6423d475
WD
45072014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4508
4509 * string/strncpy.c (strncpy): Improve performance by using memset.
4510
45112014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4512
4513 * string/strcpy.c (strcpy):
4514 Improve performance by using strlen and memcpy.
4515
5d178c37
LH
45162014-11-24 Leonhard Holz <leonhard.holz@web.de>
4517
4518 * string/strcoll_l.c (get_next_seq): __always_inline.
4519 * string/strcoll_l.c (do_compare): __always_inline.
4520
279bc5b3
SP
45212014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4522
7a9ebfa1
SP
4523 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4524 defined.
4525 * include/mqueue.h: Likewise.
4526 * include/stdlib.h: Likewise.
4527
4f41c682
SP
4528 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4529 (get_null_defines): Adjust.
4530 * sunrpc/Makefile: Adjust comment.
4531 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4532 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4533 (CFLAGS-interp.c): Likewise.
4534 (CFLAGS-ldconfig.c): Likewise.
4535 (CPPFLAGS-.os): Likewise.
4536 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4537 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4538 * extra-modules.mk (extra-modules.mk): Likewise.
4539 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4540 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4541 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4542 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4543 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4544 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4545 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4546 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4547 * iconvdata/Makefile (CPPFLAGS): Likewise.
4548 (cpp-srcs-left): Add libof for all iconvdata routines.
4549 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4550 * include/assert.h: Likewise.
4551 * include/ctype.h: Likewise.
4552 * include/errno.h: Likewise.
4553 * include/libc-symbols.h: Likewise.
4554 * include/math.h: Likewise.
4555 * include/netdb.h: Likewise.
4556 * include/resolv.h: Likewise.
4557 * include/stdio.h: Likewise.
4558 * include/stdlib.h: Likewise.
4559 * include/string.h: Likewise.
4560 * include/sys/stat.h: Likewise.
4561 * include/wctype.h: Likewise.
4562 * intl/l10nflist.c: Likewise.
4563 * libidn/idn-stub.c: Likewise.
4564 * libio/libioP.h: Likewise.
4565 * nptl/libc_multiple_threads.c: Likewise.
4566 * nptl/pthreadP.h: Likewise.
4567 * posix/regex_internal.h: Likewise.
4568 * resolv/res_hconf.c: Likewise.
4569 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4570 * sysdeps/arm/memmove.S: Likewise.
4571 * sysdeps/arm/sysdep.h: Likewise.
4572 * sysdeps/generic/_itoa.h: Likewise.
4573 * sysdeps/generic/symbol-hacks.h: Likewise.
4574 * sysdeps/gnu/errlist.awk: Likewise.
4575 * sysdeps/gnu/errlist.c: Likewise.
4576 * sysdeps/i386/i586/memcpy.S: Likewise.
4577 * sysdeps/i386/i586/memset.S: Likewise.
4578 * sysdeps/i386/i686/memcpy.S: Likewise.
4579 * sysdeps/i386/i686/memmove.S: Likewise.
4580 * sysdeps/i386/i686/mempcpy.S: Likewise.
4581 * sysdeps/i386/i686/memset.S: Likewise.
4582 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4583 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4584 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4585 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4586 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4587 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4588 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4589 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4590 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4591 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4592 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4593 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4594 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4595 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4596 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4597 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4598 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4599 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4600 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4601 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4602 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4603 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4604 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4605 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4606 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4607 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4608 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4609 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4610 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4611 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4612 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4613 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4615 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4616 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4618 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4619 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4620 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4621 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4622 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4623 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4624 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4625 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4626 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4627 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4628 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4629 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4630 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4631 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4632 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4633 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4634 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4635 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4636 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4637 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4638 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4639 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4640 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4641 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4642 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4643 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4644 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4645 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4646 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4647 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4648 * sysdeps/posix/closedir.c: Likewise.
4649 * sysdeps/posix/opendir.c: Likewise.
4650 * sysdeps/posix/readdir.c: Likewise.
4651 * sysdeps/posix/rewinddir.c: Likewise.
4652 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4653 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4654 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4655 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4656 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4657 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4658 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4659 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4660 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4661 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4662 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4663 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4664 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4665 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4666 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4667 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4668 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4669 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4670 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4671 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4672 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4673 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4674 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4675 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4676 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4677 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4678 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4679 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4680 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4682 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4684 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4687 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4688 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4689 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4690 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4691 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4692 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4693 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4694 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4695 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4696 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4697 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4698 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4699 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4700 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4701 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4702 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4703 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4704 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4705 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4706 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4707 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4708 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4709 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4710 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4711 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4712 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4713 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4714 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4716 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4717 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4718 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4719 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4720 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4721 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4722 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4723 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4724 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4725 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4726 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4727 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4728 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4729 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4730 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4731 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4732 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4733 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4734 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4735 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4736 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4737 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4738 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4739 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4740 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4741 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4742 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4743 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4744 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4745 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4746 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4747 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4748 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4750 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4751 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4753 * sysdeps/unix/alpha/sysdep.S: Likewise.
4754 * sysdeps/unix/alpha/sysdep.h: Likewise.
4755 * sysdeps/unix/make-syscalls.sh: Likewise.
4756 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4757 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4758 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4759 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4760 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4761 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4762 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4763 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4764 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4765 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4766 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4767 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4769 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4770 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4771 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4772 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4773 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4774 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4775 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4776 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4777 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4778 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4779 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4780 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4781 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4782 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4785 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4786 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4787 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4790 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4792 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4793 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4794 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4795 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4796 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4797 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4798 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4799 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4800 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4802 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4803 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4805 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4806 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4807 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4808 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4809 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4810 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4811 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4812 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4814 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4815 * sysdeps/x86_64/memcpy.S: Likewise.
4816 * sysdeps/x86_64/memmove.c: Likewise.
4817 * sysdeps/x86_64/memset.S: Likewise.
4818 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4819 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4820 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4821 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4822 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4824 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4825 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4826 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4827 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4828 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4829 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4830 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4831 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4832 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4833 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4834 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4835 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4836 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4837 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4838 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4839 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4840 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4841 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4842 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4843 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4844 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4845 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4846 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4847 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4848 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4849 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4850 * sysdeps/x86_64/strcmp.S: Likewise.
4851
76ca86a5
SP
4852 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4853
a3848485
SP
4854 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4855 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4856 * elf/rtld-Rules: Likewise.
4857 * elf/setup-vdso.h: Likewise.
4858 * include/assert.h: Likewise.
4859 * include/bits/stdlib-float.h: Likewise.
4860 * include/errno.h: Likewise.
4861 * include/sys/stat.h: Likewise.
4862 * include/unistd.h: Likewise.
4863 * sysdeps/aarch64/setjmp.S: Likewise.
4864 * sysdeps/alpha/setjmp.S: Likewise.
4865 * sysdeps/arm/__longjmp.S: Likewise.
4866 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4867 * sysdeps/arm/setjmp.S: Likewise.
4868 * sysdeps/arm/sysdep.h: Likewise.
4869 * sysdeps/generic/_itoa.h: Likewise.
4870 * sysdeps/generic/dl-sysdep.h: Likewise.
4871 * sysdeps/generic/ldsodefs.h: Likewise.
4872 * sysdeps/i386/dl-tls.h: Likewise.
4873 * sysdeps/i386/setjmp.S: Likewise.
4874 * sysdeps/m68k/setjmp.c: Likewise.
4875 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4876 * sysdeps/mach/hurd/opendir.c: Likewise.
4877 * sysdeps/posix/getcwd.c: Likewise.
4878 * sysdeps/posix/opendir.c: Likewise.
4879 * sysdeps/posix/profil.c: Likewise.
4880 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4881 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4882 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4883 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4884 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4885 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4886 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4887 * sysdeps/s390/dl-tls.h: Likewise.
4888 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4889 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4890 * sysdeps/sh/sh3/setjmp.S: Likewise.
4891 * sysdeps/sh/sh4/setjmp.S: Likewise.
4892 * sysdeps/unix/alpha/sysdep.h: Likewise.
4893 * sysdeps/unix/arm/sysdep.S: Likewise.
4894 * sysdeps/unix/i386/sysdep.S: Likewise.
4895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4896 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4897 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4898 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4899 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4900 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4901 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4902 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4903 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4904 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4905 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4906 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4907 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4910 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4911 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4912 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4913 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4914 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4915 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4916 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4918 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4919 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4920 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4922 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4923 * sysdeps/x86_64/setjmp.S: Likewise.
4924
a109996e
SP
4925 * include/math.h: Use IS_IN instead of IS_IN_libm.
4926 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4927 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4928 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4929 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4930 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4932 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4935 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4938 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4945 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4946 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4947 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4948 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4949 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4950 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4951 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4953 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4954 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4955 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4956 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4957 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4958 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4960 Likewise.
4961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4962 Likewise.
4963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4964 Likewise.
4965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4966 Likewise.
4967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4968 Likewise.
4969 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4970 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4971 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4972 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4973 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4974 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4980 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4981 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4982 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4983 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4984 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4985 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4986 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4987 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4988 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4989 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4990 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4991 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4993 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4995 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4996
ce9f10f7
SP
4997 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4998 * nptl/pthreadP.h: Likewise.
4999 * nptl_db/structs.def: Likewise.
5000 * sysdeps/arm/sysdep.h: Likewise.
5001 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5002 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5003 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5004 * sysdeps/unix/alpha/sysdep.h: Likewise.
5005 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5007 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5008 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5009 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5010 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5011 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5012 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5013 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5014 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5015 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5016 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5017 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5018 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5021 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5022 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5023 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5026 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5027 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5028 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5029 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5030 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5031
016afc75
SP
5032 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5033 * nptl/pthreadP.h: Likewise.
5034 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5035 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5036 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5037 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5038 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5039 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5040 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5041 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5042 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5043 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5044 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5045 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5047 Likewise.
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5049 Likewise.
5050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5051 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5052 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5055 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5056 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5057 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5058
9b42a0b3
SP
5059 * dlfcn/dladdr.c: Use IS_IN.
5060 * dlfcn/dladdr1.c: Likewise.
5061 * dlfcn/dlclose.c: Likewise.
5062 * dlfcn/dlerror.c: Likewise.
5063 * dlfcn/dlinfo.c: Likewise.
5064 * dlfcn/dlmopen.c: Likewise.
5065 * dlfcn/dlopen.c: Likewise.
5066 * dlfcn/dlsym.c: Likewise.
5067 * dlfcn/dlvsym.c: Likewise.
5068
85f36372
SP
5069 * include/ifaddrs.h: Use IS_IN.
5070 * inet/check_pf.c: Likewise.
5071 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5072 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5073
fb6784e3
SP
5074 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5075 IS_IN_ldconfig.
5076 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5077 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5078
2886d2d1
SP
5079 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5080 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5081 IS_IN (libc).
5082
9a484857
SP
5083 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5084
a10178bd
SP
5085 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5086 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5087 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5088 * include/libc-symbols.h (IS_IN_LIB): New macro.
5089 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5090 * include/netdb.h: Likewise.
5091 * include/stap-probe.h: Remove all uses of IN_LIB.
5092
279bc5b3
SP
5093 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5094 instead of IN_MODULE.
5095 * include/libc-symbols.h (IN_MODULE): Define using
5096 MODULE_NAME.
5097 (PASTE_NAME, PASTE_NAME1): New macros.
5098 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5099 of IN_LIB.
5100 (STAP_PROBE_ASM): Likewise.
5101
e0cfa510
ST
51022014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5103
5104 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5105 __mach_init in dlopened libc.
5106
34d97d87
MF
51072014-11-22 Mike Frysinger <vapier@gentoo.org>
5108
5109 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5110 * sysdeps/arm/preconfigure: Regenerate.
5111
33cd1f74
RM
51122014-11-21 Roland McGrath <roland@hack.frob.com>
5113
5114 * nptl/pthread_create.c (__pthread_create_2_1): Set
5115 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5116 when copying values from IATTR into PD.
5117
8c230039
WN
51182014-11-21 Will Newton <will.newton@linaro.org>
5119 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5120
6d3db89b
AP
5121 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5122 Refactor inline-asm. Also add comment.
5123
01194ba1
WN
5124 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5125 ElfW macro instead of hardcoded Elf64 types.
5126 (la_aarch64_gnu_pltenter): Likewise.
5127 * sysdeps/aarch64/dl-machine.h
5128 (elf_machine_runtime_setup): Use ElfW(Addr).
5129
8c230039
WN
5130 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5131 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5132 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5133 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5134 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5135 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5136 (R_AARCH64_TLS_DTPMOD): This.
5137 (R_AARCH64_TLS_DTPREL64): Rename to ...
5138 (R_AARCH64_TLS_DTPREL): This.
5139 (R_AARCH64_TLS_TPREL64): Rename to ...
5140 (R_AARCH64_TLS_TPREL): This.
5141 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5142 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5143 R_AARCH64_TLS_TPREL64.
5144 (elf_machine_rela): Likewise.
5145
0d79fa53
TR
51462014-11-21 Torvald Riegel <triegel@redhat.com>
5147
5148 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5149 by setting it to 0. 64b atomics are not supported currently.
5150
b59d114b
AO
51512014-11-21 Alexandre Oliva <aoliva@redhat.com>
5152
5153 [BZ #16469]
5154 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5155 search domain names.
5156
f3d945d5
AO
51572014-11-21 Alexandre Oliva <aoliva@redhat.com>
5158
5159 [BZ #16469]
5160 * NEWS: Update.
5161 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5162 trailing dot.
5163 * posix/tst-getaddrinfo5.c: New.
5164 * posix/Makefile (tests): Add it.
5165
49698902
AO
51662014-11-21 Alexandre Oliva <aoliva@redhat.com>
5167
5168 [BZ #14498]
5169 * NEWS: Fixed.
5170 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5171 after parsing line but before break_if_match.
5172 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5173 if there is a protocol mismatch.
5174
81959214
MS
51752014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5176
5177 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5178 because the potential race is on the user-supplied stream.
5179
7729e0e9
AO
51802014-11-21 Alexandre Oliva <aoliva@redhat.com>
5181
5182 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5183 string literal if not passed a buffer.
5184 * manual/job.texi (ctermid): Update reasoning, note deviation
5185 from posix, suggest mtasurace when not passed a buffer, for
5186 future non-preliminary safety notes.
5187
a4ea5e28
AO
51882014-11-21 Alexandre Oliva <aoliva@redhat.com>
5189
5190 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5191 of not passing it a buffer.
5192 Reported by Peng Haitao.
5193
a2b581cb
AO
51942014-11-21 Alexandre Oliva <aoliva@redhat.com>
5195
5196 * manual/Makefile ($(objpfx)stamp-summary): Require
5197 check-safety.sh to pass.
5198 * manual/check-safety.sh: Wish for verification that every
5199 @deftypefn and @deftypefun is followed by a @safety remark.
5200
f214ff74
RM
52012014-11-20 Roland McGrath <roland@hack.frob.com>
5202
7f0dfae0
RM
5203 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5204
2f531bbb
RM
5205 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5206 PTHREAD_CANCEL_ASYNCHRONOUS.
5207 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5208 send SIGCANCEL.
5209
f214ff74
RM
5210 * nptl/default-sched.h: New file.
5211 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5212 * nptl/pthread_create.c: Include it.
5213 (__pthread_create_2_1): Use collect_default_sched instead of making
5214 Linux syscalls here directly.
5215
e37c91d4
TR
52162014-11-20 Torvald Riegel <triegel@redhat.com>
5217
5218 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5219 __pthread_once): Use C11 atomics.
5220
1eccfecd
TR
52212014-11-20 Torvald Riegel <triegel@redhat.com>
5222
5223 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5224
ff871426
TR
52252014-11-20 Torvald Riegel <triegel@redhat.com>
5226
5227 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5228 atomic_thread_fence_acquire, atomic_thread_fence_release,
5229 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5230 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5231 atomic_compare_exchange_weak_relaxed,
5232 atomic_compare_exchange_weak_acquire,
5233 atomic_compare_exchange_weak_release,
5234 atomic_exchange_acquire, atomic_exchange_release,
5235 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5236 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5237 atomic_fetch_and_acquire,
5238 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5239
1ea339b6
TR
52402014-11-20 Torvald Riegel <triegel@redhat.com>
5241
5242 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5243 USE_ATOMIC_COMPILER_BUILTINS): Define.
5244 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5245 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5246 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5247 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5248 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5249 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5250 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5251 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5252 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5253 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5254 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5255 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5256 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5257 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5258 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5259 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5260 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5261 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5262 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5263 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5264 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5265 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5266 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5267 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5268 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5269 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5270 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5271 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5272 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5273 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5274 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5275 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5276 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5277 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5278 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5279 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5280 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5281 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5282 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5283 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5284
cbd463e2
RM
52852014-11-19 Roland McGrath <roland@hack.frob.com>
5286
d960211f
RM
5287 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5288 the sched_priority value here. It was already checked when the user
5289 called pthread_attr_setschedparam.
5290
cbd463e2
RM
5291 * nptl/tst-bad-schedattr.c: New file.
5292 * nptl/Makefile (tests): Add it.
5293
a39208bd
CD
52942014-11-19 Carlos O'Donell <carlos@redhat.com>
5295 Florian Weimer <fweimer@redhat.com>
5296 Joseph Myers <joseph@codesourcery.com>
5297 Adam Conrad <adconrad@0c3.net>
5298 Andreas Schwab <schwab@suse.de>
5299 Brooks <bmoses@google.com>
5300
5301 [BZ #17625]
5302 * wordexp-test.c (__dso_handle): Add prototype.
5303 (__register_atfork): Likewise.
5304 (__app_register_atfork): New function.
5305 (registered_forks): New global.
5306 (register_fork): New function.
5307 (test_case): Add 3 new tests for WRDE_CMDSUB.
5308 (main): Call __app_register_atfork.
5309 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5310 fork count is non-zero fail the test.
5311 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5312 is set.
5313 (parse_dollars): Remove check for WRDE_NOCMD.
5314 (parse_dquote): Likewise.
5315
9cd47470
SP
53162014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5317
130ac68c
SP
5318 * Makeconfig (built-modules): List non-library modules to be
5319 built.
5320 (module-cppflags): Include libc-modules.h for
5321 everything except shlib-versions.v.i.
5322 (CPPFLAGS): Use it.
5323 (before-compile): Add libc-modules.h.
5324 ($(common-objpfx)libc-modules.h,
5325 $(common-objpfx)libc-modules.stmp): New targets.
5326 (common-generated): Add libc-modules.h and libc-modules.stmp.
5327 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5328 * include/libc-symbols.h: Don't include libc-modules.h.
5329 * include/libc-modules.h: Remove file.
5330 * scripts/gen-libc-modules.awk: New script to generate
5331 libc-modules.h.
5332 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5333 Depend on libc-modules.stmp.
5334
286663c3
SP
5335 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5336
9cd47470
SP
5337 * Makeconfig (in-module): Get value of libof set for the
5338 translation unit.
5339 (CPPFLAGS): Use $(in-module).
5340 * Makerules: Don't suffix routine names for nonlib.
5341 * include/libc-modules.h: New file.
5342 * include/libc-symbols.h: Include libc-modules.h
5343 (IS_IN): New macro to replace IS_IN_* macros.
5344 * elf/Makefile: Set libof-* for each routine.
5345 * elf/rtld-Rules: Likewise.
5346 * extra-modules.mk: Likewise.
5347 * iconv/Makefile: Likewise.
5348 * iconvdata/Makefile: Likewise.
5349 * locale/Makefile: Likewise.
5350 * malloc/Makefile: Likewise.
5351 * nss/Makefile: Likewise.
5352 * sysdeps/gnu/Makefile: Likewise.
5353 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5354 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5355 * sysdeps/s390/s390-64/Makefile: Likewise.
5356 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5357 CPPFLAGS for nscd instead of nonlib.
5358
32fed10f
RM
53592014-11-18 Roland McGrath <roland@hack.frob.com>
5360
d71035bd
RM
5361 * nptl/createthread.c: New file.
5362
6540b991
RM
5363 * nptl/createthread.c: Moved ...
5364 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5365
32fed10f
RM
5366 * nptl/createthread.c: Add proper top-line comment.
5367 (do_clone): Folded into ...
5368 (create_thread): ... here. Take new arguments STOPPED_START and
5369 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5370 increment __nptl_threads, do event-reporting logic, do
5371 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5372 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5373 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5374 just send SIGCANCEL.
5375 * nptl/pthread_create.c: Forward-declare create_thread before
5376 including createthread.c.
5377 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5378 declaration, and new macro START_THREAD_SELF to replace argument.
5379 Remove return statement.
5380 (report_thread_creation): New function.
5381 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5382 synchronization logic, and __nptl_nthreads increment here, around
5383 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5384 PD->parent_cancelhandling here, before create_thread. When
5385 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5386 __deallocate_stack, and ENOMEM translation here.
5387
107a5bf0
JM
53882014-11-18 Joseph Myers <joseph@codesourcery.com>
5389
5390 [BZ #17616]
5391 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5392 (mptwo): Rename to __mptwo.
5393 (__inv): Use __mptwo instead of mptwo.
5394 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5395 (mptwo): Rename to __mptwo.
5396 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5397 of mpone and __mptwo instead of mptwo.
5398 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5399 instead of mpone.
5400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5401 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5402 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5403 of mpone and __mptwo instead of mptwo.
5404 (__mpranred): Use __mpone instead of mpone.
5405 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5406 variable.
5407 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5408 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5409 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5410 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5411 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5412 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5413 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5414 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5415 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5416 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5417 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5418 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5419 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5420 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5421 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5422 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5423 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5424 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5425 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5426
3b679ab3
TV
54272014-11-18 Tom de Vries <tom@codesoucery.com>
5428
5429 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5430 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5431
54322014-11-17 Richard Henderson <rth@redhat.com>
5433
5434 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5435 (_FP_PACK_RAW_2): Remove.
5436 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5437 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5438 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5439 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5440 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5441 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5442 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5443 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5444 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5445 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5446 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5447 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5448 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5449 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5450 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5451 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5452
0781a777
RM
54532014-11-14 Roland McGrath <roland@hack.frob.com>
5454
5455 * signal/signal.h [__USE_MISC]
5456 (struct sigvec): Remove type.
5457 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5458 (sigvec): Remove declaration.
5459 * sysdeps/posix/sigvec.c: Moved ...
5460 * signal/sigvec.c: ... here, replacing old file.
5461 (struct sigvec): New type, copied from old signal.h definition.
5462 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5463 (__sigvec): Convert definition to prototype.
5464 (sigvec): Replace weak_alias with compat_symbol.
5465 * signal/Versions (libc: GLIBC_2.21): New version set.
5466 * include/signal.h: Remove __sigvec declaration.
5467 * sysdeps/unix/bsd/sigvec.c: Remove file.
5468 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5469 * manual/signal.texi (BSD Handler): Remove subsection.
5470 Move siginterrupt up to ...
5471 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5472 (Blocking in BSD): Fold subsection into its parent.
5473 * NEWS: Mention sigvec removal.
5474
a4733812
JM
54752014-11-14 Joseph Myers <joseph@codesourcery.com>
5476
5ae4fe60
JM
5477 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5478 (DLA_FMS): Make definition conditional only on [__FMA4__].
5479 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5480 definition.
5481
6a0dd472
JM
5482 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5483 Make definition conditional only on [PROF].
5484 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5485 definition.
5486 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5487 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5488
a4733812
JM
5489 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5490 !__GNUC__].
5491 * include/signal.h (__sigpause): Move declaration above call to
5492 libc_hidden_proto.
5493 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5494 variable.
5495 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5496 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5497
cf7246dd
DM
54982014-11-14 David S. Miller <davem@davemloft.net>
5499
5500 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5501 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5502
c1b0aadc
JM
55032014-11-14 Joseph Myers <joseph@codesourcery.com>
5504
4863355a
JM
5505 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5506 * configure: Regenerated.
5507 * manual/install.texi (Tools for Compilation): Document a
5508 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5509 compiler verified to work.
5510 * INSTALL: Regenerated.
5511
c1b0aadc
JM
5512 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5513 redeclare with asm name.
5514 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5515 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5516 including <string.h>.
5517 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5518 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5519 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5520 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5521 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5522 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5523 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5524
2a1cfd94
JM
55252014-11-13 Joseph Myers <joseph@codesourcery.com>
5526
bf438382
JM
5527 * stdlib/strtol.c (__strtol): Use prototype definition.
5528
2a1cfd94
JM
5529 [BZ #17594]
5530 * stdlib/strtol.c (SYM__): New macro.
5531 (SYM__1): Likewise.
5532 (__strtol): Likewise.
5533 (strtol): Rename to __strtol and define as weak alias of
5534 __strtol. Use libc_hidden_weak.
5535
20ed0d26
SL
55362014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5537
5538 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5539 Use numbered labels in inline assembly.
5540
53244a4e
SL
55412014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5542
5543 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5544 Add setjmp LIBC_PROBE.
5545 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5546 Likewise.
5547 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5548 Add longjmp, longjmp_target LIBC_PROBE.
5549 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5550 Likewise.
5551
47df8251
SL
55522014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5553
5554 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5555 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5556 to get rid of unused variable warning.
5557
618cebef
SL
55582014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5559
5560 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5561 Check for unwind_backtrace == NULL only in SHARED case.
5562 (__backchain_backtrace): Compile only in SHARED case.
5563 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5564 Likewise.
5565 (__backchain_backtrace): Declare as static.
5566
c6aab2cb
RM
55672014-11-12 Roland McGrath <roland@hack.frob.com>
5568
5569 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5570 (__libc_multiple_threads_ptr): Variable moved ...
5571 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5572
5a6fa4d7
JM
55732014-11-12 Joseph Myers <joseph@codesourcery.com>
5574
24f4f825
JM
5575 * conform/GlibcConform.pm: New file.
5576 * conform/conformtest.pl: Use GlibcConform module.
5577 * conform/linknamespace.pl: New file.
5578 * conform/list-header-symbols.pl: Likewise.
5579 * conform/Makefile (linknamespace-symlists-base): New variable.
5580 (linknamespace-symlists-tests): Likewise.
5581 (linknamespace-header-base): Likewise.
5582 (linknamespace-header-tests): Likewise.
5583 (tests-special): Add new tests.
5584 ($(linknamespace-symlists-tests)): New rule.
5585 (linknamespace-libs): New variable.
5586 ($(objpfx)symlist-stdlibs): New rule.
5587 ($(linknamespace-header-tests)): Likewise.
5588 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5589 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5590 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5591 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5592 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5593 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5594 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5595 (test-xfail-ISO/math.h/linknamespace): Likewise.
5596 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5597 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5598 (test-xfail-ISO/time.h/linknamespace): Likewise.
5599 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5600 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5601 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5602 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5603 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5604 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5605 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5606 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5607 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5608 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5609 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5610 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5611 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5612 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5613 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5614 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5615 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5616 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5617 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5618 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5619 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5620 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5621 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5622 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5623 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5624 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5625 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5626 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5627 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5628 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5629 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5630 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5631 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5632 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5633 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5634 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5635 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5636 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5637 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5638 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5639 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5640 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5641 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5642 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5643 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5644 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5645 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5646 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5647 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5648 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5649 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5650 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5651 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5652 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5653 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5654 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5655 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5656 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5657 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5658 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5659 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5660 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5661 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5662 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5663 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5664 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5665 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5666 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5667 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5668 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5669 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5670 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5671 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5672 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5673 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5674 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5675 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5676 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5677 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5678 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5679 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5680 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5681 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5682 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5683 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5684 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5685 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5686 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5687 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5688 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5689 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5690 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5691 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5692 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5693 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5694 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5695 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5696 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5697 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5698 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5699 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5700 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5701 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5702 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5703 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5704 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5705 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5706 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5707 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5708 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5709 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5710 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5711 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5712 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5713 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5714 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5715 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5716 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5717 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5718 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5719 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5720 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5721 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5722 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5723 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5724 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5725 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5726 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5727 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5728 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5729 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5730 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5731 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5732 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5733 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5734 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5735 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5736 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5737 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5738 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5739 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5740 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5741 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5742 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5743 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5744 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5745 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5746 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5747 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5748 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5749
cc67478e
JM
5750 [BZ #17589]
5751 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5752 of fgets_unlocked.
5753
9975e3d3
JM
5754 [BZ #17585]
5755 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5756 (memmem): Rename to __memmem and define as weak alias of
5757 __memmem. Use libc_hidden_weak.
5758 (__memmem): Use libc_hidden_def.
5759 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5760 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5761 memmem.
5762
c4eae752
JM
5763 [BZ #17582]
5764 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5765 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5766 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5767 and define as weak alias of __fgets_unlocked. Use
5768 libc_hidden_weak.
5769 (__fgets_unlocked): Use libc_hidden_def.
5770 * include/stdio.h (__fgets_unlocked): Declare. Use
5771 libc_hidden_proto.
5772 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5773 __fgets_unlocked instead of fgets_unlocked.
5774 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5775 (GET_NPROCS_CONF_PARSER): Likewise.
5776 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5777 (GET_NPROCS_CONF_PARSER): Likewise.
5778
01cad84e
JM
5779 [BZ #17574]
5780 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5781 weak alias of __wmemset. Use libc_hidden_weak.
5782 (__wmemset): Use libc_hidden_def.
5783 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5784 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5785 of wmemset.
5786
939da411
JM
5787 [BZ #17573]
5788 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5789 with asm name __mempcpy.
5790 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5791
293d9a41
JM
5792 [BZ #17572]
5793 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5794 and define as weak alias of __rawmemchr.
5795 (__rawmemchr): Do not define as strong alias of rawmemchr.
5796
bef8fd60
JM
5797 [BZ #17571]
5798 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5799 alias of __qsort_r.
5800 (qsort): Call __qsort_r instead of qsort_r.
5801 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5802 (__qsort_r): Declare. Call libc_hidden_proto.
5803 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5804 instead of qsort_r.
5805 * nscd/gai.c (__qsort_r): Define to qsort_r.
5806 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5807 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5808 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5809
c52ff39e
JM
5810 [BZ #17570]
5811 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5812 define as weak alias of __malloc_info.
5813
2f5c1b00
JM
5814 [BZ #17584]
5815 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5816 as weak alias of __rewinddir. Don't use libc_hidden_def.
5817 (__rewinddir): Use libc_hidden_def.
5818 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5819 as weak alias of __rewinddir. Don't use libc_hidden_def.
5820 (__rewinddir): Use libc_hidden_def.
5821 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5822 weak alias of __rewinddir. Don't use libc_hidden_def.
5823 (__rewinddir): Use libc_hidden_def.
5824 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5825 (__rewinddir): Use libc_hidden_proto.
5826 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5827 rewinddir.
5828 (__getcwd): Use __rewinddir instead of rewinddir.
5829
5a6fa4d7
JM
5830 [BZ #17583]
5831 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5832 alias of __fileno. Use libc_hidden_weak.
5833 (__fileno): Use libc_hidden_def.
5834 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5835 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5836 alias of __ftello.
5837 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5838 __ftello.
5839 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5840 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5841 libc_hidden_def.
5842 (fread_unlocked): Don't use libc_hidden_ver.
5843 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5844 and define as weak alias of __fread_unlocked. Don't use
5845 libc_hidden_def.
5846 (__fread_unlocked): Use libc_hidden_def.
5847 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5848 (ftello): Don't use libc_hidden_proto.
5849 (__ftello): Declare. Use libc_hidden_proto.
5850 (fread_unlocked): Don't use libc_hidden_proto.
5851 (__fread_unlocked): Declare. Use libc_hidden_proto.
5852 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5853 and __ftello instead of fileno, fread_unlocked and ftello.
5854
2581b98e
SP
58552012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5856
5857 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5858 GOT12.
5859 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5860 Likewise.
5861 (_dl_start_user): Likewise.
5862 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5863
533bb7c2
SP
58642014-11-12 Carlos O'Donell <carlos@redhat.com>
5865 Siddhesh Poyarekar <siddhesh@redhat.com>
5866
5867 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5868 Move argv and envp down instead of moving argc up.
5869 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5870
fffa1cf8
LH
58712014-11-12 Leonhard Holz <leonhard.holz@web.de>
5872
5873 [BZ #17506]
5874 * test-skeleton.c (main): Return successful if one of
5875 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5876 * string/tst-strcoll-overflow.c: Define expected status.
5877
fb89b46d
TU
58782014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5879
5880 [BZ #17475]
5881 * locale/iso-639.def: Define Bhili and Tulu language codes.
5882
5c40c3ba
AH
58832014-11-11 Alan Hayward <alan.hayward@arm.com>
5884
5885 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5886
b17fe01b 58872014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5888
5889 [BZ #17555]
5890 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5891
bd805071
AS
58922014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5893
5894 * configure.ac: Updated check of minimal required version to
5895 2.22.
5896 * manual/install.texi (Tools for Compilation): Updated version
5897 number.
5898 * configure: Regenerated.
5899 * INSTALL: Likewise.
5900
1400983e
AS
59012014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5902
5903 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5904 __tls_get_addr.
5905
2c46a66a
JM
59062014-11-07 Joseph Myers <joseph@codesourcery.com>
5907
5908 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5909 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5910 (__waitpid): Don't define as alias. Use libc_hidden_def not
5911 libc_hidden_weak.
5912 (waitpid): Define as alias of __waitpid.
5913 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5914 __waitpid.
5915 (__waitpid): Don't define as alias. Use libc_hidden_def not
5916 libc_hidden_weak.
5917 (waitpid): Define as alias of __waitpid.
5918 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5919 __libc_waitpid alias.
5920 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5921 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5922 Likewise.
5923 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5924 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5925 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5926 alias.
5927 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5928 __waitpid.
5929 (__waitpid): Don't define as alias. Use libc_hidden_def not
5930 libc_hidden_weak.
5931 (waitpid): Define as alias of __waitpid.
5932
da53d6db
CD
59332014-11-06 Carlos O'Donell <carlos@redhat.com>
5934
a2887bdb
CD
5935 * manual/llio.texi: Add comment that write safety has been
5936 fixed in Linux.
5937
da53d6db
CD
5938 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5939 (localplt-build-dso): Add elf/ld.so.
5940 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5941 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5942 and free for ld.so.
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5944 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5946 Likewise.
5947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5948 Likewise.
5949 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5950 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5951 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5952 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5953 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5954 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5955 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5956 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5957 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5958 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5959 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5960
9cf27b8d
JM
59612014-11-05 Joseph Myers <joseph@codesourcery.com>
5962
5963 [BZ #14132]
5964 * include/libc-symbols.h (INTUSE): Remove macro.
5965 (INTDEF): Likewise.
5966 (INTVARDEF): Likewise.
5967 (_INTVARDEF): Likewise.
5968 (INTDEF2): Likewise.
5969 (INTVARDEF2): Likewise.
5970 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5971 rtld_hidden_def instead of INTVARDEF.
5972 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5973 (_dl_starting_up_internal): Remove declaration.
5974 (_dl_starting_up): Use rtld_hidden_proto.
5975 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5976 declaration.
5977 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5978 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5979 _dl_starting_up.
5980 * elf/dl-writev.h (_dl_writev): Likewise.
5981 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5982 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5983 _dl_starting_up_internal.
5984
af83568d
AZ
59852014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5986
5987 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5988 test-skeleton.c.
5989
b01ee67c
WN
59902014-11-05 Will Newton <will.newton@linaro.org>
5991
5992 * benchtests/Makefile: (bench-malloc): Add malloc thread
5993 scalability benchmark.
5994 * benchtests/bench-malloc-threads.c: New file.
5995
be9d4ccc
RE
59962014-11-05 Richard Earnshaw <rearnsha@arm.com>
5997
5998 * sysdeps/aarch64/strchrnul.S: New file.
5999
7110166d
AZ
60002014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6001
6002 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6003 definition.
6004 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6005 Likwise.
6006 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6007 Likewise.
6008 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6009 Likewise.
6010 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6011 Likewise.
6012 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6013 Likewise.
6014
60152014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6016
6017 * catgets/test-gencat.c: Use test-skeleton.c.
6018 * catgets/tst-catgets.c: Likewise.
6019 * csu/tst-empty.c: Likewise.
6020 * elf/tst-audit2.c: Likewise.
6021 * elf/tst-global1.c: Likewise.
6022 * elf/tst-pathopt.c: Likewise.
6023 * elf/tst-piemod1.c: Likewise.
6024 * elf/tst-tls10.c: Likewise.
6025 * elf/tst-tls11.c: Likewise.
6026 * elf/tst-tls12.c: Likewise.
6027 * gnulib/tst-gcc.c: Likewise.
6028 * iconvdata/tst-e2big.c: Likewise.
6029 * iconvdata/tst-loading.c: Likewise.
6030 * iconv/tst-iconv1.c: Likewise.
6031 * iconv/tst-iconv2.c: Likewise.
6032 * inet/test-inet6_opt.c: Likewise.
6033 * inet/tst-gethnm.c: Likewise.
6034 * inet/tst-network.c: Likewise.
6035 * inet/tst-ntoa.c: Likewise.
6036 * intl/tst-codeset.c: Likewise.
6037 * intl/tst-gettext2.c: Likewise.
6038 * intl/tst-gettext3.c: Likewise.
6039 * intl/tst-ngettext.c: Likewise.
6040 * intl/tst-translit.c: Likewise.
6041 * io/test-stat.c: Likewise.
6042 * libio/test-fmemopen.c: Likewise.
6043 * libio/tst-freopen.c: Likewise.
6044 * libio/tst-sscanf.c: Likewise.
6045 * libio/tst-ungetwc1.c: Likewise.
6046 * libio/tst-ungetwc2.c: Likewise.
6047 * libio/tst-widetext.c: Likewise.
6048 * localedata/tst-ctype.c: Likewise.
6049 * localedata/tst-digits.c: Likewise.
6050 * localedata/tst-leaks.c: Likewise.
6051 * localedata/tst-mbswcs1.c: Likewise.
6052 * localedata/tst-mbswcs2.c: Likewise.
6053 * localedata/tst-mbswcs3.c: Likewise.
6054 * localedata/tst-mbswcs4.c: Likewise.
6055 * localedata/tst-mbswcs5.c: Likewise.
6056 * localedata/tst-setlocale.c: Likewise.
6057 * localedata/tst-trans.c: Likewise.
6058 * localedata/tst-wctype.c: Likewise.
6059 * localedata/tst-xlocale1.c: Likewise.
6060 * login/tst-grantpt.c: Likewise.
6061 * malloc/tst-calloc.c: Likewise.
6062 * malloc/tst-malloc.c: Likewise.
6063 * malloc/tst-mallocstate.c: Likewise.
6064 * malloc/tst-mcheck.c: Likewise.
6065 * malloc/tst-mtrace.c: Likewise.
6066 * malloc/tst-obstack.c: Likewise.
6067 * math/atest-exp2.c: Likewise.
6068 * math/atest-exp.c: Likewise.
6069 * math/atest-sincos.c: Likewise.
6070 * math/test-matherr.c: Likewise.
6071 * math/test-misc.c: Likewise.
6072 * math/test-powl.c: Likewise.
6073 * math/tst-definitions.c: Likewise.
6074 * misc/tst-dirname.c: Likewise.
6075 * misc/tst-efgcvt.c: Likewise.
6076 * misc/tst-fdset.c: Likewise.
6077 * misc/tst-hsearch.c: Likewise.
6078 * misc/tst-mntent2.c: Likewise.
6079 * nptl/tst-sem7.c: Likewise.
6080 * nptl/tst-sem8.c: Likewise.
6081 * nptl/tst-sem9.c: Likewise.
6082 * nss/test-netdb.c: Likewise.
6083 * posix/tst-fnmatch.c: Likewise.
6084 * posix/tst-getlogin.c: Likewise.
6085 * posix/tst-gnuglob.c: Likewise.
6086 * posix/tst-mmap.c: Likewise.
6087 * pwd/tst-getpw.c: Likewise.
6088 * resolv/tst-inet_ntop.c: Likewise.
6089 * rt/tst-timer.c: Likewise.
6090 * stdio-common/test-fseek.c: Likewise.
6091 * stdio-common/test-popen.c: Likewise.
6092 * stdio-common/test-vfprintf.c: Likewise.
6093 * stdio-common/tst-cookie.c: Likewise.
6094 * stdio-common/tst-fileno.c: Likewise.
6095 * stdio-common/tst-gets.c: Likewise.
6096 * stdio-common/tst-obprintf.c: Likewise.
6097 * stdio-common/tst-perror.c: Likewise.
6098 * stdio-common/tst-sprintf2.c: Likewise.
6099 * stdio-common/tst-sprintf3.c: Likewise.
6100 * stdio-common/tst-sprintf.c: Likewise.
6101 * stdio-common/tst-swprintf.c: Likewise.
6102 * stdio-common/tst-tmpnam.c: Likewise.
6103 * stdio-common/tst-unbputc.c: Likewise.
6104 * stdio-common/tst-wc-printf.c: Likewise.
6105 * stdlib/tst-environ.c: Likewise.
6106 * stdlib/tst-fmtmsg.c: Likewise.
6107 * stdlib/tst-limits.c: Likewise.
6108 * stdlib/tst-rand48-2.c: Likewise.
6109 * stdlib/tst-rand48.c: Likewise.
6110 * stdlib/tst-random2.c: Likewise.
6111 * stdlib/tst-random.c: Likewise.
6112 * stdlib/tst-strtol.c: Likewise.
6113 * stdlib/tst-strtoll.c: Likewise.
6114 * stdlib/tst-tls-atexit.c: Likewise.
6115 * stdlib/tst-xpg-basename.c: Likewise.
6116 * string/test-ffs.c: Likewise.
6117 * string/tst-bswap.c: Likewise.
6118 * string/tst-inlcall.c: Likewise.
6119 * string/tst-strtok.c: Likewise.
6120 * string/tst-strxfrm.c: Likewise.
6121 * sysdeps/x86_64/tst-audit10.c: Likewise.
6122 * sysdeps/x86_64/tst-audit3.c: Likewise.
6123 * sysdeps/x86_64/tst-audit4.c: Likewise.
6124 * sysdeps/x86_64/tst-audit5.c: Likewise.
6125 * time/tst-ftime_l.c: Likewise.
6126 * time/tst-getdate.c: Likewise.
6127 * time/tst-mktime3.c: Likewise.
6128 * time/tst-mktime.c: Likewise.
6129 * time/tst-posixtz.c: Likewise.
6130 * time/tst-strptime2.c: Likewise.
6131 * time/tst-strptime3.c: Likewise.
6132 * wcsmbs/tst-btowc.c: Likewise.
6133 * wcsmbs/tst-mbrtowc.c: Likewise.
6134 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6135 * wcsmbs/tst-wchar-h.c: Likewise.
6136 * wcsmbs/tst-wcpncpy.c: Likewise.
6137 * wcsmbs/tst-wcrtomb.c: Likewise.
6138 * wcsmbs/tst-wcsnlen.c: Likewise.
6139 * wcsmbs/tst-wcstof.c: Likewise.
6140
2004e7fb
JM
61412014-11-04 Joseph Myers <joseph@codesourcery.com>
6142
ab97ee8f
JM
6143 [BZ #14132]
6144 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6145 INTDEF.
6146 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6147 declaration.
6148 (_dl_mcount): Use rtld_hidden_proto.
6149 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6150 _dl_mcount.
6151 * elf/rtld.c (_rtld_global_ro): Likewise.
6152
c5684fdb
JM
6153 [BZ #14132]
6154 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6155 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6156 of _dl_init_internal.
6157 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6158 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6159 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6160 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6161 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6162 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6163 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6164 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6165 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6166 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6167 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6168 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6169 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6170 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6171 * sysdeps/tile/dl-start.S (_start): Likewise.
6172 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6173 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6174
4243cbea
JM
6175 [BZ #14132]
6176 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6177 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6178 (rtld_progname): Make macro definition unconditional.
6179 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6180 INTDEF.
6181 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6182 (dl_main): Likewise.
6183 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6184 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6185 instead of _dl_argv_internal.
6186 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6187 __GI__dl_argv instead of INTUSE(_dl_argv).
6188 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6189 __GI__dl_argv instead of _dl_argv_internal.
6190
2004e7fb
JM
6191 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6192 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6193 macro.
6194 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6195 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6196 New macro.
6197 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6198 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6199 macro.
6200 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6201 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6202
97827bfc
AS
62032014-11-04 Andreas Schwab <schwab@suse.de>
6204
6205 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6206
5e4df284
AZ
62072014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6208
6209 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6210 mtvsrd instruction in binary form.
6211
04b76b5a
AS
62122014-11-03 Andreas Schwab <schwab@suse.de>
6213
6214 [BZ #17522]
6215 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6216 for less than MB_LEN_MAX use a local buffer of that size.
6217 * libio/tst-fputws.c: New file.
6218 * libio/Makefile (tests): Add tst-fputws.
6219
4c6da7da
JM
62202014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6221
6222 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6223 the size of the fpu_fr.fpu_dregs[] array.
6224
1679ba8e
JM
62252014-11-01 Joseph Myers <joseph@codesourcery.com>
6226
6227 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6228 (__nanosleep): Do not define as alias.
6229 (nanosleep): Define as alias of __nanosleep.
6230 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6231 __libc_nanosleep name.
6232
2626c183
JM
62332014-10-31 Joseph Myers <joseph@codesourcery.com>
6234
6235 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6236 install.texi in comment.
6237
7f981fc2
TR
62382014-10-31 Torvald Riegel <triegel@redhat.com>
6239
6240 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6241 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6242 ... add here and use lwsync or sync ...
6243 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6244 ... and add here using lwsync.
6245
d6f373d2
MF
62462014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6247
6248 * elf/dl-machine-reject-phdr.h: New file.
6249 * elf/dl-load.c: #include that.
6250 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6251 if that returned true.
6252
67c37987
RM
62532014-10-31 Roland McGrath <roland@hack.frob.com>
6254
6255 [BZ #17496]
6256 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6257 gen-as-const-headers chunk. Add a big scare comment after the last
6258 safe place to touch before-compile.
6259
94a42455 62602014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6261
f3f5d895
JM
6262 * manual/install.texi (Tools for Compilation): Update autoconf
6263 version requirements.
6264 * INSTALL: Regenerated.
6265
f62ff286
JM
6266 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6267 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6268 (__libc_pselect): Likewise.
94a42455
JM
6269
6270 [BZ #14138]
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6275
ff9dbdc0
TR
62762014-10-31 Torvald Riegel <triegel@redhat.com>
6277
6278 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6279 correct barrier instruction.
6280 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6281 Likewise.
6282 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6283 Likewise.
6284
b4f66884
RM
62852014-10-30 Roland McGrath <roland@hack.frob.com>
6286
6287 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6288 after defining inlines. Instead, just use parens to defeat macro
6289 expansion of __isctype in its declaration.
6290
e19c95fd
JM
62912014-10-30 Joseph Myers <joseph@codesourcery.com>
6292
6293 * include/sys/uio.h (__libc_readv): Remove declaration.
6294 (__libc_writev): Likewise.
6295 * misc/readv.c (__libc_readv): Rename to __readv.
6296 (__readv): Do not define as alias.
6297 (readv): Define as alias of __readv.
6298 * misc/writev.c (__libc_writev): Rename to __writev.
6299 (__writev): Do not define as alias.
6300 (writev): Define as alias of __writev.
6301 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6302 (__readv): Do not define as alias.
6303 (readv): Define unconditionally as alias of __readv.
6304 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6305 (__writev): Do not define as alias.
6306 (writev): Define unconditionally as alias of __writev.
6307 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6308 name.
6309 (writev): Do not define __libc_writev name.
6310
65b00b6c
RM
63112014-10-30 Roland McGrath <roland@hack.frob.com>
6312
6313 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6314 (convert_charseq): New function, broken out of ...
6315 (use_from_charmap): ... here. Call it.
6316 (use_to_charmap): Use convert_charseq and free instead of duplicating
6317 its code with a variable-length stack struct.
6318
d4e157aa
JM
63192014-10-30 Joseph Myers <joseph@codesourcery.com>
6320
6321 * include/fcntl.h (__libc_creat): Remove declaration.
6322 * io/creat.c (__libc_creat): Rename to creat.
6323 (creat): Do not define as alias.
6324 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6325 of creat instead of __libc_creat.
6326 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6327 to creat.
6328 (creat): Do not define as alias.
6329 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6330 __libc_creat.
6331 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6332 __libc_creat name.
6333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6334 Likewise.
6335
0c6891a0
CD
63362014-10-29 Carlos O'Donell <carlos@redhat.com>
6337
6338 * manual/llio.texi: Add comments discussing why write() may be
6339 considered MT-unsafe on Linux.
6340
cc00cece
CD
63412014-10-28 Carlos O'Donell <carlos@redhat.com>
6342
6343 * dl-load.c (local_strdup): Remove.
6344 (expand_dynamic_string_token): Use __strdup.
6345 (decompose_rpath): Likewise.
6346 (_dl_map_object): Likewise.
6347
51e623f2
JM
63482014-10-28 Joseph Myers <joseph@codesourcery.com>
6349
6350 [BZ #14132]
6351 * sysdeps/generic/unwind-dw2-fde.c
6352 (__register_frame_info_bases_internal): Do not declare.
6353 (__register_frame_info_table_bases_internal): Likewise.
6354 (__deregister_frame_info_bases_internal): Likewise.
6355 (__register_frame_info_bases): Declare and use hidden_proto before
6356 definition. Use hidden_def instead of INTDEF.
6357 (__register_frame_info_table_bases): Likewise.
6358 (__deregister_frame_info_bases): Likewise.
6359 (__register_frame_info): Do not use INTUSE.
6360 (__register_frame): Likewise.
6361 (__register_frame_info_table): Likewise.
6362 (__register_frame_table): Likewise.
6363 (__deregister_frame_info): Likewise.
6364 (__deregister_frame): Likewise.
6365
03d41216
GC
63662014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6367
6368 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6369 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6370 not undefine.
6371 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6372 Likewise.
6373 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6374 Likewise.
6375
a4b3624d
JM
63762014-10-27 Joseph Myers <joseph@codesourcery.com>
6377
6378 [BZ #14138]
6379 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6380 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6381 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6382 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6383 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6384 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6385 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6386 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6387 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6388 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6389 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6390 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6391 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6392 syscall.
6393 (setfsuid): Likewise.
6394 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6395 (setfsuid): Likewise.
6396 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6397 (setfsuid): Likewise.
6398 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6399 Likewise.
6400 (setfsuid): Likewise.
6401 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6402 (setfsuid): Likewise.
6403 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6404 Likewise.
6405 (setfsuid): Likewise.
6406
3574f2fd
AS
64072014-10-27 Andreas Schwab <schwab@suse.de>
6408
6409 [BZ #17501]
6410 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6411 check for Slow_SSE4_2 feature bit.
6412 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6413 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6414 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6415 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6416
70996a37
RM
64172014-10-24 Roland McGrath <roland@hack.frob.com>
6418
461a7b1e
RM
6419 * configure.ac: Validate compiler version with a empirical test of
6420 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6421 $CC -v output.
6422 * configure: Regenerated.
6423
70996a37
RM
6424 * inet/htons.c (htons): Prototypify.
6425 * inet/htonl.c (htonl): Likewise.
6426
e80514b5
WD
64272014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6428
6429 * string/strncat.c (strncat): Improve performance by using strlen.
6430
6e46de42
WD
64312014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6432
6433 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6434
6a9ad2fa
WD
64352014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6436
6437 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6438 Call libc_fetestexcept_aarch64.
6439
1c8810ed
WD
64402014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6441
6442 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6443 Call libc_feholdexcept_aarch64.
6444
8b1af712
WD
64452014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6446
6447 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6448 Call get_rounding_mode.
6449
a7b00c11
WD
64502014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6451
6452 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6453 Simplify logic.
6454
3a84f1a6
WD
64552014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6456
6457 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6458 Simplify logic.
6459
48eb7a94
JM
64602014-10-24 Joseph Myers <joseph@codesourcery.com>
6461
c8bc4038
JM
6462 [BZ #14138]
6463 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6464 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6465 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6466 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6467 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6468 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6469 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6470 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6471 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6472 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6473 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6474 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6475 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6476 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6477 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6478 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6479 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6480 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6481 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6482 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6483 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6484 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6485 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6486 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6487 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6488 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6489 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6490 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6491 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6492 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6493 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6494 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6495 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6496 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6497 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6498 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6499 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6500 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6501 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6502 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6503 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6504 syscall.
6505 (geteuid): Likewise.
6506 (getgid): Likewise.
6507 (getuid): Likewise.
6508 (getresgid): Likewise.
6509 (getresuid): Likewise.
6510 (getgroups): Likewise.
6511 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6512 (geteuid): Likewise.
6513 (getgid): Likewise.
6514 (getuid): Likewise.
6515 (getresgid): Likewise.
6516 (getresuid): Likewise.
6517 (getgroups): Likewise.
6518 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6519 (geteuid): Likewise.
6520 (getgid): Likewise.
6521 (getuid): Likewise.
6522 (getresgid): Likewise.
6523 (getresuid): Likewise.
6524 (getgroups): Likewise.
6525 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6526 Likewise.
6527 (geteuid): Likewise.
6528 (getgid): Likewise.
6529 (getuid): Likewise.
6530 (getresgid): Likewise.
6531 (getresuid): Likewise.
6532 (getgroups): Likewise.
6533 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6534 (geteuid): Likewise.
6535 (getgid): Likewise.
6536 (getuid): Likewise.
6537 (getresgid): Likewise.
6538 (getresuid): Likewise.
6539 (getgroups): Likewise.
6540 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6541 Likewise.
6542 (geteuid): Likewise.
6543 (getgid): Likewise.
6544 (getuid): Likewise.
6545 (getgroups): Likewise.
6546
48eb7a94
JM
6547 [BZ #14138]
6548 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6549 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6550 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6551 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6552 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6553 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6554 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6555 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6556 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6557 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6558 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6559 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6560 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6561 __chown.
6562 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6563 (lchown): Likewise.
6564 (fchown): Likewise.
6565 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6566 Likewise.
6567 (lchown): Likewise.
6568 (fchown): Likewise.
6569 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6570 (lchown): Likewise.
6571 (fchown): Likewise.
6572 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6573 Likewise.
6574 (lchown): Likewise.
6575 (fchown): Likewise.
6576
ea9a7c8b
WD
65772014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6578
6579 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6580 Simplify logic.
6581
e226de33
WD
65822014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6583
6584 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6585 Cleanup logic.
6586
6e3d8ed3
WD
65872014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6588
6589 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6590 Remove unused include.
6591
eb04247d
WD
65922014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6593
6594 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6595 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6596 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6597 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6598
13d84554
CD
65992014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6600 Helge Deller <deller@gmx.de>
6601
6602 [BZ #17508]
6603 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6604 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6605 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6606
15f9c5df
JM
66072014-10-23 Joseph Myers <joseph@codesourcery.com>
6608
6609 [BZ #14132]
6610 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6611 Remove macro definition.
6612 (__ashrdi3_v_glibc20): Likewise.
6613 (__lshrdi3_v_glibc20): Likewise.
6614 (__cmpdi2_v_glibc20): Likewise.
6615 (__ucmpdi2_v_glibc20): Likewise.
6616 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6617 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6618 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6619 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6620 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6621 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6622
c6dfed24
RM
66232014-10-22 Roland McGrath <roland@hack.frob.com>
6624
6625 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6626 old GNU extension [0] syntax.
6627 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6628 alloca rather than an array member with variable length.
6629 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6630 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6631 (parse_opt): ... here. Likewise use alloca there.
6632 Validate the -i argument before checking for rootness.
6633 (send_shutdown): New function, broken out of ...
6634 (parse_opt): ... here.
6635
8c2b1ed8
RM
66362014-10-22 Roland McGrath <roland@hack.frob.com>
6637
6638 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6639 macro to get at the _rt_local_ro field.
6640 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6641 ([PIC] case) or _dl_hwcap ([!PIC] case).
6642 * sysdeps/arm/setjmp.S: Likewise.
6643
6644 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6645 * sysdeps/arm/configure.ac: New check to define it.
6646 * sysdeps/arm/configure: Regenerated.
6647 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6648 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6649 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6650 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6651 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6652 Use move/movt pair instead of a load.
6653 (LDST_GLOBAL): Macro removed.
6654 (LDR_GLOBAL): New macro replaces it.
6655 (LDR_HIDDEN): New macro.
6656 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6657 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6658
6659 * setjmp/tst-setjmp-static.c: New file.
6660 * setjmp/Makefile (tests): Add it.
6661 (tests-static): New variable.
6662
b5af9297
MR
66632014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6664
6665 [BZ #17485]
6666 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6667
a13d0d74
JM
66682014-10-21 Joseph Myers <joseph@codesourcery.com>
6669
6670 [BZ #14132]
6671 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6672
f05e73f6
RM
66732014-10-21 Roland McGrath <roland@hack.frob.com>
6674
6675 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6676
6ab1d1ea
RM
66772014-10-20 Roland McGrath <roland@hack.frob.com>
6678
6679 * io/fts.c (dirent_not_directory): New function.
6680 (fts_build): Call it.
6681
ab49e763
RM
66822014-10-20 Roland McGrath <roland@hack.frob.com>
6683
e436eb79
RM
6684 * nptl/version.c (__nptl_main): Use normal __write rather than
6685 INTERNAL_SYSCALL.
6686 (banner): Update copyright years.
6687
6af246cf
RM
6688 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6689 gettimeofday.
6690 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6691 * nptl/pthread_cond_timedwait.c: Likewise.
6692 * nptl/pthread_mutex_timedlock.c: Likewise.
6693 * nptl/sem_timedwait.c: Likewise.
6694
ab49e763
RM
6695 * sysdeps/nptl/bits/libc-lock.h
6696 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6697 (__libc_lock_init_recursive): Return void, not 0.
6698 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6699 (__libc_rwlock_init): Likewise.
6700 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6701
f50277c1
TR
67022014-10-20 Torvald Riegel <triegel@redhat.com>
6703
6704 [BZ #15215]
6705 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6706 (__pthread_once_slow): ... here.
6707 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6708 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6709
63668b70
TR
67102014-10-20 Torvald Riegel <triegel@redhat.com>
6711
6712 [BZ #15215]
6713 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6714 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6715 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6716 * nptl/pthread_once.c (__pthread_once): Likewise.
6717 Update comments.
6718
42b7f5d4
JM
67192014-10-20 Joseph Myers <joseph@codesourcery.com>
6720
6721 [BZ #14138]
6722 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6723 name.
6724 (writev): Use __libc_writev as strong name.
6725 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6726 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6727
b0643088
RM
67282014-10-17 Roland McGrath <roland@hack.frob.com>
6729
114c4e09
RM
6730 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6731
674b8978
RM
6732 * sysdeps/i386/nptl/tls.h
6733 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6734 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6735 New macros.
6736 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6737 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6738 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6739 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6740 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6741 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6742
184ee940
RM
6743 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6744 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6745 on [__NR_futex].
6746 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6747 broken out of ...
6748 (__pthread_mutex_init): ... here. Call it.
6749 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6750 Conditionalize PI cases on [__NR_futex].
6751 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6752 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6753 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6754
327ae257
RM
6755 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6756 conditional on [SIGSETXID].
6757 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6758 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6759 is defined. Likewise for SIGSETXID.
6760 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6761 Conditionalize definitions on [SIGSETXID].
6762 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6763 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6764 unblocking on [SIGCANCEL].
6765
b0643088
RM
6766 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6767 [__NR_set_robust_list].
6768
33cc770b
SP
67692014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6770
6771 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6772 (do_compare): Likewise.
6773
0742aef6
LH
67742014-10-17 Leonhard Holz <leonhard.holz@web.de>
6775
6776 [BZ #15884]
6777 * string/strcoll_l.c: Don't include stdio.h.
6778 (coll_seq): Remove members idxarr and rulearr.
6779 (get_next_seq_cached): Remove function.
6780 (get_next_seq): Likewise.
6781 (get_next_seq_nocache): Rename to get_next_seq.
6782 (do_compare): Remove function.
6783 (do_compare_nocache): Rename to do_compare.
6784 (STRCOLL): Remove weight and rules cache.
6785
ee54ce44
RM
67862014-10-16 Roland McGrath <roland@hack.frob.com>
6787
6788 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6789 * sysdeps/arm/sfp-machine.h: ... to here.
6790 * sysdeps/arm/Implies: Remove arm/soft-fp.
6791
a75d3b02
JM
67922014-10-14 Joseph Myers <joseph@codesourcery.com>
6793
6794 * conform/data/sys/utsname.h-data (*_t): Allow.
6795 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6796 [POSIX] (WEXITED): Do not expect constant.
6797 [POSIX] (WSTOPPED): Likewise.
6798 [POSIX] (WNOHANG): Likewise.
6799 [POSIX] (WNOWAIT): Likewise.
6800 [POSIX] (siginfo_t): Do not expect type or elements.
6801 [POSIX] (pid_t): Do not expect type.
6802 [POSIX] (signal.h): Do not allow header.
6803 [POSIX] (sys/resource.h): Likewise.
6804 [POSIX] (si_*): Do not allow pattern.
6805 [POSIX] (W*): Likewise.
6806 [POSIX] (P_*): Likewise.
6807 [POSIX] (BUS_*): Likewise.
6808 [POSIX] (CLD_*): Likewise.
6809 [POSIX] (FPE_*): Likewise.
6810 [POSIX] (ILL_*): Likewise.
6811 [POSIX] (POLL_*): Likewise.
6812 [POSIX] (SEGV_*): Likewise.
6813 [POSIX] (SI_*): Likewise.
6814 [POSIX] (TRAP_*): Likewise.
6815 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6816 variable.
6817
fda389c8
SP
68182014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6819
6820 [BZ #12926]
6821 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6822 infinite loop when __recvmsg returns 0.
6823
6bc6bd3b
JM
68242014-10-10 Joseph Myers <joseph@codesourcery.com>
6825
fcb32af1
JM
6826 * CANCEL-FCT-WAIVE: Remove file.
6827 * CANCEL-FILE-WAIVE: Likewise.
6828
6bc6bd3b
JM
6829 [BZ #14132]
6830 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6831 instead of INTVARDEF.
6832 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6833 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6834 rtld_hidden_data_def instead of INTVARDEF.
6835 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6836 * elf/dl-deps.c (expand_dst): Likewise.
6837 * elf/dl-load.c (_dl_dst_count): Likewise.
6838 (_dl_dst_substitute): Likewise.
6839 (decompose_rpath): Likewise.
6840 (_dl_init_paths): Likewise.
6841 (open_path): Likewise.
6842 (_dl_map_object): Likewise.
6843 * elf/rtld.c (dl_main): Likewise.
6844 (process_dl_audit): Likewise.
6845 (process_envvars): Likewise.
6846 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6847 Remove declaration.
6848 (__libc_enable_secure): Use rtld_hidden_proto.
6849
b8c80a7e
KS
68502014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6851
6852 * elf/dl-load.c
6853 (add_path): New function broken out of _dl_rtld_di_serinfo.
6854 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6855
ff12c11f
JM
68562014-10-09 Joseph Myers <joseph@codesourcery.com>
6857
5c0508a3
JM
6858 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6859 parentheses around macro arguments.
6860 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6861 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6862 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6863 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6864 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6865 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6866 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6867 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6868 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6869 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6870 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6871 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6872 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6873 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6874 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6875 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6876 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6877 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6878 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6879 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6880 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6881 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6882 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6883 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6884 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6885 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6886 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6887 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6888 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6889 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6890 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6891 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6892 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6893 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6894 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6895 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6896 Likewise.
6897 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6898 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6899 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6900 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6901 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6902 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6903 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6904 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6905 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6906 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6907 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6908 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6909 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6910 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6911 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6912 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6914 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6915 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6916 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6917 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6918 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6919 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6920 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6921 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6922 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6923 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6924 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6925 (_FP_FRAC_SRS_1): Likewise.
6926 (_FP_FRAC_CLZ_1): Likewise.
6927 (_FP_MUL_MEAT_1_imm): Likewise.
6928 (_FP_MUL_MEAT_1_wide): Likewise.
6929 (_FP_MUL_MEAT_1_hard): Likewise.
6930 (_FP_SQRT_MEAT_1): Likewise.
6931 (_FP_FRAC_ASSEMBLE_1): Likewise.
6932 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6933 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6934 (__FP_CLZ_2): Likewise.
6935 (_FP_MUL_MEAT_2_wide): Likewise.
6936 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6937 (_FP_MUL_MEAT_2_gmp): Likewise.
6938 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6939 (_FP_SQRT_MEAT_2): Likewise.
6940 (_FP_FRAC_ASSEMBLE_2): Likewise.
6941 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6942 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6943 (_FP_FRAC_CLZ_4): Likewise.
6944 (_FP_MUL_MEAT_4_wide): Likewise.
6945 (_FP_MUL_MEAT_4_gmp): Likewise.
6946 (_FP_SQRT_MEAT_4): Likewise.
6947 (_FP_FRAC_ASSEMBLE_4): Likewise.
6948 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6949 * soft-fp/op-common.h (_FP_CMP): Likewise.
6950 (_FP_CMP_EQ): Likewise.
6951 (_FP_CMP_UNORD): Likewise.
6952 (_FP_TO_INT): Likewise.
6953 (_FP_FROM_INT): Likewise.
6954 [!__FP_CLZ] (__FP_CLZ): Likewise.
6955 (_FP_DIV_HELP_imm): Likewise.
6956 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6957 Likewise.
6958 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6959 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6960 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6961 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6962 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6963 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6964 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6965 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6966 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6967 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6968 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6969 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6970 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6971 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6972 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6973 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6974 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6975 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6976 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6977 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6978 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6979 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6980 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6981 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6982 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6983 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6984 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6985 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6986 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6987 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6988 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6989 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6990 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6991 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6992 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6993 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6994 (FP_UNPACK_RAW_SP): Likewise.
6995 (FP_PACK_RAW_S): Likewise.
6996 (FP_PACK_RAW_SP): Likewise.
6997 (FP_UNPACK_S): Likewise.
6998 (FP_UNPACK_SP): Likewise.
6999 (FP_UNPACK_SEMIRAW_S): Likewise.
7000 (FP_UNPACK_SEMIRAW_SP): Likewise.
7001 (FP_PACK_S): Likewise.
7002 (FP_PACK_SP): Likewise.
7003 (FP_PACK_SEMIRAW_S): Likewise.
7004 (FP_PACK_SEMIRAW_SP): Likewise.
7005 (_FP_SQRT_MEAT_S): Likewise.
7006 (FP_CMP_S): Likewise.
7007 (FP_CMP_EQ_S): Likewise.
7008 (FP_CMP_UNORD_S): Likewise.
7009 (FP_TO_INT_S): Likewise.
7010 (FP_FROM_INT_S): Likewise.
7011
a736ec37
JM
7012 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7013
ff12c11f
JM
7014 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7015 (FP_EX_INVALID_IMZ): Likewise.
7016 (FP_EX_INVALID_IMZ_FMA): Likewise.
7017 (FP_EX_INVALID_ISI): Likewise.
7018 (FP_EX_INVALID_ZDZ): Likewise.
7019 (FP_EX_INVALID_IDI): Likewise.
7020 (FP_EX_INVALID_SQRT): Likewise.
7021 (FP_EX_INVALID_CVI): Likewise.
7022 (FP_EX_INVALID_VC): Likewise.
7023 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7024 "invalid" exceptions.
7025 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7026 (_FP_ADD_INTERNAL): Likewise.
7027 (_FP_MUL): Likewise.
7028 (_FP_FMA): Likewise.
7029 (_FP_DIV): Likewise.
7030 (_FP_CMP_CHECK_NAN): Likewise.
7031 (_FP_SQRT): Likewise.
7032 (_FP_TO_INT): Likewise.
7033 (FP_EXTEND): Likewise.
7034
b6dcfe8c
AM
70352014-10-09 Allan McRae <allan@archlinux.org>
7036
7037 * po/fr.po: Update French translation from translation project.
7038
2d6a47ba
JM
70392014-10-09 Joseph Myers <joseph@codesourcery.com>
7040
cb831245
JM
7041 [BZ #14132]
7042 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7043 of INTDEF.
7044 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7045 (__cxa_atexit): Use libc_hidden_proto.
7046 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7047
5deeb190
JM
7048 [BZ #14132]
7049 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7050 declaration.
7051 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7052 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7053 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7054 [!_ISOMAC] (__iswctype_internal): Likewise.
7055 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7056 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7057 alias.
7058 (fcntl): Remove __fcntl_internal alias.
7059 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7060 __connect_internal alias.
7061 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7062 Likewise.
7063
454ac701
JM
7064 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7065 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7066 FP_DENORM_ZERO.
7067 (_FP_CHECK_FLUSH_ZERO): New macro.
7068 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7069 (_FP_CMP): Likewise.
7070 (_FP_CMP_EQ): Likewise.
7071 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7072 FP_DENORM_ZERO.
7073 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7074 (FP_TRUNC): Likewise.
7075
0022e688
JM
7076 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7077 treated as invalid conversion, not as normal exponent.
7078
73e28d9c
JM
7079 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7080 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7081 (_FP_CMP_EQ): Likewise.
7082 (_FP_CMP_UNORD): Likewise.
7083 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7084 (FP_CMP_EQ_D): Likewise.
7085 (FP_CMP_UNORD_D): Likewise.
7086 * soft-fp/extended.h (FP_CMP_E): Likewise.
7087 (FP_CMP_EQ_E): Likewise.
7088 (FP_CMP_UNORD_E): Likewise.
7089 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7090 (FP_CMP_EQ_Q): Likewise.
7091 (FP_CMP_UNORD_Q): Likewise.
7092 * soft-fp/single.h (FP_CMP_S): Likewise.
7093 (FP_CMP_EQ_S): Likewise.
7094 (FP_CMP_UNORD_S): Likewise.
7095 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7096 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7097 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7098 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7099 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7100 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7101 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7102 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7103 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7104 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7105 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7106 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7107 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7108 to FP_CMP_Q.
7109 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7110 FP_CMP_Q.
7111 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7112 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7113 FP_CMP_EQ_Q.
7114 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7115 FP_CMP_Q.
7116 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7117 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7118 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7119 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7120 FP_CMP_EQ_Q.
7121 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7122 FP_CMP_Q.
7123 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7124 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7125 FP_CMP_EQ_Q.
7126 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7127 FP_CMP_Q.
7128 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7129 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7130 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7131 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7132 FP_CMP_EQ_Q.
7133
43059f42
JM
7134 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7135 a subnormal result, set the underflow exception if trapping on
7136 underflow is enabled.
7137 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7138 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7139 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7140 redefine to 0.
7141 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7142 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7143 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7144 * soft-fp/extendxftf2.c (__extendxftf2): Use
7145 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7146
2d6a47ba
JM
7147 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7148 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7149 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7150 FP_HANDLE_EXCEPTIONS.
7151 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7152 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7153 FP_HANDLE_EXCEPTIONS.
7154 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7155 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7156 FP_HANDLE_EXCEPTIONS.
7157 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7158 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7159 FP_HANDLE_EXCEPTIONS.
7160
620f462e
JM
71612014-10-08 Joseph Myers <joseph@codesourcery.com>
7162
7163 [BZ #14132]
7164 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7165 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7166 use INTUSE.
7167 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7168 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7169 Remove alias.
7170 (__adjtimex): Define using libc_hidden_ver.
7171 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7172 Remove declaration.
7173 (ntp_gettime): Call __adjtimex directly.
7174 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7175 Remove declaration.
7176 (ntp_gettimex): Call __adjtimex directly.
7177 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7178 __adjtimex_internal alias.
7179
c763c5d2
RM
71802014-10-08 Roland McGrath <roland@hack.frob.com>
7181
7182 [BZ #17460]
7183 * nscd/nscd.c (more_help): Rewrite list of tables collection
7184 using xstrdup and asprintf.
7185
7186 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7187
7b8fb2b8
RM
71882014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7189 Roland McGrath <roland@hack.frob.com>
7190
7191 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7192 (do_lookup_unique): ... local function 'enter' here; update callers.
7193
abb280f7
JM
71942014-10-06 Joseph Myers <joseph@codesourcery.com>
7195
f7b42517
JM
7196 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7197 compat_symbol calls on [SHARED].
7198 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7199 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7200 Remove.
7201 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7202 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7203 (oldsetrlimit): Remove.
7204 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7206 (lchown): New syscall entry.
7207 (oldsetrlimit): Remove.
7208 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7209 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7210 (oldsetrlimit): Remove.
7211 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7212
abb280f7
JM
7213 [BZ #14138]
7214 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7215 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7216 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7217 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7218 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7219 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7220 (fchown): Likewise.
7221 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7222 (fchown): Likewise.
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7224 Likewise.
7225
47d46237
AZ
72262014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7227
7228 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7229 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7230 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7231 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7232 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7233 Likewise.
7234 (__old_sem_post): Likewise.
7235
72362014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7237
845a7343
CM
7238 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7239 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7240 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7241 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7242 Use INLINE_VSYSCALL macro.
7243 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7244 __vdso_clock_gettime.
7245 * sysdeps/unix/sysv/linux/tile/init-first.c
7246 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7247 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7248 __vdso_clock_gettime.
7249
83d641ef
CM
7250 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7251 to set up frame more cleanly.
7252
d9cd52e6
CM
7253 * sysdeps/tile/memcmp.c: New file.
7254
4b68ea11
CM
7255 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7256
c86f7b80
CM
7257 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7258 * sysdeps/tile/tilegx/strcasestr.c: New file.
7259 * sysdeps/tile/tilegx/strnlen.c: New file.
7260 * sysdeps/tile/tilegx/strstr.c: New file.
7261
1c4c1a6f
CM
7262 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7263
99d86ea3
AS
72642014-10-06 Arjun Shankar <arjun.is@lostca.se>
7265
7266 * nptl/tst-setuid3.c: Write errors to stdout.
7267
06210a44
KS
72682014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7269
7270 * elf/dl-deps.c
7271 (preload): New functions broken out of _dl_map_object_deps.
7272 (_dl_map_object_deps): Remove a nested function. Update call sites.
7273
6268f532
JM
72742014-10-01 Joseph Myers <joseph@codesourcery.com>
7275
7276 [BZ #14138]
7277 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7278 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7279
b925285f
SE
72802014-10-01 Steve Ellcey <sellcey@mips.com>
7281
7282 * sysdeps/mips/strcmp.S: New.
7283
754a15c6
JM
72842014-09-30 Joseph Myers <joseph@codesourcery.com>
7285
7286 [BZ #14138]
7287 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7288 (linkat): Likewise.
7289 (mkdirat): Likewise.
7290 (readlinkat): Likewise.
7291 (renameat): Likewise.
7292 (symlinkat): Likewise.
7293 (unlinkat): Likewise.
7294 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7295 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7296 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7297 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7298 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7299 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7300 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7301
85bb81c9
WN
73022014-09-30 Will Newton <will.newton@linaro.org>
7303
dc6fe23b
WN
7304 * math/math.h: Define long double math functions if
7305 _LIBC_TEST is defined.
7306 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7307
85bb81c9
WN
7308 * localedata/Makefile: Move assignment to tests-special
7309 into an ifdef testing run-built-tests.
7310 * timezone/Makefile: Likewise.
7311
b7e02da4
JM
73122014-09-29 Joseph Myers <joseph@codesourcery.com>
7313
7314 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7315 with $(BASH) not $(SHELL).
7316
62058ce6
CD
73172014-09-29 Carlos O'Donell <carlos@redhat.com>
7318 Matthew LeGendre <legendre1@llnl.gov>
7319
7320 [BZ #17411]
7321 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7322 l_reloc_result.
7323
8e257a29
KS
73242014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7325
7326 * stdio-common/printf_fp.c
7327 (hack_digit): New function, broken out of ...
7328 (__printf_fp): ... local function here. Update call sites.
7329 hack_digit now takes an additional parameter that is a pointer
7330 to a struct of the referenced locals. Those locals moved inside
7331 the struct and references updated.
7332
f4a58f0d
L
73332014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7334
7335 * aclocal.m4: Require autoconf 2.69.
7336 * configure: Regenerated.
7337 * sysdeps/aarch64/configure: Likewise.
7338 * sysdeps/alpha/configure: Likewise.
7339 * sysdeps/arm/armv7/configure: Likewise.
7340 * sysdeps/arm/configure: Likewise.
7341 * sysdeps/ia64/configure: Likewise.
7342 * sysdeps/mach/configure: Likewise.
7343 * sysdeps/mips/configure: Likewise.
7344 * sysdeps/s390/configure: Likewise.
7345 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7347
7348 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7349 file.
7350 * sysdeps/ia64/configure.ac: Likewise.
7351
93ae1eba
JM
73522014-09-26 Joseph Myers <joseph@codesourcery.com>
7353
1810d3ab
JM
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7355 specify symbol version for ld.so. Do not include entry for
7356 libpthread.
7357 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7358 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7359 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7360
93ae1eba
JM
7361 [BZ #14171]
7362 * Makeconfig [$(build-shared) = yes]
7363 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7364 makefiles.
7365 [$(build-shared) = yes && $(soversions.mk-done) = t]
7366 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7367 [$(build-shared) = yes && $(soversions.mk-done) = t]
7368 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7369 to Makerules.
7370 [$(build-shared) = yes && $(soversions.mk-done) = t]
7371 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7372 here.
7373 [$(build-shared) = yes && $(soversions.mk-done) = t]
7374 (common-generated): Don't append gnu/lib-names.h and
7375 gnu/lib-names.stmp here.
7376 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7377 (lib-names-h-abi): New variable.
7378 [$(build-shared) = yes && $(soversions.mk-done) = t]
7379 (lib-names-stmp-abi): Likewise.
7380 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7381 abi-variants] (before-compile): Append
7382 $(common-objpfx)$(lib-names-h-abi).
7383 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7384 abi-variants] (common-generated): Append gnu/lib-names.h.
7385 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7386 abi-variants] (install-others-nosubdir): Depend on
7387 $(inst_includedir)/$(lib-names-h-abi).
7388 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7389 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7390 [$(build-shared) = yes && $(soversions.mk-done) = t]
7391 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7392 [$(build-shared) = yes && $(soversions.mk-done) = t]
7393 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7394 [$(build-shared) = yes && $(soversions.mk-done) = t]
7395 (common-generated): Append $(lib-names-h-abi) and
7396 $(lib-names-stmp-abi).
7397 * scripts/lib-names.awk: Do not handle multi being set.
7398 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7399 Remove variable.
7400 (abi-lp64_be-ld-soname): Likewise.
7401 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7402 Likewise.
7403 (abi-hard-ld-soname): Likewise.
7404 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7405 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7406 Remove variable.
7407 (abi-o32_hard-ld-soname): Likewise.
7408 (abi-o32_soft_2008-ld-soname): Likewise.
7409 (abi-o32_hard_2008-ld-soname): Likewise.
7410 (abi-n32_soft-ld-soname): Likewise.
7411 (abi-n32_hard-ld-soname): Likewise.
7412 (abi-n32_soft_2008-ld-soname): Likewise.
7413 (abi-n32_hard_2008-ld-soname): Likewise.
7414 (abi-n64_soft-ld-soname): Likewise.
7415 (abi-n64_hard-ld-soname): Likewise.
7416 (abi-n64_soft_2008-ld-soname): Likewise.
7417 (abi-n64_hard_2008-ld-soname): Likewise.
7418 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7419 Likewise.
7420 (abi-64-v2-ld-soname): Likewise.
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7422 ld.so entries.
7423 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7424 variable.
7425 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7426 entry.
7427 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7428 variable.
7429 (abi-64-ld-soname): Likewise.
7430 (abi-x32-ld-soname): Likewise.
7431 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7432 entry.
7433 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7434
68870f12
JM
74352014-09-23 Joseph Myers <joseph@codesourcery.com>
7436
7437 [BZ #14138]
7438 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7439 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7440 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7441 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7442 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7443 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7444 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7445 syscall entry for GLIBC_2.2 symbol version.
7446 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7447 Likewise.
7448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7449 (setrlimit): Likewise.
7450 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7451 Likewise.
7452
ea58f202
WN
74532014-09-23 Will Newton <will.newton@linaro.org>
7454
7455 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7456 _LINUX_ARM_SYSDEP_H include guard too.
7457 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7458 define.
7459
69eb9a18
RV
74602014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7461
7462 * sysdeps/unix/sysv/linux/eventfd.c:
7463 Make first argument unsigned.
7464 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7465 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7466
20e5a5f7
OB
74672014-09-20 Ondřej Bílka <neleai@seznam.cz>
7468
7469 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7470 * socket/sys/socket.h: Likewise
7471 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7472
d3c827e7
AK
74732014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7474
7475 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7476
fe1cc35a
AS
74772014-09-17 Arjun Shankar <arjun.is@lostca.se>
7478
7479 * time/tst-ftime.c: New test.
7480 * time/Makefile (tests): Add tst-ftime.
7481
4e8afe69
JM
74822014-09-17 Joseph Myers <joseph@codesourcery.com>
7483
c4fe3ea7
JM
7484 * soft-fp/extended.h: Fix comment formatting.
7485 * soft-fp/op-1.h: Likewise.
7486 * soft-fp/op-2.h: Likewise.
7487 * soft-fp/op-4.h: Likewise.
7488 * soft-fp/op-8.h: Likewise.
7489 * soft-fp/op-common.h: Likewise.
7490 * soft-fp/soft-fp.h: Likewise.
7491
4e8afe69
JM
7492 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7493
af296fcd
JM
74942014-09-16 Joseph Myers <joseph@codesourcery.com>
7495
7496 [BZ #6652]
7497 * Makeconfig (soversions-default-setname): Remove variable.
7498 ($(common-objpfx)soversions.i): Don't pass default_setname to
7499 soversions.awk.
7500 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7501 oldest_abi to abi-versions.awk.
7502 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7503 * config.make.in (oldest-abi): Remove variable.
7504 * configure.ac (--enable-oldest-abi): Remove configure option.
7505 * configure: Regenerated.
7506 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7507 text.
7508 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7509 * scripts/soversions.awk: Do not handle default_setname variable.
7510 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7511 variable.
7512 * sysdeps/mach/hurd/configure: Regenerated.
7513 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7514 variable.
7515 * sysdeps/unix/sysv/linux/configure: Regenerated.
7516
545583d6
SP
75172014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7518
d330b980
SP
7519 * elf/Makefile (CFLAGS-interp.c): Remove.
7520 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7521 path string.
7522 * elf/interp.c: Include generated runtime-linker.h
7523
02657da2
SP
7524 * Makerules (lib%.so): Don't include $(+interp) in
7525 prerequisites.
7526 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7527 * dlfcn/eval.c: Remove file.
7528
653b1080
SP
7529 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7530 macros.
7531
602f80ec
SP
7532 [BZ #17266]
7533 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7534 4.2 and newer.
7535
545583d6
SP
7536 [BZ #17370]
7537 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7538
884ddc50
SP
75392014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7540 Jakub Jelinek <jakub@redhat.com>
7541
7542 [BZ #17266]
7543 * libio/stdio.h: Check definition of __fortify_function
7544 instead of __extern_always_inline to include bits/stdio2.h.
7545 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7546 check if __extern_always_inline is defined.
7547 [__USE_MISC || __USE_XOPEN]: Likewise.
7548 [__USE_ISOC99] Likewise.
7549 * misc/sys/cdefs.h (__fortify_function): Define only if
7550 __extern_always_inline is defined.
7551 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7552 __extern_always_inline and __extern_inline only for g++-4.3
7553 and newer or a compatible gcc.
7554
a7b87268
AS
75552014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7556
7557 [BZ #17371]
7558 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7559 last change to handle zero prefix length.
7560
3f41521d
SP
75612014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7562
61fe374a
SP
7563 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7564 _SC_REGEX_VERSION.
7565
3f41521d
SP
7566 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7567 _POSIX_RAW_SOCKETS.
7568
d8f879ee
AM
75692014-09-13 Allan McRae <allan@archlinux.org>
7570
7571 * po/ru.po: Update Russian translation from translation project.
7572
c079afb7
RM
75732014-09-12 Roland McGrath <roland@hack.frob.com>
7574
a62b3c15
RM
7575 * locale/programs/locale.c (show_locale_vars): Inline local function
7576 into its sole call site. Clean up some style nits.
7577 (print_item): New function, broken out of ...
7578 (show_info): ... local function here. Clean up style nits.
7579
d7e49b19
RM
7580 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7581 out of ...
7582 (set_class_defaults): ... local function set_default here.
7583 Define set_default as a macro locally to pass constant parameters.
7584 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7585 rather than a shared local.
7586
c079afb7
RM
7587 * stdlib/rpmatch.c (try): New function, broken out of ...
7588 (rpmatch): ... local function here. Also, prototypify definition.
7589
0bd72468
JM
75902014-09-12 Joseph Myers <joseph@codesourcery.com>
7591
ba90e050
JM
7592 * scripts/soversions.awk: Do not handle configuration names.
7593 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7594 vendor and os variables to soversions.awk.
7595 * configure.ac: Do not modify gnu-* host_os.
7596 * configure: Regenerated
7597 * shlib-versions: Remove first column with configuration names.
7598 * nptl/shlib-versions: Likewise.
7599 * nptl_db/shlib-versions: Likewise.
7600 * sysdeps/hppa/shlib-versions: Likewise.
7601 * sysdeps/m68k/shlib-versions: Likewise.
7602 * sysdeps/mach/hurd/shlib-versions: Likewise.
7603 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7604 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7605 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7606 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7607 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7608 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7609 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7610 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7612 Likewise.
7613 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7614 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7615 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7616 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7617 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7618 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7619 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7620 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7621
73a39112
JM
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7623 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7625 Regenerated.
7626 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7628 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7629
c729e7c1
JM
7630 * shlib-versions: Remove OS-specific entries. Moved to files in
7631 sysdeps.
7632 * sysdeps/mach/hurd/shlib-versions: New file.
7633 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7634
dc932a24
JM
7635 * nptl/shlib-versions: Remove architecture-specific entries.
7636 Moved to files in sysdeps.
7637 * shlib-versions: Likewise.
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7639 file.
7640 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7641 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7642 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7643 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7644
0bd72468
JM
7645 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7646 (UDP_NO_CHECK6_RX): Likewise.
7647
920238e0
SP
76482014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7649
7650 * sysdeps/posix/sysconf.c (__sysconf): Spell
7651 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7652
ba7b4d29
FW
76532014-08-12 Florian Weimer <fweimer@redhat.com>
7654
7655 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7656 loading.
7657 * iconv/Versions (__gconv_transliterate): Export for use from
7658 gconv modules.
7659 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7660 (struct __gconv_trans_data, __gconv_trans_fct,
7661 __gconv_trans_context_fct, __gconv_trans_query_fct,
7662 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7663 definitions.
7664 (struct __gconv_step_data): Remove __trans member.
7665 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7666 longer hidden. Remove unused trans_data argument.
7667 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7668 (__gconv_translit_find): Remove declaration.
7669 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7670 prototype.
7671 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7672 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7673 trans_data argument. Add hidden definition.
7674 (__gconv_translit_find): Remove.
7675 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7676 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7677 * iconv/skeleton.c: Remove transliteration initialization.
7678 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7679 __gconv_step_data initialization.
7680 * libio/iofwide.c (__libio_translit_): Remove.
7681 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7682 * wcsmbs/btowc.c (__btowc): Likewise.
7683 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7684 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7685 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7686 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7687 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7688 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7689 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7690 * wcsmbs/wctob.c (wctob): Likewise.
7691
5379aebd
SP
76922014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7693
7694 [BZ #16194]
7695 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7696 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7697 register usage.
7698 * sysdeps/x86/Makefile: Adjust.
7699
8c0ab919
RM
77002014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7701 Roland McGrath <roland@hack.frob.com>
7702
7703 * locale/weight.h: Add include guard.
7704 (findidx): Make static rather than auto; take new parameters
7705 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7706 * locale/weightwc.h: Likewise.
7707 * posix/fnmatch_loop.c
7708 (FCT): Change type of EXTRA from int32_t to wint_t.
7709 Don't include either header inside the function.
7710 Call FINDIDX rather than findidx, and pass new arguments.
7711 #undef FINDIDX at the end of the file.
7712 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7713 FINDIDX before including fnmatch_loop.c for the non-wide version.
7714 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7715 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7716 for the wide version.
7717 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7718 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7719 Pass new arguments to findidx.
7720 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7721 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7722 Don't #include it inside the function. Pass new arguments to findidx.
7723 * posix/regex_internal.h
7724 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7725 (re_string_elem_size_at): Don't #include it inside the function.
7726 Pass new arguments to findidx.
7727 * string/strcoll_l.c: #include WEIGHT_H at top level.
7728 (get_next_seq): Don't #include it inside the function.
7729 Pass new arguments to findidx.
7730 (get_next_seq_nocache): Likewise.
7731 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7732 (STRXFRM): Don't #include it inside the function.
7733 Pass new arguments to findidx.
7734
52ffbdf2
FW
77352014-09-11 Florian Weimer <fweimer@redhat.com>
7736
7737 [BZ #17344]
7738 * malloc/malloc.c (unlink): Turn asserts into a call to
7739 malloc_printerr.
7740
984c0ea9
TL
77412014-09-11 Tim Lammens <tim.lammens@gmail.com>
7742
7743 [BZ #17370]
7744 * libio/wfileops (do_ftell_wide): Free OUT.
7745
3daee107
CM
77462014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7747
7748 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7749
58b930ae
SP
77502014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7751
7752 [BZ #17363]
7753 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7754 group if the current group is empty.
7755
3b473fec
AZ
77562014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7757
71ae8647
AZ
7758 * benchtests/bench-memset.c (test_main): Add more test from size
7759 from 32 to 512 bytes.
7760 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7761 Add POWER8 memset object.
7762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7763 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7764 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7765 implementation.
7766 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7767 Likewise.
7768 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7769 multiarch POWER8 memset optimization.
7770 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7771 POWER8 memset optimization.
7772
3b473fec
AZ
7773 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7774 Remove bzero multiarch objects.
7775 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7776 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7777 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7778 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7779 Remove define.
7780 [__bzero]: Redefine to specific name.
7781 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7782 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7783 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7784 define.
7785 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7786 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7787
e6fb9587
FW
77882014-09-10 Florian Weimer <fweimer@redhat.com>
7789
7790 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7791 warnings into errors.
7792
7793 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7794 __cxa_thread_atexit_impl prototype.
7795
9d3a350b
SE
77962014-09-09 Steve Ellcey <sellcey@mips.com>
7797
7798 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7799 Fix capitalization of error message.
7800
0febba23
SE
78012014-09-09 Steve Ellcey <sellcey@mips.com>
7802
7803 * sysdeps/mips/preconfigure: Modify ABI tests.
7804
645a0e9c
CD
78052014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7806
7807 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7808
d83f0734
CD
78092014-09-07 Roland McGrath <roland@hack.frob.com>
7810 Carlos O'Donell <carlos@systemhalted.org>
7811
7812 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7813 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7814 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7815 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7816 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7817 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7818 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7819 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7820 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7821 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7822 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7823 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7824 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7825 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7826 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7827 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7828 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7829 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7830 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7831 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7832 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7833 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7834 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7835 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7836 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7837 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7838 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7839 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7840 Deconditionalize the code that was previously under [RESET_PID].
7841 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7842 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7843 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7844 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7845 include sysdep.h.
7846
21c83793
AM
78472014-09-08 Allan McRae <allan@archlinux.org>
7848
7849 * version.h (RELEASE): Set to "development".
7850 (VERSION): Set to "2.20.90"
7851
1cd9b65c
AM
78522014-09-07 Allan McRae <allan@archlinux.org
7853
b8079dd0
AM
7854 * version.h (RELEASE): Set to "stable".
7855 (VERSION): Set to "2.20"
7856 * include/features.h (__GLIBC_MINOR__): Set to 20.
7857
c46303ef
AM
7858 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7859 Liebler.
7860
1cd9b65c
AM
7861 * po/ko.po: Update Korean translation from translation project.
7862
8622092d
CM
78632014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7864
7865 [BZ #17354]
7866 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7867 macro for handling signed relocations.
7868
41488498
FW
78692014-09-03 Florian Weimer <fweimer@redhat.com>
7870
7871 [BZ #17325]
7872 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7873 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7874 assert.
7875 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7876 * iconvdata/ibm935.c (BODY): Likewise.
7877 * iconvdata/ibm937.c (BODY): Likewise.
7878 * iconvdata/ibm939.c (BODY): Likewise.
7879 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7880 assert.
7881 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7882 script.
7883 * iconvdata/run-iconv-test.sh: New test loop for checking for
7884 decoder crashers.
7885
a78b712d
KR
78862014-09-02 Khem Raj <raj.khem@gmail.com>
7887
7888 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7889 libm_hidden_ver.
7890
cb08abc6
AM
78912014-09-01 Allan McRae <allan@archlinux.org>
7892
2c31e102
AM
7893 * po/eo.po: Update Esperanto translation from translation project.
7894
cb08abc6
AM
7895 * po/ca.po: Update Catalan translation from translation project.
7896
17a62de1
ST
78972014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7898
7899 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7900 __proc_dostop call.
7901
9570bc53
MW
79022014-08-27 Mark Wielaard <mjw@redhat.com>
7903
7904 [BZ #17319]
7905 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7906 to call set_thread_area instead of hand written asm.
7907 (__NR_set_thread_area): Removed define.
7908 (TLS_FLAG_WRITABLE): Likewise.
7909 (__ASSUME_SET_THREAD_AREA): Remove check.
7910 (TLS_EBX_ARG): Remove define.
7911 (TLS_LOAD_EBX): Likewise.
7912
b0f955c9
ST
79132014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7914
7915 Simplify atomicity of socket creation in bind.
7916
7917 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7918 looking up the name after linking the file.
7919
529bf515
AM
79202014-08-27 Allan McRae <allan@archlinux.org>
7921
7922 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7923
a1a6a401
FW
79242014-08-26 Florian Weimer <fweimer@redhat.com>
7925
7926 [BZ #17187]
7927 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7928 trans_compare, open_translit, __gconv_translit_find):
7929 Remove module loading code.
7930
686ab290
AM
79312014-08-26 Allan McRae <allan@archlinux.org>
7932
e4e7cfd2
AM
7933 * po/vi.po: Update Vietnamese translation from translation project.
7934
6aa09f71
AM
7935 * po/uk.po: Update Ukrainian translation from translation project.
7936
edc0660e
AM
7937 * po/fr.po: Update French translation from translation project.
7938
7eea72ac
AM
7939 * po/ru.po: Update Russian translation from translation project.
7940
93c49eff
AM
7941 * po/pl.po: Update Polish translation from translation project.
7942
46acaf63
AM
7943 * po/cs.po: Update Czech translation from translation project.
7944
a9f5ce98
AM
7945 * po/de.po: Update German translation from translation project.
7946
373f2b78
AM
7947 * po/bg.po: Update Bulgarian translation from translation project.
7948
e7548bd8
AM
7949 * po/sv.po: Update Sweedish translation from translation project.
7950
c526bf4d
AM
7951 * po/nl.po: Update Dutch translation from translation project.
7952
686ab290
AM
7953 * po/es.po: Update Spanish translation from translation project.
7954
eb72478a
SP
79552014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7956
dd763fdb
SP
7957 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7958
318c7a58
SP
7959 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7960 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7961 (CPPFLAGS-iconvconfig): Likewise.
7962 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7963
eb72478a
SP
7964 * include/libc-symbols.h: Remove unnecessary check for
7965 NOT_IN_libc.
7966 * nptl/pthreadP.h: Likewise.
7967 * sysdeps/aarch64/setjmp.S: Likewise.
7968 * sysdeps/alpha/setjmp.S: Likewise.
7969 * sysdeps/arm/sysdep.h: Likewise.
7970 * sysdeps/i386/setjmp.S: Likewise.
7971 * sysdeps/m68k/setjmp.c: Likewise.
7972 * sysdeps/posix/getcwd.c: Likewise.
7973 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7974 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7975 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7976 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7977 * sysdeps/sh/sh3/setjmp.S: Likewise.
7978 * sysdeps/sh/sh4/setjmp.S: Likewise.
7979 * sysdeps/unix/alpha/sysdep.h: Likewise.
7980 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7981 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7982 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7983 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7986 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7987 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7988 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7990 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7991 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7993 * sysdeps/x86_64/setjmp.S: Likewise.
7994
d44a052c
JM
79952014-08-13 Joseph Myers <joseph@codesourcery.com>
7996
7997 [BZ #17263]
7998 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7999 <stdint.h>.
8000 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8001 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8002
508ce3ac
SP
80032014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8004
e44c8b0e
SP
8005 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8006
508ce3ac
SP
8007 [BZ #17262]
8008 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8009 and __x86_64__ when disabling x87 inline functions.
8010
b4acef1f
L
80112014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8012
8013 [BZ #17259]
8014 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8015 asm statement with __cpuid_count.
8016
61b1ef6e
MF
80172014-08-12 Mike Frysinger <vapier@gentoo.org>
8018
8019 * configure.ac: Change __ehdr_start code to dereference the struct.
8020 Run readelf on the output to look for relocations.
8021 * configure: Regenerated.
8022
898c62f4
JM
80232014-08-12 Joseph Myers <joseph@codesourcery.com>
8024
8025 [BZ #17261]
8026 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8027 value to 0.
8028 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8029
9a8a5720
RM
80302014-08-12 Roland McGrath <roland@hack.frob.com>
8031
8032 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8033
4e75751c
BO
80342014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8035
8036 [BZ #16892]
8037 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8038 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8039
bb2ce416
SA
80402014-08-12 Sean Anderson <seanga2@gmail.com>
8041
8042 * malloc/malloc.c: Fix typo in comment.
8043
7950a4ee
AM
80442014-08-09 Allan McRae <allan@archlinux.org>
8045
8046 * Regenerate libc.po.
8047
f469c49f
MF
80482014-08-08 Mike Frysinger <vapier@gentoo.org>
8049
8050 * intl/tst-gettext2.sh: Check every lang file for creation.
8051
656b84c2
WD
80522014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8053
8054 * sysdeps/aarch64/fpu/math_private.h
8055 (libc_feholdsetround_noex_aarch64_ctx): New function.
8056
538e9e45
W
80572014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8058
8059 * sysdeps/arm/armv6/strcpy.S (strcpy):
8060 Fix performance issue in misaligned cases.
8061
d4795e4a
AZ
80622014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8063
8064 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8065 Move definition from termios.h.
8066 (struct termio): Likewise.
8067 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8068 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8069 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8070 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8071 Likewise.
8072 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8073 Move definition to ioctl-types.h
8074 (struct termio): Likewise.
8075 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8076 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8077 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8078 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8079 Likewise.
8080
64accb62
RH
80812014-08-05 Richard Henderson <rth@redhat.com>
8082
27bb6dc0
RH
8083 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8084 exceptions.
8085 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8086 Add fraiseexcpt.
8087 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8088 Use __feraiseexcept.
8089 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8090 Protect libm symbols with IS_IN_libm.
8091
64accb62
RH
8092 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8093
e5292691
BO
80942014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8095
8096 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8097
5b4bd2d4
WN
80982014-08-04 Will Newton <will.newton@linaro.org>
8099
8100 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8101 file.
8102
fcadaeef
MF
81032014-08-04 Mike Frysinger <vapier@gentoo.org>
8104
8105 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8106 variants for each function.
8107
43a94c64
RM
81082014-08-04 Roland McGrath <roland@hack.frob.com>
8109
8110 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8111 appended ...
8112 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8113 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8114 appended ...
8115 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8116 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8117 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8118 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8119 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8120 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8121 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8122 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8123 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8124 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8125 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8126 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8127 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8128 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8129 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8130 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8131 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8132 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8133 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8134 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8135 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8136 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8137 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8138 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8139 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8140 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8141 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8143 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8144 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8145 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8146 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8147 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8148 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8149 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8150 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8151 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8152 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8153 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8154 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8155 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8156 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8157 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8158 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8159 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8160 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8161 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8162 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8163 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8164 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8165 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8166 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8167 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8168 Update #include.
8169 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8170 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8171
8f3c1fa4
RM
81722014-08-04 Roland McGrath <roland@hack.frob.com>
8173
8174 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8175 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8176 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8177 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8178 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8179 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8180
ca08746f
RM
81812014-08-04 Roland McGrath <roland@hack.frob.com>
8182
8183 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8184 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8185 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8186 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8187
9c925ff9
RM
81882014-08-04 Roland McGrath <roland@hack.frob.com>
8189
8190 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8191 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8192 (__libc_vfork): Define function under this name.
8193 (__vfork): Define as an alias.
8194 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8195 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8196
e641054c
RM
81972014-08-04 Roland McGrath <roland@hack.frob.com>
8198
8199 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8200 that was previously under [RESET_PID].
8201 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8202
dacdc867
AS
82032014-08-04 Andreas Schwab <schwab@suse.de>
8204
8205 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8206
41f725ff
MF
82072014-08-03 Mike Frysinger <vapier@gentoo.org>
8208
8209 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8210 (main): Likewise.
8211
277cfb31
RM
82122014-08-01 Roland McGrath <roland@hack.frob.com>
8213
8214 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8215
4896f049
RH
82162014-08-01 Richard Henderon <rth@redhat.com>
8217
8218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8219 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8220 typo in exact zero test.
8221 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8222 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8223 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8224
6f64e7d7
RM
82252014-08-01 Roland McGrath <roland@hack.frob.com>
8226
8227 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8228 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8229 * sysdeps/arm/sysdep.h: ... here.
8230 [!__ASSEMBLER__]: Include <stdint.h>.
8231
3f3dd810
SP
82322014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8233
a476ac4b
SP
8234 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8235 (HAVE_WCTYPE_H): Likewise.
8236 (HAVE_ISWCTYPE): Likewise.
8237 (ENABLE_NLS): Likewise.
8238 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8239 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8240
78dd658a
SP
8241 * posix/regex_internal.c: Check if DEBUG is defined and is
8242 set.
8243
3f3dd810
SP
8244 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8245 (HAVE_MBSRTOWCS): Likewise.
8246 * posix/fnmatch.c: Include string.h unconditionally.
8247
95ee7fb1
SL
82482014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8249
8250 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8251 reversal.
8252
23fe486b
RM
82532014-07-31 Roland McGrath <roland@hack.frob.com>
8254
f61a113f
RM
8255 * sysdeps/generic/safe-fatal.h: New file.
8256 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8257 * nptl/forward.c: Include it.
8258 (__pthread_unwind): Use __safe_fatal as default action, rather
8259 than a bogus use of INTERNAL_SYSCALL that could never work.
8260
9fe7e787
RM
8261 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8262 * configure.ac (libc_cv_builtin_trap): New test.
8263 * configure: Regenerated.
8264 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8265 (ABORT_INSTRUCTION): Define using __builtin_trap.
8266
23fe486b
RM
8267 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8268 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8269 * sysdeps/nptl/nptl-signals.h: New file.
8270 * nptl/pthreadP.h: Include <nptl-signals.h>.
8271
f349489e
SL
82722014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8273
8274 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8275 (ONE_DIRECTION): Define.
8276 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8277 (ONE_DIRECTION): Define.
8278 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8279 (ONE_DIRECTION): Define.
8280
2f438e20
SL
82812014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8282
8283 * sysdeps/s390/Makefile: Delete file.
8284 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8285 * sysdeps/s390/__longjmp.c: Delete file.
8286 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8287 Remove fields __flags and __reserved.
8288 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8289 and add versioning.
8290 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8291 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8292 * sysdeps/s390/rtld-setjmp.S: Likewise.
8293 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8294 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8295 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8296 * sysdeps/s390/s390-32/setjmp.S: ... here.
8297 Add versioning.
8298 (__sigsetjmp): Remove setting __flags field.
8299 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8300 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8301 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8302 * sysdeps/s390/s390-64/setjmp.S: ... here.
8303 Add versioning.
8304 (__sigsetjmp): Remove setting __flags field.
8305 * sysdeps/s390/setjmp.S: Delete file.
8306 * sysdeps/s390/sigjmp.c: Likewise.
8307 * sysdeps/s390/v1-longjmp.c: Likewise.
8308 * sysdeps/s390/v1-setjmp.h: Likewise.
8309 * sysdeps/s390/v1-sigjmp.c: Likewise.
8310 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8311 Remove v1-longjmp_chk.
8312 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8313 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8314 Include debug/longjmp_chk.c and add versioning.
8315 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8316 Include nptl/pt-longjmp.c and add versioning.
8317 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8318 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8319 Include __longjmp.c.
8320 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8321 Move to ...
8322 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8323 (__getcontext): Remove setting __flags field.
8324 Add versioning.
8325 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8326 Don't restore upper high grps.
8327 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8328 Likewise.
8329 (__swapcontext): Remove setting uc_flags field.
8330 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8331 Delete file.
8332 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8333 Include __longjmp.c.
8334 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8335 Move to ...
8336 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8337 (__getcontext): Remove setting __flags field.
8338 Add versioning.
8339 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8340 (__swapcontext): Remove setting uc_flags field.
8341 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8342 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8343 Remove fields uc_high_gprs and __reserved.
8344 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8345 New file with reverted content.
8346 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8347 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8348 Regenerated.
8349 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8350 Regenerated.
8351
6c9578a2
AS
83522014-07-31 Andreas Schwab <schwab@suse.de>
8353
8354 * config.h.in (HAVE_IFUNC): Define to 0.
8355 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8356 definedness.
8357
05f3633d
LM
83582014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8359
8360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8361 memmove-avx-unaligned, memcpy-avx-unaligned and
8362 mempcpy-avx-unaligned.
8363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8364 Add tests for AVX memcpy functions.
8365 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8366 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8367 memcpy_chk.
8368 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8369 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8370 memmove_chk.
8371 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8372 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8373 mempcpy_chk.
8374 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8375 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8376 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8377
a53fbd8e
AZ
83782013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8379
8380 [BZ #17213]
8381 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8382 powerpc64le.
8383
0961f7e1
JL
83842014-07-29 Jeff Layton <jlayton@poochiereds.net>
8385
8386 [BZ #16839]
8387 * manual/llio.texi: Add section about open file description locks.
8388 * manual/examples/ofdlocks.c: Example of open file description
8389 lock usage.
8390 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8391 F_OFD_SETLK, and F_OFD_SETLKW.
8392
cc5fb300
AM
83932014-07-23 Allan McRae <allan@archlinux.org>
8394
8395 * po/es.po: Update Spanish translation from translation project.
8396
23329dca
AS
83972014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8398
8399 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8400
9c82da17
MR
84012014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8402
8403 [BZ #17078]
8404 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8405 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8406 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8407
29c4f53e
JM
84082014-07-17 Joseph Myers <joseph@codesourcery.com>
8409
831b9896
JM
8410 [BZ #17088]
8411 * math/fesetenv.c (__fesetenv)
8412 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8413 * math/feupdateenv.c (__feupdateenv)
8414 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8415
b21c2d50
JM
8416 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8417 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8418 (__ASSUME_SOCKETCALL): Do not define.
8419
067764ef
JM
8420 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8421 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8422 (__ASSUME_SOCKETCALL): Do not define.
8423 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8424 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8425 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8426 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8427 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8428 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8429 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8430 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8431
642530c1
JM
8432 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8433 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8434 (__ASSUME_SOCKETCALL): Do not define.
8435 (__ASSUME_IPC64): Define unconditionally.
8436 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8437 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8438 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8439 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8440 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8441 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8442 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8443 Likewise.
8444
03f77315
JM
8445 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8446 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8447 (__ASSUME_SOCKETCALL): Do not define.
8448 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8449 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8450 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8451 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8452 (__ASSUME_REQUEUE_PI): Define unconditionally.
8453 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8454 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8455 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8456 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8457 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8458 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8459
083b1f7c
JM
8460 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8461 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8462 (__ASSUME_SOCKETCALL): Do not define.
8463 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8464 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8465 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8466 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8467 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8468 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8469
5be44ea6
JM
8470 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8471 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8472 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8473 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8474 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8475 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8476 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8477 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8478 (__ASSUME_GETCPU_SYSCALL): Likewise.
8479
d95ffd4c
JM
8480 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8481 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8482 cases for individual architectures.
8483 * sysdeps/gnu/configure: Regenerated.
8484 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8485 LIBC_SLIBDIR_RTLDDIR.
8486 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8487 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8488 LIBC_SLIBDIR_RTLDDIR.
8489 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8491 LIBC_SLIBDIR_RTLDDIR.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8493 Regenerated.
8494 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8495 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8496 file.
8497 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8498 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8499 file.
8500 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8501 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8502 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8503 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8504
29c4f53e
JM
8505 * sysdeps/aarch64/shlib-versions: Move to ...
8506 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8507 * sysdeps/alpha/shlib-versions: Move to ...
8508 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8509 * sysdeps/arm/shlib-versions: Move to ...
8510 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8511 * sysdeps/hppa/shlib-versions: Move all contents except for
8512 libgcc_s entry to ...
8513 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8514 entry from ...
8515 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8516 * sysdeps/ia64/shlib-versions: Move to ...
8517 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8518 entry from ...
8519 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8520 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8521 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8522 * sysdeps/microblaze/shlib-versions: Move to ...
8523 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8524 * sysdeps/mips/shlib-versions: Move to ...
8525 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8526 entry from ...
8527 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8528 * sysdeps/tile/shlib-versions: Move to ...
8529 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8530 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8531 from ...
8532 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8533 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8534 entry from ...
8535 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8536
32bead5b
WN
85372014-07-17 Will Newton <will.newton@linaro.org>
8538
57977c4b
WN
8539 * sysdeps/arm/bits/atomic.h
8540 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8541 (__arch_compare_and_exchange_bool_16_int): Likewise.
8542 (__arch_compare_and_exchange_bool_64_int): Likewise.
8543
32bead5b
WN
8544 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8545 into an #else block.
8546
37fccd41
RM
85472014-07-16 Roland McGrath <roland@hack.frob.com>
8548
8549 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8550 just Linux configurations. Test empirically that the compiler sets
8551 __ARM_EABI__, rather than using the tuple to decide.
8552 * sysdeps/arm/preconfigure: Regenerated.
8553 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8554 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8555 contents appended ...
8556 * sysdeps/arm/configure.ac: ... here.
8557 * sysdeps/arm/configure: Regenerated.
8558
b365f3ec
RM
85592014-07-15 Roland McGrath <roland@hack.frob.com>
8560
8badf496
RM
8561 * nptl/pthread_kill.c: New file.
8562 * nptl/pthread_sigmask.c: New file.
8563 * nptl/pthread_sigqueue.c: New file.
8564
3df6f22e
RM
8565 * sysdeps/nptl/lowlevellock.h: New file.
8566 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8567 * sysdeps/nptl/lowlevellock-futex.h: New file.
8568
b365f3ec
RM
8569 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8570 Remove dead declarations.
8571
f2fef657
L
85722014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8573
8574 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8575 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8576 config-cflags-avx2.
8577 * sysdeps/x86_64/configure.ac: Likewise.
8578 * sysdeps/i386/configure: Regenerated.
8579 * sysdeps/x86_64/configure: Likewise.
8580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8581 memset-avx2 only if config-cflags-avx2 is yes.
8582 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8583 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8584 defined.
8585 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8586 only if HAVE_AVX2_SUPPORT is defined.
8587 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8588
f6c44d47
AM
85892014-07-14 Alan Modra <amodra@gmail.com>
8590
8591 [BZ #17153]
8592 * elf/elf.h (DT_PPC64_NUM): Correct value.
8593 * NEWS: Add to fixed bug list.
8594
7ee03f00
JM
85952014-07-13 Jim Meyering <meyering@fb.com>
8596
8597 [BZ 17150]
8598 regex: don't deref NULL upon heap allocation failure
8599 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8600 failure in one more place.
8601 To trigger the segfault, configure grep -with-included-regex,
8602 build it, and run these commands:
8603 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8604
9d39d517
AS
86052014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8606
8607 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8608
a75b89b7
RH
86092014-07-11 Richard Henderson <rth@redhat.com>
8610
8611 * sysdeps/aarch64/libm-test-ulps: Update.
8612
771eb141
FW
86132014-07-10 Florian Weimer <fweimer@redhat.com>
8614
8615 [BZ #17135]
8616 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8617 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8618 (__nptl_setxid): Initialize error member. Call
8619 __nptl_setxid_error.
8620 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8621 * nptl/descr.h (struct xid_command): Add error member.
8622 * nptl/tst-setuid3.c: New file.
8623 * nptl/Makefile (tests): Add it.
8624
bc1da176
AZ
86252014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8626
8627 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8628 New define.
8629 (__lll_trylock): Use __lll_base_trylock.
8630 (__lll_cond_trylock): Likewise.
8631
887865fc
RM
86322014-07-10 Roland McGrath <roland@hack.frob.com>
8633
c0c6bac9
RM
8634 * nptl/pthread_create.c (start_thread): Use atomic_or and
8635 lll_futex_wake directly rather than lll_robust_dead.
8636 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8637 (lll_robust_dead): Macro removed.
6a42be57 8638 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8639 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8640 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8641 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8642 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8643 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8644 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8645 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8646 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8647 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8648 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8649 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8650 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8651 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8652 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8653
887865fc
RM
8654 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8655 Use atomic_compare_and_exchange_val_acq directly rather than
8656 lll_robust_trylock.
8657 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8658 (__lll_robust_trylock, lll_robust_trylock): Removed.
8659 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8660 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8661 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8662 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8663 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8664 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8665 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8666 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8667 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8668 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8669 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8670 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8671 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8672 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8673
58536726
FW
86742014-07-02 Florian Weimer <fweimer@redhat.com>
8675
8676 * manual/locale.texi (Locale Names): New section documenting
8677 locale name syntax. Adjust menu and node chaining accordingly.
8678 (Choosing Locale): Reference Locale Names, Locale Categories.
8679 Mention setting LC_ALL=C. Reflect that name syntax is now
8680 documented.
8681 (Locale Categories): New section title. Reference Locale Names.
8682 LC_ALL is an environment variable, but not a category.
8683 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8684 description, now in Locale Name. Reference that section. Locale
8685 name syntax is now documented.
8686
4e8f95a0
FW
86872014-07-02 Florian Weimer <fweimer@redhat.com>
8688
8689 [BZ #17137]
8690 * locale/findlocale.c (name_present, valid_locale_name): New
8691 functions.
8692 (_nl_find_locale): Use the loc_name variable to store name
8693 candidates. Call name_present and valid_locale_name to check and
8694 validate locale names. Return an error if the locale is invalid.
8695
d1836456
FW
86962014-07-02 Florian Weimer <fweimer@redhat.com>
8697
8698 * locale/setlocale.c (setlocale): Use strdup for allocating
8699 composite name copy.
8700
d69b7f5a
SP
87012014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8702
888c679b
SP
8703 Sync up with gnulib.
8704 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8705 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8706 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8707 and _GL_ARG_NONNULL.
8708 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8709 [!_LIBC]: Include code for Windows and Cygwin.
8710 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8711 Include prototype for int strerror_r.
8712 [!_LIBC] (is_open): New function.
8713 (flush_stdout): New function.
8714 (print_errno_message): Use it.
8715 (error): Likewise.
8716 (error_at_line): Likewise.
8717 (error_tail) Add function attribute macros. Use
8718 __builtin_expect.
8719
180e0e4b
SP
8720 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8721
d22f1fe2
SP
8722 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8723
12f2254b
SP
8724 * io/ftw.c: Include sys/param.h unconditionally.
8725
c3c7c360
SP
8726 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8727
d62aa75a
SP
8728 [BZ #17125]
8729 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8730 libc_freeres_ptr.
8731 (freecache): New function to free CACHE on exit.
8732
d69b7f5a
SP
8733 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8734 initialization.
8735
5efe06a1
DM
87362014-07-09 David S. Miller <davem@davemloft.net>
8737
8738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8739
7000d82e
DM
8740 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8741 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8742 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8743 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8744 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8745 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8746 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8747 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8748 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8749 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8750 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8751 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8752 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8753
c213442d
AS
87542014-07-09 Andreas Schwab <schwab@suse.de>
8755
4a2552c3
AS
8756 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8757 output.
8758 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8759 (do_test): Likewise.
8760
c213442d
AS
8761 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8762
82374e65
WN
87632014-07-09 Will Newton <will.newton@linaro.org>
8764
8765 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8766 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8767 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8768 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8769 * sysdeps/hppa/start.S (_start): Likewise.
8770
6680738a
SP
87712014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8772
6ee3eab4
SP
8773 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8774
6680738a
SP
8775 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8776 defined.
8777
80b5c505
SP
87782014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8779
e35c53e3
SP
8780 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8781 after checking that it is non-NULL.
8782
80b5c505
SP
8783 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8784
91f4b564
AZ
87852014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8786
27b75f56
AZ
8787 * sysdeps/powerpc/memmove.c: Remove file.
8788 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8789 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8790 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8791 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8792 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8793 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8794 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8795 string memmove instead of removed powerpc one.
8796
e7f95bb5
AZ
8797 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8798 [weak_alias]: Fix compiler warning due trailing data.
8799 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8800 [weak_alias]: Likewise.
8801 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8802 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8803
91f4b564
AZ
8804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8805 (__libc_ifunc_impl_list): Add memmove functions.
8806
7c33f1e5
SP
88072014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8808
8809 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8810 Remove code.
8811 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8812 Likewise
8813 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8814 Likewise
8815 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8816 Likewise
8817 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8818 Likewise
8819 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8820 Likewise
8821 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8822 Likewise
8823 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8824 Likewise
8825 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8826 Likewise
8827 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8828 Likewise
8829 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8830 Likewise
8831 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8832 Likewise
8833 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8834 Likewise
8835 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8836 Likewise
8837 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8838 Likewise
8839 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8840 Likewise
8841 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8842 Likewise
8843
3f17b03b
AZ
88442014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8845
87868c24
AZ
8846 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8847 to avoid alignment traps in non-cacheable memory.
8848 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8849
07aedd78
AZ
8850 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8851 multiarch objects.
8852 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8853 file: multiarch power7 memmove.
8854 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8855 multiarch default memmove.
8856 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8857 multiarch memove for powerpc32/power4.
8858
17762f66
AZ
8859 * string/bcopy.c: Use full path to include memmove.c.
8860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8861 multiarch objects.
8862 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8863 bcopy for powerpc64.
8864 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8865 bcopy for powerpc64.
8866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8867 and memmove implementations.
8868 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8869 optimized multiarch memmove for POWER7/powerpc64.
8870 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8871 default multiarch memmove for powerpc64.
8872 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8873 multiarch for powerpc64.
8874 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8875 for POWER7/powerpc64.
8876 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8877 memmove for POWER7/powerpc64.
8878
d6f68bbe
AZ
8879 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8880 glibc default one.
8881
3f17b03b
AZ
8882 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8883 __ELF_NATIVE_CLASS equal to 64.
8884
08192659
RM
88852014-07-07 Roland McGrath <roland@hack.frob.com>
8886
f4c4021b
RM
8887 * sysdeps/nptl/lowlevellock.h: File removed.
8888
f083450f
RM
8889 * NEWS: NPTL is no longer an add-on!
8890 * nptl/internaltypes.h: Moved ...
8891 * sysdeps/nptl/internaltypes.h: ... here.
8892 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8893 * sysdeps/nptl/fork.c: Likewise.
8894 * sysdeps/nptl/gai_misc.h: Likewise.
8895 * sysdeps/nptl/librt-cancellation.c: Likewise.
8896 * sysdeps/nptl/jmp-unwind.c: Likewise.
8897 * sysdeps/nptl/setxid.h: Likewise.
8898 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8899 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8900 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8901 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8902 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8903 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8904 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8905 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8906 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8907 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8908 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8909 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8910 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8911 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8912 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8913 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8914 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8915 * nptl/Makeconfig: Moved ...
8916 * sysdeps/nptl/Makeconfig: ... here.
8917 * nptl/configure: File removed.
8918 * nptl/ANNOUNCE: File removed.
8919 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8920 * sysdeps/unix/sysv/linux/configure: Regenerated.
8921
08192659
RM
8922 * nptl/Makefile (routines): Add libc_pthread_init,
8923 libc_multiple_threads, register-atfork and unregister-atfork.
8924 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8925 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8926 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8927 pthread-pi-defines.sym, structsem.sym.
8928 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8929 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8930 [$(subdir) = nptl] (tests): Add tst-setgetname.
8931 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8932 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8933 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8934 [!LIBC_SIGACTION]: Remove aliases.
8935 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8936 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8937 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8938 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8939 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8940 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8941 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8942 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8943 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8944 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8945 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8946 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8947 __libc_allocate_rtsig_private.
8948 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8949 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8950 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8951 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8952 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8953 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8954 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8955 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8956 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8957 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8958 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8959 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8960 * nptl/internaltypes.h: ... here.
8961 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8962 * sysdeps/nptl/jmp-unwind.c: ... here.
8963 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8964 * nptl/libc-lowlevellock.c: ... here.
8965 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8966 * nptl/libc_multiple_threads.c: ... here.
8967 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8968 * nptl/libc_pthread_init.c: ... here.
8969 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8970 * nptl/lowlevelbarrier.sym: ... here.
8971 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8972 * nptl/lowlevelcond.sym: ... here.
8973 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8974 * nptl/lowlevellock.c: ... here.
8975 * nptl/lowlevellock.h: Moved ...
8976 * sysdeps/nptl/lowlevellock.h: ... here.
8977 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8978 * nptl/lowlevelrobustlock.c: ... here.
8979 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8980 * nptl/lowlevelrobustlock.sym: ... here.
8981 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8982 * nptl/lowlevelrwlock.sym: ... here.
8983 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8984 * nptl/pt-fork.c: ... here.
8985 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8986 * nptl/pthread-pi-defines.sym: ... here.
8987 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8988 * nptl/pthread_attr_getaffinity.c: ... here.
8989 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8990 * nptl/pthread_attr_setaffinity.c: ... here.
8991 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8992 * nptl/pthread_mutex_cond_lock.c: ... here.
8993 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8994 Update #include.
8995 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8996 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8997 * nptl/pthread_once.c: ... here, replacing old file.
8998 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8999 * nptl/pthread_yield.c: ... here.
9000 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9001 * nptl/register-atfork.c: ... here.
9002 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9003 * nptl/sem_post.c: ... here.
9004 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9005 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9006 * nptl/sem_timedwait.c: ... here.
9007 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9008 * nptl/sem_trywait.c: ... here.
9009 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9010 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9011 * nptl/sem_wait.c: ... here.
9012 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9013 * nptl/structsem.sym: ... here.
9014 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9015 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9016 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9017 * nptl/unregister-atfork.c: ... here.
9018 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9019 * nptl/unwindbuf.sym: ... here.
9020 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9021 * sysdeps/nptl/fork.c: ... here.
9022 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9023 * sysdeps/nptl/fork.h: ... here.
9024 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9025 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9026 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9027 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9028 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9029 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9030 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9031 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9032 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9033 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9034 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9035 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9036 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9037 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9038 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9039 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9040 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9041 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9042 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9043 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9044 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9045 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9046 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9047 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9048 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9049 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9050 * sysdeps/unix/sysv/linux/raise.c: ... here.
9051 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9052 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9053 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9054 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9055 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9056 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9057 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9058 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9059 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9060 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9061 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9062 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9063 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9064 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9065 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9066
96baf6ff
SP
90672014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9068
9069 * sysdeps/generic/memcopy.h: Add comment for
9070 MEMCPY_OK_FOR_FWD_MEMMOVE.
9071
6b7b14b2
WN
90722014-07-04 Will Newton <will.newton@linaro.org>
9073
1570a72b
WN
9074 * string/memchr.c: Merge from gnulib.
9075 [_LIBC]: Remove conditionals.
9076 (__ptr_t): Remove define.
9077 (LONG_MAX_32_BITS): Likewise.
9078 (LONG_MAX): Likewise.
9079 (MEMCHR): Use ANSI prototype and optimize algorithm.
9080
6b7b14b2
WN
9081 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9082
38851324
SP
90832014-07-03 Roland McGrath <roland@hack.frob.com>
9084
3d9eb57c
RM
9085 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9086 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9087
78b984ae
RM
9088 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9089 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9090 in a bare environment with no <stdlib.h> installed.
9091 * sysdeps/nptl/configure: Regenerated.
9092
2d5976a5
RM
9093 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9094
c1f5acd4
RM
9095 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9096 AC_EGREP_CPP for kernel header checks, so they only succeed if
9097 including <linux/version.h> actually works right.
9098 * sysdeps/unix/sysv/linux/configure: Regenerated.
9099
4d614fe5
RM
9100 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9101 value so it's not diagnosed as unused.
9102
38851324
SP
9103 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9104 thing) with "ifeq ($(subdir),rt)".
9105
b3ec00e5
RH
91062014-07-03 Richard Henderson <rth@redhat.com>
9107
69862e25
RH
9108 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9109 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9110 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9111
d5e16ade
RH
9112 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9113 (math_force_eval): New.
9114
ca7b945c
RH
9115 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9116 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9117
cd1175a3
RH
9118 * sysdeps/alpha/fpu/s_round.c: Remove file.
9119 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9120
b3ec00e5
RH
9121 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9122 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9123 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9124 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9125 (_dl_start, print_statistics): Likewise.
9126 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9127 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9128
9129 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9130 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9131 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9132 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9134 (HP_SMALL_TIMING_AVAIL): Define.
9135 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9136 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9137 (HP_SMALL_TIMING_AVAIL): Define.
9138 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9139 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9140
9141 * sysdeps/aarch64/hp-timing.h: New file.
9142
9143 * sysdeps/generic/hp-timing.h: Remove dead comment.
9144 * sysdeps/generic/hp-timing-common.h: New file.
9145 * sysdeps/alpha/hp-timing.h: Include it.
9146 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9147 * sysdeps/i386/i686/hp-timing.h: Likewise.
9148 * sysdeps/ia64/hp-timing.h: Likewise.
9149 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9150 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9151 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9152 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9153 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9154 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9155 (hp_timing_t): New.
9156
9157 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9158 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9159 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9160 * elf/rtld.c (_dl_start_final): Likewise.
9161 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9162 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9163 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9164 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9165 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9166 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9167 (HP_TIMING_DIFF_INIT): Remove.
9168 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9169 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9170 (HP_TIMING_DIFF_INIT): Remove.
9171 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9172 * sysdeps/i386/i686/hp-timing.c: Remove file.
9173 * sysdeps/x86_64/hp-timing.c: Remove file.
9174 * sysdeps/ia64/hp-timing.c: Remove file.
9175 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9176 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9177 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9178 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9179
9180 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9181 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9182 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9183 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9184 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9185 (HP_TIMING_ACCUM): Remove.
9186 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9187 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9188 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9189
9190 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9191 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9192 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9193 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9194 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9195 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9196 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9197 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9198
9199 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9200
225f410f
MR
92012014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9202
9203 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9204
3247f285
SP
92052014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9206
9207 Sync up with gettext.
9208 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9209 [_MSC_VER]: Include malloc.h
9210 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9211 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9212 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9213 TEMP_FAILURE_RETRY. Cast return of alloca.
9214 [!_LIBC] Call gl_rwlock_init.
9215 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9216
d12704c7
SP
92172014-07-02 Roland McGrath <roland@hack.frob.com>
9218
9219 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9220 before checking its value.
9221
99f8dc92
SP
92222014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9223
05fdac77
SP
9224 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9225
99f8dc92
SP
9226 * debug/memcpy_chk.c: Don't include pagecopy.h.
9227 * debug/mempcpy_chk.c: Likewise.
9228 * string/memcpy.c: Likewise.
9229 * string/memmove.c: Likewise.
9230 * sysdeps/powerpc/memmove.c: Likewise.
9231 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9232 definition of PAGE_COPY_FWD_MAYBE here...
9233 * sysdeps/generic/pagecopy.h: ... from here.
9234 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9235
bc8ea385
VR
92362014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9237 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9238
9239 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9241 optimizations.
9242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9243 (__libc_ifunc_impl_list): Likewise.
9244 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9245 multiarch strcat for PPC64.
9246 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9247 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9248
fe5f34e4
RM
92492014-07-02 Roland McGrath <roland@hack.frob.com>
9250
9251 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9252
256aa665
SP
92532014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9254
d4eb8195
SP
9255 * intl/loadmsgcat.c: Remove declaration of
9256 get_sysdep_segment_value.
9257 (get_sysdep_segment_value): Use ISO C style.
9258 (_nl_load_domain): Use ISO C style. Get rid of redundant
9259 semicolon. Fix typo and formatting in comment.
9260 (_nl_unload_domain): Use ISO C style.
9261
256aa665
SP
9262 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9263
b100f9aa
WN
92642014-07-02 Will Newton <will.newton@linaro.org>
9265
9266 * malloc/obstack.c: Merge from gnulib master.
9267 [HAVE_CONFIG_H]: Remove conditional code.
9268 [!_LIBC]: Include config.h.
9269 [!ELIDE_CODE]: Don't include inttypes.h, include
9270 stdint.h unconditionally.
9271 (print_and_abort): Mark as _Noreturn.
9272 (_obstack_allocated_p): Mark as __attribute_pure__.
9273 (obstack_free): Rename to __obstack_free.
9274 [!__attribute__]: Remove conditional code.
9275 * malloc/obstack.h: Merge from gnulib master.
9276 [__cplusplus]: Move conditional down.
9277 [!__attribute_pure__]: Define __attribute_pure__ here
9278 if it is not already defined.
9279 (_obstack_memory_used): Mark as __attribute_pure__.
9280 [!__obstack_free]: Define as obstack_free.
9281 [__GNUC__]: Remove check for ancient NeXT gcc.
9282
c4c41244
PE
92832014-07-02 Will Newton <will.newton@linaro.org>
9284 Paul Eggert <eggert@cs.ucla.edu>
9285
9286 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9287
e1e041c4
SP
92882014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9289
9290 * resolv/gethnamaddr.c: Add comment warning that the file is
9291 not maintained.
9292
ccf431ff
CD
92932014-07-01 Carlos O'Donell <carlos@redhat.com>
9294
d34570a6
CD
9295 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9296 entries.
9297
ccf431ff
CD
9298 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9299 entry for aio_cancel and aio_cancel64.
9300 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9301 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9302 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9303 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9304 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9305 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9306 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9307 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9308 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9309 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9310 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9311 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9312 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9313
ca06321d
RM
93142014-07-01 Roland McGrath <roland@hack.frob.com>
9315
9316 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9317 * nptl/pthread_mutex_lock.c: Likewise.
9318 * nptl/pthread_mutex_timedlock.c: Likewise.
9319 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9320
a1ac3184
RH
93212014-07-01 Richard henderson <rth@redhat.com>
9322
631021e0
RH
9323 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9324 (__isnan, __isnanl): Remove.
9325 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9326
a1ac3184
RH
9327 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9328
0c1d731f
SL
93292014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9330
9331 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9332
76985d3e
SP
93332014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9334
9335 * resolv/nss_dns/dns-host.c (getanswer_r)
9336 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9337
b0cb3096
JM
93382014-07-01 Joseph Myers <joseph@codesourcery.com>
9339
9340 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9341 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9342 undefine.
9343 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9344 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9345
4d76cb39
RM
93462014-07-01 Roland McGrath <roland@hack.frob.com>
9347
9348 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9349 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9350
9351 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9352 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9353
9354 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9355 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9356 ... here.
9357 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9358 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9359
9360 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9361 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9362 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9363 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9364
9365 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9366 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9367 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9368 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9369 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9370 Moved ...
9371 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9372 ... here.
9373 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9374 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9375 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9376 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9377 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9378 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9379 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9380 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9381 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9382 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9383 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9384 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9385 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9386 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9387 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9388 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9389 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9390 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9391 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9392 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9393 ... here.
9394 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9395 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9396 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9397 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9398 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9399 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9400 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9401 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9402
0cdcad17
DH
94032014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9404
9405 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9406 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9407 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9408 Add sysdep.
9409
9b71d0e3
AZ
94102014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9411
9412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9413
665390c2
JM
94142014-06-30 Joseph Myers <joseph@codesourcery.com>
9415
ae05a9d7
JM
9416 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9417 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9418
a7672a2f
JM
9419 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9420
665390c2
JM
9421 * sysdeps/arm/libm-test-ulps: Regenerated.
9422
d7a05d07
MR
94232014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9424 Roland McGrath <roland@hack.frob.com>
9425
9426 * test-skeleton.c (signal_handler): Kill the whole process group
9427 before killing the child individually.
9428 (main): Report any failure on `setpgid'.
9429
46f1d8a6
RM
94302014-06-30 Roland McGrath <roland@hack.frob.com>
9431
9432 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9433 from _TLS_H to _ARM_NPTL_TLS_H.
9434 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9435 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9436
9c37ec0b
JM
94372014-06-30 Joseph Myers <joseph@codesourcery.com>
9438
ce9c5b3e
JM
9439 [BZ #16539]
9440 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9441 (__expm1l): Return argument unchanged when small but not
9442 subnormal.
9443
3a6e9887
JM
9444 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9445 include macro name.
9446 (_FP_UNPACK_RAW_1_P): Likewise.
9447 (_FP_PACK_RAW_1): Likewise.
9448 (_FP_PACK_RAW_1_P): Likewise.
9449 (_FP_MUL_MEAT_1_wide): Likewise.
9450 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9451 (_FP_MUL_MEAT_1_hard): Likewise.
9452 (_FP_DIV_MEAT_1_imm): Likewise.
9453 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9454 (_FP_DIV_MEAT_1_udiv): Likewise.
9455 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9456 (_FP_UNPACK_RAW_2): Likewise.
9457 (_FP_UNPACK_RAW_2_P): Likewise.
9458 (_FP_PACK_RAW_2): Likewise.
9459 (_FP_PACK_RAW_2_P): Likewise.
9460 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9461 (_FP_MUL_MEAT_2_wide): Likewise.
9462 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9463 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9464 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9465 (_FP_MUL_MEAT_2_gmp): Likewise.
9466 (_FP_DIV_MEAT_2_udiv): Likewise.
9467 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9468 (_FP_FRAC_SRL_4): Likewise.
9469 (_FP_FRAC_SRST_4): Likewise.
9470 (_FP_FRAC_SRS_4): Likewise.
9471 (_FP_UNPACK_RAW_4): Likewise.
9472 (_FP_UNPACK_RAW_4_P): Likewise.
9473 (_FP_PACK_RAW_4): Likewise.
9474 (_FP_PACK_RAW_4_P): Likewise.
9475 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9476 (_FP_MUL_MEAT_4_wide): Likewise.
9477 (_FP_MUL_MEAT_4_gmp): Likewise.
9478 (umul_ppppmnnn): Likewise.
9479 (_FP_DIV_MEAT_4_udiv): Likewise.
9480 (__FP_FRAC_ADD_4): Likewise.
9481 (__FP_FRAC_SUB_3): Likewise.
9482 (__FP_FRAC_SUB_4): Likewise.
9483 (__FP_FRAC_DEC_3): Likewise.
9484 (__FP_FRAC_DEC_4): Likewise.
9485 (__FP_FRAC_ADDI_4): Likewise.
9486 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9487 (_FP_FRAC_SRL_8): Likewise.
9488 (_FP_FRAC_SRS_8): Likewise.
9489
9c37ec0b
JM
9490 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9491 include macro name.
9492 (FP_UNPACK_RAW_EP): Likewise.
9493 (FP_PACK_RAW_E): Likewise.
9494 (FP_PACK_RAW_EP): Likewise.
9495 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9496 (_FP_ISSIGNAN): Likewise.
9497 (_FP_ADD_INTERNAL): Likewise.
9498 (_FP_FMA): Likewise.
9499 (_FP_CMP): Likewise.
9500 (_FP_SQRT): Likewise.
9501 (_FP_TO_INT): Likewise.
9502 (_FP_FROM_INT): Likewise.
9503 (FP_EXTEND): Likewise.
9504 (_FP_DIV_MEAT_N_loop): Likewise.
9505
2125f674
MR
95062014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9507
9508 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9509 throughout.
9510
edea4028
JM
95112014-06-29 Joseph Myers <joseph@codesourcery.com>
9512
9513 [BZ #17097]
9514 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9515 result with correct sign in case of exponents that produce
9516 overflow except for X very close to 1.
9517
dd0ba018
PE
95182014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9519
9520 mktime: merge #if/#ifdef usage from glibc
9521 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9522 as that works with both Glibc's and Gnulib's style.
9523 See thread starting at Siddhesh Poyarekar's bug report at:
9524 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9525
64df73c2
SP
95262014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9527
9528 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9529 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9530 * sysdeps/tile/tilegx/memmove.c: Remove file.
9531
f1eafb41
JM
95322014-06-27 Joseph Myers <joseph@codesourcery.com>
9533
9534 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9535 abi-name definition.
9536 * scripts/soversions.awk: Do not handle or generate ABI lines.
9537 * shlib-versions: Remove ABI entries.
9538 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9539 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9540
58eb0862
RM
95412014-06-27 Roland McGrath <roland@hack.frob.com>
9542
37caf178
RM
9543 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9544 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9545 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9546 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9547 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9548 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9549 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9550 Moved ...
9551 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9552 ... here.
9553 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9554 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9555 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9556 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9557 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9558 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9559 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9560 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9561 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9562 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9563 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9564 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9565 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9566 Moved ...
9567 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9568 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9569 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9570 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9571 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9572 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9573 Moved ...
9574 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9575 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9576 Moved ...
9577 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9578 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9579 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9580 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9581 Moved ...
9582 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9583 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9584 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9585 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9586 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9587 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9588 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9589 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9590 Moved ...
9591 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9592 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9593 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9594 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9595 Moved ...
9596 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9598 Moved ...
9599 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9600 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9601 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9602 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9603 Moved ...
9604 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9605 ... here.
9606 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9607 Identical file removed.
9608 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9609 Moved ...
9610 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9611 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9612 Identical file removed.
9613 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9614 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9615 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9616 Moved ...
9617 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9618 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9619 Identical file removed.
9620 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9621 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9622 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9623 Identical file removed.
9624 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9625 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9626 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9627 Identical file removed.
9628 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9629 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9630 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9631 Identical file removed.
9632 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9633 Moved ...
9634 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9635 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9636 Identical file removed.
9637 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9638 Moved ...
9639 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9641 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9643 Identical file removed.
9644 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9645 Moved ...
9646 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9647 ... here.
9648 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9649 Identical file removed.
9650 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9651 Moved ...
9652 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9653 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9654 Identical file removed.
9655 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9656 Moved ...
9657 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9658 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9659 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9660 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9661 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9662 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9663 Moved ...
9664 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9665 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9666 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9667
58eb0862
RM
9668 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9669 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9670 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9671 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9672 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9673
6f12d062
AS
96742014-06-27 Arjun Shankar <arjun.is@lostca.se>
9675
9676 [BZ #17092]
9677 * nscd/nscd.c (monitor_child): Return exit status of child
9678 instead of return value from wait syscall.
9679
be254932
JM
96802014-06-27 Joseph Myers <joseph@codesourcery.com>
9681
cb403c34
JM
9682 * configure.ac (libc_commonpagesize): Remove variable.
9683 (libc_relro_required): Likewise.
9684 (libc_cv_z_relro): Remove configure test.
9685 * configure: Regenerated.
9686 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9687 variable.
9688 (libc_relro_required): Likewise.
9689 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9690 (libc_relro_required): Likewise.
9691 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9692 (libc_relro_required): Likewise.
9693 * sysdeps/arm/preconfigure: Regenerated.
9694 * sysdeps/ia64/preconfigure: Remove file.
9695 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9696 variable.
9697 (libc_relro_required): Likewise.
9698
be254932
JM
9699 [BZ #16561]
9700 [BZ #16562]
9701 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9702 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9703 recompute overflowing results in original rounding mode.
9704 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9705 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9706 recompute overflowing results in original rounding mode.
9707 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9708 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9709 recompute overflowing results in original rounding mode.
9710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9711 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9712 recompute overflowing results in original rounding mode.
9713 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9714 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9715 recompute overflowing results in original rounding mode.
9716 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9717 (libc_feholdsetround_ctx): New macro.
9718 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9719 * sysdeps/i386/fpu/libm-test-ulps: Update.
9720 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9721
b351d85a
JM
97222014-06-26 Joseph Myers <joseph@codesourcery.com>
9723
9724 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9725 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9726 corresponding .cpsetup call.
9727
3cb4de47
RM
97282014-06-26 Roland McGrath <roland@hack.frob.com>
9729
9730 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9731 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9732 * sysdeps/arm/Makefile [$(subdir) = csu]
9733 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9734 (static-only-routines): Add aeabi_read_tp here.
9735 (shared-only-routines): Add libc-aeabi_read_tp here.
9736 (CFLAGS-libc-start.c): Add -fexceptions here.
9737 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9738 (sysdep_routines, static-only-routines, shared-only-routines):
9739 Don't add to these here.
9740 (CFLAGS-libc-start.c): Likewise.
9741
9742 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9743 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9744 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9745 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9746 * sysdeps/arm/Makefile [$(subdir) = rt]
9747 (librt-sysdep_routines, librt-shared-only-routines):
9748 Append rt-aeabi_unwind_cpp_pr1 here.
9749 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9750 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9751 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9752 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9753 Append nptl-aeabi_unwind_cpp_pr1 here.
9754 (tests): Filter out tst-cleanupx4 here.
9755 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9756 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9757 Don't do those here.
9758
354426bb
JM
97592014-06-26 Joseph Myers <joseph@codesourcery.com>
9760
9761 * scripts/list-sources.sh: Do not handle ports specially.
9762
28b0a8c9
RM
97632014-06-26 Roland McGrath <roland@hack.frob.com>
9764
a3dd035d
RM
9765 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9766 * sysdeps/arm/feupdateenv.c: Likewise.
9767
28b0a8c9
RM
9768 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9769
e66a8203
JM
97702014-06-26 Joseph Myers <joseph@codesourcery.com>
9771
9772 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9773 trailing whitespace removed.
9774 * scripts/config.guess: Update to version 2014-03-23.
9775 * scripts/config.sub: Update to version 2014-05-01
9776 * scripts/install-sh: Update to version 2013-12-25.23.
9777 * scripts/move-if-change: Update from gnulib.
9778
74171115
SP
97792014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9780
b97c9ce5
SP
9781 * debug/memmove_chk.c: Remove pagecopy.h include.
9782
4000f892
SP
97832014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9784
74171115
SP
9785 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9786 identical to gnulib mktime.
9787
a8779c28
JM
97882014-06-26 Joseph Myers <joseph@codesourcery.com>
9789
e64708de
JM
9790 * configure.ac: Do not test for machine being rs6000. Do not test
9791 for powerpc*-*soft.
9792 * configure: Regenerated.
9793
a8779c28
JM
9794 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9795 test.
9796 * configure: Regenerated.
9797 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9798 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9799 Remove configure test.
9800 * sysdeps/arm/configure: Regenerated.
9801 * sysdeps/nptl/configure.ac: Do not check
9802 libc_cv_asm_cfi_directives.
9803 * sysdeps/nptl/configure: Regenerated.
9804 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9805 * sysdeps/x86_64/nptl/configure: Remove generated file.
9806 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9807 unconditional.
9808 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9809
2aac0a86
SP
98102014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9811
059bf913
SP
9812 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9813 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9814 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9815 it is defined.
9816
4cf5b6d0
SP
9817 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9818 instead of whether it is defined.
9819 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9820 * sysdeps/hppa/dl-machine.h: Likewise.
9821 * sysdeps/ia64/dl-machine.h: Likewise.
9822 * sysdeps/m68k/dl-machine.h: Likewise.
9823 * sysdeps/microblaze/dl-machine.h: Likewise.
9824 * sysdeps/mips/dl-machine.: Likewise.
9825 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9826 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9827 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9828 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9829 * sysdeps/sh/dl-machine.h: Likewise.
9830 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9831 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9832 * sysdeps/tile/dl-machine.h: Likewise.
9833 * sysdeps/x86_64/dl-machine.h: Likewise.
9834
2aac0a86
SP
9835 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9836 code.
9837 (verify_persistent_db): Likewise.
9838
6ad2df0b
RM
98392014-06-26 Roland McGrath <roland@hack.frob.com>
9840
d8a483f3
RM
9841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9842 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9844 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9846 Moved ...
9847 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9848 ... here.
9849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9850 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9852 Identical file removed.
9853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9854 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9856 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9858 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9864 Moved ...
9865 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9867 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9869 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9871 Moved ...
9872 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9876 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9878 Identical file removed.
9879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9880 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9884 Moved ...
9885 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9886 ... here.
9887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9888 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9890 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9892 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9894 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9896 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9898 Moved ...
9899 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9901 Moved ...
9902 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9904 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9906 Moved ...
9907 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9909 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9910
52ae23b4
RM
9911 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9912 folded into ...
9913 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9914 * sysdeps/unix/sysv/linux/s390/Versions
9915 (libpthread: GLIBC_2.19): New version set.
9916 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9917 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9918 (librt: GLIBC_2.3.3): New version set.
9919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9920 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9921 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9922 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9923 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9924 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9925 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9926 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9927 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9928 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9929 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9930 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9931 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9932 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9933 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9934 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9935 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9936 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9937 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9938 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9939 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9940 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9941 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9942 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9943 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9944 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9945 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9946 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9947 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9948 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9949 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9950 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9951 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9952 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9953 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9954 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9955 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9957 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9958 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9959 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9960 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9961 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9962 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9963 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9964
39507e4a
RM
9965 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9966 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9967 (__libc_vfork): Define the function under this name.
9968 [!NOT_IN_libc] (__vfork): Make this an alias.
9969 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9970 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9971 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9972 (__libc_vfork): Define the function under this name.
9973 [!NOT_IN_libc] (__vfork): Make this an alias.
9974 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9975 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9976 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9977 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9978 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9979 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9980
e549ee56
RM
9981 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9982 code that was previously under [RESET_PID].
9983 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9984 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9985 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9986
6ad2df0b
RM
9987 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9988 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9989 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9990 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9991 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9992 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9993 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9994 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9995 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9996 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9997 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9998 Moved ...
9999 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10000 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10001 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10002 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10003 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10004 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10005 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10006 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10007 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10008 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10009 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10010 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10011 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10012 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10013 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10014 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10015 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10016 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10017 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10018 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10019 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10020 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10021 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10022 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10023 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10024 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10025 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10027 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10028
7c1c1d8e
RM
100292014-06-25 Roland McGrath <roland@hack.frob.com>
10030
10031 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10032 that was previously under [RESET_PID].
10033 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10034
3e239be6
JM
100352014-06-25 Joseph Myers <joseph@codesourcery.com>
10036
74385da5
JM
10037 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10038 not undefine and redefine.
10039 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10040 [O_CLOEXEC]: Make code unconditional.
10041 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10042 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10043 <kernel-features.h>.
10044 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10045 conditional variable definition.
10046 (shm_open) [O_CLOEXEC]: Make code unconditional.
10047 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10048 code.
10049
c2570a0b
JM
10050 * configure.ac (USE_REGPARMS): Don't define here.
10051 * configure: Regenerated.
10052 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10053 * sysdeps/i386/configure: Regenerated.
10054
11b076bb
JM
10055 * nptl/createthread.c: Don't include kernel-features.h.
10056 * nptl/pthread_cancel.c: Likewise.
10057 * nptl/pthread_condattr_setclock.c: Likewise.
10058 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10059 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10060 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10061 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10062 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10063 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10064 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10065 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10066 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10067 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10068 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10069 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10070 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10071 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10072 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10073 * nscd/gai.c: Likewise.
10074 * nss/nss_db/db-open.c: Likewise.
10075 * sysdeps/generic/ldsodefs.h: Likewise.
10076 * sysdeps/sh/nptl/tls.h: Likewise.
10077 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10078 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10079 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10080 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10081 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10082 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10083 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10084 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10085 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10086 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10087 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10088 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10089 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10090 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10091 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10092 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10093 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10094 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10095 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10096 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10097 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10098 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10099 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10100 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10101 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10102 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10103 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10104 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10105 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10106 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10107 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10108 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10109 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10110 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10111 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10112 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10113 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10114 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10115 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10116 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10117 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10118 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10119 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10120 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10121 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10122 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10123 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10124 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10125 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10126 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10127 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10128 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10129 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10130 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10131 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10132 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10133 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10134 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10157 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10158 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10159 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10160 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10161 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10162 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10163 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10164 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10165 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10166 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10167 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10168 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10169 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10170 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10171 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10172 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10173 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10174 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10175 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10176 * sysdeps/unix/sysv/linux/system.c: Likewise.
10177 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10178 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10179 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10180 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10181 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10182 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10183 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10184
92072d57
JM
10185 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10186 * configure: Regenerated.
10187 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10188
3e239be6
JM
10189 * configure.ac (base_machine): Do not set specially for particular
10190 machines here.
10191 * configure: Regenerated.
10192 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10193 settings from configure.ac.
10194 * sysdeps/i386/preconfigure: New file.
10195 * sysdeps/s390/preconfigure: Likewise.
10196 * sysdeps/sh/preconfigure: Likewise.
10197 * sysdeps/sparc/preconfigure: Likewise.
10198
06d50baa
RM
101992014-06-25 Roland McGrath <roland@hack.frob.com>
10200
74836003
RM
10201 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10202 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10203 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10204 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10205 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10206 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10207 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10208 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10209 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10210 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10211 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10212 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10213 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10214 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10215 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10216 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10217 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10218 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10219 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10220
10221 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10222 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10223 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10224 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10225 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10226 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10227 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10228 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10229 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10230 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10231 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10232 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10233 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10234 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10235 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10236 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10237 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10238 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10239 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10240 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10241 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10242 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10243 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10244 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10245 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10246 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10247 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10248 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10249 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10250 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10251 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10252 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10253 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10254 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10255 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10256 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10257 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10258 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10259
06d50baa
RM
10260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10261 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10263 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10265 Moved ...
10266 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10267 ... here.
10268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10269 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10271 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10273 Moved ...
10274 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10276 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10278 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10280 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10282 Moved ...
10283 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10285 Moved ...
10286 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10288 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10290 Moved ...
10291 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10293 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10295 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10297 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10299 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10301 Moved ...
10302 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10303 ... here.
10304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10305 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10307 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10309 Moved ...
10310 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10312 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10314 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10316 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10318 Moved ...
10319 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10321 Moved ...
10322 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10324 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10326 Moved ...
10327 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10329 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10331 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10332
a4ccbc9b
JM
103332014-06-25 Joseph Myers <joseph@codesourcery.com>
10334
0828edbf
JM
10335 * timezone/checktab.awk: Update from tzcode 2014e.
10336 * timezone/private.h: Likewise.
10337 * timezone/tzfile.h: Likewise.
10338 * timezone/zdump.c: Likewise.
10339 * timezone/zic.c: Likewise.
10340
a4ccbc9b
JM
10341 * sysdeps/unix/sysv/linux/kernel-features.h
10342 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10343 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10344 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10345 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10346 Remove conditional code.
10347
9aea0cb8
WN
103482014-06-25 Will Newton <will.newton@linaro.org>
10349
10350 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10351 (_dl_arm_cap_flags): Add HWCAP2 values.
10352 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10353 (_DL_HWCAP_COUNT): Increase to 37.
10354 (_DL_HWCAP_LAST): New define.
10355 (_DL_HWCAP2_LAST): New define.
10356 (_dl_procinfo): Add support for printing
10357 AT_HWCAP2 entries.
10358 (_dl_string_hwcap): Use _dl_hwcap_string.
10359
6eaa65ce
AZ
103602014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10361
10362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10363
0f5b7185
JM
103642014-06-25 Joseph Myers <joseph@codesourcery.com>
10365
cfd2ea50
JM
10366 * README: Do not mention ports directory.
10367
cecf2ed4
JM
10368 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10369 Remove macro.
10370 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10371 <kernel-features.h>.
10372 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10373 conditional variable definition.
10374 (__futimes): Update comment.
10375 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10376 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10377
a638de82
JM
10378 [BZ #16560]
10379 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10380 arguments close to 0.
10381 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10382 Likewise.
10383 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10384 Likewise.
10385 * math/auto-libm-test-in: Add more tests of exp10.
10386 * math/auto-libm-test-out: Regenerated.
10387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10388
0f5b7185
JM
10389 * sysdeps/unix/sysv/linux/kernel-features.h
10390 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10391 * sysdeps/unix/sysv/linux/readv.c: Do not include
10392 <kernel-features.h>.
10393 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10394 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10395 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10396 unconditional.
10397 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10398 conditional code.
10399 * sysdeps/unix/sysv/linux/writev.c: Do not include
10400 <kernel-features.h>.
10401 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10402 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10403 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10404 unconditional.
10405 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10406 conditional code.
10407
c7aec4be
WN
104082014-06-25 Will Newton <will.newton@linaro.org>
10409
10410 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10411 comment changes throughout the file. Remove checks
10412 for HAVE_*_H definitions that are not required.
10413 (__gen_tempname): Call abort if an unknown kind value is
10414 passed.
10415
c5241f95
AS
104162014-06-25 Andreas Schwab <schwab@suse.de>
10417
10418 [BZ #17086]
10419 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10420 scalbln, scalblnf, scalblnl in libc.
10421
911422da
SP
104222014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10423
10424 [BZ #17086]
10425 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10426 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10427 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10428
0d749bbe
RM
104292014-06-24 Roland McGrath <roland@hack.frob.com>
10430
10431 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10432 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10433 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10434 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10435 Update #include.
10436 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10437 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10438 Update #include.
10439 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10440 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10441 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10442 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10443 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10444 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10445 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10446 * sysdeps/x86/bits/semaphore.h: ... here.
10447 * sysdeps/x86/nptl/elide.h: Moved ...
10448 * sysdeps/x86/elide.h: ... here.
10449 * sysdeps/x86_64/nptl/Implies: File removed.
10450 * sysdeps/i386/nptl/Implies: File removed.
10451
0ea5d373
JM
104522014-06-24 Joseph Myers <joseph@codesourcery.com>
10453
4060283d
JM
10454 [BZ #16539]
10455 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10456 return the argument for normal arguments with exponent below -64.
10457 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10458 Likewise.
10459 * math/auto-libm-test-in: Add another test of expm1.
10460 * math/auto-libm-test-out: Regenerated.
10461
e7dd3c8c
JM
10462 [BZ #16287]
10463 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10464 calling __erfcl for arguments at least 16.
10465 * math/auto-libm-test-in: Add more tests of erf.
10466 * math/auto-libm-test-out: Regenerated.
10467
0ea5d373
JM
10468 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10469 individual architectures.
10470 * sysdeps/unix/sysv/linux/configure: Regenerated.
10471 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10472 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10473 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10474 (ldd_rewrite_script): Define variable.
10475 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10477 file.
10478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10479 generated file.
10480 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10481 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10482 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10483 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10484 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10485 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10486 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10487 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10488
2307e126
SP
104892014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10490
10491 [BZ #17084]
10492 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10493 Rename member __data.d to __data.__elision_data.
10494
c0a4ed77
W
104952014-06-24 Wilco <wdijkstr@arm.com>
10496
10497 * NEWS: Add 16918 to fixed bug list.
10498
b8c00573
W
104992014-06-24 Wilco <wdijkstr@arm.com>
10500
10501 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10502
b5570d92
W
105032014-06-24 Wilco <wdijkstr@arm.com>
10504
10505 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10506 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10507 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10508 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10509 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10510 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10511 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10512 Use _FPU_MASK_RM.
10513
947bdca2
W
105142014-06-24 Wilco <wdijkstr@arm.com>
10515
10516 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10517
00f669ed
W
105182014-06-24 Wilco <wdijkstr@arm.com>
10519
10520 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10521 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10522 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10523 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10524
db59bad3
W
105252014-06-24 Wilco <wdijkstr@arm.com>
10526
10527 [BZ #16918]
10528 * sysdeps/arm/feupdateenv.c (feupdateenv):
10529 Rewrite to reduce FPSCR accesses and fix return value.
10530
001f7b77
W
105312014-06-24 Wilco <wdijkstr@arm.com>
10532
10533 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10534 Optimize to avoid unnecessary FPSCR writes.
10535 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10536 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10537 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10538 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10539
4841e6a6
W
105402014-06-24 Wilco <wdijkstr@arm.com>
10541
10542 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10543 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10544 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10545 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10546 Call libc_fetestexcept_vfp.
10547 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10548 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10549 __SOFTFP__ ifdef so that they can be built for softfp.
10550
0813022c
SP
105512014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10552
08e5862f
SP
10553 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10554 argument type signed char.
10555
0813022c
SP
10556 * Makerules (check-abi): Dump diff of symlist if the test
10557 fails.
10558
3fc7236a
RM
105592014-06-23 Roland McGrath <roland@hack.frob.com>
10560
aba8ef95
RM
10561 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10562 using abort.
10563
3fc7236a
RM
10564 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10565 Remove unused variable ST.
10566
4da6db51
JM
105672014-06-23 Joseph Myers <joseph@codesourcery.com>
10568
4648909d
JM
10569 [BZ #16354]
10570 [BZ #17061]
10571 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10572 small arguments before calling __expm1.
10573 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10574 small arguments before calling __expm1f.
10575 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10576 small arguments before calling __expm1l.
10577 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10578 Likewise.
10579 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10580 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10581 spurious underflow for some cosh tests.
10582 * math/auto-libm-test-out: Regenerated.
10583 * sysdeps/i386/fpu/libm-test-ulps: Update.
10584
46a3d3c7
JM
10585 [BZ #17050]
10586 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10587 (__ieee754_y1): Set errno if return value overflows.
10588 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10589 (__ieee754_y1f): Set errno if return value overflows.
10590 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10591 (__ieee754_y1l): Set errno if return value overflows.
10592 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10593 (__ieee754_y1l): Set errno if return value overflows.
10594 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10595 * math/auto-libm-test-out: Regenerated.
10596
863893ec
JM
10597 * math/gen-auto-libm-tests.c: Document use of
10598 ignore-zero-inf-sign.
10599 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10600 (input_flags): Add ignore-zero-inf-sign.
10601 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10602 * math/gen-libm-test.pl (generate_testfile): Handle
10603 ignore-zero-inf-sign.
10604 * math/auto-libm-test-in: Mark some cpow tests with
10605 ignore-zero-inf-sign and some with xfail-rounding.
10606 * math/auto-libm-test-out: Regenerated.
10607 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10608 * sysdeps/i386/fpu/libm-test-ulps: Update.
10609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10610
4da6db51
JM
10611 [BZ #16315]
10612 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10613 overflowing or underflowing operations take place with sign of
10614 result.
10615 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10616 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10617 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10618 (__ieee754_pow): Recompute overflowing and underflowing results in
10619 original rounding mode.
10620 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10621 (__powl_helper): Allow negative argument X and scale negated value
10622 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10623 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10624 overflowing or underflowing operations take place with sign of
10625 result.
10626 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10627 Include <math.h>.
10628 * math/auto-libm-test-in: Add more tests of pow.
10629 * math/auto-libm-test-out: Regenerated.
10630 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10631 (pow_tonearest_test_data): Remove.
10632 (pow_test_tonearest): Likewise.
10633 (pow_towardzero_test_data): Likewise.
10634 (pow_test_towardzero): Likewise.
10635 (pow_downward_test_data): Likewise.
10636 (pow_test_downward): Likewise.
10637 (pow_upward_test_data): Likewise.
10638 (pow_test_upward): Likewise.
10639 (main): Don't call removed functions.
10640 * sysdeps/i386/fpu/libm-test-ulps: Update.
10641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10642
5686b236
RM
106432014-06-23 Roland McGrath <roland@hack.frob.com>
10644
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10646 Moved ...
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10649 Moved ...
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10652 Moved ...
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10655 Moved ...
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10658 File removed.
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10660 File removed.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10662 File removed.
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10664 File removed.
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10666 File removed.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10668 File removed.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10670 File removed.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10672 File removed.
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10674 File removed.
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10676 File removed.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10678 File removed.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10680 File removed.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10682 Moved ...
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10685 Moved ...
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10687 ... here.
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10689 Moved ...
10690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10692 Moved ...
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10695 Moved ...
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10698 Moved ...
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10701 Moved ...
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10704 Moved ...
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10707 Moved ...
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10711 ... here.
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10713 Moved ...
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10716 Moved ...
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10718 ... here.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10720 Moved ...
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10722 ... here.
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10724 Moved ...
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10726 ... here.
10727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10728 Moved ...
10729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10731 Moved ...
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10736 Moved ...
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10738 ... here.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10740 Moved ...
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10742 ... here.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10744 Moved ...
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10747 Moved ...
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10750 Moved ...
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10753 Moved ...
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10756 Moved ...
10757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10758 ... here.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10760 Moved ...
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10763 Moved ...
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10766 Moved ...
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10769 Moved ...
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10774 Moved ...
10775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10777 Moved ...
10778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10780 Moved ...
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10782 ... here.
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10784 Moved ...
10785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10786 ... here.
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10788 Moved ...
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10790 ... here.
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10792 Moved ...
10793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10795 Moved ...
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10798 Moved ...
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10801 Moved ...
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10803 ... here.
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10805 Moved ...
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10807 ... here.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10809 Moved ...
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10811 ... here.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10813 Moved ...
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10816 Moved ...
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10818
e6d90d67
WD
108192014-06-23 Will Newton <will.newton@linaro.org>
10820 Wilco <wdijkstr@arm.com>
10821
10822 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10823 implementation. Include get-rounding-mode.h.
10824 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10825 [!libc_feholdsetround_noex_ctx]: Define
10826 libc_feholdsetround_noex_ctx.
10827 [!libc_feholdsetround_noexf_ctx]: Define
10828 libc_feholdsetround_noexf_ctx.
10829 [!libc_feholdsetround_noexl_ctx]: Define
10830 libc_feholdsetround_noexl_ctx.
10831 (libc_feholdsetround_ctx): New function.
10832 (libc_feresetround_ctx): New function.
10833 (libc_feholdsetround_noex_ctx): New function.
10834 (libc_feresetround_noex_ctx): New function.
10835
d42df555
RM
108362014-06-23 Roland McGrath <roland@hack.frob.com>
10837
88a46474
RM
10838 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10839 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10840 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10841 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10842 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10843 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10844
15bed472
RM
10845 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10846 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10847 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10848 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10849 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10850 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10851 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10852 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10853 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10854 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10855 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10856 Moved ...
10857 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10858 ... here.
10859 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10860 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10861 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10862 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10863 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10864 Moved ...
10865 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10866 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10867 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10868 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10869 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10870 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10871 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10872 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10873 Moved ...
10874 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10875 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10876 Moved ...
10877 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10878 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10879 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10880 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10881 Moved ...
10882 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10883 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10884 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10885 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10886 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10887 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10888 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10889 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10890 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10891 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10892 Moved ...
10893 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10894 ... here.
10895 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10896 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10897 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10898 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10899 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10900 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10901 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10902 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10903 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10904 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10905 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10906 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10907 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10908 Moved ...
10909 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10910 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10911 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10912 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10913 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10914 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10915 Moved ...
10916 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10917 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10918 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10919 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10920 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10921
d42df555
RM
10922 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10923 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10924 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10925 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10926 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10927 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10928 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10929 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10930 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10931 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10932 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10933 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10934 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10935 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10936 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10937 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10938 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10939 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10940 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10941 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10942 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10943 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10944 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10945 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10946 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10947 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10948 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10949 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10950
76e5216e
JM
109512014-06-23 Joseph Myers <joseph@codesourcery.com>
10952
10953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10954 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10955 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10956 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10957 (IPV6_PMTUDISC_INTERFACE): Likewise.
10958 (IPV6_PMTUDISC_OMIT): Likewise.
10959
7a81cbcc
AS
109602014-06-23 Andreas Schwab <schwab@suse.de>
10961
10962 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10963 Remove unused errout label.
10964
db224009
AZ
109652014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10966
10967 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10968 macro: hardware supports Vector Crypto instructions.
10969
f393b4aa
WN
109702014-06-23 Will Newton <will.newton@linaro.org>
10971
cc7d0447
WN
10972 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10973 rather than __builtin_expect.
10974
d6d06225
WN
10975 * elf/dl-lookup.c (undefined_msg): Remove variable.
10976 (_dl_lookup_symbol_x): Replace undefined_msg with string
10977 literal.
10978
f393b4aa
WN
10979 * elf/dl-lookup.c (do_lookup_unique): New function.
10980 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10981 to a separate function.
10982
ac60763e
AS
109832014-06-23 Andreas Schwab <schwab@suse.de>
10984
10985 [BZ #17079]
10986 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10987 before reading the next line.
10988
c5c13355
WN
109892014-06-23 Will Newton <will.newton@linaro.org>
10990
10991 * test-skeleton.c (signal_handler): Use printf and %m
10992 rather than perror. Use printf rather than fprintf to
10993 stderr. Use puts rather than fputs to stderr.
10994 (main): Likewise.
10995
bd3675f9
LC
109962014-06-22 Ludovic Courtès <ludo@gnu.org>
10997
10998 * nscd/nscd.c (thread_info_t): Remove typedef.
10999 (thread_info): Remove variable.
11000
d03efb2f
AM
110012014-06-21 Allan McRae <allan@archlinux.org>
11002
11003 * NEWS: Mention CVE-2014-4043.
11004
bc4a86fa
RM
110052014-06-20 Roland McGrath <roland@hack.frob.com>
11006
dc9a54f8
RM
11007 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11008 * nptl/smp.h: ... here.
11009
bd7022c4
RM
11010 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11011
26ffd5e6
RM
11012 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11013 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11014 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11015 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11016
93a6d082
RM
11017 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11018 * nptl/stack-aliasing.h: New file.
11019 * sysdeps/i386/i686/stack-aliasing.h: New file.
11020 * sysdeps/i386/i686/nptl/Makefile: File removed.
11021 * sysdeps/x86_64/stack-aliasing.h: New file.
11022 * sysdeps/x86_64/nptl/Makefile
11023 (CFLAGS-pthread_create.c): Variable removed.
11024
bc4a86fa
RM
11025 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11026 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11027 old file.
11028 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11029 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11030 old file.
11031
2272ffc1
JM
110322014-06-21 Joseph Myers <joseph@codesourcery.com>
11033
11034 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11035 (__ASSUME_SIGFRAME_V2): Remove macro.
11036 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11037 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11038 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11039 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11040 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11041 Declare as function. Remove conditional macro definitions.
11042 (__default_rt_sa_restorer): Likewise.
11043 (__default_sa_restorer_v1): Remove declaration.
11044 (__default_sa_restorer_v2): Likewise.
11045 (__default_rt_sa_restorer_v1): Likewise.
11046 (__default_rt_sa_restorer_v2): Likewise.
11047 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11048 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11049 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11050
4b88139b
RM
110512014-06-20 Roland McGrath <roland@hack.frob.com>
11052
11053 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11054 (libpthread-routines): Add sysdep.
11055 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11056 * sysdeps/unix/sysv/linux/sparc/Versions
11057 (libpthread: GLIBC_2.3.3): New version set.
11058 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11059 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11060 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11061 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11062 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11063 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11064 Moved ...
11065 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11066 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11067 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11068 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11069 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11070 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11071 * sysdeps/sparc/nptl/sem_init.c: ... here.
11072 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11073 * sysdeps/sparc/nptl/sem_post.c: ... here.
11074 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11075 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11076 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11077 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11078 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11079 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11080 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11081 (libpthread-routines): Add cpu_relax.
11082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11083 File removed.
11084 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11085 (librt: GLIBC_2.3.3): New version set.
11086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11087 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11089 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11092 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11093 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11094 Moved ...
11095 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11097 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11099 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11101 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11103 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11105 Moved ...
11106 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11107 Update #include.
11108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11109 Moved ...
11110 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11111 Update #include.
11112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11113 Moved ...
11114 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11115 Update #include.
11116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11117 Moved ...
11118 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11119 Update #include.
11120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11121 Moved ...
11122 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11123 Update #include.
11124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11125 Moved ...
11126 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11127 Update #include.
11128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11129 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11135 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11137 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11139 Moved ...
11140 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11142 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11144 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11145
d7109027
JM
111462014-06-20 Joseph Myers <joseph@codesourcery.com>
11147
9bc6103d
JM
11148 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11149 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11150 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11151 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11152 * nscd/nscd.c: Likewise.
11153 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11154 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11155 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11156 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11157
d7109027
JM
11158 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11159 <kernel-features.h>.
11160 (init_mq_netlink): Remove conditional have_sock_cloexec
11161 definitions. Remove code conditional on have_sock_cloexec < 0.
11162 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11163 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11164 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11165 <kernel-features.h>.
11166 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11167 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11168
d92d8f8a
L
111692014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11170
11171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11172 Add tests for memset_chk and memset.
11173
11174 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11175 with AVX2_Usable.
11176
4e6d2347
MR
111772014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11178
257ce712
MR
11179 [BZ #16046]
11180 * elf/tst-dl-iter-static.c: New file.
11181 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11182
4e6d2347
MR
11183 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11184 error.
11185
a2a76afe
JM
111862014-06-20 Joseph Myers <joseph@codesourcery.com>
11187
7fd00f99
JM
11188 * sysdeps/unix/sysv/linux/kernel-features.h
11189 (__ASSUME_F_GETOWN_EX): Remove macro.
11190 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11191 <kernel-features.h>.
11192 (miss_F_GETOWN_EX): Remove variable or macro.
11193 (do_fcntl): Do not check miss_F_GETOWN_EX.
11194 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11195
4a103975
JM
11196 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11197 Remove macro.
11198 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11199 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11200 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11201
a2a76afe
JM
11202 * sysdeps/unix/sysv/linux/kernel-features.h
11203 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11204 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11205 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11206 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11207
90e5dd48
MR
112082014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11209
11210 [BZ #17075]
11211 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11212 Fix calculation of the symbol's value.
11213 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11214 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11215 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11216 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11217 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11218 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11219 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11220 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11221 (modules-names): Add `tst-armtlsdescmod',
11222 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11223 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11224 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11225 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11226 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11227 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11228 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11229 ($(objpfx)tst-armtlsdescloc): New dependency.
11230 ($(objpfx)tst-armtlsdescextnow): Likewise.
11231 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11232 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11233 TLS scheme support.
11234 * sysdeps/arm/configure: Regenerate.
11235
809fdf0d
JM
112362014-06-20 Joseph Myers <joseph@codesourcery.com>
11237
11238 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11239 (__atfct_seterrno_2): Likewise.
11240 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11241 <kernel-features.h>.
11242 (__ASSUME_ATFCTS): Do not undefine and redefine.
11243 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11244 (__have_atfcts): Remove conditional definition.
11245 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11246 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11247 unreachable if [__ASSUME_ATFCTS].
11248 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11249 not undefine and redefine.
11250 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11251 <kernel-features.h>.
11252 (faccessat) [__NR_faccessat]: Make code unconditional.
11253 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11254 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11255 <kernel-features.h>.
11256 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11257 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11258 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11259 <kernel-features.h>.
11260 (fchownat) [__NR_fchownat]: Make code unconditional.
11261 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11262 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11263 <kernel-features.h>.
11264 (futimesat) [__NR_futimesat]: Make code unconditional.
11265 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11266 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11267 <kernel-features.h>.
11268 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11269 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11270 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11271 <kernel-features.h>.
11272 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11273 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11274 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11275 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11276 <kernel-features.h>.
11277 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11278 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11279 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11280 <kernel-features.h>.
11281 (linkat) [__NR_linkat]: Make code unconditional.
11282 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11283 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11284 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11285 <kernel-features.h>.
11286 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11287 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11288 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11289 <kernel-features.h>.
11290 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11291 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11292 * sysdeps/unix/sysv/linux/openat.c: Do not include
11293 <kernel-features.h>.
11294 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11295 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11296 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11297 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11298 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11299 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11300 <kernel-features.h>.
11301 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11302 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11303 result of INLINE_SYSCALL directly, not via int variable.
11304 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11305 <kernel-features.h>.
11306 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11307 (renameat) [__NR_renameat]: Make code unconditional.
11308 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11309 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11310 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11311 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11312 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11313 (__ASSUME_ATFCTS): Do not undefine and redefine.
11314 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11315 <kernel-features.h>.
11316 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11317 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11318 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11319 <kernel-features.h>.
11320 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11321 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11322 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11323 (__ASSUME_ATFCTS): Do not undefine and redefine.
11324 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11325 <kernel-features.h>.
11326 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11327 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11328 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11329 <kernel-features.h>.
11330 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11331 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11332
224c6c51
L
113332014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11334
11335 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11336
aa6ec754
AS
113372014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11338
11339 [BZ #17069]
11340 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11341 constructed tree before returning error.
11342 * posix/bug-regexp36.c: Expand test case.
11343
d8c2869d
SL
113442014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11345
3ef6b850
SL
11346 [BZ #6803]
11347 * math/libm-test.inc (scalbln_test_date):
11348 Add errno expectations.
11349 * math/w_scalblnf.c: New File.
11350 Add wrapper which checks for setting errno to ERANGE.
11351 Add weak_alias for corresponding scalbln function.
11352 * math/w_scalbln.c: Likewise.
11353 * math/w_scalblnl.c: Likewise.
11354 * math/Makefile (libm-calls): Add w_scalbln.
11355 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11356 Remove weak_alias for corresponding scalbln function.
11357 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11359 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11361 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11362 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11363 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11364 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11365 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11366 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11367 Remove long_double_symbol for scalblnl function in libm, libc.
11368 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11369 Add wrapper which checks for setting errno to ERANGE.
11370 Add long_double_symbol for scalblnl function in libm, libc.
11371 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11372 Remove long_double_symbol for scalblnl in libm.
11373 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11374 Add wrapper which checks for setting errno to ERANGE.
11375 Add long_double_symbol for scalblnl function in libm.
11376 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11377 Do not use wrapper because of own implementation.
11378
c8daec5c
L
113792014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11380
11381 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11382 3 bytes for __pad1 for x32.
11383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11384
5c74e47c
LM
113852014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11386 H.J. Lu <hongjiu.lu@intel.com>
11387
11388 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11389 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11390 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11391 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11392 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11393
4d43ef1e
AS
113942014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11395
11396 [BZ #17069]
11397 * posix/regcomp.c (parse_expression): Deallocate partially
11398 constructed tree before returning error.
11399 * posix/Makefile.c (tests): Add bug-regex36.
11400 (generated): Add bug-regex36.mtrace.
11401 (tests-special): Add $(objpfx)bug-regex36-mem.out
11402 (bug-regex36-ENV): New variable.
11403 ($(objpfx)bug-regex36-mem.out): New rule.
11404 * posix/bug-regex36.c: New file.
11405
51a7380b
WN
114062014-06-19 Will Newton <will.newton@linaro.org>
11407
11408 * malloc/malloc.c (systrim): If extra is zero then return
11409 early.
11410
91b84fe5
SP
114112014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11412
11413 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11414
f940b965
RE
114152014-06-19 Richard Earnshaw <rearnsha@arm.com>
11416
11417 * sysdeps/aarch64/strchr.S: New file.
11418
4ba7a00f
JM
114192014-06-18 Joseph Myers <joseph@codesourcery.com>
11420
11421 [BZ #17022]
11422 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11423 from arguments -2 or below.
11424 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11425 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11426
b3a9f56b
AS
114272014-06-18 Andreas Schwab <schwab@suse.de>
11428
11429 [BZ #17062]
11430 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11431 of a bracket expr not to run off the end of the string.
11432 * posix/Makefile (tests): Add tst-fnmatch3.
11433 * posix/tst-fnmatch3.c: New file.
11434
85d89278
JM
114352014-06-18 Joseph Myers <joseph@codesourcery.com>
11436
11437 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11438 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11439 [$(cross-compiling) = no]: Likewise.
11440 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11441 [$(cross-compiling) = no]: Likewise.
11442
754c5a08
RS
114432014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11444
11445 [BZ #17031]
11446 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11447 double, adjusted for any remainder from the high double.
11448 * math/libm-test.inc (nearbyint): Add tests.
11449 (rint): Likewise.
11450
556f529d
AZ
114512014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11452
11453 * nptl/sysdeps/powerpc/Makefile: Moved ...
11454 * sysdeps/powerpc/nptl/Makefile: ... here.
11455 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11456 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11457 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11458 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11459 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11460 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11461 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11462 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11463 * nptl/sysdeps/powerpc/tls.h: Moved ...
11464 * sysdeps/powerpc/nptl/tls.h: ... here.
11465
91c03c53
JM
114662014-06-16 Joseph Myers <joseph@codesourcery.com>
11467
11468 [BZ #16681]
11469 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11470 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11471 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11472 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11473 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11474 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11475 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11476 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11477 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11478
a76e63c5
AS
114792014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11480
11481 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11482
f2f6d82f
AS
114832014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11484
ea8a15f6
AS
11485 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11486 defined operator.
11487
f2f6d82f
AS
11488 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11489 $TIMEOUTFACTOR.
11490
a7291117
FW
114912014-06-16 Florian Weimer <fweimer@redhat.com>
11492
11493 [BZ #17058]
11494 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11495 non-executed part of the test.
11496
3d7c00e3
AS
114972014-06-16 Andreas Schwab <schwab@suse.de>
11498
11499 * string/bits/string2.h (strdup, strndup): Update feature guard.
11500
6957fb31
DM
115012014-06-14 David S. Miller <davem@davemloft.net>
11502
11503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11504
11b9e55b
AS
115052014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11506
1d2a0492
AS
11507 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11508 that was previously under [RESET_PID].
11509 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11510
11b9e55b
AS
11511 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11512 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11513 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11514 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11515 (__libc_vfork): New strong alias.
11516 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11517
0f6901d0
AK
115182014-06-14 Andi Kleen <ak@linux.intel.com>
11519
11520 * sysdeps/generic/elide.h: New file.
11521
38bbbb9f
SL
115222014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11523
11524 * Makefile (installed-headers): Adjust path of pthread.h header.
11525
45193bb8
RM
115262014-06-13 Roland McGrath <roland@hack.frob.com>
11527
9a25fd1e
RM
11528 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11529 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11530 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11531 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11532
4004f7e4
RM
11533 * nptl/sysdeps/s390/Makefile: Moved ...
11534 * sysdeps/s390/nptl/Makefile: ... here.
11535 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11536 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11537 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11538 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11539 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11540 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11541 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11542 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11543 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11544 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11545 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11546 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11547 * nptl/sysdeps/s390/tls.h: Moved ...
11548 * sysdeps/s390/nptl/tls.h: ... here.
11549
45193bb8
RM
11550 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11551 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11552
f6fdf533
DM
115532014-06-13 David S. Miller <davem@davemloft.net>
11554
11555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11557 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11558 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11562 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11563 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11564 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11565 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11566 Remove RESET_PID cpp guards.
11567 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11568 Remove RESET_PID cpp guards.
11569 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11570
f5d71e14
AS
115712014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11572
11573 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11574 __sp to uintptr_t.
11575
b7aa8caa
AK
115762014-06-13 Andi Kleen <ak@linux.intel.com>
11577
4b266200
AZ
11578 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11579 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11580 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11581 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11582 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11583 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11584 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11585 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11586 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11587 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11588 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11589 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11590 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11591 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11592 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11593 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11594 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11595 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11596 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11597 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11598
11599 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11600 (pthread_rwlock_rdlock): Add elision.
11601 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11602 (pthread_rwlock_wrlock): Add elision.
11603 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11604 (pthread_rwlock_trywrlock): Add elision.
11605 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11606 (pthread_rwlock_tryrdlock): Add elision.
11607 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11608 (pthread_rwlock_tryrdlock): Add elision unlock.
11609 * nptl/sysdeps/pthread/pthread.h:
11610 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11611 (PTHREAD_RWLOCK_INITIALIZER,
11612 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11613 Handle new elision field.
11614 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11615 * sysdeps/arm/nptl/bits/pthreadtypes.h
11616 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11617 * sysdeps/sh/nptl/bits/pthreadtypes.h
11618 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11619 * sysdeps/tile/nptl/bits/pthreadtypes.h
11620 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11621 * sysdeps/a/nptl/bits/pthreadtypes.h
11622 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11623 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11624 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11625 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11626 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11627 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11628 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11629 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11630 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11631 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11632 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11633 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11634 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11635 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11636 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11637 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11638 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11639 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11640 (elision_init): Set try_xbegin to zero when no RTM.
11641 * sysdeps/x86/nptl/bits/pthreadtypes.h
11642 (pthread_rwlock_t): Change __pad1 to __rwelision.
11643 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11644
a832bdd3
AK
116452014-06-13 Andi Kleen <ak@linux.intel.com>
11646
11647 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11648 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11649 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11650 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11651
995a46bb
MI
116522014-06-13 Meador Inge <meadori@codesourcery.com>
11653
11654 [BZ #16996]
03ed7738 11655 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11656 that the cached result has been set before returning it.
11657
45262aee
RM
116582014-06-12 Roland McGrath <roland@hack.frob.com>
11659
febf6cc5
RM
11660 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11661 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11662 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11663 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11664 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11665 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11666
e2682246
RM
11667 * nptl/sysdeps/sparc/Makefile: Moved ...
11668 * sysdeps/sparc/nptl/Makefile: ... here.
11669 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11670 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11671 * nptl/sysdeps/sparc/tls.h: Moved ...
11672 * sysdeps/sparc/nptl/tls.h: ... here.
11673 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11674 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11675 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11676 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11677 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11678 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11679 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11680 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11681 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11682 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11683 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11684 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11685 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11686 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11687 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11688 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11689 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11690 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11691 Update #include.
11692 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11693 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11694 Update #include.
11695 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11696 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11697 Update #include.
11698 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11699 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11700 Update #include.
11701
b0725f43
RM
11702 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11703
b14368b8
RM
11704 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11705 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11706
c5620eb3
RM
11707 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11708 (struct list_links): Type removed.
11709 (struct thread_node, struct timer_node): Replace struct list_links
11710 with struct list_head.
11711 (list_unlink_ip): Likewise.
11712 * sysdeps/pthread/timer_routines.c
11713 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11714 (list_append, list_insbefore): Likewise.
11715 (list_init): Function removed.
11716 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11717 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11718 * sysdeps/pthread/Makefile: ... here, new file.
11719
11720 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11721 * sysdeps/nptl/Implies: ... here.
11722 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11723 * nptl/sysdeps/pthread/list.h: Moved ...
11724 * include/list.h: ... here.
11725 * nptl/sysdeps/pthread/createthread.c: Moved ...
11726 * nptl/createthread.c: ... here.
11727 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11728 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11729 * nptl/pt-longjmp.c: ... here.
11730 * nptl/sysdeps/pthread/Makefile: Moved ...
11731 * sysdeps/nptl/Makefile: ... here.
11732 * nptl/sysdeps/pthread/Subdirs: Moved ...
11733 * sysdeps/nptl/Subdirs: ... here.
11734 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11735 * sysdeps/nptl/aio_misc.h: ... here.
11736 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11737 * sysdeps/nptl/bits/libc-lock.h: ... here.
11738 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11739 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11740 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11741 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11742 * nptl/sysdeps/pthread/configure: Moved ...
11743 * sysdeps/nptl/configure: ... here.
11744 * nptl/sysdeps/pthread/configure.ac: Moved ...
11745 * sysdeps/nptl/configure.ac: ... here.
11746 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11747 * sysdeps/nptl/gai_misc.h: ... here.
11748 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11749 * sysdeps/nptl/librt-cancellation.c: ... here.
11750 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11751 * sysdeps/nptl/malloc-machine.h: ... here.
11752 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11753 * sysdeps/nptl/pthread-functions.h: ... here.
11754 * nptl/sysdeps/pthread/pthread.h: Moved ...
11755 * sysdeps/nptl/pthread.h: ... here.
11756 * nptl/sysdeps/pthread/setxid.h: Moved ...
11757 * sysdeps/nptl/setxid.h: ... here.
11758 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11759 * sysdeps/nptl/sigfillset.c: ... here.
11760 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11761 * sysdeps/nptl/tcb-offsets.h: ... here.
11762 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11763 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11764 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11765 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11766 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11767 * sysdeps/pthread/allocalim.h: ... here.
11768 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11769 * sysdeps/pthread/bits/sigthread.h: ... here.
11770 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11771 * sysdeps/pthread/flockfile.c: ... here.
11772 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11773 * sysdeps/pthread/ftrylockfile.c: ... here.
11774 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11775 * sysdeps/pthread/funlockfile.c: ... here.
11776 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11777 * sysdeps/pthread/posix-timer.h: ... here.
11778 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11779 * sysdeps/pthread/timer_create.c: ... here.
11780 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11781 * sysdeps/pthread/timer_delete.c: ... here.
11782 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11783 * sysdeps/pthread/timer_getoverr.c: ... here.
11784 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11785 * sysdeps/pthread/timer_gettime.c: ... here.
11786 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11787 * sysdeps/pthread/timer_routines.c: ... here.
11788 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11789 * sysdeps/pthread/timer_settime.c: ... here.
11790 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11791 * sysdeps/pthread/tst-timer.c: ... here.
11792 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11793 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11794
e876b090
RM
11795 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11796 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11797
f6b07b3d
RM
11798 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11799 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11800 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11801 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11802 Update #include target.
11803 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11804 * sysdeps/i386/i686/nptl/Makefile: ... here.
11805 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11806 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11807 Update #include target.
11808 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11809 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11810 * nptl/sysdeps/i386/Makefile: Moved ...
11811 * sysdeps/i386/nptl/Makefile: ... here.
11812 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11813 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11814 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11815 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11816 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11817 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11818 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11819 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11820 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11821 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11822 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11823 * nptl/sysdeps/i386/tls.h: Moved ...
11824 * sysdeps/i386/nptl/tls.h: ... here.
11825
45262aee
RM
11826 * sysdeps/sh/Makefile [$(subdir) = csu]
11827 (gen-as-const-headers): Add tcb-offsets.sym.
11828 * nptl/sysdeps/sh/Makefile: File removed.
11829 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11830 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11831 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11832 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11833 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11834 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11835 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11836 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11837 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11838 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11839 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11840 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11841 * nptl/sysdeps/sh/tls.h: Moved ...
11842 * sysdeps/sh/nptl/tls.h: ... here.
11843 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11844 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11845 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11846 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11847 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11848 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11849 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11850 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11851 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11852 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11853 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11854 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11855 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11856 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11857 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11858 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11859 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11860 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11861 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11862 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11863 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11864 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11865 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11866 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11867 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11868 Moved ...
11869 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11870 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11871 Moved ...
11872 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11873 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11874 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11875 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11876 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11877 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11878 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11879 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11880 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11881 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11882 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11883 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11884 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11885 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11886 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11887 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11888 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11889 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11890 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11891
35a5e3e3
SL
118922014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11893
11894 * posix/spawn_faction_addopen.c: Include string.h.
11895
14642b85
RM
118962014-06-11 Roland McGrath <roland@hack.frob.com>
11897
11898 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11899 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11900 * nptl/sysdeps/x86_64/Makefile: Moved ...
11901 * sysdeps/x86_64/nptl/Makefile: ... here.
11902 * nptl/sysdeps/x86_64/configure: Moved ...
11903 * sysdeps/x86_64/nptl/configure: ... here.
11904 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11905 * sysdeps/x86_64/nptl/configure.ac: ... here.
11906 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11907 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11908 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11909 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11910 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11911 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11912 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11913 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11914 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11915 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11916 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11917 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11918 * nptl/sysdeps/x86_64/tls.h: Moved ...
11919 * sysdeps/x86_64/nptl/tls.h: ... here.
11920 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11921 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11922 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11923 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11924
11925 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11926
31c44fea
AZ
119272014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11928
11929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11930
e81a4f9a
JM
119312014-06-11 Joseph Myers <joseph@codesourcery.com>
11932
11933 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11934 type.
11935 [POSIX] (off_t): Likewise.
11936 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11937 [POSIX] (S_ISBLK): Require macro.
11938 [POSIX] (S_ISCHR): Likewise.
11939 [POSIX] (S_ISDIR): Likewise.
11940 [POSIX] (S_ISFIFO): Likewise.
11941 [POSIX] (S_ISREG): Likewise.
11942 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11943 optional-macro.
11944 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11945 type.
11946 [POSIX] (time_t): Likewise.
11947 [POSIX] (timer_t): Likewise.
11948
89e435f3
FW
119492014-06-11 Florian Weimer <fweimer@redhat.com>
11950
11951 [BZ #17048]
11952 * posix/spawn_int.h (struct __spawn_action): Make the path string
11953 non-const to support deallocation.
11954 * posix/spawn_faction_addopen.c
11955 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11956 * posix/spawn_faction_destroy.c
11957 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11958 path in all spawn_do_open actions.
11959 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11960 posix_spawn_file_actions_addopen.
11961
c3a2ebe1
CM
119622014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11963
11964 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11965 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11966 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11967 conditional code always true.
11968 (__libc_vfork): New alias.
11969
9503784a
RM
119702014-06-11 Roland McGrath <roland@hack.frob.com>
11971
c9cab3d2
RM
11972 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11973 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11974
d3996c79
RM
11975 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11976
ba5ec611
RM
11977 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11978 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11979
f12b4814
RM
11980 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11981 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11982
9503784a
RM
11983 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11984 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11985
e23d3d26
VR
119862014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11987
11988 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11989 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11990 multiarch strcmp for PPC64.
11991 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11992 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11994 multiarch optimizations.
11995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11996 (__libc_ifunc_impl_list): Likewise.
11997
42b1161e
SP
119982014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11999
12000 * benchtests/scripts/validate_benchout.py: New script.
12001 * benchtests/Makefile (bench-func): Call it.
12002 * benchtests/scripts/benchout.schema.json: New file.
12003
2d0fc4dc
CM
120042014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12005
4a594c34
AZ
12006 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12007 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12008 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12009 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12010 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12011 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12012 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12013 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12014 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12015 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12016 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12017 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12018 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12019 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12020 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12021 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12023 Moved ...
4a594c34 12024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12025 ... here.
4a594c34 12026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12027 Moved ...
4a594c34
AZ
12028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12030 Moved ...
4a594c34 12031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12032 ... here.
4a594c34 12033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12034 Moved ...
4a594c34 12035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12036 ... here.
4a594c34 12037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12038 Moved ...
4a594c34
AZ
12039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12041 Moved ...
4a594c34 12042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12043 ... here.
4a594c34 12044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12045 Moved ...
4a594c34 12046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12047 ... here.
4a594c34 12048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12049 Moved ...
4a594c34
AZ
12050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12052 Moved ...
4a594c34 12053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12054 ... here.
4a594c34 12055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12056 Moved ...
4a594c34 12057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12058 ... here.
4a594c34 12059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12060 Moved ...
4a594c34 12061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12062 ... here.
4a594c34 12063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12064 Moved ...
4a594c34
AZ
12065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12067 Moved ...
4a594c34 12068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12069 ... here.
4a594c34 12070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12071 Moved ...
4a594c34 12072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12073 ... here.
4a594c34 12074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12075 Moved ...
4a594c34 12076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12077 ... here.
4a594c34 12078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12079 Moved ...
4a594c34
AZ
12080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12082 Moved ...
4a594c34 12083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12084 ... here.
4a594c34 12085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12086 Moved ...
4a594c34 12087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12088 ... here.
4a594c34 12089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12090 Moved ...
4a594c34
AZ
12091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12093 Moved ...
4a594c34 12094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12095 ... here.
4a594c34 12096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12097 Moved ...
4a594c34
AZ
12098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12100 Moved ...
4a594c34
AZ
12101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12103 Moved ...
4a594c34 12104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12105 ... here.
4a594c34 12106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12107 Moved ...
4a594c34 12108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12109 ... here.
4a594c34 12110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12111 Moved ...
4a594c34 12112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12113 ... here.
4a594c34 12114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12115 Moved ...
4a594c34
AZ
12116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12118 Moved ...
4a594c34 12119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12120 ... here.
4a594c34 12121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12122 Moved ...
4a594c34 12123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12124 ... here.
4a594c34
AZ
12125 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12126 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12127 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12128 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12129 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12130 Moved ...
4a594c34 12131 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12132 ... here.
4a594c34
AZ
12133 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12134 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12135 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12136 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12137 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12138 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12139 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12140 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12141 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12142 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12143 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12144 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12145 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12146 Moved ...
4a594c34
AZ
12147 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12149 Moved ...
4a594c34
AZ
12150 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12151 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12152 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12153 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12154 Moved ...
4a594c34
AZ
12155 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12156 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12157 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12158 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12159 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12160 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12161 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12162
0570cfed
W
121632014-06-10 Wilco <wdijkstr@arm.com>
12164
12165 * math/test-fenv-return.c: New file.
12166 * math/Makefile: Add new test test-fenv-return.
12167
f8ba1b56
JM
121682014-06-10 Joseph Myers <joseph@codesourcery.com>
12169
12170 [BZ #17042]
12171 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12172 when x - 1 is zero.
12173 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12174 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12175 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12176 0.0L for an argument of 1.0L.
12177 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12178 Likewise.
12179 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12180 value when x - 1 is zero.
12181 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12182 * sysdeps/i386/fpu/libm-test-ulps: Update.
12183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12184
2c3520d9
BO
121852014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12186
12187 [BZ #15119]
12188 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12189
acaa4d24
RM
121902014-06-09 Roland McGrath <roland@hack.frob.com>
12191
12192 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12193 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12194
962b744d
RM
121952014-06-09 Roland McGrath <roland@hack.frob.com>
12196
d752f0cc
RM
12197 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12198 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12199
34eda6d1
RM
12200 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12201 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12202
50f0a637
RM
12203 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12204 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12205
08f41f04
RM
12206 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12207 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12208
962b744d
RM
12209 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12210 if not already defined.
12211 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12212 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12213 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12214 (TLS_INIT_TP): Use it.
12215 (TLS_DEFINE_INIT_TP): New macro.
12216 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12217
09f19b05
JM
122182014-06-09 Joseph Myers <joseph@codesourcery.com>
12219
12220 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12221 constant.
12222 [POSIX] (IXANY): Likewise.
12223 [POSIX] (OLCUC): Likewise.
12224 [POSIX || POSIX2008] (CBAUD): Do not allow.
12225 [POSIX || POSIX2008] (DEFECHO): Likewise.
12226 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12227 [POSIX || POSIX2008] (ECHOKE): Likewise.
12228 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12229 [POSIX || POSIX2008] (EXTA): Likewise.
12230 [POSIX || POSIX2008] (EXTB): Likewise.
12231 [POSIX || POSIX2008] (FLUSHO): Likewise.
12232 [POSIX || POSIX2008] (LOBLK): Likewise.
12233 [POSIX || POSIX2008] (PENDIN): Likewise.
12234 [POSIX || POSIX2008] (SWTCH): Likewise.
12235 [POSIX || POSIX2008] (VDISCARD): Likewise.
12236 [POSIX || POSIX2008] (VDSUSP): Likewise.
12237 [POSIX || POSIX2008] (VLNEXT): Likewise.
12238 [POSIX || POSIX2008] (VREPRINT): Likewise.
12239 [POSIX || POSIX2008] (VSTATUS): Likewise.
12240 [POSIX || POSIX2008] (VWERASE): Likewise.
12241 (B*): Change to B[0123456789]*.
12242 * conform/data/time.h-data [POSIX || UNIX98]
12243 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12244 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12245 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12246 [POSIX] (tm_*): Do not allow.
12247
686554bf
JM
122482014-06-07 Joseph Myers <joseph@codesourcery.com>
12249
12250 * Makefile (install): Don't set LANGUAGE.
12251 * Makefile.in (install): Likewise.
12252 * assert/Makefile (test-assert-ENV): Remove variable.
12253 (test-assert-perr-ENV): Likewise.
12254 * elf/Makefile (neededtest4-ENV): Likewise.
12255 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12256 [$(cross-compiling) = no]: Don't set LANGUAGE.
12257 * io/ftwtest-sh (LANG): Remove variable.
12258 * libio/Makefile (tst-widetext-ENV): Likewise.
12259 * manual/install.texi (Running make install): Don't refer to
12260 environment settings for make install.
12261 * INSTALL: Regenerated.
12262 * nptl/tst-tls6.sh: Don't set LANG.
12263 * posix/globtest.sh (LANG): Remove variable.
12264 * string/Makefile (tester-ENV): Likewise.
12265 (inl-tester-ENV): Likewise.
12266 (noinl-tester-ENV): Likewise.
12267 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12268 [$(cross-compiling) = no]: Don't set LANGUAGE.
12269 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12270 without explicit environment settings.
12271
68e6b6b1
RM
122722014-06-06 Roland McGrath <roland@hack.frob.com>
12273
12274 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12275 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12276 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12277 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12278
4d3ae034
CM
122792014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12280
12281 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12282 other files in the crypt directory.
12283 * crypt/crypt.c: Remove duplicate includes.
12284 * crypt/crypt-entry.c: Likewise.
12285 * crypt/crypt_util.c: Likewise.
12286
8540f6d2
JM
122872014-06-06 Joseph Myers <joseph@codesourcery.com>
12288
12289 * Makeconfig (run-program-env): New variable.
12290 (run-program-prefix-before-env): Likewise.
12291 (run-program-prefix-after-env): Likewise.
12292 (run-program-prefix): Define in terms of new variables.
12293 (built-program-cmd-before-env): New variable.
12294 (built-program-cmd-after-env): Likewise.
12295 (built-program-cmd): Define in terms of new variables.
12296 (test-program-prefix-before-env): New variable.
12297 (test-program-prefix-after-env): Likewise.
12298 (test-program-prefix): Define in terms of new variables.
12299 (test-program-cmd-before-env): New variable.
12300 (test-program-cmd-after-env): Likewise.
12301 (test-program-cmd): Define in terms of new variables.
12302 * Rules (make-test-out): Use $(run-program-env).
12303 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12304 (help): Do not mention environment variables. Mention
12305 --timeoutfactor option.
12306 (timeoutfactor): New variable.
12307 (blacklist_exports): Remove function.
12308 (exports): Remove variable.
12309 (command): Do not include ${exports}.
12310 * manual/install.texi (Configuring and compiling): Do not mention
12311 test wrappers preserving environment variables. Mention that last
12312 assignment to a variable must take precedence.
12313 * INSTALL: Regenerated.
12314 * benchtests/Makefile (run-bench): Use $(run-program-env).
12315 * catgets/Makefile ($(objpfx)test1.cat): Use
12316 $(built-program-cmd-before-env), $(run-program-env) and
12317 $(built-program-cmd-after-env).
12318 ($(objpfx)test2.cat): Do not specify environment variables
12319 explicitly.
12320 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12321 $(run-program-env) and $(built-program-cmd-after-env).
12322 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12323 $(run-program-env) and $(test-program-cmd-after-env).
12324 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12325 explicitly.
12326 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12327 run_program_env and test_program_cmd_after_env arguments.
12328 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12329 * elf/tst-pathopt.sh: Use run_program_env argument.
12330 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12331 $(test-wrapper-env) and $(run-program-env).
12332 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12333 run_program_env arguments.
12334 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12335 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12336 $(test-program-prefix-before-env), $(run-program-env) and
12337 $(test-program-prefix-after-env).
12338 ($(objpfx)tst-gettext2.out): Likewise.
12339 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12340 run_program_env and test_program_prefix_after_env arguments.
12341 * intl/tst-gettext2.sh: Likewise.
12342 * intl/tst-gettext4.sh: Do not set environment variables
12343 explicitly.
12344 * intl/tst-gettext6.sh: Likewise.
12345 * intl/tst-translit.sh: Likewise.
12346 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12347 $(test-program-prefix-before-env), $(run-program-env) and
12348 $(test-program-prefix-after-env).
12349 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12350 run_program_env and test_program_prefix_after_env arguments.
12351 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12352 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12353 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12354 explicitly with each use of ${test_wrapper_env}.
12355 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12356 $(test-program-prefix-before-env), $(run-program-env) and
12357 $(test-program-prefix-after-env).
12358 * posix/tst-getconf.sh: Do not set environment variables
12359 explicitly.
12360 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12361 run_program_env and test_program_prefix_after_env arguments.
12362 * stdio-common/tst-printf.sh: Do not set environment variables
12363 explicitly.
12364 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12365 $(test-program-prefix-before-env), $(run-program-env) and
12366 $(test-program-prefix-after-env).
12367 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12368 run_program_env and test_program_prefix_after_env arguments.
12369 Split $test calls into $test_pre and $test.
12370 * timezone/Makefile (build-testdata): Use
12371 $(built-program-cmd-before-env), $(run-program-env) and
12372 $(built-program-cmd-after-env).
12373
ed36bfa1
AZ
123742014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12375
12376 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12377 strlen for non SHARED builds.
12378
fc75bf46
SP
123792014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12380
12381 * nptl/allocatestack.c (check_list): Inlined function...
12382 (__reclaim_stacks): ... here.
12383
d89b3d80
OB
123842014-06-05 Ondřej Bílka <neleai@seznam.cz>
12385
12386 [BZ #15698]
12387 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12388 memory overrun.
12389
2bf18041
JM
123902014-06-05 Joseph Myers <joseph@codesourcery.com>
12391
12392 * Rules (make-test-out): Include
12393 LOCPATH=$(common-objpfx)localedata in default environment.
12394 * debug/Makefile (tst-chk1-ENV): Remove variable.
12395 (tst-chk2-ENV): Likewise.
12396 (tst-chk3-ENV): Likewise.
12397 (tst-chk4-ENV): Likewise.
12398 (tst-chk5-ENV): Likewise.
12399 (tst-chk6-ENV): Likewise.
12400 (tst-lfschk1-ENV): Likewise.
12401 (tst-lfschk2-ENV): Likewise.
12402 (tst-lfschk3-ENV): Likewise.
12403 (tst-lfschk4-ENV): Likewise.
12404 (tst-lfschk5-ENV): Likewise.
12405 (tst-lfschk6-ENV): Likewise.
12406 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12407 (tst-iconv7-ENV): Likewise.
12408 * intl/Makefile (LOCPATH-ENV): Likewise.
12409 (tst-codeset-ENV): Likewise.
12410 (tst-gettext3-ENV): Likewise.
12411 (tst-gettext5-ENV): Likewise.
12412 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12413 (tst-fopenloc-ENV): Likewise.
12414 (tst-fgetws-ENV): Remove variable.
12415 (tst-ungetwc1-ENV): Likewise.
12416 (tst-ungetwc2-ENV): Likewise.
12417 (bug-ungetwc2-ENV): Likewise.
12418 (tst-swscanf-ENV): Likewise.
12419 (bug-ftell-ENV): Likewise.
12420 (tst-fgetwc-ENV): Likewise.
12421 (tst-fseek-ENV): Likewise.
12422 (tst-ftell-partial-wide-ENV): Likewise.
12423 (tst-ftell-active-handler-ENV): Likewise.
12424 (tst-ftell-append-ENV): Likewise.
12425 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12426 (tst-regexloc-ENV): Likewise.
12427 (bug-regex1-ENV): Likewise.
12428 (tst-regex-ENV): Likewise.
12429 (tst-regex2-ENV): Likewise.
12430 (bug-regex5-ENV): Likewise.
12431 (bug-regex6-ENV): Likewise.
12432 (bug-regex17-ENV): Likewise.
12433 (bug-regex18-ENV): Likewise.
12434 (bug-regex19-ENV): Likewise.
12435 (bug-regex20-ENV): Likewise.
12436 (bug-regex22-ENV): Likewise.
12437 (bug-regex23-ENV): Likewise.
12438 (bug-regex25-ENV): Likewise.
12439 (bug-regex26-ENV): Likewise.
12440 (bug-regex30-ENV): Likewise.
12441 (bug-regex32-ENV): Likewise.
12442 (bug-regex33-ENV): Likewise.
12443 (bug-regex34-ENV): Likewise.
12444 (bug-regex35-ENV): Likewise.
12445 (tst-rxspencer-ENV): Likewise.
12446 (tst-rxspencer-no-utf8-ENV): Likewise.
12447 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12448 (tst-sscanf-ENV): Likewise.
12449 (tst-swprintf-ENV): Likewise.
12450 (tst-swscanf-ENV): Likewise.
12451 (test-vfprintf-ENV): Likewise.
12452 (scanf13-ENV): Likewise.
12453 (bug14-ENV): Likewise.
12454 (tst-grouping-ENV): Likewise.
12455 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12456 (tst-strtod3-ENV): Likewise.
12457 (tst-strtod4-ENV): Likewise.
12458 (tst-strtod5-ENV): Likewise.
12459 (testmb2-ENV): Likewise./
12460 * string/Makefile (tst-strxfrm-ENV): Likewise.
12461 (tst-strxfrm2-ENV): Likewise.
12462 (bug-strcoll1-ENV): Likewise.
12463 (test-strcasecmp-ENV): Likewise.
12464 (test-strncasecmp-ENV): Likewise.
12465 * time/Makefile (tst-strptime-ENV): Likewise.
12466 (tst-ftime_l-ENV): Likewise.
12467 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12468 (tst-mbrtowc-ENV): Likewise.
12469 (tst-wcrtomb-ENV): Likewise.
12470 (tst-mbrtowc2-ENV): Likewise.
12471 (tst-c16c32-1-ENV): Likewise.
12472 (tst-mbsnrtowcs-ENV): Likewise.
12473
cd1fb604
OB
124742014-06-05 Ondřej Bílka <neleai@seznam.cz>
12475
12476 * manual/resource.texi (How to get information about the memory
12477 subsystem?): Fix typo.
12478 Reported by Peon de la Parra Ivan <peon@keba.com>
12479
b42eca7d
GY
124802014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12481
12482 [BZ #16882]
12483 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12484 (pthread_spin_lock): Branch out of spin loop to proper location.
12485 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12486 (pthread_spin_lock): Likewise.
12487
902b71f9
DM
12488 * nptl/tst-spin4.c: New test.
12489 * nptl/Makefile (tests): Add tst-spin4.
12490
f9d2d032
AS
124912014-06-03 Andreas Schwab <schwab@suse.de>
12492
12493 [BZ #15946]
12494 * resolv/res_send.c (send_dg): Reload file descriptor after
12495 calling reopen.
12496
cf7bfd28
SL
124972014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12498
12499 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12500
111cc714
RH
125012014-06-03 Richard Henderson <rth@redhat.com>
12502
89b4bd6b
RH
12503 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12504 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12505 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12506 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12507 in the SAVE_PID block.
12508 (__libc_vfork): New alias.
71840409 12509 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12510
111cc714
RH
12511 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12512 child in registers, not on the stack. Remove RESET_PID conditionals.
12513 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12514
ccc39911
MS
125152014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12516
12517 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12518
693096cc
W
125192014-06-03 Wilco <wdijkstr@arm.com>
12520
12521 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12522 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12523 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12524 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12525 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12526 Likewise.
12527
0b4366bc
W
125282014-06-03 Wilco <wdijkstr@arm.com>
12529
12530 * sysdeps/aarch64/fpu/math_private.h
12531 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12532 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12533 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12534 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12535 Fix declarations.
12536
8747cd03
KS
125372014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12538
12539 * crypt/crypt-private.h: Include ufc-crypt.h.
12540 (__b64_from_24bit): Declare extern.
12541 * crypt/crypt_util.c(__b64_from_24bit): New function.
12542 (b64t): New static const variable.
12543 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12544 (b64t): Remove variable.
12545 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12546 * crypt/sha256-crypt.c: Include crypt-private.h.
12547 (b64t): Remove variable.
12548 (__sha256_crypt_r): Remove b64_from_24bit and replace
12549 with __b64_from_24bit.
12550 * crypt/sha512-crypt.c: Likewise.
12551
d936d379
RM
125522014-06-02 Roland McGrath <roland@hack.frob.com>
12553
12554 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12555 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12556 Label the code __libc_vfork rather than __vfork.
12557 [!NOT_IN_libc] (vfork): Define as weak alias.
12558 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12559 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12560 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12561
9fa76613
SP
125622014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12563
12564 * malloc/malloc.c (malloc_info): Fix format specifier for
12565 n_mmaps.
12566
a88dadbe
W
125672014-06-02 Wilco <wdijkstr@arm.com>
12568
12569 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12570 FPCR write.
12571
c95b3011
W
125722014-06-02 Wilco <wdijkstr@arm.com>
12573
12574 [BZ #17009]
12575 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12576 Rewrite to reduce FPCR/FPSR accesses.
12577
6b4d7a90
DM
125782014-06-01 David S. Miller <davem@davemloft.net>
12579
12580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12581
30f3d07c
DM
125822014-05-31 David S. Miller <davem@davemloft.net>
12583
12584 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12585 to occur in round to nearest mode when |x| >= 2.0
12586
74f31c18
RH
125872014-05-30 Richard Henderson <rth@twiddle.net>
12588
f0712b54
RH
12589 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12590 (PSEUDO_RET_NOERRNO): Remove.
12591 (ret): Don't redefine.
12592 (ret_NOERRNO): Define in terms of ret.
12593 (ret_ERRVAL): Likewise.
12594
74f31c18
RH
12595 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12596 use of PSEUDO_RET; perform the error check directly.
12597
30477995
MM
125982014-05-30 Marko Myllynen <myllynen@redhat.com>
12599
12600 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12601 with __int128_t.
12602
62a58816
SP
126032014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12604
12605 * malloc/malloc (malloc_info): Fix formatting.
12606
4d653a59
SP
126072014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12608 Roland McGrath <roland@hack.frob.com>
12609
12610 * malloc/malloc (malloc_info): Also print mmapped statistics.
12611
5190c17f
RM
126122014-05-30 Roland McGrath <roland@hack.frob.com>
12613
12614 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12615 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12616
987c0269
OB
126172014-05-30 Ondřej Bílka <neleai@seznam.cz>
12618
12619 * malloc/malloc.c (malloc_info): Inline mi_arena.
12620
af4e8ef9
RH
126212014-05-29 Richard Henderson <rth@twiddle.net>
12622
1670e207
RH
12623 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12624 Remove comma before expanding ASM_ARGS_##nr.
12625 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12626 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12627 of ASM_ARGS_##nr.
12628 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12629 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12630 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12631 (ASM_ARGS_1): Add leading comma.
12632
11a28aee
RH
12633 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12634 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12635 to __errno_location.
12636 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12637 Remove the expected plt for __errno_location.
12638
a17e5ffb 12639 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12640 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12641 call to __read_tp.
12642
b5be4597
RH
12643 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12644 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12645 it and break it down.
12646 (DOCARGS_0, DOCARGS_1): Do nothing.
12647 (DOCARGS_2): Update to store into the new stack frame.
12648 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12649 (UNDOCARGS_1): Update to restore from the new stack frame.
12650 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12651 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12652
645d44ab
RH
12653 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12654 (SINGLE_THREAD_P): New parameter for result regno.
12655 (PSEUDO): Update to match; use cbz instead of beq.
12656
a8b4f04a
RH
12657 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12658 Use ENTRY to define the _nocancel entry point. Share the syscall
12659 and syscall error check paths with the cancel path.
12660 (PSEUDO_END): New.
12661
af4e8ef9
RH
12662 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12663 whitespace; tabs before and after asm mnemonics.
12664
26b0d2e1
EW
126652014-05-29 Eric Wong <normalperson@yhbt.net>
12666
12667 [BZ #15132]
12668 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12669 Call fstat64 or stat64 internally, depending on arguments passed.
12670 Replace stat buffer argument with file descriptor argument.
12671 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12672 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12673 Pass fd to __internal_statvfs instead of calling fstat64.
12674 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12675 Pass fd to __internal_statvfs64 instead of calling fstat64.
12676 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12677 Pass -1 to __internal_statvfs instead of calling stat64.
12678 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12679 Pass -1 to __internal_statvfs64 instead of calling stat64.
12680
1efe2bd9
RM
126812014-05-28 Roland McGrath <roland@hack.frob.com>
12682
0d3b7a19
RM
12683 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12684 that was previously under [RESET_PID].
12685 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12686
1efe2bd9
RM
12687 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12688 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12689
a6bea3ca
RM
126902014-05-27 Roland McGrath <roland@hack.frob.com>
12691
30b6629e
RM
12692 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12693
a6bea3ca
RM
12694 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12695 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12696
3dfb9a5c
OB
126972014-05-27 Ondřej Bílka <neleai@seznam.cz>
12698
12699 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12700
774f9285
AS
127012014-05-27 Andreas Schwab <schwab@suse.de>
12702
12703 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12704 TLS_INIT_TP macro.
12705 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12706 * elf/rtld.c (init_tls, dl_main): Likewise.
12707 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12708 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12709 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12710 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12711 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12712 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12713 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12714 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12715 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12716 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12717 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12718 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12719 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12720 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12721 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12722 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12723 * sysdeps/generic/tls.h: Update description.
12724
36ffe739
WN
127252014-05-27 Will Newton <will.newton@linaro.org>
12726
12727 [BZ #16990]
12728 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12729 and restore r2 rather than just restoring.
12730
2482ae43
SP
127312014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12732
12733 [BZ #16724]
12734 * libio/tst-ftell-append.c: New test case.
12735 * libio/Makefile (tests): Add test case.
12736 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12737 append mode.
12738 * libio/wfileops.c (do_ftell_wide): Likewise.
12739
3d1024e8
AZ
127402014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12741
bab90016
AZ
12742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12743
c7a8d667
AZ
12744 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12745 ...
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12748 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12749 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12750 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12751 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12752 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12753 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12754 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12755 Moved ...
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12757 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12758 Moved ...
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12760 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12761 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12762 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12763 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12764 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12765 ...
12766 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12767 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12768 Moved ...
12769 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12770 here.
12771 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12772 ...
12773 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12774 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12775 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12776
daee7851
AZ
12777 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12778 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12779 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12780 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12781
50a40819
AZ
12782 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12783 merge into ...
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12785 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12786 ...
12787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12788 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12789 ...
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12791 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12792 Moved ...
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12794 here.
12795 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12796 Moved ...
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12798 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12799 Moved ...
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12801
8464c2a1
AZ
12802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12803 conditional [RESET_PID].
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12805 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12806 removed.
12807 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12808 removed.
12809
3d1024e8
AZ
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12811 <tcb-offsets.h>.
12812 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12813 (__libc_vfork): New strong alias.
12814 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12815 removed.
12816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12817 Removed.
12818
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12820 <tcb-offsets.h>.
12821 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12822 (__libc_vfork): New strong alias.
12823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12824 removed.
12825 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12826 removed.
12827
fdfd175d
CD
128282014-05-26 Carlos O'Donell <carlos@redhat.com>
12829
12830 * malloc/malloc.c (mi_arena): New function.
12831 (malloc_info): Remove nested function mi_arena. Call non-nosted
12832 function mi_arena.
12833
d298c416
AZ
128342014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12835
12836 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12837 by insrwi.
12838 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12839 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12840 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12841 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12842 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12843 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12844 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12845
b60ea6ff
AS
128462014-05-26 Andreas Schwab <schwab@suse.de>
12847
12848 [BZ #16984]
12849 * locale/programs/repertoire.c (repertoire_read): Add slash
12850 between I18NPATH element and file name.
12851 * locale/programs/locfile.c (locfile_read): Likewise.
12852
67365926
SL
128532014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12854
12855 * nptl/pthread_mutexattr_settype.c
12856 (__pthread_mutexattr_settype):
12857 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12858
f8bdf1f0
SL
128592014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12860
12861 * nptl/tst-mutex5 (do_test):
12862 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12863
15eaf6ff
SP
128642014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12865
12866 * benchtests/README: Document 'init' directive.
12867 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12868 BENCH_INIT.
12869 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12870 (parse_file): Recognize 'init' directive.
12871
75f11331
KM
128722014-05-26 Kyle McMartin <kyle@redhat.com>
12873
12874 [BZ #16796]
12875 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12876 alignment of struct pthread.
12877
c3ec475c
SP
128782014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12879
12880 [BZ #16878]
12881 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12882 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12883 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12884 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12885
82aab97c
RH
128862014-05-25 Richard Henderson <rth@twiddle.net>
12887
aa2f176d
RH
12888 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12889 (SINGLE_THREAD_P_PIC): Remove.
12890 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12891 (SINGLE_THREAD_P_PIC): Remove.
12892
ca3cfa40
RH
12893 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12894 branch to syscall error ...
12895 (PSEUDO): ... here.
12896 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12897 from __local_syscall_error to .Lsyscall_error.
12898 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12899 (SYSCALL_ERROR): Update label name.
12900
6e6c2d01
RH
12901 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12902 Do not use DOARGS/UNDOARGS.
12903 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12904 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12905 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12906 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12907 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12908
c69abcee
RH
12909 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12910 block comment.
12911
82aab97c
RH
12912 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12913 define if !NOT_IN_libc.
12914 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12915 define with non-default symbol versions.
12916
8820e3ac
RH
129172014-05-23 Richard Henderson <rth@twiddle.net>
12918
900e445f
RH
12919 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12920 (vfork, __vfork): Define via compat_symbol.
12921
8820e3ac
RH
12922 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12923 [!HAVE_IFUNC] (vfork_compat): Remove.
12924 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12925
e59252a5
JM
129262014-05-23 Joseph Myers <joseph@codesourcery.com>
12927
12928 [BZ #16978]
12929 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12930 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12931 variable.
12932
132c7f5f
RH
129332014-05-23 Richard Henderson <rth@twiddle.net>
12934
bc89e962
RH
12935 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12936 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12937 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12938 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12939
12940 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12941 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12942 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12943 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12944 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12945 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12946 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12947 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12948 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12949 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12950 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12951 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12952 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12953 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12954 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12955 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12956 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12957 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12958 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12959 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12960 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12961 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12962 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12963 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12964 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12965 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12966 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12967 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12968 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12969 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12970 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12971 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12972 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12973 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12974 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12975 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12976 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12977 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12978 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12979 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12980 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12981 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12982 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12983 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12984 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12985 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12986 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12987 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12988 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12989 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12990 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12991 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12992 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12993 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12994 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12995 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12996
e2fa4bc2
RH
12997 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12998 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12999 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13000 before exiting on error.
13001 (__libc_vfork): New strong alias.
13002 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13003 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13004
279b24e2
RH
13005 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13006 that was previously under [RESET_PID].
13007 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13008
132c7f5f
RH
13009 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13010
b72592e7
JM
130112014-05-23 Joseph Myers <joseph@codesourcery.com>
13012
13013 [BZ #16977]
13014 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13015 value when x - 1 is zero.
13016 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13017 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13018 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13019 0.0L for an argument of 1.0L.
13020 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13021 Likewise.
13022 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13023 value when x - 1 is zero.
13024 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13025 * sysdeps/i386/fpu/libm-test-ulps: Update.
13026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13027
2302d679
RV
130282014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13029
13030 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13031 alphasort and versionsort.
13032
32999d63
AZ
130332014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13034
13035 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13036 macro.
13037 [copysignf]: Likewise.
13038
019324d0
SP
130392014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13040
13041 * crypt/md5-crypt.c: Fix formatting.
13042
34fff5c2
KS
130432014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13044
13045 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13046 (b64_from_24bit): New function.
13047
3d2badac
AZ
130482014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13049
13050 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13051 libc_hidden_builtin_def to ifunc.
13052 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13053 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13054
f7bb179f 130552014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13056
13057 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13058 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13059
4134b50d
JM
130602014-05-21 Joseph Myers <joseph@codesourcery.com>
13061
bb7d0337
JM
13062 * nscd/Depend (linuxthreads): Remove.
13063 (nptl): Add.
13064 * resolv/Depend (linuxthreads): Remove.
13065 * rt/Depend (linuxthreads): Remove.
13066
4134b50d
JM
13067 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13068 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13069 $(common-objpfx)elf/.
13070 (link-libc-before-gnulib): Likewise.
13071 (elfobjdir): Remove variable.
13072 * Makefile (install): Use $(elf-objpfx) instead of
13073 $(common-objpfx)elf/.
13074 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13075 $(elfobjdir)/.
13076 (link-libc-deps): Likewise.
13077 ($(common-objpfx)libc.so): Likewise.
13078 ($(common-objpfx)linkobj/libc.so): Likewise.
13079 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13080 instead of $(common-objpfx)elf/.
13081 (symbolic-link-list): Likewise.
13082 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13083 [$(cross-compiling) = no]: Likewise.
13084 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13085 $(elfobjdir)/.
13086 (static-gnulib-arch): Likewise.
13087 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13088 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13089 $(common-objpfx)elf/.
13090
3612eb8f
RH
130912014-05-21 Richard Henderson <rth@redhat.com>
13092
a6b3657b
RH
13093 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13094 (SINGLE_THREAD_P): Use the correct width load. Fold
13095 into the ldr offset.
13096
3612eb8f
RH
13097 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13098 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13099
175cef41
JM
131002014-05-20 Joseph Myers <joseph@codesourcery.com>
13101
13102 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13103 (libgcc_s_resume): Use __attribute_used__.
13104 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13105 Likewise.
13106
e13bccd3
AZ
131072014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13108
13109 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13110 optimization when used with float constants.
13111
7c112a38
AZ
13112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13113
ae75a883
AJ
131142014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13115
13116 [BZ #16915]
13117 * locale/nl_langinfo_l.c: Make direct reference to every
13118 _nl_current_CATEGORY symbol.
13119 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13120 (tests-static): Add tst-langinfo-static.
13121 (tests-special): Add tst-langinfo-static.out.
13122 ($(objpfx)tst-langinfo.out): Redirect output.
13123 ($(objpfx)tst-langinfo-static.out): New.
13124 * localedata/tst-langinfo.sh: Send output to stdout.
13125 * localedata/tst-langinfo-static.c: New file.
13126
4406c41c
AJ
13127 [BZ #16965]
13128 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13129 when the shift amount is modulo the limb size.
13130
4c0a1e63
RH
131312014-05-20 Richard Henderson <rth@redhat.com>
13132
de9d8f20
RH
13133 [BZ #16967]
13134 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13135 Change type of sa_flags from unsigned int to int.
13136
4c0a1e63
RH
13137 [BZ #16966]
13138 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13139
13140 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13141
a60339aa
WN
131422014-05-20 Will Newton <will.newton@linaro.org>
13143
13144 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13145 Test the return value of the system call in the nocancel case.
13146
7d05a816
YR
131472014-05-20 Will Newton <will.newton@linaro.org>
13148 Yvan Roux <yvan.roux@linaro.org>
13149
13150 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13151 #include of asm/ptrace.h.
13152 (PTRACE_GET_THREAD_AREA): Remove #undef.
13153 (PTRACE_GETHBPREGS): Likewise.
13154 (PTRACE_SETHBPREGS): Likewise.
13155 (struct user_regs_struct): New structure.
13156 (struct user_fpsimd_struct): New structure.
13157 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13158 #include of asm/ptrace.h and second #include of sys/user.h.
13159 (PTRACE_GET_THREAD_AREA): Remove #undef.
13160 (PTRACE_GETHBPREGS): Likewise.
13161 (PTRACE_SETHBPREGS): Likewise.
13162 (ELF_NGREG): Use new struct user_regs_struct.
13163 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13164
af121e37
AZ
131652014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13166
13167 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13168 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13169
834caf06
JM
131702014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13171
13172 [BZ #16958]
13173 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13174 membar to avoid block loads/stores to overlap previous stores.
13175
e184a918
RH
131762014-05-17 Richard Henderson <rth@redhat.com>
13177
13178 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13179 Create the __##syscall_name##_nocancel entry point.
13180 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13181 Remove; let the sysdep-cancel.h code create it.
13182
f56c7a6a
DM
131832014-05-17 David S. Miller <davem@davemloft.net>
13184
13185 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13186 Protect with __USE_GNU.
13187 (TIOCSET_TEMPT): Likewise.
13188 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13189 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13190 these are already provided in bits/ioctl-types.h
13191
f75616b2
RM
131922014-05-16 Roland McGrath <roland@hack.frob.com>
13193
3edeca86
RM
13194 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13195 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13196
f75616b2
RM
13197 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13198 Use wait4 regardless of [__NR_waitpid].
13199
deb0f7f6
MR
132002014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13201
13202 PR libgcc/60166
13203 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13204 (_FP_NANSIGN_Q): Set the quiet bit.
13205
79520f4b
JM
132062014-05-16 Joseph Myers <joseph@codesourcery.com>
13207
13208 * benchtests/Makefile
13209 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13210 not $(common-objpfx)math/libm.so.
13211 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13212 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13213 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13214 $(common-objpfx)dlfcn/libdl.so.
13215 ($(objpfx)tst-audit8): Depend on $(libm), not
13216 $(common-objpfx)math/libm.so.
13217 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13218 not $(common-objpfx)dlfcn/libdl.so.
13219 * math/Makefile
13220 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13221 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13222 [$(build-shared) = yes].
13223 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13224 $(common-objpfx)nptl/libpthread.so.
13225 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13226 $(common-objpfx)math/libm.so$(libm.so-version) or
13227 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13228 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13229 $(common-objpfx)dlfcn/libdl.so.
13230 * setjmp/Makefile (link-libm): Remove variable.
13231 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13232 * stdio-common/Makefile (link-libm): Remove variable.
13233 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13234 * stdlib/Makefile (link-libm): Remove variable.
13235 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13236 ($(objpfx)tst-strtod-round): Likewise.
13237 ($(objpfx)tst-tininess): Likewise.
13238 ($(objpfx)tst-strtod-underflow): Likewise.
13239 ($(objpfx)tst-strtod6): Likewise.
13240 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13241 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13242 $(common-objpfx)dlfcn/libdl.so.
13243
026b0fe4
AZ
132442014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13245
13246 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13247 BSD terminal modes definitions.
13248
def4bcb2
RM
132492014-05-16 Roland McGrath <roland@hack.frob.com>
13250
fe39b021
RM
13251 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13252 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13253
1d1fc46e 13254 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13255 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13256 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13257 Don't do #include_next.
13258 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13259 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13260 Don't do #include_next.
13261 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13262 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13263 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13264 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13265
c72399fb
AM
132662014-05-16 Allan McRae <allan@archlinux.org>
13267
d51d659d
AM
13268 * po/sv.po: Update Swedish translation from translation project.
13269
c72399fb
AM
13270 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13271 in sed expression.
13272
d0583c40
AJ
132732014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13274
13275 [BZ #16917]
13276 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13277 errno if the TIOCGPTN ioctl fails with an error different than
13278 EINVAL.
13279 * login/tst-ptsname.c: New file.
13280 * login/Makefile (tests): Add tst-ptsname.
13281
d16e6ec7
AJ
13282 [BZ #16943]
13283 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13284 and prlimit64.
13285
cf26a0cb
SP
132862014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13287
13288 [BZ #16849]
13289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13290 herrno to return EAI_AGAIN.
13291
5675da1e
RM
132922014-05-14 Roland McGrath <roland@hack.frob.com>
13293
a5d87b3d
RM
13294 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13295 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13296 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13297 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13298 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13299 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13300 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13301 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13302 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13303 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13304 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13305 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13306 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13307 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13308 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13309 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13310 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13311 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13312 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13313 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13314 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13315 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13316 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13317 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13318 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13319 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13320 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13321 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13322 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13323 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13325 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13327 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13329 Moved ...
13330 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13332 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13334 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13336 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13338 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13340 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13342 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13344 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13346 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13348 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13350 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13352 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13354 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13356 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13358 Moved ...
13359 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13361 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13363 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13365 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13367 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13369 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13371 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13373 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13375 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13377 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13379 Moved ...
13380 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13382 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13383
039890a6
RM
13384 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13385 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13386 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13387 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13388 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13390 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13391 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13392 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13393 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13394 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13395 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13396 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13397 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13398 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13399 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13400 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13401 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13402 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13403 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13404 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13405 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13406 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13407 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13408 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13409 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13410 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13411 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13412 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13413 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13414 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13415
65c89320
RM
13416 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13417 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13418
348f8e8c
RM
13419 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13420 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13421 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13422 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13423 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13424 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13425 Moved ...
13426 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13427 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13428 Moved ...
13429 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13430 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13431 Moved ...
13432 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13433 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13434 Moved ...
13435 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13436 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13437 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13438 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13439 Moved ...
13440 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13441 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13442 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13443 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13444 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13445 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13446 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13447 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13448 Moved ...
13449 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13450 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13451 Moved ...
13452 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13453 ... here.
13454 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13455 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13456 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13457 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13458 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13459 Moved ...
13460 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13461 ... here.
13462 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13463 Moved ...
13464 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13465 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13466 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13467 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13468 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13469 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13470 Moved ...
13471 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13472 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13473 Moved ...
13474 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13475 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13476 Moved ...
13477 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13478 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13479 Moved ...
13480 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13481 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13482 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13483 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13484 Moved ...
13485 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13486 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13487 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13488 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13489 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13490 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13491 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13492 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13493 Moved ...
13494 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13495 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13496 Moved ...
13497 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13498 ... here.
13499 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13500 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13501 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13502 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13503 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13504 Moved ...
13505 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13506 ... here.
13507 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13508 Moved ...
13509 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13510 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13511 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13512 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13513 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13514 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13515 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13516 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13517 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13518 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13519 Moved ...
13520 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13521 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13522 Moved ...
13523 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13524 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13525 Moved ...
13526 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13527 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13528 Moved ...
13529 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13530 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13531 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13532 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13533 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13534 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13535 Moved ...
13536 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13537 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13538 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13540 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13541 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13542 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13543 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13544 Moved ...
13545 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13546 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13547 Moved ...
13548 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13549 ... here.
13550 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13551 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13552 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13553 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13554 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13555 Moved ...
13556 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13557 ... here.
13558 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13559 Moved ...
13560 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13561 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13562 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13563 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13564 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13565 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13566 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13567 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13568 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13569 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13570 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13571
5085af05
RM
13572 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13573 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13574
708f0813
RM
13575 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13576 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13577
c96067bc
RM
13578 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13579 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13580 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13581 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13582 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13583 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13584 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13585 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13586 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13587 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13588 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13589 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13590 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13591 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13592 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13593 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13594 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13595 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13596 Moved ...
13597 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13599 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13600 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13601 Moved ...
13602 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13603 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13604 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13605 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13606 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13607 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13608 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13609 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13610 Moved ...
13611 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13612 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13613 Moved ...
13614 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13615 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13616 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13617 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13618 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13619 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13620 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13621 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13622 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13623 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13624 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13625 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13626 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13627 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13628 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13629 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13630 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13631
ec136444
RM
13632 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13633 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13634 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13635 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13636 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13637
2fbdf533
RM
13638 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13639 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13640 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13641 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13642 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13643 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13644 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13645 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13646 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13647 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13648
4c68138b
RM
13649 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13651
4eaae765
RM
13652 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13653 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13654 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13655 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13656 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13657 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13658 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13659 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13660 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13661 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13662 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13663 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13664 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13665 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13666 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13667 Update #include.
13668 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13669 Likewise.
13670 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13671 Likewise.
13672 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13673 Likewise.
13674 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13675 Likewise.
13676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13677 Likewise.
13678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13679 Likewise.
13680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13681 Likewise.
13682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13683 Likewise.
13684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13685 Likewise.
4ef6befa
RM
13686 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13687 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13688 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13689 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13690 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13691 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13692 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13693 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13694 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13695 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13696 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13697 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13698 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13699 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13700 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13701
941d7dfd
RM
13702 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13703 that was previously under [RESET_PID].
13704 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13705 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13706 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13707
1b731c35
RM
13708 * sysdeps/i386/nptl/Implies: New file.
13709 * sysdeps/x86_64/nptl/Implies: New file.
13710 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13711 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13712 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13713 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13714
e2787137
RM
13715 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13716 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13717 (__libc_vfork): New strong alias.
13718 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13719 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13720
13721 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13722 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13723 (__libc_vfork): New strong alias.
13724 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13725 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13726
5675da1e
RM
13727 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13728 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13729 (__libc_vfork): New strong alias.
13730 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13731 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13732 * nptl/pt-vfork.c: New file.
13733 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13734 (libpthread: GLIBC_2.20): New version set (empty).
13735
4f02e2b8
WN
137362014-05-14 Will Newton <will.newton@linaro.org>
13737
13738 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13739 rather than #if.
13740
0bf061d3
JM
137412014-05-14 Joseph Myers <joseph@codesourcery.com>
13742
1a84c3d6
JM
13743 [BZ #16564]
13744 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13745 arguments with exponent 65 or above.
13746 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13747 arguments 0x1p113L or above.
13748 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13749 to arguments 0x1p107L or above.
13750 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13751 positive arguments with exponent 65 or above.
13752 * math/auto-libm-test-in: Add more tests of log1p.
13753 * math/auto-libm-test-out: Regenerated.
13754
01dbacd2
JM
13755 [BZ #16928]
13756 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13757 non-finite arguments is +0.
13758 * math/s_cacosf.c (__cacosf): Likewise.
13759 * math/s_cacosl.c (__cacosl): Likewise.
13760 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13761 * sysdeps/i386/fpu/libm-test-ulps: Update.
13762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13763
913d03c8
JM
13764 [BZ #16927]
13765 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13766 value.
13767 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13768 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13769 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13770 for explicit high bit of mantissa when testing for argument equal
13771 to 1.
13772 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13773 * sysdeps/i386/fpu/libm-test-ulps: Update.
13774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13775
0bf061d3
JM
13776 [BZ #16516]
13777 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13778 (__erf): Scale by 16 instead of 8 in potentially underflowing
13779 case. Ensure exception if result actually underflows.
13780 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13781 (__erff): Scale by 16 instead of 8 in potentially underflowing
13782 case. Ensure exception if result actually underflows.
13783 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13784 (efx8): Remove variable.
13785 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13786 case. Ensure exception if result actually underflows.
13787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13788 (efx8): Remove variable.
13789 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13790 case. Ensure exception if result actually underflows.
13791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13792 (efx8): Remove variable.
13793 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13794 case. Ensure exception if result actually underflows.
13795 * math/auto-libm-test-in: Add more tests of erf.
13796 * math/auto-libm-test-out: Regenerated.
13797
73ba67cb
AS
137982014-05-14 Andreas Schwab <schwab@suse.de>
13799
3d8c8bff
AS
13800 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13801 Remove code conditionalized on USE___THREAD.
13802
73ba67cb
AS
13803 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13804 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13805 not definedness.
13806
5c521ecd
JM
138072014-05-14 Joseph Myers <joseph@codesourcery.com>
13808
5e7698c6
JM
13809 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13810 Define unconditionally.
13811 (__ASSUME_O_CLOEXEC): Likewise.
13812 (__ASSUME_SOCK_CLOEXEC): Likewise.
13813 (__ASSUME_IN_NONBLOCK): Likewise.
13814 (__ASSUME_PIPE2): Likewise.
13815 (__ASSUME_EVENTFD2): Likewise.
13816 (__ASSUME_SIGNALFD4): Likewise.
13817 (__ASSUME_DUP3): Likewise.
13818 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13819 (__ASSUME_DUP3): Do not define.
13820 (__ASSUME_EVENTFD2): Likewise.
13821 (__ASSUME_IN_NONBLOCK): Likewise.
13822 (__ASSUME_O_CLOEXEC): Likewise.
13823 (__ASSUME_PIPE2): Likewise.
13824 (__ASSUME_SIGNALFD4): Likewise.
13825 (__ASSUME_SOCK_CLOEXEC): Likewise.
13826 (__ASSUME_UTIMES): Undefine.
13827 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13828 (__ASSUME_UTIMES): Do not define.
13829 (__ASSUME_O_CLOEXEC): Likewise.
13830 (__ASSUME_SOCK_CLOEXEC): Likewise.
13831 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13832 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13833 0x020621].
13834 (__ASSUME_PIPE2): Likewise.
13835 (__ASSUME_EVENTFD2): Likewise.
13836 (__ASSUME_SIGNALFD4): Likewise.
13837 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13838 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13839 Do not define.
13840 (__ASSUME_EVENTFD2): Likewise.
13841 (__ASSUME_SIGNALFD4): Likewise.
13842 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13843 (__ASSUME_32BITUIDS): Likewise.
13844 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13845 (__ASSUME_IPC64): Likewise.
13846 (__ASSUME_ST_INO_64_BIT): Likewise.
13847 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13848 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13849 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13850 (__ASSUME_UTIMES): Do not define.
13851 (__ASSUME_PSELECT): Likewise.
13852 (__ASSUME_PPOLL): Likewise.
13853 (__ASSUME_O_CLOEXEC): Likewise.
13854 (__ASSUME_SOCK_CLOEXEC): Likewise.
13855 (__ASSUME_IN_NONBLOCK): Likewise.
13856 (__ASSUME_PIPE2): Likewise.
13857 (__ASSUME_EVENTFD2): Likewise.
13858 (__ASSUME_SIGNALFD4): Likewise.
13859 (__ASSUME_DUP3): Likewise.
13860 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13861 (__ASSUME_UTIMES): Likewise.
13862 (__ASSUME_O_CLOEXEC): Likewise.
13863 (__ASSUME_SOCK_CLOEXEC): Likewise.
13864 (__ASSUME_IN_NONBLOCK): Likewise.
13865 (__ASSUME_PIPE2): Likewise.
13866 (__ASSUME_EVENTFD2): Likewise.
13867 (__ASSUME_SIGNALFD4): Likewise.
13868 (__ASSUME_DUP3): Likewise.
13869 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13870 (__ASSUME_UTIMES): Likewise.
13871 (__ASSUME_O_CLOEXEC): Likewise.
13872 (__ASSUME_SOCK_CLOEXEC): Likewise.
13873 (__ASSUME_IN_NONBLOCK): Likewise.
13874 (__ASSUME_PIPE2): Likewise.
13875 (__ASSUME_EVENTFD2): Likewise.
13876 (__ASSUME_SIGNALFD4): Likewise.
13877 (__ASSUME_DUP3): Likewise.
13878 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13879 Likewise.
13880 (__ASSUME_UTIMES): Likewise.
13881 (__ASSUME_EVENTFD2): Likewise.
13882 (__ASSUME_SIGNALFD4): Likewise.
13883 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13884 (__ASSUME_O_CLOEXEC): Likewise.
13885 (__ASSUME_SOCK_CLOEXEC): Likewise.
13886 (__ASSUME_IN_NONBLOCK): Likewise.
13887 (__ASSUME_PIPE2): Likewise.
13888 (__ASSUME_EVENTFD2): Likewise.
13889 (__ASSUME_SIGNALFD4): Likewise.
13890 (__ASSUME_DUP3): Likewise.
13891 (__ASSUME_UTIMES): Undefine.
13892
5c521ecd
JM
13893 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13894 feclearexcept. Remove symbol versioning code.
13895 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13896 symbol versioning code.
13897 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13898 symbol versioning code.
13899 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13900 feupdateenv. Remove symbol versioning code.
13901 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13902 fegetexceptflag. Remove symbol versioning code.
13903 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13904 fesetexceptflag. Remove symbol versioning code.
13905 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13906 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13907 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13908 (__posix_fadvise64_l32): Remove prototype.
13909 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13910 code.
13911
5da9dfad
RM
139122014-05-13 Roland McGrath <roland@hack.frob.com>
13913
13914 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13915 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13916 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13917 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13918
893b4f37
SK
139192014-05-13 Sami Kerola <kerolasa@iki.fi>
13920
13921 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13922 current working directory
13923
e0db6517
RM
139242014-05-13 Roland McGrath <roland@hack.frob.com>
13925
58aa195d
RM
13926 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13927 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13928 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13929 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13930 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13931 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13932 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13933 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13934 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13935 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13936 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13937 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13938 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13939 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13940 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13941 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13942 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13943 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13944 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13945 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13946 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13947 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13948 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13949 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13950 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13951 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13952 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13953 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13954 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13955 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13956 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13957 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13958 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13959 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13960 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13961 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13962 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13963 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13964 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13965 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13966 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13967 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13968
8c6d01f0
RM
13969 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13970 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13971
13972 * sysdeps/unix/sysv/linux/arm/Makefile
13973 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13974 Add rt-aeabi_unwind_cpp_pr1.
13975 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13976 Add nptl-aeabi_unwind_cpp_pr1.
13977 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13978 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13979 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13980 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13981 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13982 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13983
13984 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13985 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13986 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13987 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13988
bba6da4e
RM
13989 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13990 Deconditionalize the code that was previously under [RESET_PID].
13991 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13992
e0db6517
RM
13993 * sysdeps/generic/exit-thread.h: New file.
13994 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13995 * include/unistd.h (__exit_thread): Remove declaration.
13996 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13997 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13998 * csu/libc-start.c: Include <exit-thread.h>.
13999 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14000 * nptl/pthread_create.c: Include <exit-thread.h>.
14001 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14002 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14003 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14004 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14005 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14006 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14007 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14008 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14009 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14010 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14011 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14012 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14013 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14014 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14015 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14016 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14017 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14018
01eb16fd
AS
140192014-05-13 Andreas Schwab <schwab@suse.de>
14020
14021 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14022
637461d9
JM
140232014-05-12 Joseph Myers <joseph@codesourcery.com>
14024
14025 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14026 (__ASSUME_UTIMES): Do not condition on kernel version.
14027 (__ASSUME_PSELECT): Define unconditionally.
14028 (__ASSUME_PPOLL): Likewise.
14029 (__ASSUME_ATFCTS): Likewise.
14030 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14031 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14032 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14033 (__ASSUME_UTIMENSAT): Define unconditionally.
14034 (__ASSUME_PRIVATE_FUTEX): Likewise.
14035 (__ASSUME_FALLOCATE): Likewise.
14036 (__ASSUME_O_CLOEXEC): Likewise.
14037 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14038 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14039 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14040 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14041 (__ASSUME_IN_NONBLOCK): Likewise.
14042 (__ASSUME_PIPE2): Likewise.
14043 (__ASSUME_EVENTFD2): Likewise.
14044 (__ASSUME_SIGNALFD4): Likewise.
14045 (__ASSUME_DUP3): Likewise.
14046 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14047 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14048 (__ASSUME_AT_RANDOM): Likewise.
14049 (__ASSUME_PREADV): Likewise.
14050 (__ASSUME_PWRITEV): Likewise.
14051 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14052 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14053 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14054 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14055 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14056 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14057 (__ASSUME_O_CLOEXEC): Define unconditionally.
14058 (__ASSUME_PSELECT): Do not undefine conditionally.
14059 (__ASSUME_PPOLL): Likewise.
14060 (__ASSUME_ATFCTS): Likewise.
14061 (__ASSUME_SET_ROBUST_LIST): Likewise.
14062 (__ASSUME_UTIMENSAT): Likewise.
14063 (__ASSUME_FDATASYNC): Define unconditionally.
14064 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14065 (__ASSUME_SIGFRAME_V2): Likewise.
14066 )__ASSUME_EVENTFD2): Likewise.
14067 (__ASSUME_SIGNALFD4): Likewise.
14068 (__ASSUME_PSELECT): Do not undefine conditionally.
14069 (__ASSUME_PPOLL): Likewise.
14070 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14071 (__ASSUME_PSELECT): Define unconditionally.
14072 (__ASSUME_PPOLL): Likewise.
14073 (__ASSUME_O_CLOEXEC): Likewise.
14074 (__ASSUME_SOCK_CLOEXEC): Likewise.
14075 (__ASSUME_IN_NONBLOCK): Likewise.
14076 (__ASSUME_PIPE2): Likewise.
14077 (__ASSUME_EVENTFD2): Likewise.
14078 (__ASSUME_SIGNALFD4): Likewise.
14079 (__ASSUME_DUP3): Likewise.
14080 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14081 (__ASSUME_O_CLOEXEC): Likewise.
14082 (__ASSUME_SOCK_CLOEXEC): Likewise.
14083 (__ASSUME_IN_NONBLOCK): Likewise.
14084 (__ASSUME_PIPE2): Likewise.
14085 (__ASSUME_EVENTFD2): Likewise.
14086 (__ASSUME_SIGNALFD4): Likewise.
14087 (__ASSUME_DUP3): Likewise.
14088 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14089 (__ASSUME_EVENTFD2): Likewise.
14090 (__ASSUME_SIGNALFD4): Likewise.
14091 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14092
315eb1d8
AS
140932014-05-12 Andreas Schwab <schwab@suse.de>
14094
14095 [BZ #16932]
14096 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14097 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14098 than maximum RPC packet size.
14099 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14100 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14101 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14102 (_nss_nis_getservbyport_r): Likewise.
14103
91df99f7
WN
141042014-05-12 Will Newton <will.newton@linaro.org>
14105
14106 * malloc/Makefile (tests): Add tst-mallopt.
14107 * malloc/tst-mallopt.c: New file.
14108
0a982a29
RM
141092014-05-09 Roland McGrath <roland@hack.frob.com>
14110
14111 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14112 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14113
0ded08a5
AZ
141142014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14115
14116 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14117 (tst-tlsmod6.so): Likewise.
14118
55d4d550
RM
141192014-05-09 Roland McGrath <roland@hack.frob.com>
14120
14121 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14122
77d08aca
JM
141232014-05-09 Joseph Myers <joseph@codesourcery.com>
14124
14125 [BZ #16064]
14126 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14127 and <dl-procinfo.h>.
14128 (__fegetenv): Save SSE state in envp->__eip if supported.
14129 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14130 envp->__eip if supported.
14131 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14132 and <dl-procinfo.h>.
14133 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14134 __data_offset and __data_selector in environment to 0. Set SSE
14135 state if supported.
14136 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14137 test-fenv-sse.
14138 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14139 -mfpmath=sse.
14140 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14141
28162f4d
WN
141422014-05-09 Will Newton <will.newton@linaro.org>
14143
14144 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14145 and libc_relro_required for ARM.
14146 * sysdeps/arm/preconfigure: Regenerate.
14147
5a414ff7
DV
141482014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14149 Stefan Liebler <stli@linux.vnet.ibm.com>
14150
14151 * config.make.in (enable-lock-elision): New Makefile variable.
14152 * configure.ac: Likewise.
14153 * configure: Regenerate.
14154 * sysdeps/s390/configure.ac:
14155 Add check for gcc transactions support.
14156 * sysdeps/s390/configure: Regenerate.
14157 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14158 Build elision files if enabled.
14159 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14160 Add lock elision support for s390.
14161 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14162 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14163 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14164 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14165 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14166 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14167 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14168 Likewise.
14169 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14170 Likewise.
14171 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14172 Likewise.
14173 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14174 Likewise.
14175 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14176 (__lll_timedlock_elision, __lll_lock_elision)
14177 (__lll_unlock_elision, __lll_trylock_elision)
14178 (lll_timedlock_elision, lll_lock_elision)
14179 (lll_unlock_elision, lll_trylock_elision): Add.
14180 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14181 (pthread_mutex_t): Add lock elision support for s390.
14182
1a2f40e5
W
141832014-05-14 Wilco <wdijkstr@arm.com>
14184
14185 * sysdeps/arm/fclrexcpt.c: Cleanup.
14186 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14187 * sysdeps/arm/feenablxcpt.c: Cleanup.
14188 * sysdeps/arm/fegetenv.c: Cleanup.
14189 * sysdeps/arm/fegetexcept.c: Cleanup.
14190 * sysdeps/arm/fegetround.c: Cleanup.
14191 * sysdeps/arm/feholdexcpt.c: Cleanup.
14192 * sysdeps/arm/fesetenv.c: Cleanup.
14193 * sysdeps/arm/fesetround.c: Cleanup.
14194 * sysdeps/arm/feupdateenv.c: Cleanup.
14195 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14196 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14197 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14198 * sysdeps/arm/ftestexcept.c: Cleanup.
14199 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14200 * sysdeps/arm/setfpucw.c: Cleanup.
14201
f63c86fe
WN
142022014-05-09 Will Newton <will.newton@linaro.org>
14203
14204 * sysdeps/arm/armv7/strcmp.S: New file.
14205 * NEWS: Mention addition of ARMv7 optimized strcmp.
14206
7a1a51b5
RM
142072014-05-08 Roland McGrath <roland@hack.frob.com>
14208
95afbbe5
RM
14209 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14210 look for %.ac rather than %.in.
14211
14212 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14213 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14214 * sysdeps/mach/hurd/configure: Regenerated.
14215 * sysdeps/unix/sysv/linux/configure: Regenerated.
14216
7a1a51b5
RM
14217 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14218
5057ad3b
SE
142192014-05-07 Steve Ellcey <sellcey@mips.com>
14220
14221 [BZ# 16922]
14222 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14223 (LONG_SUB): Ditto.
14224 (PTR_SUB): Ditto.
14225
8dc97517
AS
142262014-05-07 Andreas Schwab <schwab@suse.de>
14227
14228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14229 when skipping over non-matching result from nscd.
14230
ce0c5b8f
OB
142312014-05-07 Ondřej Bílka <neleai@seznam.cz>
14232
14233 [BZ #16876]
14234 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14235
a1189263
OB
14236 [BZ #16877]
14237 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14238 nscd security class.
ce0c5b8f 14239
0f58d252
RM
142402014-05-06 Roland McGrath <roland@hack.frob.com>
14241
14242 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14243 * sysdeps/arm/unwind.h: ... here.
14244
83df9ad0
AJ
142452014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14246
ce0c5b8f
OB
14247 [BZ# 16916]
14248 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14249 Define.
83df9ad0 14250
f360f94a
VR
142512014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14252
14253 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14254 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14255 multiarch strncpy for PPC64.
14256 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14257 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14259 multiarch optimizations.
14260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14261 (__libc_ifunc_impl_list): Likewise.
14262 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14263 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14264 multiarch stpncpy for PPC64.
14265 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14266 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14267
978a41c3
AS
142682014-05-06 Andreas Schwab <schwab@suse.de>
14269
14270 [BZ #16912]
14271 * gmon/mcount.c (_MCOUNT_DECL): Use
14272 atomic_compare_and_exchange_bool_acq instead of
14273 catomic_compare_and_exchange_bool_acq.
14274
eb1ed03d
RM
142752014-05-05 Roland McGrath <roland@hack.frob.com>
14276
fe658845
RM
14277 * elf/Makefile (others, install-bin): Remove pldd.
14278 (pldd-modules): Variable removed.
14279 ($(objpfx)pldd): Target removed.
14280 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14281 (others, install-bin): Append pldd here.
14282 ($(objpfx)pldd): New target.
14283
eb1ed03d
RM
14284 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14285 to 0, so the first #if test emitted later doesn't see it undefined.
14286 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14287 * sysdeps/gnu/errlist.c: Regenerated.
14288
19c4bec0
AZ
142892014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14290
14291 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14292 [libc_hidden_builtin_def]: Define to empty value.
14293 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14294 [libc_hidden_builtin_def]: Likewise.
14295 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14296 [libc_hidden_builtin_def]: Likewise.
14297 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14298 [libc_hidden_builtin_def]: Likewise.
14299 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14300 __redirect_memcpy and define ifunc as default hidden symbol.
14301 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14302 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14303
7776e669
AC
143042014-05-04 Adam Conrad <adconrad@0c3.net>
14305
14306 * locale/iso-4217.def: Reintroduce XDR currency.
14307
d69aeb12
AM
143082014-05-04 Allan McRae <allan@archlinux.org>
14309
14310 * po/eo.po: Update Esperanto translation from translation project.
14311
8f1df5cf
CD
143122014-05-02 Carlos O'Donell <carlos@redhat.com>
14313
14314 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14315 and FEATURE_INDEX_MAX to 1.
14316 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14317
13e402e7
SE
143182014-05-01 Steve Ellcey <sellcey@mips.com>
14319
14320 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14321 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14322 * iconvdata/big5.c (ONE_DIRECTION): Define.
14323 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14324 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14325 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14326 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14327 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14328 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14329 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14330 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14331 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14332 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14333 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14334 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14335 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14336 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14337 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14338 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14339 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14340 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14341 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14342 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14343 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14344 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14345 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14346 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14347 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14348 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14349 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14350 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14351 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14352 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14353 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14354 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14355 * iconvdata/johab.c (ONE_DIRECTION): Define.
14356 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14357 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14358 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14359 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14360 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14361 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14362 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14363 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14364 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14365 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14366
c727f032
RM
143672014-05-01 Roland McGrath <roland@hack.frob.com>
14368
8f2f08d0
RM
14369 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14370 (_IO_JUMPS_OFFSET): Define to 0.
14371
c727f032
RM
14372 * nptl/sysdeps/pthread/bits/libc-lock.h
14373 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14374 (__libc_lock_define_initialized_recursive): Always define using
14375 initializer. Modern compilers treat uninitialized (implicit zero) and
14376 explicit zero initializers the same (i.e. put the datum in bss).
14377
a849e800
AS
143782014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14379
14380 * nscd/nscd-client.h: Include <string.h>.
14381
5331255b
DM
143822014-05-01 David S. Miller <davem@davemloft.net>
14383
14384 [BZ #16885]
14385 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14386 multiple zero bytes exist at the end of a string.
14387 Reported by Aurelien Jarno <aurelien@aurel32.net>
14388
14389 * string/test-strcmp.c (check): Add explicit test for situations where
14390 there are multiple zero bytes after the first.
14391
4fdfe821
AS
143922014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14393
14394 [BZ #16890]
14395 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14396 when compiling wprintf.
14397 * stdio-common/tstdiomisc.c (t3): New function.
14398 (main): Call it.
14399
0cdddc25
SE
144002014-05-01 Steve Ellcey <sellcey@mips.com>
14401
14402 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14403 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14404 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14405 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14406
6426d77e
SE
144072014-05-01 Steve Ellcey <sellcey@mips.com>
14408
14409 * stdlib/longlong.h: Updated from GCC.
14410
6d96f5e4
WN
144112014-05-01 Will Newton <will.newton@linaro.org>
14412 Bernard Ogden <bernie.ogden@linaro.org>
14413
7470db0c
WN
14414 * NEWS: Update fixed bug list.
14415
6d96f5e4
WN
14416 [BZ #15119]
14417 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14418
211d653c
DM
144192014-04-30 David S. Miller <davem@davemloft.net>
14420
4fa262fa
DM
14421 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14422 (libc_feholdexcept_setround_sparc_ctx): New function.
14423 (libc_fesetenv_sparc_ctx): Likewise.
14424 (libc_feupdateenv_sparc_ctx): Likewise.
14425 (libc_feholdsetround_sparc_ctx): Likewise.
14426 (libc_feholdexcept_setround_ctx): Define.
14427 (libc_feholdexcept_setroundf_ctx): Likewise.
14428 (libc_feholdexcept_setroundl_ctx): Likewise.
14429 (libc_fesetenv_ctx): Likewise.
14430 (libc_fesetenvf_ctx): Likewise.
14431 (libc_fesetenvl_ctx): Likewise.
14432 (libc_feupdateenv_ctx): Likewise.
14433 (libc_feupdateenvf_ctx): Likewise.
14434 (libc_feupdateenvl_ctx): Likewise.
14435 (libc_feresetround_ctx): Likewise.
14436 (libc_feresetroundf_ctx): Likewise.
14437 (libc_feresetroundl_ctx): Likewise.
14438 (libc_feholdsetround_ctx): Likewise.
14439 (libc_feholdsetroundf_ctx): Likewise.
14440 (libc_feholdsetroundl_ctx): Likewise.
14441
1d3d93ef
DM
14442 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14443 with __USE_GNU instead of XOPEN cpp guards.
14444
8aa583c3
DM
14445 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14446 0.
14447
211d653c
DM
14448 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14449 with XOPEN cpp guards.
14450
60c8f1f6
JB
144512014-04-30 Julian Brown <julian@codesourcery.com>
14452
14453 [BZ #16888]
14454 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14455 handling.
14456
9a461d46
JM
144572014-04-30 Joseph Myers <joseph@codesourcery.com>
14458
d0f5b3f8
JM
14459 [BZ #9894]
14460 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14461 Change to 2.6.32.
14462 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14463 * sysdeps/unix/sysv/linux/configure: Regenerated.
14464 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14465 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14466 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14467 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14468 * README: Update reference to required Linux kernel version.
14469 * manual/install.texi (Linux): Update reference to required Linux
14470 kernel headers version.
14471 * INSTALL: Regenerated.
14472
9a461d46
JM
14473 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14474 header inclusion.
14475 [POSIX] (limits.h): Likewise.
14476 [POSIX] (math.h): Likewise.
14477 [POSIX] (sys/wait.h): Likewise.
14478 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14479 function.
14480 [POSIX] (stddef.h): Do not allow header inclusion.
14481
1775babf
AZ
144822014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14483
57f41c40 14484 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14485
8f630cca
YY
144862014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14487
14488 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14489 Return immediately after lll_futex_wake.
14490
1cdeb237
SP
144912014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14492
bc8f194c
SP
14493 [BZ #16791]
14494 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14495 structure.
14496 (datahead_init_pos): Call datahead_init_common early.
14497 (datahead_init_neg): Likewise.
14498
1cdeb237
SP
14499 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14500 datahead_init_neg): New functions.
14501 * nscd/aicache.c (addhstaiX): Use them.
14502 * nscd/grpcache.c (cache_addgr): Likewise.
14503 * nscd/hstcache.c (cache_addhst): Likewise.
14504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14505 * nscd/netgroupcache.c (do_notfound): Likewise.
14506 (addgetnetgrentX): Likewise.
14507 (addinnetgrX): Likewise.
14508 * nscd/pwdcache.c (cache_addpw): Likewise.
14509 * nscd/servicescache.c (cache_addserv): Likewise.
14510
16b293a7
SP
145112014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14512 Atsushi Onoe <atsushi@onoe.org>
14513
14514 [BZ #14308]
14515 [BZ #12994]
14516 [BZ #13651]
14517 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14518 one response is valid.
14519 * resolv/res_send.c (send_dg): Check for validity of other
14520 response if the current response is a referral.
14521
a28a9b94
SE
145222014-04-29 Steve Ellcey <sellcey@mips.com>
14523
14524 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14525
2ca180e9
SL
145262014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14527
14528 [BZ #16823]
14529 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14530 Always divide by positive zero when computing -Inf result.
14531 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14532 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14533
18f2945a
AZ
145342014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14535
14536 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14537 FPSCR if value do not change.
14538 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14539 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14540 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14541 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14542 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14543 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14544 function.
14545
5abebba4
CD
145462014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14547
14548 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14549 * sysdeps/unix/sysv/linux/hppa: Move directory from
14550 ports/systeps/unix/sysv/linux/hppa.
14551 * README: Update listing for hppa-*-linux-gnu.
14552
f7ed60c2
OB
145532014-04-28 Ondřej Bílka <neleai@seznam.cz>
14554
fff763a5
OB
14555 [BZ #16754]
14556 * manual/stdio.texi (Hook functions): Fix types of stream hook
14557 functions.
f7ed60c2
OB
14558 [BZ #16854]
14559 * socket/sys/socket.h: Fix typo in comment.
14560
df639d73
WD
145612014-04-28 Wilco <wdijkstr@arm.com>
14562
f7ed60c2 14563 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14564 * sysdeps/arm/math_private.h: New file.
14565 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14566
48332d82
L
145672014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14568
14569 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14570 with __int128_t.
14571 (La_x86_64_retval): Likewise.
14572
e5e0d9a4
IB
145732014-04-24 Ian Bolton <ian.bolton@arm.com>
14574
14575 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14576 fpsr if value didn't change.
14577 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14578 to fpcr if value didn't change.
14579 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14580 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14581 fpsr or fpcr if value didn't change.
14582 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14583 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14584 fpcr if value didn't change.
14585 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14586 to fpsr if value didn't change.
14587
bacc75f7
SP
145882014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14589
14590 * nptl/tst-sem3.c: Use test-skeleton.c
14591 (main): Rename to do_test. Use return instead of
14592 exit.
14593 * nptl/tst-sem4.c: Use test-skeleton.c
14594 (main): Rename to do_test.
14595
a059d359
DM
145962014-04-22 David S. Miller <davem@davemloft.net>
14597
14598 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14599 (struct sigaction): New struct member __glibc_reserved0, change
14600 type of sa_flags to int.
14601
ea6c92f3
YZ
146022014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14603
14604 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14605 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14606
766c4a36
SP
146072014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14608
14609 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14610 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14611
140cc7ab
VK
146122014-04-22 Will Newton <will.newton@linaro.org>
14613 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14614
14615 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14616 (__longjmp): Add longjmp and longjmp_target SystemTap
14617 probes.
14618 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14619 (__sigsetjmp): Add setjmp SystemTap probe.
14620
c54e5cf7
CD
146212014-04-17 Carlos O'Donell <carlos@redhat.com>
14622
14623 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14624 match manual order.
14625
75ffb047
AZ
146262014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14627
14628 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14629
2cd925f7
AZ
14630 * sysdeps/powerpc/fpu/fenv_private.h
14631 (libc_feholdexcept_setroundl_ctx): Define to
14632 libc_feholdexcept_setround_ppc_ctx.
14633 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14634 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14635 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14636 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14637
39e6cd8d
IB
146382014-04-17 Ian Bolton <ian.bolton@arm.com>
14639
14640 * sysdeps/aarch64/math-tests.h: New file.
14641
f9281df9
SY
146422014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14643
14644 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14645 New.
14646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14647 Check and set bit_AVX2_Usable.
14648 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14649 macro.
14650 (bit_AVX2): Likewise.
14651 (index_AVX2_Usable): Likewise.
14652 (CPUID_AVX2): Likewise.
14653 (HAS_AVX2): Likewise.
14654
37d35007
WN
146552014-04-17 Will Newton <will.newton@linaro.org>
14656
7c677662
WN
14657 * manual/setjmp.texi (System V contexts): Add note that
14658 calling setcontext on a context created by a call to a
14659 signal handler is undefined. Update text to note that
14660 setcontext from a signal handler is possible but not
14661 recommended.
14662
37d35007 14663 [BZ #16629]
e04a4e9d
WN
14664 * stdlib/tst-setcontext.c: Include signal.h.
14665 (main): Check that the signal stack before and
14666 after swapcontext is the same.
14667
37d35007
WN
14668 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14669 Re-implement to restore registers in user code and avoid
14670 rt_sigreturn system call.
14671
423a7160
W
146722014-04-17 Wilco <wdijkstr@arm.com>
14673
14674 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14675 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14676 * math/test-fenv.c: Skip exception trap tests on targets which only
14677 support non-stop mode.
14678
bc93ab29
IB
146792014-04-17 Ian Bolton <ian.bolton@arm.com>
14680 Wilco Dijkstra <wilco.dijkstra@arm.com>
14681
14682 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14683 (libc_feholdsetround_aarch64_ctx)
14684 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14685 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14686 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14687 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14688 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14689 (libc_feresetround_noexl_ctx): Define.
14690
95fc5fa3
RH
146912014-04-16 Richard Henderson <rth@redhat.com>
14692
ddb04724
RH
14693 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14694
d77c0899
RH
14695 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14696 unwind tables.
14697
a3df56fc
RH
14698 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14699 const from the non-libc, non-ldso copy.
14700
95fc5fa3
RH
14701 * sysdeps/alpha/libm-test-ulps: Regenerate.
14702
7e0b6763
IB
147032014-04-16 Ian Bolton <ian.bolton@arm.com>
14704 Wilco Dijkstra <wilco.dijkstra@arm.com>
14705
14706 * sysdeps/aarch64/fpu/math_private.h: New file.
14707
a9ea2e0c
MS
147082014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14709
14710 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14711
ea8ba7cd
IZ
147122014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14713
7e54fd04 14714 [BZ #16275]
ea8ba7cd
IZ
14715 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14716 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14718 Intel MPX bound registers before _dl_profile_fixup.
14719 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14720 registers after _dl_profile_fixup. Save and restore bound
14721 registers bnd0/bnd1 when calling _dl_call_pltexit.
14722 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14723 (LR_BND_OFFSET): Likewise.
14724 (LRV_BND0_OFFSET): Likewise.
14725 (LRV_BND1_OFFSET): Likewise.
14726
9f2a4fbc
ST
147272014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14728
14729 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14730 to...
14731 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14732 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14733 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14734 fields.
9f2a4fbc 14735
fd15a59b
ST
147362014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14737
14738 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14739
f19dfa0a
SL
147402014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14741
14742 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14743
4fa8bc3b
SL
147442014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14745
14746 [BZ #14770]
14747 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14748 * sysdeps/s390/configure: Regenerate.
14749
8ea587db
SL
14750 [BZ #16824]
14751 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14752 Set round-to-nearest internally to reduce error accumulation.
14753
aa5f0ff1
AM
147542014-04-16 Alan Modra <amodra@gmail.com>
14755
14756 [BZ #16740]
14757 [BZ #16619]
14758 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14759 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14760 * NEWS: Update fixed bug list.
aa5f0ff1 14761
bb9c256f
SP
147622014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14763
14764 * benchtests/Makefile: Depend on libraries in build directory.
14765 (bench-math): Separate out math tests.
14766 (bench-pthread): Separate out pthread tests.
14767 (bench): Include math and pthread tests.
14768
f737dfd0
CD
147692014-04-14 Carlos O'Donell <carlos@redhat.com>
14770
14771 [BZ #16831]
14772 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14773 _dl_debug_initialize.
14774
0699f766
CD
14775 * configure.ac: Remove SELinux header check.
14776 * configure: Regenerate.
14777 * nscd/selinux.c (perms): Array of const char* to permission names.
14778 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14779 default policy. Call string_to_security_class and string_to_av_perm to
14780 translate strings. Enforce default policy and call avs_has_perm with
14781 results of translated strings.
14782
809bd45f
DM
147832014-04-13 David S. Miller <davem@davemloft.net>
14784
14785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14786
89e691f2
AM
147872014-04-12 Allan McRae <allan@archlinux.org>
14788
14789 [BZ #16838]
14790 * manual/string.texi (Collation Functions): Fix qsort argument
14791 order in example.
14792 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14793
9c9daaeb
CM
147942014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14795
14796 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14797 Make the test a no-op if there are no exceptions defined.
14798
95561fb9
PP
147992014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14800
fe8d072c 14801 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14802 enable-hardcoded-path-in-tests
14803
970c602a
WN
148042014-04-11 Will Newton <will.newton@linaro.org>
14805
14806 * benchtests/Makefile (extra-objs): Add json-lib.o.
14807 (bench-func): Tidy up JSON output.
14808 * benchtests/bench-skeleton.c: Include json-lib.h.
14809 (main): Use JSON library functions to do output of
14810 benchmark results.
14811 * benchtests/bench-timing-type.c (main): Output the
14812 timing type simply, leaving formatting to the user.
14813 * benchtests/json-lib.c: New file.
14814 * benchtests/json-lib.h: Likewise.
14815
36875b06
TR
148162014-04-11 Torvald Riegel <triegel@redhat.com>
14817
14818 [BZ #15215]
14819 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14820 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14821 memory barriers. Add comments.
14822 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14823 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14824 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14825 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14826 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14827 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14828
579db35a
SL
148292014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14830
14831 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14832 * sysdeps/s390/s390-64/configure.ac: ... this ...
14833 * sysdeps/s390/configure.ac: ... to here.
14834 * sysdeps/s390/s390-32/configure: Delete file.
14835 * sysdeps/s390/s390-64/configure: Delete file.
14836 * sysdeps/s390/configure: Regenerate.
14837
c12e9f37
JAPH
148382014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14839
14840 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14841
439bda32
WN
148422014-04-11 Will Newton <will.newton@linaro.org>
14843
14844 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14845 to zero if it is not defined elsewhere. (mtrim): Test
14846 the value of MALLOC_DEBUG with #if rather than #ifdef.
14847
6a5d6ea1
TR
148482014-04-10 Torvald Riegel <triegel@redhat.com>
14849
14850 * benchtests/pthread_once-inputs: New file.
14851 * benchtests/pthread_once-source.c: New file.
14852 * benchtests/README: Update documentation.
14853
a4c75cfd
IZ
148542014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14855 H.J. Lu <hongjiu.lu@intel.com>
14856
7e54fd04 14857 [BZ #16275]
a4c75cfd
IZ
14858 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14859 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14860 * sysdeps/x86_64/configure: Regenerated.
14861 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14862 macro.
14863 (REGISTER_SAVE_RAX): Likewise.
14864 (REGISTER_SAVE_RCX): Likewise.
14865 (REGISTER_SAVE_RDX): Likewise.
14866 (REGISTER_SAVE_RSI): Likewise.
14867 (REGISTER_SAVE_RDI): Likewise.
14868 (REGISTER_SAVE_R8): Likewise.
14869 (REGISTER_SAVE_R9): Likewise.
14870 (REGISTER_SAVE_BND0): Likewise.
14871 (REGISTER_SAVE_BND1): Likewise.
14872 (REGISTER_SAVE_BND2): Likewise.
14873 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14874 bound registers when calling _dl_fixup.
14875
27822ce6
AZ
148762014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14877
14878 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14879 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14880 of its definition.
27822ce6
AZ
14881 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14882 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14883 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14884 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14885 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14886 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14887 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14888
a88ddc90
PTB
148892014-04-09 Peter Brett <peter@peter-b.co.uk>
14890
14891 [BZ #15514]
14892 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14893 pathconf(_PC_NAME_MAX).
14894
01f8eac2
AZ
148952014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14896
14897 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14898 Remove macro usage.
14899 (__PTHREAD_SPINS): Move definition to ...
14900 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14901 (__PTHREAD_SPINS): ... here.
14902 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14903 (__PTHREAD_SPIN): Likewise.
14904 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14905 (__PTHREAD_SPIN): Likewise.
14906 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14907 (__PTHREAD_SPIN): Likewise.
14908 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14909 (__PTHREAD_SPIN): Likewise.
14910 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14911 (__PTHREAD_SPIN): Likewise.
14912 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14913 (__PTHREAD_SPIN): Likewise.
14914 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14915 (__PTHREAD_SPIN): Likewise.
14916 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14917 (__PTHREAD_SPIN): Likewise.
14918 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14919 (__PTHREAD_SPIN): Likewise.
14920 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14921 (__PTHREAD_SPIN): Likewise.
14922 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14923 (__PTHREAD_SPIN): Likewise.
14924 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14925 (__PTHREAD_SPIN): Likewise.
14926
de21c33c
AZ
14927 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14928 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14929 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14930 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14931 imply folder.
14932 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14933 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14934 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14935 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14936 correct imply path.
14937 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14938 strlen symbol for non multi-arch builds.
14939 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14940 missing hidden_def and weak_alias.
14941
862c472e
CD
149422014-04-08 Carlos O'Donell <carlos@redhat.com>
14943
14944 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14945
8667f90e
WN
149462014-04-07 Will Newton <will.newton@linaro.org>
14947
14948 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14949 and contents. [!_LIBC] Remove #ifndef and contents.
14950 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14951 * string/memccpy.c (__memccpy): Use ANSI prototype.
14952 * string/memfrob.c (memfrob): Likewise.
14953 * string/strcoll.c (STRCOLL): Likewise.
14954 * string/strlen.c (strlen): Likewise.
14955 * string/strtok.c (STRTOK): Likewise.
14956 * string/strcat.c: Remove unused #include of memcopy.h.
14957 (strcat): Use ANSI prototype.
14958 * string/strchr.c: Remove unused #include of memcopy.h.
14959 (strchr): Use ANSI prototype.
14960 * string/strcmp.c: Remove unused #include of memcopy.h.
14961 (strcmp): Use ANSI prototype.
14962 * string/strcpy.c: Remove unused #include of memcopy.h.
14963 (strcpy): Use ANSI prototype.
14964
7ffa9423
AZ
149652014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14966
14967 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14968 * config.make.in (config-extra-cppflags): Set it from
14969 libc_extra_cppflags.
14970 * configure.ac (libc_extra_cflags): Make it accumulate over
14971 configure fragments.
14972 (libc_extra_cppflags): New flag.
14973 * configure. Regenerate.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14975 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14976 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14978
8bd70862
AZ
14979 [BZ #16815]
14980 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14981 result for FE_DOWNWARD rounding mode.
14982 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14983 Likewise.
14984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14985
d42f3448
CM
149862014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14987
14988 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14989 in function argument name.
14990
1c21d115
DS
149912014-04-03 David Svoboda <svoboda@cert.org>
14992
14993 [BZ #5666]
14994 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14995 explicitly.
14996
fcccd512
RM
149972014-04-03 Roland McGrath <roland@hack.frob.com>
14998
14999 * elf/dl-unmap-segments.h: New file.
15000 * sysdeps/generic/ldsodefs.h
15001 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15002 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15003 * elf/dl-fptr.c: Likewise.
15004 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15005 * sysdeps/aarch64/tlsdesc.c: Likewise.
15006 * sysdeps/arm/tlsdesc.c: Likewise.
15007 * sysdeps/i386/tlsdesc.c: Likewise.
15008 * sysdeps/tile/dl-runtime.c: Likewise.
15009 * sysdeps/x86_64/tlsdesc.c: Likewise.
15010 * elf/dl-load.h: New file.
15011 * elf/dl-load.c: Include it.
15012 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15013 Macros moved to dl-load.h.
15014 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15015 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15016 Use _dl_unmap_segments in place of __munmap.
15017 Break out segment-mapping loop into ...
15018 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15019
f6488e2b
WN
150202014-04-03 Will Newton <will.newton@linaro.org>
15021
15022 * elf/dl-lookup.c (do_lookup_x): Remove comment
15023 referring to nested function and move variable
15024 declarations down to before first use.
15025
6f05bafe
JM
150262014-04-02 Joseph Myers <joseph@codesourcery.com>
15027
a84e78c8
JM
15028 [BZ #16799]
15029 [BZ #16800]
15030 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15031 with 0 numerator.
15032 * math/s_catanf.c (__catanf): Likewise.
15033 * math/s_catanh.c (__catanh): Likewise.
15034 * math/s_catanhf.c (__catanhf): Likewise.
15035 * math/s_catanhl.c (__catanhl): Likewise.
15036 * math/s_catanl.c (__catanl): Likewise.
15037 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15038 by positive zero when computing -Inf result.
15039 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15040 (catanh_test): Likewise.
15041 * sysdeps/i386/fpu/libm-test-ulps: Update.
15042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15043
6f05bafe
JM
15044 [BZ #16789]
15045 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15046 instead of using underflowing value in computing result.
15047 * math/s_clog10.c (__clog10): Likewise.
15048 * math/s_clog10f.c (__clog10f): Likewise.
15049 * math/s_clog10l.c (__clog10l): Likewise.
15050 * math/s_clogf.c (__clogf): Likewise.
15051 * math/s_clogl.c (__clogl): Likewise.
15052 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15053 (clog10_test): Likewise.
15054 * sysdeps/i386/fpu/libm-test-ulps: Update.
15055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15056
b0abbc21
AM
150572014-04-02 Alan Modra <amodra@gmail.com>
15058
15059 [BZ #16739]
15060 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15061 output when value is near a power of two. Use int64_t for lx and
15062 remove casts. Use decimal rather than hex exponent constants.
15063 Don't use long double multiplication when double will suffice.
15064 * math/libm-test.inc (nextafter_test_data): Add tests.
15065 * NEWS: Add 16739 and 16786 to bug list.
15066
af6b1797
AM
15067 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15068
483818d7
AM
15069 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15070
f6c55796
WN
150712014-04-01 Will Newton <will.newton@linaro.org>
15072
15073 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15074 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15075
13f7fe35
FW
150762014-04-01 Florian Weimer <fweimer@redhat.com>
15077
15078 [BZ #13347]
15079 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15080 * nptl/tst-setuid2.c: New file.
15081 * nptl/Makefile (xtests): Add tst-setuid2.
15082
c859b32e
AM
150832014-04-01 Alan Modra <amodra@gmail.com>
15084
15085 [BZ #16786]
15086 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15087
54fa2475
JM
150882014-03-31 Joseph Myers <joseph@codesourcery.com>
15089
8795b4a4
JM
15090 [BZ #6803]
15091 [BZ #6804]
15092 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15093 set errno as appropriate.
15094 * math/w_scalbf.c (__scalbf): Likewise.
15095 * math/w_scalbl.c (__scalbl): Likewise.
15096 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15097 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15098 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15099 Add more NaN tests.
15100
54fa2475
JM
15101 [BZ #16349]
15102 * math/w_atan2.c: Include <errno.h>.
15103 (__atan2): Set errno for result underflowing to zero.
15104 * math/w_atan2f.c: Include <errno.h>.
15105 (__atan2f): Set errno for result underflowing to zero.
15106 * math/w_atan2l.c: Include <errno.h>.
15107 (__atan2l): Set errno for result underflowing to zero.
15108 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15109 tests.
15110 * math/auto-libm-test-out: Regenerated.
15111
757d9dd5
AZ
151122014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15113
15114 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15115 Encode instruction correctly in little endian.
15116 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15117 Likewise.
15118 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15119 Likewise.
15120 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15121 Likewise.
15122 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15123 Likewise.
15124
d7a68734
JM
151252014-03-31 Joseph Myers <joseph@codesourcery.com>
15126
47c5adeb
JM
15127 [BZ #9894]
15128 * sysdeps/unix/sysv/linux/kernel-features.h
15129 [__sparc__ && !__arch64__ && !__sparc_v9__]
15130 (__ASSUME_SET_ROBUST_LIST): Do not define.
15131 [__sparc__ && !__arch64__ && !__sparc_v9__]
15132 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15133 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15134 Likewise.
15135 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15136 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15137 (__ASSUME_REQUEUE_PI): Likewise.
15138 (__ASSUME_SET_ROBUST_LIST): Likewise.
15139 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15140 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15141 Undefine.
15142 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15143 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15144 Likewise.
15145 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15146 Likewise.
15147 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15148 Likewise.
15149 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15150 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15151 Undefine.
15152 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15153 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15154 Likewise.
15155
d7a68734
JM
15156 [BZ #16648]
15157 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15158 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15159 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15160
c760f5c2
WN
151612014-03-31 Will Newton <will.newton@linaro.org>
15162
15163 * benchtests/Makefile (bench): Add ffs and ffsll to list
15164 of tests.
15165 * benchtests/ffs-inputs: New file.
15166 * benchtests/ffsll-inputs: Likewise.
15167
ea6029b1
JM
151682014-03-29 Joseph Myers <joseph@codesourcery.com>
15169
15170 [BZ #16770]
15171 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15172 too large before casting to int.
15173 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15174 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15175 * math/libm-test.inc (scalb_test_data): Add more tests.
15176
cf806aff
SP
151772014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15178
56737508
SP
15179 * benchtests/Makefile (DETAILED_OPT): New make option.
15180 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15181 set.
15182 * benchtests/bench-skeleton.c: Include stdbool.h.
15183 (main): Store and print timings per input.
15184 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15185 member to each argument value.
15186 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15187 (_print_arg_data): Initialize per-input timing to 0.
15188
cb5e4aad
SP
15189 * benchtests/Makefile (timing-type): New binary.
15190 (bench-clean): Also remove bench-timing-type.
15191 (bench): New target for timing-type.
15192 (bench-func): Print output in JSON format.
15193 * benchtests/bench-skeleton.c (main): Print output in JSON
15194 format.
15195 * benchtests/bench-timing-type.c: New file.
15196 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15197 (TIMING_PRINT_STATS): Remove.
15198 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15199 name separately.
15200
cf806aff
SP
15201 * benchtests/bench-modf.c: Remove.
15202 * benchtests/modf-inputs: New inputs file.
15203
289e0779
JM
152042014-03-28 Joseph Myers <joseph@codesourcery.com>
15205
15206 [BZ #16362]
15207 * math/s_clog10.c (M_PI_LOG10E): New macro.
15208 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15209 imaginary parts are 0.
15210 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15211 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15212 imaginary parts are 0.
15213 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15214 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15215 imaginary parts are 0.
15216 * math/libm-test.inc (clog10_test_data): Update expected results
15217 for when real and imaginary parts are 0.
15218
277ae3f1
PP
152192014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15220
15221 * elf/dl-load.c: Finish conversion of __builtin_expect into
15222 __glibc_{un}likely.
15223
03a7091f
JM
152242014-03-27 Joseph Myers <joseph@codesourcery.com>
15225
15226 [BZ #16348]
15227 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15228 1+x for argument with exponent below -67.
15229 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15230 Likewise.
15231 * math/auto-libm-test-in: Add more tests of exp.
15232 * math/auto-libm-test-out: Regenerated.
15233
ea7d8b95
SP
152342014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15235
dd3022d7
SP
15236 [BZ #16759]
15237 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15238 (nscd_getnetgrent): Use it.
15239
ea7d8b95
SP
15240 [BZ #16760]
15241 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15242 of stpcpy.
15243
df5b85da
AK
152442014-03-27 Andi Kleen <ak@linux.intel.com>
15245
57f41c40
AS
15246 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15247 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15248 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15249 (lll_robust_unlock): Remove out of line section. Use cfi
15250 intrinsics.
df5b85da 15251 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15252 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15253 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15254 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15255 (lll_robust_unlock): Remove out of line section. Use cfi
15256 intrinsics.
df5b85da
AK
15257 (LLL_STUB_UNWIND_INFO*): Remove.
15258
fbd6b5a4
SP
152592014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15260
15261 [BZ #16758]
15262 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15263 blank values.
15264
1b26b855
PP
152652014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15266
15267 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15268
9be36fb8
JM
152692014-03-26 Joseph Myers <joseph@codesourcery.com>
15270
15271 [BZ #16198]
15272 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15273 fnstenv.
15274 * math/test-fenv-preserve.c: New file.
15275 * math/Makefile (tests): Add test-fenv-preserve.
15276
60a2f3c1
WN
152772014-03-26 Will Newton <will.newton@linaro.org>
15278
15279 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15280
a5e5f1e2
RM
152812014-03-25 Roland McGrath <roland@hack.frob.com>
15282
15283 * scripts/versionlist.awk: Partition the version sets and emit all
15284 GLIBC_* (sorted) before all others (sorted).
15285
00f4012a
JM
152862014-03-25 Joseph Myers <joseph@codesourcery.com>
15287
15288 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15289 GLIBC_2.2.5 version.
15290
7bc5a741
AZ
152912014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15292
15293 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15294 calls.
15295
7578473b
AZ
15296 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15297 previous change.
15298
f3f1dab3
AZ
15299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15300
6da36183
AS
153012014-03-25 Andreas Schwab <schwab@suse.de>
15302
15303 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15304 label to be used after in6ailist is initialized.
15305
f3f1dab3 153062014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15307
7578473b 15308 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15309 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15310
046651c1
JM
153112014-03-25 Joseph Myers <joseph@codesourcery.com>
15312
15313 [BZ #16357]
15314 [BZ #16599]
15315 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15316 min_plus_half.
15317 (fp_formats): Update initializers.
15318 (init_fp_formats): Initialize new field.
15319 (output_for_one_input_case): Allow underflow for results up to
15320 min_plus_half.
15321 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15322 * math/auto-libm-test-in: Don't mark some underflows from asin and
15323 atanh as spurious.
15324 * math/auto-libm-test-out: Regenerated.
15325 * sysdeps/i386/fpu/libm-test-ulps: Update.
15326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15327
003e49ed
AS
153282014-03-25 Andreas Schwab <schwab@suse.de>
15329
15330 * libio/Makefile (tst-ftell-partial-wide-ENV)
15331 (tst-ftell-active-handler-ENV): Define.
15332
de031874
SL
153332014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15334
15335 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15336
55a81e3b
PP
153372014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15338
15339 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15340
f3426898
JM
153412014-03-24 Joseph Myers <joseph@codesourcery.com>
15342
15343 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15344 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15345 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15346
a42faf59
PP
153472014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15348
15349 [BZ #16634]
a42faf59 15350 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15351 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15352 (open_path): Change from boolean 'secure' to complete flag 'mode'
15353 (_dl_map_object): Adjust.
a42faf59
PP
15354 * elf/Makefile (tests): Add tst-dlopen-aout.
15355 * elf/tst-dlopen-aout.c: New test.
15356
50936127
SL
153572014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15358
15359 [BZ #16714]
15360 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15361 (struct stat): Rename member pad0 to __glibc_reserved0.
15362
26011b5c
SL
15363 [BZ #16712]
15364 * sysdeps/s390/s390-32/bits/wordsize.h
15365 (__WORDSIZE32_SIZE_ULONG): New define.
15366 * sysdeps/s390/s390-64/bits/wordsize.h
15367 (__WORDSIZE32_SIZE_ULONG): Likewise.
15368 * sysdeps/generic/stdint.h (SIZE_MAX):
15369 Define as UL if __WORDSIZE32_SIZE_ULONG.
15370
a2d86bf1
SL
15371 [BZ #16713]
15372 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15373 (__glibc_reserved0): New variable.
15374 (sa_flags): Change type to int.
15375
78b6eebc
SL
15376 * posix/Makefile (before-compile): Use += before-compile instead
15377 of a :=.
15378
f1399b5a
SL
15379 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15380 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15381
a071766e
AS
153822014-03-20 Andreas Schwab <schwab@suse.de>
15383
15384 [BZ #16743]
15385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15386 non-matching result from nscd.
15387
27c673b8
SP
153882014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15389
15390 * scripts/bench.py: Moved to ...
15391 * benchtests/scripts/bench.py: ... here.
15392 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15393
44152e4b
AS
153942014-03-24 Andreas Schwab <schwab@suse.de>
15395
15396 [BZ #16002]
15397 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15398 alloca_account and account alloca use for struct in6ailist.
15399
b376a11a
JM
154002014-03-24 Joseph Myers <joseph@codesourcery.com>
15401
15402 [BZ #16284]
15403 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15404 rounding mode to recompute results that overflow to infinity or
15405 underflow to zero.
15406 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15407 bug 16284.
15408 * math/auto-libm-test-out: Regenerated.
15409 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15410 (ccosh_test): Likewise.
15411 (csin_test_data): Use plus_oflow.
15412 (csin_test): Use ALL_RM_TEST.
15413 (csinh_test_data): Use plus_oflow.
15414 (csinh_test): Use ALL_RM_TEST.
15415 * sysdeps/i386/fpu/libm-test-ulps: Update.
15416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15417
f7be7376
JM
154182014-03-21 Joseph Myers <joseph@codesourcery.com>
15419
1ca2d03e
JM
15420 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15421 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15422 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15423
f7be7376
JM
15424 [BZ #16731]
15425 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15426 when x - 1 is zero.
15427 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15428 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15429 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15430 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15431 argument is 1.
15432 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15433 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15434 zero.
15435 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15436 * sysdeps/i386/fpu/libm-test-ulps: Update.
15437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15438
fdf4534d
SP
154392014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15440
df26ea53
SP
15441 * scripts/bench.pl: Remove file.
15442 * scripts/bench.py: New benchmark script.
15443 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15444 * benchtests/README: Mention python dependency.
15445 * scripts/pylintrc: New file.
15446 * scripts/pylint: New file.
15447
fdf4534d
SP
15448 * bits/mathdef.h: Use #ifdef instead of #if.
15449 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15450 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15451 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15452 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15453 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15454 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15455
6f23d093
AZ
154562014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15457 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15458
15459 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15461 and strpbrk-ppc64 objects.
15462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15463 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15464 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15465 multiarch strpbrk for POWER7.
15466 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15467 multiarch strpbrk for PPC64.
15468 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15469 ifunc selector.
15470 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15471 strpbrk for POWER7.
15472
8c92dfff
JM
154732014-03-20 Joseph Myers <joseph@codesourcery.com>
15474
15475 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15476 (atan_test): Likewise.
15477 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15478 (atanh_test): Use ALL_RM_TEST.
15479 (atan2_test_data): Likewise.
15480 (cabs_test): Likewise.
15481 (cacosh_test): Likewise.
15482 (carg_test): Likewise.
15483 (casin_test): Likewise.
15484 (casinh_test): Likewise.
15485 (cbrt_test): Likewise.
15486 (csqrt_test): Likewise.
15487 (erf_test): Likewise.
15488 (erfc_test): Likewise.
15489 (pow10_test): Likewise.
15490 (exp2_test): Likewise.
15491 (hypot_test): Likewise.
15492 (j0_test): Likewise.
15493 (j1_test): Likewise.
15494 (lgamma_test): Likewise.
15495 (gamma_test): Likewise.
15496 (sincos_test): Likewise.
15497 (tanh_test): Likewise.
15498 (y0_test): Likewise.
15499 (y1_test): Likewise.
15500 * sysdeps/i386/fpu/libm-test-ulps: Update.
15501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15502
6eaf95cb
AZ
155032014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15504
a387428c
SP
15505 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15507 and strcspn-ppc64 objects.
15508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15509 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15510 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15511 multiarch strcspn for POWER7.
15512 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15513 multiarch strcspn for PPC64.
15514 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15515 ifunc selector.
15516 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15517 strcspn for POWER7.
15518
ae3a5dff
JM
155192014-03-20 Joseph Myers <joseph@codesourcery.com>
15520
15521 * math/gen-libm-test.pl (generate_testfile): Expect only function
15522 name as argument to AUTO_TESTS_* and pass results for all rounding
15523 modes to parse_args.
15524 (parse_auto_input): Separate inputs of automatic tests from
15525 outputs before storing in %auto_tests.
15526 * math/libm-test.inc (acos_test_data): Update call to
15527 AUTO_TESTS_f_f.
15528 (acos_test): Use ALL_RM_TEST.
15529 (acos_tonearest_test_data): Remove.
15530 (acos_test_tonearest): Likewise.
15531 (acos_towardzero_test_data): Likewise.
15532 (acos_test_towardzero): Likewise.
15533 (acos_downward_test_data): Likewise.
15534 (acos_test_downward): Likewise.
15535 (acos_upward_test_data): Likewise.
15536 (acos_test_upward): Likewise.
15537 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15538 (asin_test_data): Likewise.
15539 (asin_test): Use ALL_RM_TEST.
15540 (asin_tonearest_test_data): Remove.
15541 (asin_test_tonearest): Likewise.
15542 (asin_towardzero_test_data): Likewise.
15543 (asin_test_towardzero): Likewise.
15544 (asin_downward_test_data): Likewise.
15545 (asin_test_downward): Likewise.
15546 (asin_upward_test_data): Likewise.
15547 (asin_test_upward): Likewise.
15548 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15549 (atan_test_data): Likewise.
15550 (atanh_test_data): Likewise.
15551 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15552 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15553 (carg_test_data): Likewise.
15554 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15555 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15556 (ccosh_test_data): Likewise.
15557 (cexp_test_data): Likewise.
15558 (clog_test_data): Likewise.
15559 (clog10_test_data): Likewise.
15560 (cos_test_data): Update call to AUTO_TESTS_f_f.
15561 (cos_test): Use ALL_RM_TEST.
15562 (cos_tonearest_test_data): Remove.
15563 (cos_test_tonearest): Likewise.
15564 (cos_towardzero_test_data): Likewise.
15565 (cos_test_towardzero): Likewise.
15566 (cos_downward_test_data): Likewise.
15567 (cos_test_downward): Likewise.
15568 (cos_upward_test_data): Likewise.
15569 (cos_test_upward): Likewise.
15570 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15571 (cosh_test): Use ALL_RM_TEST.
15572 (cosh_tonearest_test_data): Remove.
15573 (cosh_test_tonearest): Likewise.
15574 (cosh_towardzero_test_data): Likewise.
15575 (cosh_test_towardzero): Likewise.
15576 (cosh_downward_test_data): Likewise.
15577 (cosh_test_downward): Likewise.
15578 (cosh_upward_test_data): Likewise.
15579 (cosh_test_upward): Likewise.
15580 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15581 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15582 (ctan_test_data): Likewise.
15583 (ctan_test): Use ALL_RM_TEST.
15584 (ctan_tonearest_test_data): Remove.
15585 (ctan_test_tonearest): Likewise.
15586 (ctan_towardzero_test_data): Likewise.
15587 (ctan_test_towardzero): Likewise.
15588 (ctan_downward_test_data): Likewise.
15589 (ctan_test_downward): Likewise.
15590 (ctan_upward_test_data): Likewise.
15591 (ctan_test_upward): Likewise.
15592 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15593 (ctanh_test): Use ALL_RM_TEST.
15594 (ctanh_tonearest_test_data): Remove.
15595 (ctanh_test_tonearest): Likewise.
15596 (ctanh_towardzero_test_data): Likewise.
15597 (ctanh_test_towardzero): Likewise.
15598 (ctanh_downward_test_data): Likewise.
15599 (ctanh_test_downward): Likewise.
15600 (ctanh_upward_test_data): Likewise.
15601 (ctanh_test_upward): Likewise.
15602 (erf_test_data): Update call to AUTO_TESTS_f_f.
15603 (erfc_test_data): Likewise.
15604 (exp_test_data): Likewise.
15605 (exp_test): Use ALL_RM_TEST.
15606 (exp_tonearest_test_data): Remove.
15607 (exp_test_tonearest): Likewise.
15608 (exp_towardzero_test_data): Likewise.
15609 (exp_test_towardzero): Likewise.
15610 (exp_downward_test_data): Likewise.
15611 (exp_test_downward): Likewise.
15612 (exp_upward_test_data): Likewise.
15613 (exp_test_upward): Likewise.
15614 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15615 (exp10_test): Use ALL_RM_TEST.
15616 (exp10_tonearest_test_data): Remove.
15617 (exp10_test_tonearest): Likewise.
15618 (exp10_towardzero_test_data): Likewise.
15619 (exp10_test_towardzero): Likewise.
15620 (exp10_downward_test_data): Likewise.
15621 (exp10_test_downward): Likewise.
15622 (exp10_upward_test_data): Likewise.
15623 (exp10_test_upward): Likewise.
15624 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15625 (expm1_test_data): Likewise.
15626 (expm1_test): Use ALL_RM_TEST.
15627 (expm1_tonearest_test_data): Remove.
15628 (expm1_test_tonearest): Likewise.
15629 (expm1_towardzero_test_data): Likewise.
15630 (expm1_test_towardzero): Likewise.
15631 (expm1_downward_test_data): Likewise.
15632 (expm1_test_downward): Likewise.
15633 (expm1_upward_test_data): Likewise.
15634 (expm1_test_upward): Likewise.
15635 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15636 (fma_test): Use ALL_RM_TEST.
15637 (fma_towardzero_test_data): Remove.
15638 (fma_test_towardzero): Likewise.
15639 (fma_downward_test_data): Likewise.
15640 (fma_test_downward): Likewise.
15641 (fma_upward_test_data): Likewise.
15642 (fma_test_upward): Likewise.
15643 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15644 (j0_test_data): Update call to AUTO_TESTS_f_f.
15645 (j1_test_data): Likewise.
15646 (jn_test_data): Update call to AUTO_TESTS_if_f.
15647 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15648 (log_test_data): Update call to AUTO_TESTS_f_f.
15649 (log10_test_data): Likewise.
15650 (log1p_test_data): Likewise.
15651 (log2_test_data): Likewise.
15652 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15653 (pow_tonearest_test_data): Likewise.
15654 (sin_test_data): Update call to AUTO_TESTS_f_f.
15655 (sin_test): Use ALL_RM_TEST.
15656 (sin_tonearest_test_data): Remove.
15657 (sin_test_tonearest): Likewise.
15658 (sin_towardzero_test_data): Likewise.
15659 (sin_test_towardzero): Likewise.
15660 (sin_downward_test_data): Likewise.
15661 (sin_test_downward): Likewise.
15662 (sin_upward_test_data): Likewise.
15663 (sin_test_upward): Likewise.
15664 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15665 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15666 (sinh_test): Use ALL_RM_TEST.
15667 (sinh_tonearest_test_data): Remove.
15668 (sinh_test_tonearest): Likewise.
15669 (sinh_towardzero_test_data): Likewise.
15670 (sinh_test_towardzero): Likewise.
15671 (sinh_downward_test_data): Likewise.
15672 (sinh_test_downward): Likewise.
15673 (sinh_upward_test_data): Likewise.
15674 (sinh_test_upward): Likewise.
15675 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15676 (sqrt_test): Use ALL_RM_TEST.
15677 (sqrt_tonearest_test_data): Remove.
15678 (sqrt_test_tonearest): Likewise.
15679 (sqrt_towardzero_test_data): Likewise.
15680 (sqrt_test_towardzero): Likewise.
15681 (sqrt_downward_test_data): Likewise.
15682 (sqrt_test_downward): Likewise.
15683 (sqrt_upward_test_data): Likewise.
15684 (sqrt_test_upward): Likewise.
15685 (tan_test_data): Update call to AUTO_TESTS_f_f.
15686 (tan_test): Use ALL_RM_TEST.
15687 (tan_tonearest_test_data): Remove.
15688 (tan_test_tonearest): Likewise.
15689 (tan_towardzero_test_data): Likewise.
15690 (tan_test_towardzero): Likewise.
15691 (tan_downward_test_data): Likewise.
15692 (tan_test_downward): Likewise.
15693 (tan_upward_test_data): Likewise.
15694 (tan_test_upward): Likewise.
15695 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15696 (tgamma_test_data): Likewise.
15697 (y0_test_data): Likewise.
15698 (y1_test_data): Likewise.
15699 (yn_test_data): Update call to AUTO_TESTS_if_f.
15700 (main): Do not call removed functions.
15701
d71aeee8
JM
157022014-03-19 Joseph Myers <joseph@codesourcery.com>
15703
15704 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15705 (ldexp_test_data): Remove.
15706 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15707 scalbn_test_data.
15708 (scalb_test): Use ALL_RM_TEST.
15709
baaf1ded
AS
157102014-03-19 Andreas Schwab <schwab@suse.de>
15711
15712 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15713
b1115e91
JM
157142014-03-19 Joseph Myers <joseph@codesourcery.com>
15715
15716 [BZ #16649]
15717 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15718 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15719 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15720 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15721 (__ASSUME_PREADV): Undefine.
15722 (__ASSUME_PWRITEV): Likewise.
15723
0283ecca
RM
157242014-03-18 Roland McGrath <roland@hack.frob.com>
15725
7d375303
RM
15726 * bits/mman-linux.h: Add comment about non-Linux use.
15727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15728 bits/mman-linux.h resting place.
15729
0283ecca
RM
15730 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15731 * bits/mman-linux.h: ... here.
15732
aebe1003
AZ
157332014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15734
15735 * conform/conformtest.pl: Add standard definition when calling C
15736 preprocessor on data files.
15737 (checknamespace): Remove unused variable.
15738
b29b6bb8
JM
157392014-03-18 Joseph Myers <joseph@codesourcery.com>
15740
15741 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15742 minus_oflow, plus_uflow and minus_uflow in expected results.
15743 * math/libm-test.inc (scalbn_test_data): Add more tests of
15744 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15745 minus_uflow.
15746 (scalbn_test): Use ALL_RM_TEST.
15747 (scalbln_test_data): Add more tests of negative arguments. Use
15748 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15749 (scalbln_test): Use ALL_RM_TEST.
15750
c8f8fa15
RM
157512014-03-18 Roland McGrath <roland@hack.frob.com>
15752
15753 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15754
fede7a5f
WN
157552014-03-18 Will Newton <will.newton@linaro.org>
15756
15757 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15758 inaccurate comment.
15759
80cf0a58
JM
157602014-03-18 Joseph Myers <joseph@codesourcery.com>
15761
15762 * Makerules [!subdir] (check-abi): Exit with error status if a
15763 test failed.
15764
b3620862
JM
157652014-03-17 Joseph Myers <joseph@codesourcery.com>
15766
15767 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15768 for rint. Include results for all rounding modes.
15769 (nearbyint_test): Use ALL_RM_TEST.
15770 (rint_test_data): Include all tests used for nearbyint.
15771
788bba36
WN
157722014-03-17 Will Newton <will.newton@linaro.org>
15773
04ec140a
WN
15774 * nptl/sysdeps/pthread/pthread.h: Revert previous
15775 change.
15776
7579d8d5
WN
15777 * sysdeps/generic/ldsodefs.h: Revert previous
15778 change.
15779
c15cf13a
WN
15780 * libio/genops.c: Revert previous change.
15781 * libio/libioP.h: Likewise.
15782 * stdio-common/vfprintf.c: Likewise.
15783
d0ac1324
WN
15784 * sysdeps/generic/math_private.h: Revert previous
15785 change.
15786
9290130a
WN
15787 * sysdeps/generic/math_private.h: Check whether
15788 HAVE_RM_CTX is defined with #ifdef rather
15789 than #if.
15790
afb466fc
WN
15791 * argp/argp-fmtstream.h: Check whether
15792 __STRICT_ANSI__ is defined with #ifdef rather
15793 than #if.
15794 * argp/argp.h: Likewise.
15795
f7efd7c3
WN
15796 * libio/genops.c: Check whether
15797 _IO_JUMPS_OFFSET is defined with #ifdef rather
15798 than #if.
15799 * libio/libioP.h: Likewise.
15800 * stdio-common/vfprintf.c: Likewise.
15801
53f1bed3
WN
15802 * sysdeps/generic/ldsodefs.h: Check whether
15803 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15804 than #if.
15805
788bba36
WN
15806 * nptl/sysdeps/pthread/pthread.h: Check
15807 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15808 its value.
15809
fcd89ebe
SP
158102014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15811
ae42bbc5
SP
15812 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15813 setting O_APPEND.
15814 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15815 test case.
15816
ea33158c
SP
15817 [BZ #16680]
15818 * libio/fileops.c (_IO_file_open): Seek to end of file but
15819 don't cache the offset.
15820 (get_file_offset): Remove function.
15821 (do_ftell): Use cached offset when available.
15822 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15823 don't cache the offset.
15824 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15825 case.
15826 (do_one_test): Call it.
15827 (do_ftell_test): Fix up expected old offset for a+ mode.
15828 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15829 available.
15830
b1dbb426
SP
15831 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15832 up test status with function return status.
15833 (do_write_test): Likewise.
15834 (do_append_test): Likewise.
15835
fcd89ebe
SP
15836 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15837 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15838 Remove.
15839
9962a2d3
JM
158402014-03-17 Joseph Myers <joseph@codesourcery.com>
15841
15842 * math/gen-libm-test.pl (parse_args): Handle results specified for
15843 each rounding mode separately.
15844 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15845 tests and results from lrint_tonearest_test_data,
15846 lrint_towardzero_test_data, lrint_downward_test_data and
15847 lrint_upward_test_data.
15848 (lrint_test): Use ALL_RM_TEST.
15849 (lrint_tonearest_test_data): Remove.
15850 (lrint_test_tonearest): Likewise.
15851 (lrint_towardzero_test_data): Likewise.
15852 (lrint_test_towardzero): Likewise.
15853 (lrint_downward_test_data): Likewise.
15854 (lrint_test_downward): Likewise.
15855 (lrint_upward_test_data): Likewise.
15856 (lrint_test_upward): Likewise.
15857 (llrint_test_data): Merge in per-rounding-mode tests and results
15858 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15859 llrint_downward_test_data and llrint_upward_test_data.
15860 (llrint_test): Use ALL_RM_TEST.
15861 (llrint_tonearest_test_data): Remove.
15862 (llrint_test_tonearest): Likewise.
15863 (llrint_towardzero_test_data): Likewise.
15864 (llrint_test_towardzero): Likewise.
15865 (llrint_downward_test_data): Likewise.
15866 (llrint_test_downward): Likewise.
15867 (llrint_upward_test_data): Likewise.
15868 (llrint_test_upward): Likewise.
15869 (rint_test_data): Merge in per-rounding-mode tests and results
15870 from rint_tonearest_test_data, rint_towardzero_test_data,
15871 rint_downward_test_data and rint_upward_test_data. Add
15872 per-rounding-mode results for tests not in those arrays.
15873 (rint_test): Use ALL_RM_TEST.
15874 (rint_tonearest_test_data): Remove.
15875 (rint_test_tonearest): Likewise.
15876 (rint_towardzero_test_data): Likewise.
15877 (rint_test_towardzero): Likewise.
15878 (rint_downward_test_data): Likewise.
15879 (rint_test_downward): Likewise.
15880 (rint_upward_test_data): Likewise.
15881 (rint_test_upward): Likewise.
15882 (main): Don't call removed functions.
15883
5006148e
RM
158842014-03-14 Roland McGrath <roland@hack.frob.com>
15885
15886 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15887 "Compiled on ..." crapola. It is anti-useful.
15888
d6fe5e58
JM
158892014-03-14 Joseph Myers <joseph@codesourcery.com>
15890
15891 * scripts/evaluate-test.sh: Handle fourth argument to determine
15892 whether test run should stop on failure.
15893 * Makeconfig (stop-on-test-failure): New variable.
15894 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15895 $(stop-on-test-failure).
15896 * Makefile (tests): Give a summary of results from testing and
15897 exit with failure status if they include an ERROR or FAIL.
15898 (xtests): Likewise.
15899 * manual/install.texi (Configuring and compiling): Mention
15900 stop-on-test-failure=y.
15901 * INSTALL: Regenerated.
15902
498a2233
RM
159032014-03-14 Roland McGrath <roland@hack.frob.com>
15904
22dbc19d
RM
15905 * scripts/versionlist.awk: New file.
15906 * Makerules [$(build-shared) = yes]
15907 (postclean-generated): Add Versions.def, not Versions.def.v and
15908 Versions.def.v.i.
15909 ($(common-objpfx)Versions.def.v.i): Target removed.
15910 ($(common-objpfx)Versions.def): New target.
15911 ($(common-objpfx)Versions.all): Depend on that rather that
15912 $(common-objpfx)Versions.def.v.
15913 * Versions.def: File removed.
15914
498a2233
RM
15915 * Makeconfig (+gccwarn): Add -Wundef.
15916 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15917 a dl-sysdep.h breaking its contract.
15918 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15919 * include/stackinfo.h: New file.
15920 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15921 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15922 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15923 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15924 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15925 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15926 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15927 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15928 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15929 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15930 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15931 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15932 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15933 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15934 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15935
c7de5025
AZ
159362014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15937
15938 [BZ #16707]
15939 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15940 implementation.
15941 * math/libm-test.inc (round_test_data): Add more tests.
15942
98fb27a3
AZ
15943 [BZ #16706]
15944 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15945 implementation.
15946 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15947
374f7f61
AZ
15948 [BZ #16701]
15949 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15950 implementation.
15951 * math/libm-test.inc (ceil_test_data): Add more tests.
15952
4655c291
AZ
15953 * math/libm-test.inc (trunc_test_data): Add more tests related to
15954 BZ#16414.
15955
d7329d4b
RM
159562014-03-14 Roland McGrath <roland@hack.frob.com>
15957
15958 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15959 with #if rather than #ifdef.
15960 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15961
aa4de9ce
L
159622014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15963
15964 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15965 first. Disable AVX-512 GCC support if assembler doesn't support
15966 it.
15967 * sysdeps/x86_64/configure: Regenerated.
15968
2e03fae7
CD
159692014-03-13 Carlos O'Donell <carlos@redhat.com>
15970
15971 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15972 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15973 (__old_pthread_attr_setstack): Likewise.
15974 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15975 [!_STACK_GROWS_DOWN]: Likewise.
15976
43ca83ec
MF
159772014-03-13 Mike Frysinger <vapier@gentoo.org>
15978
15979 * config.make.in (have-bash2): Delete.
15980 * configure.ac (libc_cv_have_bash2): Delete.
15981 * configure: Regenerate.
15982 * elf/Makefile (common-ldd-rewrite): Rename to ...
15983 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15984 (sh-ldd-rewrite): Delete.
15985 (bash-ldd-rewrite): Delete.
15986 (have-bash2): Delete checks.
57f41c40
AS
15987 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15988 ldd-rewrite.
c66e48b4
MF
15989
15990 * config.make.in (have-ksh): Delete.
15991 (KSH): Delete.
15992 * configure.ac (libc_cv_have_ksh): Delete.
15993 * configure: Regenerate.
15994
b93834ef
MF
15995 * elf/Makefile: Delete $(have-ksh) check.
15996 ($(objpfx)sotruss): Change KSH to BASH.
15997 * elf/sotruss.ksh: Rename to ...
15998 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15999 function style to match POSIX. Drop ksh vim mode setting.
16000
f3a4632a
MF
16001 * manual/time.texi (Specifying the Time Zone with TZ): Change
16002 Tuesday to Thursday.
16003
5896c8bd
MF
16004 * debug/tst-longjmp_chk2.c: Update header comment.
16005 (stackoverflow_handler): Add comment. Call assert on pass value.
16006
2d63a517
IZ
160072014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16008
7e54fd04 16009 [BZ #16194]
2d63a517
IZ
16010 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16011 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16012 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16013 (La_x86_64_vector): Add zmm.
16014 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16015 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16016 ($(objpfx)tst-audit10): New target.
16017 ($(objpfx)tst-audit10.out): Likewise.
16018 (tst-audit10-ENV): New.
16019 (AVX512-CFLAGS): Likewise.
16020 (CFLAGS-tst-audit10.c): Likewise.
16021 (CFLAGS-tst-auditmod10a.c): Likewise.
16022 (CFLAGS-tst-auditmod10b.c): Likewise.
16023 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16024 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16025 * sysdeps/x86_64/configure: Regenerated.
16026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16027 AVX-512 zmm register support.
16028 (_dl_x86_64_save_sse): Likewise.
16029 (_dl_x86_64_restore_sse): Likewise.
16030 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16031 size vector registers.
16032 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16033 (ZMM_SIZE): Likewise.
16034 * sysdeps/x86_64/tst-audit10.c: New file.
16035 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16036 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16037
44c4e5d5
RM
160382014-03-13 Roland McGrath <roland@hack.frob.com>
16039
16040 * configure.ac (HAVE_EHDR_START): New check.
16041 * configure: Regenerated.
16042 * config.h.in (HAVE_EHDR_START): New #undef.
16043 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16044 assuming the lowest-addressed segment maps the start of the file.
16045
acd6e389
JM
160462014-03-13 Joseph Myers <joseph@codesourcery.com>
16047
16048 * INSTALL: Regenerated.
16049
6f918f36
WN
160502014-03-13 Will Newton <will.newton@linaro.org>
16051
16052 * manual/setjmp.texi (System V contexts): Improve
16053 clarity and grammar of documentation.
16054
798212a0
PP
160552014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16056
16057 [BZ #16381]
798212a0 16058 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16059 (tests-pie): Add tst-pie2.
798212a0
PP
16060 * elf/tst-pie2.c: New file.
16061 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16062 for ET_EXEC.
16063 * elf/rtld.c (map_doit): Load executable as lt_executable.
16064 (dl_main): Likewise.
16065
abe6d90c
JM
160662014-03-12 Joseph Myers <joseph@codesourcery.com>
16067
16068 [BZ #16642]
16069 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16070 (__ASSUME_PSELECT): Undefine.
16071
dd3946c6
AZ
160722014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16073
16074 [BZ #16689]
16075 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16076 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16077 static build.
16078 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16079 selector for static builds.
16080
c44496df
SP
160812014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16082
16083 [BZ #16695]
16084 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16085 key in the buffer.
16086
27c7220a
AZ
160872014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16088
57f41c40
AS
16089 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16090 IFUNC selector for static builds.
27c7220a 16091
600fa361
JM
160922014-03-11 Joseph Myers <joseph@codesourcery.com>
16093
76c96cf7
JM
16094 * sysdeps/mips/math_private.h [__mips_hard_float]
16095 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16096 libc_feresetround_mips_ctx.
16097 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16098 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16099 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16100
600fa361
JM
16101 [BZ #16677]
16102 * math/s_nextafter.c (__nextafter): Do not return value from
16103 overflowing computation.
16104 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16105 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16106 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16107 Likewise.
16108 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16109 Likewise.
16110 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16111 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16112
d7706c32
RM
161132014-03-11 Roland McGrath <roland@hack.frob.com>
16114
16115 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16116 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16117 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16118 the new mov targetting sp.
16119
4facea47
AZ
161202014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16121
16122 [BZ #16683]
16123 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16124 Define it for static builds as well.
16125 (NO_BZERO_IMPL): Likewise.
16126
e65caf1f
VR
161272014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16128
16129 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16130 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16131 multiarch strspn for PPC64.
16132 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16133 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16135 (__libc_ifunc_impl_list): Likewise.
16136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16137 multiarch optimizations
16138 * string/strspn.c (strspn): Using macro to redefine symbol name.
16139
ba9cc071
AZ
161402014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16141 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16142
16143 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16144 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16145 multiarch strncat for PPC64.
16146 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16147 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16149 (__libc_ifunc_impl_list): Likewise.
16150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16151 multiarch optimizations
16152
8b4ff974
SP
161532014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16154
16155 [BZ #16639]
16156 * nscd/nscd.service: Make service type forking.
16157
54b46a4b
AZ
161582014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16159
16160 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16161 sign in non default rounding modes.
16162 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16163
e9996ef7
JM
161642014-03-08 Joseph Myers <joseph@codesourcery.com>
16165
16166 * math/libm-test.inc (ALL_RM_TEST): New macro.
16167 (ceil_test): Use ALL_RM_TEST.
16168 (cimag_test): Likewise.
16169 (conj_test): Likewise.
16170 (copysign_test): Likewise.
16171 (cproj_test): Likewise.
16172 (creal_test): Likewise.
16173 (fabs_test): Likewise.
16174 (floor_test): Likewise.
16175 (fmax_test): Likewise.
16176 (fmin_test): Likewise.
16177 (fmod_test): Likewise.
16178 (fpclassify_test): Likewise.
16179 (frexp_test): Likewise.
16180 (ilogb_test): Likewise.
16181 (isfinite_test): Likewise.
16182 (finite_test): Likewise.
16183 (isgreater_test): Likewise.
16184 (isgreaterequal_test): Likewise.
16185 (isinf_test): Likewise.
16186 (isless_test): Likewise.
16187 (islessequal_test): Likewise.
16188 (islessgreater_test): Likewise.
16189 (isnan_test): Likewise.
16190 (isnormal_test): Likewise.
16191 (issignaling_test): Likewise.
16192 (isunordered_test): Likewise.
16193 (logb_test): Likewise.
16194 (logb_downward_test_data): Remove.
16195 (logb_test_downward): Likewise.
16196 (lround_test): Use ALL_RM_TEST.
16197 (llround_test): Likewise.
16198 (modf_test): Likewise.
16199 (nexttoward_test): Likewise.
16200 (remainder_test): Likewise.
16201 (drem_test): Likewise.
16202 (remainder_tonearest_test_data): Likewise.
16203 (remainder_test_tonearest): Likewise.
16204 (drem_test_tonearest): Likewise.
16205 (remainder_towardzero_test_data): Likewise.
16206 (remainder_test_towardzero): Likewise.
16207 (drem_test_towardzero): Likewise.
16208 (remainder_downward_test_data): Likewise.
16209 (remainder_test_downward): Likewise.
16210 (drem_test_downward): Likewise.
16211 (remainder_upward_test_data): Likewise.
16212 (remainder_test_upward): Likewise.
16213 (drem_test_upward): Likewise.
16214 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16215 (round_test): Use ALL_RM_TEST.
16216 (signbit_test): Likewise.
16217 (trunc_test): Likewise.
16218 (significand_test): Likewise.
16219 (main): Don't call removed functions.
16220
bc61d27c
JM
162212014-03-07 Joseph Myers <joseph@codesourcery.com>
16222
5c780849
JM
16223 [BZ #16674]
16224 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16225 || __USE_XOPEN2K8].
16226 (ILL_ILLOPN): Likewise.
16227 (ILL_ILLADR): Likewise.
16228 (ILL_ILLTRP): Likewise.
16229 (ILL_PRVOPC): Likewise.
16230 (ILL_PRVREG): Likewise.
16231 (ILL_COPROC): Likewise.
16232 (ILL_BADSTK): Likewise.
16233 (FPE_INTDIV): Likewise.
16234 (FPE_INTOVF): Likewise.
16235 (FPE_FLTDIV): Likewise.
16236 (FPE_FLTOVF): Likewise.
16237 (FPE_FLTUND): Likewise.
16238 (FPE_FLTRES): Likewise.
16239 (FPE_FLTINV): Likewise.
16240 (FPE_FLTSUB): Likewise.
16241 (SEGV_MAPERR): Likewise.
16242 (SEGV_ACCERR): Likewise.
16243 (BUS_ADRALN): Likewise.
16244 (BUS_ADRERR): Likewise.
16245 (BUS_OBJERR): Likewise.
16246 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16247 (TRAP_TRACE): Likewise.
16248 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16249 __USE_XOPEN2K8].
16250 (CLD_KILLED): Likewise.
16251 (CLD_DUMPED): Likewise.
16252 (CLD_TRAPPED): Likewise.
16253 (CLD_STOPPED): Likewise.
16254 (CLD_CONTINUED): Likewise.
16255 (POLL_IN): Likewise.
16256 (POLL_OUT): Likewise.
16257 (POLL_MSG): Likewise.
16258 (POLL_ERR): Likewise.
16259 (POLL_PRI): Likewise.
16260 (POLL_HUP): Likewise.
16261 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16262 Likewise.
16263 (ILL_ILLOPN): Likewise.
16264 (ILL_ILLADR): Likewise.
16265 (ILL_ILLTRP): Likewise.
16266 (ILL_PRVOPC): Likewise.
16267 (ILL_PRVREG): Likewise.
16268 (ILL_COPROC): Likewise.
16269 (ILL_BADSTK): Likewise.
16270 (FPE_INTDIV): Likewise.
16271 (FPE_INTOVF): Likewise.
16272 (FPE_FLTDIV): Likewise.
16273 (FPE_FLTOVF): Likewise.
16274 (FPE_FLTUND): Likewise.
16275 (FPE_FLTRES): Likewise.
16276 (FPE_FLTINV): Likewise.
16277 (FPE_FLTSUB): Likewise.
16278 (SEGV_MAPERR): Likewise.
16279 (SEGV_ACCERR): Likewise.
16280 (BUS_ADRALN): Likewise.
16281 (BUS_ADRERR): Likewise.
16282 (BUS_OBJERR): Likewise.
16283 (BUS_MCEERR_AR): Likewise.
16284 (BUS_MCEERR_AO): Likewise.
16285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16286 (TRAP_TRACE): Likewise.
16287 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16288 __USE_XOPEN2K8].
16289 (CLD_KILLED): Likewise.
16290 (CLD_DUMPED): Likewise.
16291 (CLD_TRAPPED): Likewise.
16292 (CLD_STOPPED): Likewise.
16293 (CLD_CONTINUED): Likewise.
16294 (POLL_IN): Likewise.
16295 (POLL_OUT): Likewise.
16296 (POLL_MSG): Likewise.
16297 (POLL_ERR): Likewise.
16298 (POLL_PRI): Likewise.
16299 (POLL_HUP): Likewise.
16300 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16301 (ILL_ILLOPN): Likewise.
16302 (ILL_ILLADR): Likewise.
16303 (ILL_ILLTRP): Likewise.
16304 (ILL_PRVOPC): Likewise.
16305 (ILL_PRVREG): Likewise.
16306 (ILL_COPROC): Likewise.
16307 (ILL_BADSTK): Likewise.
16308 (FPE_INTDIV): Likewise.
16309 (FPE_INTOVF): Likewise.
16310 (FPE_FLTDIV): Likewise.
16311 (FPE_FLTOVF): Likewise.
16312 (FPE_FLTUND): Likewise.
16313 (FPE_FLTRES): Likewise.
16314 (FPE_FLTINV): Likewise.
16315 (FPE_FLTSUB): Likewise.
16316 (SEGV_MAPERR): Likewise.
16317 (SEGV_ACCERR): Likewise.
16318 (BUS_ADRALN): Likewise.
16319 (BUS_ADRERR): Likewise.
16320 (BUS_OBJERR): Likewise.
16321 (BUS_MCEERR_AR): Likewise.
16322 (BUS_MCEERR_AO): Likewise.
16323 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16324 (TRAP_TRACE): Likewise.
16325 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16326 __USE_XOPEN2K8].
16327 (CLD_KILLED): Likewise.
16328 (CLD_DUMPED): Likewise.
16329 (CLD_TRAPPED): Likewise.
16330 (CLD_STOPPED): Likewise.
16331 (CLD_CONTINUED): Likewise.
16332 (POLL_IN): Likewise.
16333 (POLL_OUT): Likewise.
16334 (POLL_MSG): Likewise.
16335 (POLL_ERR): Likewise.
16336 (POLL_PRI): Likewise.
16337 (POLL_HUP): Likewise.
16338 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16339 Likewise.
16340 (ILL_ILLOPN): Likewise.
16341 (ILL_ILLADR): Likewise.
16342 (ILL_ILLTRP): Likewise.
16343 (ILL_PRVOPC): Likewise.
16344 (ILL_PRVREG): Likewise.
16345 (ILL_COPROC): Likewise.
16346 (ILL_BADSTK): Likewise.
16347 (ILL_BADIADDR): Likewise.
16348 (ILL_BREAK): Likewise.
16349 (FPE_INTDIV): Likewise.
16350 (FPE_INTOVF): Likewise.
16351 (FPE_FLTDIV): Likewise.
16352 (FPE_FLTOVF): Likewise.
16353 (FPE_FLTUND): Likewise.
16354 (FPE_FLTRES): Likewise.
16355 (FPE_FLTINV): Likewise.
16356 (FPE_FLTSUB): Likewise.
16357 (FPE_DECOVF): Likewise.
16358 (FPE_DECDIV): Likewise.
16359 (FPE_DECERR): Likewise.
16360 (FPE_INVASC): Likewise.
16361 (FPE_INVDEC): Likewise.
16362 (SEGV_MAPERR): Likewise.
16363 (SEGV_ACCERR): Likewise.
16364 (SEGV_PSTKOVF): Likewise.
16365 (BUS_ADRALN): Likewise.
16366 (BUS_ADRERR): Likewise.
16367 (BUS_OBJERR): Likewise.
16368 (BUS_MCEERR_AR): Likewise.
16369 (BUS_MCEERR_AO): Likewise.
16370 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16371 (TRAP_TRACE): Likewise.
16372 (TRAP_BRANCH): Likewise.
16373 (TRAP_HWBKPT): Likewise.
16374 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16375 __USE_XOPEN2K8].
16376 (CLD_KILLED): Likewise.
16377 (CLD_DUMPED): Likewise.
16378 (CLD_TRAPPED): Likewise.
16379 (CLD_STOPPED): Likewise.
16380 (CLD_CONTINUED): Likewise.
16381 (POLL_IN): Likewise.
16382 (POLL_OUT): Likewise.
16383 (POLL_MSG): Likewise.
16384 (POLL_ERR): Likewise.
16385 (POLL_PRI): Likewise.
16386 (POLL_HUP): Likewise.
16387 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16388 (ILL_ILLOPN): Likewise.
16389 (ILL_ILLADR): Likewise.
16390 (ILL_ILLTRP): Likewise.
16391 (ILL_PRVOPC): Likewise.
16392 (ILL_PRVREG): Likewise.
16393 (ILL_COPROC): Likewise.
16394 (ILL_BADSTK): Likewise.
16395 (FPE_INTDIV): Likewise.
16396 (FPE_INTOVF): Likewise.
16397 (FPE_FLTDIV): Likewise.
16398 (FPE_FLTOVF): Likewise.
16399 (FPE_FLTUND): Likewise.
16400 (FPE_FLTRES): Likewise.
16401 (FPE_FLTINV): Likewise.
16402 (FPE_FLTSUB): Likewise.
16403 (SEGV_MAPERR): Likewise.
16404 (SEGV_ACCERR): Likewise.
16405 (BUS_ADRALN): Likewise.
16406 (BUS_ADRERR): Likewise.
16407 (BUS_OBJERR): Likewise.
16408 (BUS_MCEERR_AR): Likewise.
16409 (BUS_MCEERR_AO): Likewise.
16410 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16411 (TRAP_TRACE): Likewise.
16412 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16413 __USE_XOPEN2K8].
16414 (CLD_KILLED): Likewise.
16415 (CLD_DUMPED): Likewise.
16416 (CLD_TRAPPED): Likewise.
16417 (CLD_STOPPED): Likewise.
16418 (CLD_CONTINUED): Likewise.
16419 (POLL_IN): Likewise.
16420 (POLL_OUT): Likewise.
16421 (POLL_MSG): Likewise.
16422 (POLL_ERR): Likewise.
16423 (POLL_PRI): Likewise.
16424 (POLL_HUP): Likewise.
16425 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16426 (ILL_ILLOPN): Likewise.
16427 (ILL_ILLADR): Likewise.
16428 (ILL_ILLTRP): Likewise.
16429 (ILL_PRVOPC): Likewise.
16430 (ILL_PRVREG): Likewise.
16431 (ILL_COPROC): Likewise.
16432 (ILL_BADSTK): Likewise.
16433 (FPE_INTDIV): Likewise.
16434 (FPE_INTOVF): Likewise.
16435 (FPE_FLTDIV): Likewise.
16436 (FPE_FLTOVF): Likewise.
16437 (FPE_FLTUND): Likewise.
16438 (FPE_FLTRES): Likewise.
16439 (FPE_FLTINV): Likewise.
16440 (FPE_FLTSUB): Likewise.
16441 (SEGV_MAPERR): Likewise.
16442 (SEGV_ACCERR): Likewise.
16443 (BUS_ADRALN): Likewise.
16444 (BUS_ADRERR): Likewise.
16445 (BUS_OBJERR): Likewise.
16446 (BUS_MCEERR_AR): Likewise.
16447 (BUS_MCEERR_AO): Likewise.
16448 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16449 (TRAP_TRACE): Likewise.
16450 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16451 __USE_XOPEN2K8].
16452 (CLD_KILLED): Likewise.
16453 (CLD_DUMPED): Likewise.
16454 (CLD_TRAPPED): Likewise.
16455 (CLD_STOPPED): Likewise.
16456 (CLD_CONTINUED): Likewise.
16457 (POLL_IN): Likewise.
16458 (POLL_OUT): Likewise.
16459 (POLL_MSG): Likewise.
16460 (POLL_ERR): Likewise.
16461 (POLL_PRI): Likewise.
16462 (POLL_HUP): Likewise.
16463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16464 (ILL_ILLOPN): Likewise.
16465 (ILL_ILLADR): Likewise.
16466 (ILL_ILLTRP): Likewise.
16467 (ILL_PRVOPC): Likewise.
16468 (ILL_PRVREG): Likewise.
16469 (ILL_COPROC): Likewise.
16470 (ILL_BADSTK): Likewise.
16471 (FPE_INTDIV): Likewise.
16472 (FPE_INTOVF): Likewise.
16473 (FPE_FLTDIV): Likewise.
16474 (FPE_FLTOVF): Likewise.
16475 (FPE_FLTUND): Likewise.
16476 (FPE_FLTRES): Likewise.
16477 (FPE_FLTINV): Likewise.
16478 (FPE_FLTSUB): Likewise.
16479 (SEGV_MAPERR): Likewise.
16480 (SEGV_ACCERR): Likewise.
16481 (BUS_ADRALN): Likewise.
16482 (BUS_ADRERR): Likewise.
16483 (BUS_OBJERR): Likewise.
16484 (BUS_MCEERR_AR): Likewise.
16485 (BUS_MCEERR_AO): Likewise.
16486 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16487 (TRAP_TRACE): Likewise.
16488 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16489 __USE_XOPEN2K8].
16490 (CLD_KILLED): Likewise.
16491 (CLD_DUMPED): Likewise.
16492 (CLD_TRAPPED): Likewise.
16493 (CLD_STOPPED): Likewise.
16494 (CLD_CONTINUED): Likewise.
16495 (POLL_IN): Likewise.
16496 (POLL_OUT): Likewise.
16497 (POLL_MSG): Likewise.
16498 (POLL_ERR): Likewise.
16499 (POLL_PRI): Likewise.
16500 (POLL_HUP): Likewise.
16501 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16502 (ILL_ILLOPN): Likewise.
16503 (ILL_ILLADR): Likewise.
16504 (ILL_ILLTRP): Likewise.
16505 (ILL_PRVOPC): Likewise.
16506 (ILL_PRVREG): Likewise.
16507 (ILL_COPROC): Likewise.
16508 (ILL_BADSTK): Likewise.
16509 (ILL_DBLFLT): Likewise.
16510 (ILL_HARDWALL): Likewise.
16511 (FPE_INTDIV): Likewise.
16512 (FPE_INTOVF): Likewise.
16513 (FPE_FLTDIV): Likewise.
16514 (FPE_FLTOVF): Likewise.
16515 (FPE_FLTUND): Likewise.
16516 (FPE_FLTRES): Likewise.
16517 (FPE_FLTINV): Likewise.
16518 (FPE_FLTSUB): Likewise.
16519 (SEGV_MAPERR): Likewise.
16520 (SEGV_ACCERR): Likewise.
16521 (BUS_ADRALN): Likewise.
16522 (BUS_ADRERR): Likewise.
16523 (BUS_OBJERR): Likewise.
16524 (BUS_MCEERR_AR): Likewise.
16525 (BUS_MCEERR_AO): Likewise.
16526 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16527 (TRAP_TRACE): Likewise.
16528 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16529 __USE_XOPEN2K8].
16530 (CLD_KILLED): Likewise.
16531 (CLD_DUMPED): Likewise.
16532 (CLD_TRAPPED): Likewise.
16533 (CLD_STOPPED): Likewise.
16534 (CLD_CONTINUED): Likewise.
16535 (POLL_IN): Likewise.
16536 (POLL_OUT): Likewise.
16537 (POLL_MSG): Likewise.
16538 (POLL_ERR): Likewise.
16539 (POLL_PRI): Likewise.
16540 (POLL_HUP): Likewise.
16541 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16542 (ILL_ILLOPN): Likewise.
16543 (ILL_ILLADR): Likewise.
16544 (ILL_ILLTRP): Likewise.
16545 (ILL_PRVOPC): Likewise.
16546 (ILL_PRVREG): Likewise.
16547 (ILL_COPROC): Likewise.
16548 (ILL_BADSTK): Likewise.
16549 (FPE_INTDIV): Likewise.
16550 (FPE_INTOVF): Likewise.
16551 (FPE_FLTDIV): Likewise.
16552 (FPE_FLTOVF): Likewise.
16553 (FPE_FLTUND): Likewise.
16554 (FPE_FLTRES): Likewise.
16555 (FPE_FLTINV): Likewise.
16556 (FPE_FLTSUB): Likewise.
16557 (SEGV_MAPERR): Likewise.
16558 (SEGV_ACCERR): Likewise.
16559 (BUS_ADRALN): Likewise.
16560 (BUS_ADRERR): Likewise.
16561 (BUS_OBJERR): Likewise.
16562 (BUS_MCEERR_AR): Likewise.
16563 (BUS_MCEERR_AO): Likewise.
16564 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16565 (TRAP_TRACE): Likewise.
16566 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16567 __USE_XOPEN2K8].
16568 (CLD_KILLED): Likewise.
16569 (CLD_DUMPED): Likewise.
16570 (CLD_TRAPPED): Likewise.
16571 (CLD_STOPPED): Likewise.
16572 (CLD_CONTINUED): Likewise.
16573 (POLL_IN): Likewise.
16574 (POLL_OUT): Likewise.
16575 (POLL_MSG): Likewise.
16576 (POLL_ERR): Likewise.
16577 (POLL_PRI): Likewise.
16578 (POLL_HUP): Likewise.
16579 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16580 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16581
bc61d27c
JM
16582 [BZ #16670]
16583 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16584 before #include of <time.h>.
16585 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16586 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16587 (test-xfail-UNIX98/sched.h/conform): Likewise.
16588
302949e2
MS
165892014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16590
16591 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16592 error absence of trapping exception support.
16593 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16594
a00f522a
JM
165952014-03-07 Joseph Myers <joseph@codesourcery.com>
16596
6f99f280
JM
16597 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16598 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16599 * timezone/Makefile (testdata): Move definition above include of
16600 Rules.
16601 (test-zones): New variable.
16602 (tests-special): Add zone files.
16603 (build-testdata): Use $(evaluate-test).
16604
0b20a9e8
JM
16605 * elf/Makefile (tests-special): Rename tests to end with .out.
16606 ($(objpfx)noload-mem): Likewise.
16607 ($(objpfx)tst-leaks1-mem): Likewise.
16608 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16609 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16610 $(objpfx)test-iconvconfig.out.
16611 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16612 set -e inside subshell and redirect output to file.
16613 * iconvdata/Makefile (generated): Rename tests to end with .out.
16614 Correct type.
16615 (tests-special): Rename tests to end with .out.
16616 ($(objpfx)mtrace-tst-loading): Likewise.
16617 * intl/Makefile (generated): Likewise.
16618 (tests-special): Likewise.
16619 ($(objpfx)mtrace-tst-gettext): Likewise.
16620 * misc/Makefile (generated): Likewise.
16621 (tests-special): Likewise.
16622 ($(objpfx)tst-error1-mem): Likewise.
16623 * nptl/Makefile (tests-special): Likewise.
16624 ($(objpfx)tst-stack3-mem): Likewise.
16625 (generated): Likewise.
16626 * posix/Makefile (generated): Likewise.
16627 (tests-special): Likewise.
16628 (xtests-special): Likewise.
16629 ($(objpfx)tst-fnmatch-mem): Likewise.
16630 ($(objpfx)bug-regex2-mem): Likewise.
16631 ($(objpfx)bug-regex14-mem): Likewise.
16632 ($(objpfx)bug-regex21-mem): Likewise.
16633 ($(objpfx)bug-regex31-mem): Likewise.
16634 ($(objpfx)tst-vfork3-mem): Likewise.
16635 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16636 ($(objpfx)tst-pcre-mem): Likewise.
16637 ($(objpfx)tst-boost-mem): Likewise.
16638 ($(objpfx)bug-ga2-mem): Likewise.
16639 ($(objpfx)bug-glob2-mem): Likewise.
16640 * resolv/Makefile (generate): Likewise.
16641 (tests-special): Likewise.
16642 (xtests-special): Likewise.
16643 (generated): Likewise.
16644 ($(objpfx)mtrace-tst-leaks): Likewise.
16645 ($(objpfx)mtrace-tst-leaks2): Likewise.
16646
265d52ab
JM
16647 * scripts/merge-test-results.sh: New file.
16648 * Makefile (tests-special-notdir): New variable.
16649 (tests): Run merge-test-results.sh.
16650 (xtests): Likewise.
16651 * Rules (tests-special-notdir): New variable.
16652 (xtests-special-notdir): Likewise.
16653 (tests): Run merge-test-results.sh
16654 (xtests): Likewise.
16655
54ee292d
JM
16656 * Makeconfig (test-xfail-name): New variable.
16657 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16658 compute variable name for expected failures.
16659 * conform/Makefile (conformtest-headers-data): New variable.
16660 (conformtest-standards): Likewise.
16661 (conformtest-headers-ISO): Likewise.
16662 (conformtest-headers-ISO99): Likewise.
16663 (conformtest-headers-ISO11): Likewise.
16664 (conformtest-headers-POSIX): Likewise.
16665 (conformtest-headers-XPG3): Likewise.
16666 (conformtest-headers-XPG4): Likewise.
16667 (conformtest-headers-UNIX98): Likewise.
16668 (conformtest-headers-XOPEN2K): Likewise.
16669 (conformtest-headers-POSIX2008): Likewise.
16670 (conformtest-headers-XOPEN2K8): Likewise.
16671 (conformtest-header-list-base): Likewise.
16672 (conformtest-header-list-tests): Likewise.
16673 (conformtest-header-base): Likewise.
16674 (conformtest-header-tests): Likewise.
16675 (tests-special): Add $(conformtest-header-list-tests). If
16676 [$(fast-check) && !$(cross-compiling)], add
16677 $(conformtest-header-tests) instead of
16678 $(objpfx)run-conformtest.out.
16679 (generated): Add $(conformtest-header-list-base). If
16680 [$(fast-check) && !$(cross-compiling)], add
16681 $(conformtest-header-base). Remove previous setting.
16682 ($(conformtest-header-list-tests)): New target.
16683 (test-xfail-run-conformtest): Remove variable.
16684 ($(objpfx)run-conformtest.out): Remove target.
16685 (test-xfail-ISO11/complex.h/conform): New variable.
16686 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16687 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16688 (test-xfail-XPG3/varargs.h/conform): Likewise.
16689 (test-xfail-XPG4/varargs.h/conform): Likewise.
16690 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16691 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16692 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16693 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16694 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16695 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16696 (test-xfail-XPG3/ftw.h/conform): Likewise.
16697 (test-xfail-XPG3/grp.h/conform): Likewise.
16698 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16699 (test-xfail-XPG3/limits.h/conform): Likewise.
16700 (test-xfail-XPG3/pwd.h/conform): Likewise.
16701 (test-xfail-XPG3/search.h/conform): Likewise.
16702 (test-xfail-XPG3/signal.h/conform): Likewise.
16703 (test-xfail-XPG3/stdio.h/conform): Likewise.
16704 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16705 (test-xfail-XPG3/string.h/conform): Likewise.
16706 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16707 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16708 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16709 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16710 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16711 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16712 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16713 (test-xfail-XPG3/termios.h/conform): Likewise.
16714 (test-xfail-XPG3/time.h/conform): Likewise.
16715 (test-xfail-XPG3/unistd.h/conform): Likewise.
16716 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16717 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16718 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16719 (test-xfail-XPG4/netdb.h/conform): Likewise.
16720 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16721 (test-xfail-XPG4/signal.h/conform): Likewise.
16722 (test-xfail-XPG4/stdio.h/conform): Likewise.
16723 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16724 (test-xfail-XPG4/stropts.h/conform): Likewise.
16725 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16726 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16727 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16728 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16729 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16730 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16731 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16732 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16733 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16734 (test-xfail-XPG4/termios.h/conform): Likewise.
16735 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16736 (test-xfail-XPG4/unistd.h/conform): Likewise.
16737 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16738 (test-xfail-POSIX/sched.h/conform): Likewise.
16739 (test-xfail-POSIX/signal.h/conform): Likewise.
16740 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16741 (test-xfail-POSIX/tar.h/conform): Likewise.
16742 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16743 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16744 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16745 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16746 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16747 (test-xfail-UNIX98/sched.h/conform): Likewise.
16748 (test-xfail-UNIX98/signal.h/conform): Likewise.
16749 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16750 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16751 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16752 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16753 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16754 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16755 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16756 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16757 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16758 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16759 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16760 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16761 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16762 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16763 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16764 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16765 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16766 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16767 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16768 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16769 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16770 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16771 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16772 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16773 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16774 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16775 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16776 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16777 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16778 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16779 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16780 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16781 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16782 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16783 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16784 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16785 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16786 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16787 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16788 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16789 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16790 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16791 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16792 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16793 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16794 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16795 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16796 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16797 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16798 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16799 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16800 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16801 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16802 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16803 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16804 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16805 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16806 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16807 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16808 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16809 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16810 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16811 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16812 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16813 (conformtest-cc-flags): Likewise.
16814 ($(conformtest-header-tests): New target.
16815 * conform/check-header-lists.sh: New file.
16816 * conform/run-conformtest.sh: Remove.
16817
a00f522a
JM
16818 * conform/conformtest.pl: Allow ' and \ in values given for
16819 constants.
16820 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16821 inclusion.
16822 [POSIX] (sys/types.h): Likewise.
16823 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16824 inclusion.
16825 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16826 inclusion.
16827 * conform/data/signal.h-data (SIGIO): Remove expectation.
16828 [XPG3] (SIGBUS): Do not expect.
16829 [POSIX || XPG3] (SIGPOLL): Likewise.
16830 [POSIX || XPG3] (SIGPROF): Likewise.
16831 [POSIX || XPG3] (SIGSYS): Likewise.
16832 [XPG3] (SIGTRAP): Likewise.
16833 [POSIX || XPG3] (SIGURG): Likewise.
16834 [POSIX || XPG3] (SIGVTALRM): Likewise.
16835 [POSIX || XPG3] (SIGXCPU): Likewise.
16836 [POSIX || XPG3] (SIGXFSZ): Likewise.
16837 [POSIX] (SA_SIGINFO): Expect.
16838 [XPG3] (siginfo_t): Do not expect type or contents.
16839 [POSIX] (si_pid): Do not expect element.
16840 [POSIX] (si_uid): Likewise.
16841 [POSIX] (si_addr): Likewise.
16842 [POSIX] (si_status): Likewise.
16843 [POSIX] (si_band): Likewise.
16844 [XPG4] (si_value): Likewise.
16845 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16846 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16847 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16848 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16849 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16850 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16851 [POSIX || XPG3] (ILL_COPROC): Likewise.
16852 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16853 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16854 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16855 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16856 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16857 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16858 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16859 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16860 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16861 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16862 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16863 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16864 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16865 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16866 [POSIX || XPG3] (CLD_EXITED): Likewise.
16867 [POSIX || XPG3] (CLD_KILLED): Likewise.
16868 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16869 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16870 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16871 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16872 [POSIX || XPG3] (POLL_IN): Likewise.
16873 [POSIX || XPG3] (POLL_OUT): Likewise.
16874 [POSIX || XPG3] (POLL_MSG): Likewise.
16875 [POSIX || XPG3] (POLL_ERR): Likewise.
16876 [POSIX || XPG3] (POLL_PRI): Likewise.
16877 [POSIX || XPG3] (POLL_HUP): Likewise.
16878 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16879 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16880 (SIG*): Do not allow.
16881 [XPG3] (si_*): Likewise.
16882 [XPG3] (SI_*): Likewise.
16883 [XPG3 || XPG4] (sigev_*): Likewise.
16884 [XPG3 || XPG4] (SIGEV_*): Likewise.
16885 [XPG3 || XPG4] (sival_*): Likewise.
16886 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16887 [POSIX || XPG3] (BUS_*): Likewise.
16888 [POSIX || XPG3] (CLD_*): Likewise.
16889 [POSIX || XPG3] (FPE_*): Likewise.
16890 [POSIX || XPG3] (ILL_*): Likewise.
16891 [POSIX || XPG3] (POLL_*): Likewise.
16892 [POSIX || XPG3] (SEGV_*): Likewise.
16893 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16894 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16895 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16896 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16897 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16898 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16899 Specify type and value.
16900 (TVERSLEN): Likewise.
16901 (REGTYPE): Likewise.
16902 (AREGTYPE): Likewise.
16903 (LNKTYPE): Likewise.
16904 (SYMTYPE): Likewise.
16905 (CHRTYPE): Likewise.
16906 (BLKTYPE): Likewise.
16907 (DIRTYPE): Likewise.
16908 (FIFOTYPE): Likewise.
16909 (CONTTYPE): Likewise.
16910 (TSUID): Likewise.
16911 (TSGID): Likewise.
16912 (TSVTX): Likewise.
16913 (TUREAD): Likewise.
16914 (TUWRITE): Likewise.
16915 (TUEXEC): Likewise.
16916 (TGREAD): Likewise.
16917 (TGWRITE): Likewise.
16918 (TGEXEC): Likewise.
16919 (TOREAD): Likewise.
16920 (TOWRITE): Likewise.
16921 (TOEXEC): Likewise.
16922 [POSIX] (TSVTX): Expect constant.
16923
aa97dee1
JM
169242014-03-06 Joseph Myers <joseph@codesourcery.com>
16925
f214606a
JM
16926 * Makefile (tests): Change dependencies to ....
16927 (tests-special): ... additions to this variable.
16928 (tests): Depend on $(tests-special).
16929 * Makerules (check-abi-list): New variable.
16930 (check-abi): Depend on $(check-abi-list).
16931 [$(subdir) = elf] (tests-special): Add
16932 $(objpfx)check-abi-libc.out.
16933 [$(build-shared) = yes && subdir] (tests-special): Add
16934 $(check-abi-list).
16935 [$(build-shared) = yes && subdir] (tests): Do not depend on
16936 check-abi.
16937 * Rules (tests): Depend on $(tests-special).
16938 (xtests): Depend on $(xtests-special).
16939 * catgets/Makefile (tests): Change dependencies to ....
16940 (tests-special): ... additions to this variable.
16941 * conform/Makefile (tests): Change dependencies to ....
16942 (tests-special): ... additions to this variable.
16943 * elf/Makefile (tests): Change dependencies to ....
16944 (tests-special): ... additions to this variable.
16945 * grp/Makefile (tests): Change dependencies to ....
16946 (tests-special): ... additions to this variable.
16947 * iconv/Makefile (xtests): Change dependencies to ....
16948 (xtests-special): ... additions to this variable.
16949 * iconvdata/Makefile (tests): Change dependencies to ....
16950 (tests-special): ... additions to this variable.
16951 * intl/Makefile (tests): Change dependencies to ....
16952 (tests-special): ... additions to this variable. Also add
16953 $(objpfx)tst-gettext.out.
16954 * io/Makefile (tests): Change dependencies to ....
16955 (tests-special): ... additions to this variable.
16956 * libio/Makefile (tests): Change dependencies to ....
16957 (tests-special): ... additions to this variable.
16958 * malloc/Makefile (tests): Change dependencies to ....
16959 (tests-special): ... additions to this variable.
16960 * misc/Makefile (tests): Change dependencies to ....
16961 (tests-special): ... additions to this variable.
16962 * nptl/Makefile (tests): Change dependencies to ....
16963 (tests-special): ... additions to this variable.
16964 * nptl_db/Makefile (tests): Change dependencies to ....
16965 (tests-special): ... additions to this variable.
16966 * posix/Makefile (tests): Change dependencies to ....
16967 (tests-special): ... additions to this variable.
16968 (xtests): Change dependencies to ....
16969 (xtests-special): ... additions to this variable.
16970 * resolv/Makefile (tests): Change dependencies to ....
16971 (tests-special): ... additions to this variable.
16972 (xtests): Change dependencies to ....
16973 (xtests-special): ... additions to this variable.
16974 * stdio-common/Makefile (tests): Change dependencies to ....
16975 (tests-special): ... additions to this variable.
16976 (do-tst-unbputc): Remove target.
16977 (do-tst-printf): Likewise.
16978 * stdlib/Makefile (tests): Change dependencies to ....
16979 (tests-special): ... additions to this variable.
16980 * string/Makefile (tests): Change dependencies to ....
16981 (tests-special): ... additions to this variable.
16982 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16983 (tests-special): ... additions to this variable.
16984
81700b53
JM
16985 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16986 whole file.
16987 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16988 whole file.
16989 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16990 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16991
2ea18461
JM
16992 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16993 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16994 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16995 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16996 * conform/data/libgen.h-data [XPG3]: Likewise.
16997 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16998 * conform/data/ndbm.h-data [XPG3]: Likewise.
16999 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17000 * conform/data/netdb.h-data [XPG3]: Likewise.
17001 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17002 * conform/data/poll.h-data [XPG3]: Likewise.
17003 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17004 * conform/data/strings.h-data [XPG3]: Likewise.
17005 * conform/data/stropts.h-data [XPG3]: Likewise.
17006 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17007 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17008 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17009 Likewise.
17010 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17011 * conform/data/sys/time.h-data [XPG3]: Likewise.
17012 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17013 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17014 * conform/data/sys/un.h-data [XPG3]: Likewise.
17015 * conform/data/syslog.h-data [XPG3]: Likewise.
17016 * conform/data/ucontext.h-data [XPG3]: Likewise.
17017 * conform/data/utmpx.h-data [XPG3]: Likewise.
17018 * conform/data/varargs.h-data [UNIX98]: Enable file.
17019
355bc986
JM
17020 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17021
215db402
JM
17022 * math/libm-test.inc (struct test_f_f_data): Move expected results
17023 into structure for each rounding mode.
17024 (struct test_ff_f_data): Likewise.
17025 (struct test_ff_f_data_nexttoward): Likewise.
17026 (struct test_fi_f_data): Likewise.
17027 (struct test_fl_f_data): Likewise.
17028 (struct test_if_f_data): Likewise.
17029 (struct test_fff_f_data): Likewise.
17030 (struct test_c_f_data): Likewise.
17031 (struct test_f_f1_data): Likewise.
17032 (struct test_fF_f1_data): Likewise.
17033 (struct test_ffI_f1_data): Likewise.
17034 (struct test_c_c_data): Likewise.
17035 (struct test_cc_c_data): Likewise.
17036 (struct test_f_i_data): Likewise.
17037 (struct test_ff_i_data): Likewise.
17038 (struct test_f_l_data): Likewise.
17039 (struct test_f_L_data): Likewise.
17040 (struct test_fFF_11_data): Likewise.
17041 (RM_): New macro.
17042 (RM_FE_DOWNWARD): Likewise.
17043 (RM_FE_TONEAREST): Likewise.
17044 (RM_FE_TOWARDZERO): Likewise.
17045 (RM_FE_UPWARD): Likewise.
17046 (RUN_TEST_LOOP_f_f): Update references to expected results.
17047 (RUN_TEST_LOOP_2_f): Likewise.
17048 (RUN_TEST_LOOP_fff_f): Likewise.
17049 (RUN_TEST_LOOP_c_f): Likewise.
17050 (RUN_TEST_LOOP_f_f1): Likewise.
17051 (RUN_TEST_LOOP_fF_f1): Likewise.
17052 (RUN_TEST_LOOP_fI_f1): Likewise.
17053 (RUN_TEST_LOOP_ffI_f1): Likewise.
17054 (RUN_TEST_LOOP_c_c): Likewise.
17055 (RUN_TEST_LOOP_cc_c): Likewise.
17056 (RUN_TEST_LOOP_f_i): Likewise.
17057 (RUN_TEST_LOOP_f_i_tg): Likewise.
17058 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17059 (RUN_TEST_LOOP_f_b): Likewise.
17060 (RUN_TEST_LOOP_f_b_tg): Likewise.
17061 (RUN_TEST_LOOP_f_l): Likewise.
17062 (RUN_TEST_LOOP_f_L): Likewise.
17063 (RUN_TEST_LOOP_fFF_11): Likewise.
17064 * math/gen-libm-test.pl (parse_args): Output four copies of
17065 expected results for each test.
17066
67737b8f
JM
17067 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17068 (__ASSUME_UTIMES): Remove.
17069 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17070 (__ASSUME_UTIMES): Likewise.
17071
aa97dee1
JM
17072 * math/gen-auto-libm-tests.c: Update comment on output format.
17073 (output_for_one_input_case): Generate before-rounding and
17074 after-rounding information as conditions on output flags not
17075 floating-point format.
17076 * math/auto-libm-test-out: Regenerated.
17077 * math/gen-libm-test.pl (cond_value): New function.
17078 (or_cond_value): Use cond_value.
17079 (generate_testfile): Handle conditional exceptions.
17080
e6b6a857
JM
170812014-03-05 Joseph Myers <joseph@codesourcery.com>
17082
2f0a0f44
JM
17083 * math/libm-test.inc (max_valid_error): New variable.
17084 (init_max_error): Take new argument specifying whether function
17085 results are exactly determined. Set max_valid_error and bound
17086 other variables for errors based on this argument.
17087 (set_max_error): Do not record results above max_valid_error.
17088 (check_float_internal): Only accept errors of up to 0.5ulps if
17089 also at most max_valid_error.
17090 (START): Take new argument EXACT and pass it to init_max_error.
17091 (acos_test): Update call to START.
17092 (acos_test_tonearest): Likewise.
17093 (acos_test_towardzero): Likewise.
17094 (acos_test_downward): Likewise.
17095 (acos_test_upward): Likewise.
17096 (acosh_test): Likewise.
17097 (asin_test): Likewise.
17098 (asin_test_tonearest): Likewise.
17099 (asin_test_towardzero): Likewise.
17100 (asin_test_downward): Likewise.
17101 (asin_test_upward): Likewise.
17102 (asinh_test): Likewise.
17103 (atan_test): Likewise.
17104 (atanh_test): Likewise.
17105 (atan2_test): Likewise.
17106 (cabs_test): Likewise.
17107 (cacos_test): Likewise.
17108 (cacosh_test): Likewise.
17109 (carg_test): Likewise.
17110 (casin_test): Likewise.
17111 (casinh_test): Likewise.
17112 (catan_test): Likewise.
17113 (catanh_test): Likewise.
17114 (cbrt_test): Likewise.
17115 (ccos_test): Likewise.
17116 (ccosh_test): Likewise.
17117 (ceil_test): Likewise.
17118 (cexp_test): Likewise.
17119 (cimag_test): Likewise.
17120 (clog_test): Likewise.
17121 (clog10_test): Likewise.
17122 (conj_test): Likewise.
17123 (copysign_test): Likewise.
17124 (cos_test): Likewise.
17125 (cos_test_tonearest): Likewise.
17126 (cos_test_towardzero): Likewise.
17127 (cos_test_downward): Likewise.
17128 (cos_test_upward): Likewise.
17129 (cosh_test): Likewise.
17130 (cosh_test_tonearest): Likewise.
17131 (cosh_test_towardzero): Likewise.
17132 (cosh_test_downward): Likewise.
17133 (cosh_test_upward): Likewise.
17134 (cpow_test): Likewise.
17135 (cproj_test): Likewise.
17136 (creal_test): Likewise.
17137 (csin_test): Likewise.
17138 (csinh_test): Likewise.
17139 (csqrt_test): Likewise.
17140 (ctan_test): Likewise.
17141 (ctan_test_tonearest): Likewise.
17142 (ctan_test_towardzero): Likewise.
17143 (ctan_test_downward): Likewise.
17144 (ctan_test_upward): Likewise.
17145 (ctanh_test): Likewise.
17146 (ctanh_test_tonearest): Likewise.
17147 (ctanh_test_towardzero): Likewise.
17148 (ctanh_test_downward): Likewise.
17149 (ctanh_test_upward): Likewise.
17150 (erf_test): Likewise.
17151 (erfc_test): Likewise.
17152 (exp_test): Likewise.
17153 (exp_test_tonearest): Likewise.
17154 (exp_test_towardzero): Likewise.
17155 (exp_test_downward): Likewise.
17156 (exp_test_upward): Likewise.
17157 (exp10_test): Likewise.
17158 (exp10_test_tonearest): Likewise.
17159 (exp10_test_towardzero): Likewise.
17160 (exp10_test_downward): Likewise.
17161 (exp10_test_upward): Likewise.
17162 (pow10_test): Likewise.
17163 (exp2_test): Likewise.
17164 (expm1_test): Likewise.
17165 (expm1_test_tonearest): Likewise.
17166 (expm1_test_towardzero): Likewise.
17167 (expm1_test_downward): Likewise.
17168 (expm1_test_upward): Likewise.
17169 (fabs_test): Likewise.
17170 (fdim_test): Likewise.
17171 (floor_test): Likewise.
17172 (fma_test): Likewise.
17173 (fma_test_towardzero): Likewise.
17174 (fma_test_downward): Likewise.
17175 (fma_test_upward): Likewise.
17176 (fmax_test): Likewise.
17177 (fmin_test): Likewise.
17178 (fmod_test): Likewise.
17179 (fpclassify_test): Likewise.
17180 (frexp_test): Likewise.
17181 (hypot_test): Likewise.
17182 (ilogb_test): Likewise.
17183 (isfinite_test): Likewise.
17184 (finite_test): Likewise.
17185 (isgreater_test): Likewise.
17186 (isgreaterequal_test): Likewise.
17187 (isinf_test): Likewise.
17188 (isless_test): Likewise.
17189 (islessequal_test): Likewise.
17190 (islessgreater_test): Likewise.
17191 (isnan_test): Likewise.
17192 (isnormal_test): Likewise.
17193 (issignaling_test): Likewise.
17194 (isunordered_test): Likewise.
17195 (j0_test): Likewise.
17196 (j1_test): Likewise.
17197 (jn_test): Likewise.
17198 (ldexp_test): Likewise.
17199 (lgamma_test): Likewise.
17200 (gamma_test): Likewise.
17201 (lrint_test): Likewise.
17202 (lrint_test_tonearest): Likewise.
17203 (lrint_test_towardzero): Likewise.
17204 (lrint_test_downward): Likewise.
17205 (lrint_test_upward): Likewise.
17206 (llrint_test): Likewise.
17207 (llrint_test_tonearest): Likewise.
17208 (llrint_test_towardzero): Likewise.
17209 (llrint_test_downward): Likewise.
17210 (llrint_test_upward): Likewise.
17211 (log_test): Likewise.
17212 (log10_test): Likewise.
17213 (log1p_test): Likewise.
17214 (log2_test): Likewise.
17215 (logb_test): Likewise.
17216 (logb_test_downward): Likewise.
17217 (lround_test): Likewise.
17218 (llround_test): Likewise.
17219 (modf_test): Likewise.
17220 (nearbyint_test): Likewise.
17221 (nextafter_test): Likewise.
17222 (nexttoward_test): Likewise.
17223 (pow_test): Likewise.
17224 (pow_test_tonearest): Likewise.
17225 (pow_test_towardzero): Likewise.
17226 (pow_test_downward): Likewise.
17227 (pow_test_upward): Likewise.
17228 (remainder_test): Likewise.
17229 (drem_test): Likewise.
17230 (remainder_test_tonearest): Likewise.
17231 (drem_test_tonearest): Likewise.
17232 (remainder_test_towardzero): Likewise.
17233 (drem_test_towardzero): Likewise.
17234 (remainder_test_downward): Likewise.
17235 (drem_test_downward): Likewise.
17236 (remainder_test_upward): Likewise.
17237 (drem_test_upward): Likewise.
17238 (remquo_test): Likewise.
17239 (rint_test): Likewise.
17240 (rint_test_tonearest): Likewise.
17241 (rint_test_towardzero): Likewise.
17242 (rint_test_downward): Likewise.
17243 (rint_test_upward): Likewise.
17244 (round_test): Likewise.
17245 (scalb_test): Likewise.
17246 (scalbn_test): Likewise.
17247 (scalbln_test): Likewise.
17248 (signbit_test): Likewise.
17249 (sin_test): Likewise.
17250 (sin_test_tonearest): Likewise.
17251 (sin_test_towardzero): Likewise.
17252 (sin_test_downward): Likewise.
17253 (sin_test_upward): Likewise.
17254 (sincos_test): Likewise.
17255 (sinh_test): Likewise.
17256 (sinh_test_tonearest): Likewise.
17257 (sinh_test_towardzero): Likewise.
17258 (sinh_test_downward): Likewise.
17259 (sinh_test_upward): Likewise.
17260 (sqrt_test): Likewise.
17261 (sqrt_test_tonearest): Likewise.
17262 (sqrt_test_towardzero): Likewise.
17263 (sqrt_test_downward): Likewise.
17264 (sqrt_test_upward): Likewise.
17265 (tan_test): Likewise.
17266 (tan_test_tonearest): Likewise.
17267 (tan_test_towardzero): Likewise.
17268 (tan_test_downward): Likewise.
17269 (tan_test_upward): Likewise.
17270 (tanh_test): Likewise.
17271 (tgamma_test): Likewise.
17272 (trunc_test): Likewise.
17273 (y0_test): Likewise.
17274 (y1_test): Likewise.
17275 (yn_test): Likewise.
17276 (significand_test): Likewise.
17277
e6b6a857
JM
17278 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17279 individual tests in comment.
17280 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17281 (prev_max_error): New variable.
17282 (prev_real_max_error): Likewise.
17283 (prev_imag_max_error): Likewise.
17284 (compare_ulp_data): Don't refer to test names in comment.
17285 (find_test_ulps): Remove function.
17286 (find_function_ulps): Likewise.
17287 (find_complex_function_ulps): Likewise.
17288 (init_max_error): Take function name as argument. Look up ulps
17289 for that function.
17290 (print_ulps): Remove function.
17291 (print_max_error): Use prev_max_error instead of calling
17292 find_function_ulps.
17293 (print_complex_max_error): Use prev_real_max_error and
17294 prev_imag_max_error instead of calling find_complex_function_ulps.
17295 (check_float_internal): Take max_ulp parameter instead of calling
17296 find_test_ulps. Don't call print_ulps.
17297 (check_float): Update call to check_float_internal.
17298 (check_complex): Update calls to check_float_internal.
17299 (START): Pass argument to init_max_error.
17300 * math/gen-libm-test.pl (%results): Don't include "kind"
17301 information.
17302 (parse_ulps): Don't handle ulps of individual tests.
17303 (print_ulps_file): Likewise.
17304 (output_ulps): Likewise.
17305 * math/README.libm-test: Update.
17306 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17307 individual tests.
17308 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17309 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17310 * sysdeps/arm/libm-test-ulps: Likewise.
17311 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17312 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17313 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17314 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17315 * sysdeps/microblaze/libm-test-ulps: Likewise.
17316 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17317 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17318 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17319 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17320 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17321 * sysdeps/sh/libm-test-ulps: Likewise.
17322 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17323 * sysdeps/tile/libm-test-ulps: Likewise.
17324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17325
45adef3c
JM
173262014-03-04 Joseph Myers <joseph@codesourcery.com>
17327
17328 * math/libm-test.inc (print_complex_max_error): Check separately
17329 whether real and imaginary errors are within allowed range and
17330 pass 0 to print_complex_function_ulps instead of value within
17331 allowed range.
17332
000232b9
SP
173332014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17334
d4b17258
SP
17335 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17336 formatting.
17337 (get_handles_fopen): Likewise.
17338 (do_write_test): Likewise.
17339
091eff71
SP
17340 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17341
fa3cd248
SP
17342 * libio/fileops.c (do_ftell): Use cached offset when
17343 available.
17344 * libio/iofwide.c (do_ftell_wide): Likewise.
17345 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17346 _IO_file_attach.
17347 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17348
000232b9
SP
17349 [BZ #16532]
17350 * libio/libioP.h (get_file_offset): New function.
17351 * libio/fileops.c (get_file_offset): Likewise.
17352 (do_ftell): Likewise.
17353 (_IO_new_file_seekoff): Split out ftell logic.
17354 * libio/wfileops.c (do_ftell_wide): Likewise.
17355 (_IO_wfile_seekoff): Split out ftell logic.
17356 * libio/tst-ftell-active-handler.c: New test case.
17357 * libio/Makefile (tests): Add it.
17358
116f4d1a
RM
173592014-03-03 Roland McGrath <roland@hack.frob.com>
17360
17361 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17362 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17363
532a6035
SP
173642014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17365
17366 [BZ #16639]
17367 * nscd/connections.c (nscd_init): Call do_exit.
17368 (start_threads): Call do_exit and notify_parent.
17369 (begin_drop_privileges): Call do_exit.
17370 (finish_drop_privileges): Likewise.
17371 * nscd/selinux.c (preserve_capabilities): Likewise.
17372 (install_real_capabilities): Likewise.
17373 (nscd_selinux_enabled): Likewise.
17374 (avc_create_thread): Likewise.
17375 (avc_alloc_lock): Likewise.
17376 (nscd_avc_init): Likewise.
17377 * nscd/nscd.c (parent_fd): New static variable.
17378 (main): Create a pipe between parent and child processes.
17379 Skip closing parent_fd.
17380 (monitor_child): New function.
17381 (do_exit): Likewise.
17382 (notify_parent): Likewise.
17383 * nscd/nscd.h (notify_parent): Likewise.
17384 (do_exit): Likewise.
17385
d6285c9f
CD
173862014-03-03 Carlos O'Donell <carlos@redhat.com>
17387
17388 * malloc/malloc.c (__libc_calloc): Revert last change.
17389
2b85d2a0
AZ
173902014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17391
17392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17393
c7debbdf
RS
173942014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17395
17396 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17398 implementation.
17399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17400 (__libc_ifunc_impl_list): Likewise.
17401 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17402 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17403 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17404 * string/strrchr.c: Define STRRCHR.
17405
235eed86
OB
174062014-02-28 Ondřej Bílka <neleai@seznam.cz>
17407
17408 * benchtest/bench-strtok.c (simple_strtok): Delete.
17409 (strtok_string): Use as benchmark.
17410 * string/strtok (STRTOK): New macro.
17411
8e25d1e7
CD
174122014-02-28 Carlos O'Donell <carlos@redhat.com>
17413
ef563f92
CD
17414 * manual/threads.texi: Add header and standard comments to all
17415 functions.
17416
8e25d1e7
CD
17417 * elf/dl-lookup.c (check_match): New function.
17418 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17419 (do_lookup_x): Remove nested function check_match. Use non-nested
17420 function check_match.
17421
ff71cc37
RM
174222014-02-28 Roland McGrath <roland@hack.frob.com>
17423
f08e9a26
RM
17424 * csu/Makefile (generated, before-compile): Use += rather than =.
17425 * catgets/Makefile (generated, generated-dirs): Likewise.
17426 * debug/Makefile (generated): Likewise.
17427 * dlfcn/Makefile (generated): Likewise.
17428 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17429 * iconvdata/Makefile (before-compile, generated): Likewise.
17430 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17431 * libio/Makefile (generated): Likewise.
17432 * malloc/Makefile (generated): Likewise.
17433 * manual/Makefile (generated, generated-dirs): Likewise.
17434 * misc/Makefile (generated): Likewise.
17435 * posix/Makefile (generated): Likewise.
17436 * resolv/Makefile (generated): Likewise.
17437 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17438 * timezone/Makefile (generated, generated-dirs): Likewise.
17439
ff71cc37
RM
17440 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17441
fe13a20c
AZ
174422014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17443
57f41c40
AS
17444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17445 power8 implementation.
17446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17447 file: POWER8 llround ifunc implementation.
17448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17449 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17450 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17451 POWER8 llround implementation.
17452
57f41c40
AS
17453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17454 power8 implementation.
17455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17456 file: POWER8 llrint ifunc implementation.
17457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17458 Add POWER8 implementation.
1ad8950a
AZ
17459 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17460 POWER8 llrint implementation.
17461
57f41c40
AS
17462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17463 power8 implementation.
17464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17465 file: POWER8 finite ifunc implementation.
17466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17467 Add POWER8 implementation.
cac626d6
AZ
17468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17469 Likewise.
17470 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17471 POWER8 finite implementation.
17472 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17473
57f41c40
AS
17474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17475 power8 implementation.
17476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17477 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17479 POWER8 implementation.
17480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17481 Likewise.
57f41c40
AS
17482 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17483 isinf implementation.
4393fc11
AZ
17484 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17485
57f41c40
AS
17486 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17487 (INIT_ARCH): Add hwcap2 initialization.
17488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17489 power8 implementation.
17490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17491 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17493 POWER8 implementation.
17494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17495 Likewise.
57f41c40
AS
17496 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17497 isnan implementation.
487972ae
AZ
17498 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17499
7d92b787
JY
175002014-02-27 Joey Ye <joey.ye@arm.com>
17501
17502 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17503 (_FP_NANFRAC_Q): Set to zero.
17504
1cadc858
SP
175052014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17506
17507 [BZ #16623]
17508 * math/auto-libm-test-in: New test inputs.
17509 * math/auto-libm-test-out: Regenerate.
17510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17511 and DA.
17512 (__cos): Likewise.
17513 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17514
f8c17e79
JM
175152014-02-27 Joseph Myers <joseph@codesourcery.com>
17516
17517 * scripts/evaluate-test.sh: Take new argument indicating whether
17518 failure is expected.
17519 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17520 indicating whether failure is expected.
17521 * conform/Makefile (test-xfail-run-conformtest): New variable.
17522 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17523 level.
17524 * posix/Makefile (test-xfail-annexc): New variable.
17525 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17526
a5f891ac
JM
175272014-02-26 Joseph Myers <joseph@codesourcery.com>
17528
17529 * argp/Makefile: Include Makeconfig immediately after defining
17530 subdir.
17531 * assert/Makefile: Likewise.
17532 * benchtests/Makefile: Likewise.
17533 * catgets/Makefile: Likewise.
17534 * conform/Makefile: Likewise.
17535 * crypt/Makefile: Likewise.
17536 * csu/Makefile: Likewise.
17537 (all): Remove target.
17538 * ctype/Makefile: Include Makeconfig immediately after defining
17539 subdir.
17540 * debug/Makefile: Likewise.
17541 * dirent/Makefile: Likewise.
17542 * dlfcn/Makefile: Likewise.
17543 * gmon/Makefile: Likewise.
17544 * gnulib/Makefile: Likewise.
17545 * grp/Makefile: Likewise.
17546 * gshadow/Makefile: Likewise.
17547 * hesiod/Makefile: Likewise.
17548 * hurd/Makefile: Likewise.
17549 (all): Remove target.
17550 * iconvdata/Makefile: Include Makeconfig immediately after
17551 defining subdir.
17552 * inet/Makefile: Likewise.
17553 * intl/Makefile: Likewise.
17554 * io/Makefile: Likewise.
17555 * libio/Makefile: Likewise.
17556 (all): Remove target.
17557 * locale/Makefile: Include Makeconfig immediately after defining
17558 subdir.
17559 * login/Makefile: Likewise.
17560 * mach/Makefile: Likewise.
17561 (all): Remove target.
17562 * malloc/Makefile: Include Makeconfig immediately after defining
17563 subdir.
17564 (all): Remove target.
17565 * manual/Makefile: Include Makeconfig immediately after defining
17566 subdir.
17567 * math/Makefile: Likewise.
17568 * misc/Makefile: Likewise.
17569 * nis/Makefile: Likewise.
17570 * nss/Makefile: Likewise.
17571 * po/Makefile: Likewise.
17572 (all): Remove target.
17573 * posix/Makefile: Include Makeconfig immediately after defining
17574 subdir.
17575 * pwd/Makefile: Likewise.
17576 * resolv/Makefile: Likewise.
17577 * resource/Makefile: Likewise.
17578 * rt/Makefile: Likewise.
17579 * setjmp/Makefile: Likewise.
17580 * shadow/Makefile: Likewise.
17581 * signal/Makefile: Likewise.
17582 * socket/Makefile: Likewise.
17583 * soft-fp/Makefile: Likewise.
17584 * stdio-common/Makefile: Likewise.
17585 * stdlib/Makefile: Likewise.
17586 * streams/Makefile: Likewise.
17587 * string/Makefile: Likewise.
17588 * sunrpc/Makefile: Likewise.
17589 (all): Remove target.
17590 * sysvipc/Makefile: Include Makeconfig immediately after defining
17591 subdir.
17592 * termios/Makefile: Likewise.
17593 * time/Makefile: Likewise.
17594 * timezone/Makefile: Likewise.
17595 (all): Remove target.
17596 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17597 subdir.
17598 * wctype/Makefile: Likewise.
17599
5b456e9d
SE
176002014-02-26 Steve Ellcey <sellcey@mips.com>
17601
17602 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17603 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17604 (libc_feholdexcept_setround_mips): Ditto.
17605 (libc_feholdsetround): New.
17606 (libc_feholdsetroundf): New.
17607 (libc_feholdsetroundl): New.
17608 (libc_feupdateenv_test_mips): New.
17609 (libc_feupdateenv_test): New.
17610 (libc_feupdateenv_testf): New.
17611 (libc_feupdateenv_testl): New.
17612 (libc_feresetround): New.
17613 (libc_feresetroundf): New.
17614 (libc_feresetroundl): New.
17615 (libc_fetestexcept_mips): New.
17616 (libc_fetestexcept): New.
17617 (libc_fetestexceptf): New.
17618 (libc_fetestexceptl): New.
17619 (HAVE_RM_CTX): New.
17620 (libc_feholdexcept_setround_mips_ctx): New.
17621 (libc_feholdexcept_setround_ctx): New.
17622 (libc_feholdexcept_setroundf_ctx): New.
17623 (libc_feholdexcept_setroundl_ctx): New.
17624 (libc_fesetenv_mips_ctx): New.
17625 (libc_fesetenv_ctx): New.
17626 (libc_fesetenv_ctxf): New.
17627 (libc_fesetenv_ctxl): New.
17628 (libc_feupdateenv_mips_ctx): New.
17629 (libc_feupdateenv_ctx): New.
17630 (libc_feupdateenvf_ctx): New.
17631 (libc_feupdateenvl_ctx): New.
17632 (libc_feholdsetround_mips_ctx): New.
17633 (libc_feholdsetround_ctx): New.
17634 (libc_feholdsetroundf_ctx): New.
17635 (libc_feholdsetroundl_ctx): New.
17636 (libc_feresetround_mips_ctx): New.
17637 (libc_feresetround_ctx): New.
17638 (libc_feresetroundf_ctx): New.
17639 (libc_feresetroundl_ctx): New.
17640
085d0e35
CD
176412014-02-26 Carlos O'Donell <carlos@redhat.com>
17642
f067bf1f
CD
17643 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17644
085d0e35
CD
17645 * manual/ipc.texi: New file.
17646 * manual/Makefile (chapters): Add ipc.
17647 * manual/job.texi: Add "Inter-Process Communication" to next.
17648 * manual/process.texi: Add "Inter-Process Communication" to prev.
17649
86e58c08
AZ
176502014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17651
17652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17653
4248f0da
OB
176542014-02-26 Ondřej Bílka <neleai@seznam.cz>
17655
17656 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17657
cf822e3c
OB
17658 * manual/arith.texi: Fix spaces after sentences.
17659 * manual/charset.texi: Likewise.
17660 * manual/errno.texi: Likewise.
17661 * manual/install.texi: Likewise.
17662 * manual/llio.texi: Likewise.
17663 * manual/locale.texi: Likewise.
17664 * manual/maint.texi: Likewise.
17665 * manual/math.texi: Likewise.
17666 * manual/memory.texi: Likewise.
17667 * manual/message.texi: Likewise.
17668 * manual/probes.texi: Likewise.
17669 * manual/resource.texi: Likewise.
17670 * manual/signal.texi: Likewise.
17671 * manual/socket.texi: Likewise.
17672 * manual/stdio.texi: Likewise.
17673 * manual/string.texi: Likewise.
17674 * manual/time.texi: Likewise.
17675 * manual/users.texi: Likewise.
17676
ade40b10
CD
176772014-02-25 Carlos O'Donell <carlos@redhat.com>
17678
17679 [BZ #16632]
17680 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17681 _DEFAULT_SOURCE is defined.
17682
d0503676
CD
176832014-02-25 Ulrich Drepper <drepper@gmail.com>
17684 Carlos O'Donell <carlos@redhat.com>
17685
17686 [BZ #16613]
17687 * elf/dl-tls.c (_dl_count_modids): New function.
17688 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17689 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17690 audit library and increment generation counter.
17691 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17692 * elf/tst-audit9.c: New file.
17693 * elf/tst-auditmod9a.c: New file.
17694 * elf/tst-auditmod9b.c: New file.
17695 * elf/Makefile: Add rules to build and run tst-audit9.
17696
4cbf380c
FW
176972014-02-25 Florian Weimer <fweimer@redhat.com>
17698
17699 [BZ #15347]
17700 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17701
80a56cc3
WN
177022014-02-25 Will Newton <will.newton@linaro.org>
17703
17704 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17705 (__longjmp): Restore sp and lr before restoring callee
17706 saved registers. Add longjmp and longjmp_target
17707 SystemTap probe point.
17708 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17709 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17710 Define to zero to match jmpbuf layout.
17711 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17712 (__sigsetjmp): Save sp and lr before saving callee
17713 saved registers. Add setjmp SystemTap probe point.
17714
3ea0f74e
SL
177152014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17716
17717 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17718
b04acb26
AS
177192014-02-24 Andreas Schwab <schwab@suse.de>
17720
17721 [BZ #15804]
17722 * elf/pldd.c (wait_for_ptrace_stop): New function.
17723 (main): Call it after attaching.
17724
098ad55c
RM
177252014-02-22 Roland McGrath <roland@hack.frob.com>
17726
d4ec6ae1
RM
17727 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17728 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17729 Versions files is now verboten.
17730 * hurd/Versions (libc: GLIBC_2.0):
17731 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17732 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17733 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17734 * mach/Versions: Likewise.
17735
098ad55c
RM
17736 * csu/Versions: Remove unused %include.
17737 * resolv/Versions: Likewise.
17738
acd7f096
JM
177392014-02-21 Joseph Myers <joseph@codesourcery.com>
17740
f0881698
JM
17741 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17742 ($(objpfx)check-local-headers.out): Likewise.
17743 ($(objpfx)begin-end-check.out): Likewise.
17744 * Makerules (check-abi-%.out): Likewise.
17745 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17746 ($(objpfx)test2.cat): Likewise.
17747 ($(objpfx)de/libc.cat): Likewise.
17748 ($(objpfx)test-gencat.out): Likewise.
17749 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17750 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17751 ($(objpfx)noload-mem): Likewise.
17752 ($(objpfx)tst-pathopt.out): Likewise.
17753 ($(objpfx)tst-rtld-load-self.out): Likewise.
17754 ($(objpfx)tst-array1-cmp.out): Likewise.
17755 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17756 ($(objpfx)tst-array2-cmp.out): Likewise.
17757 ($(objpfx)tst-array3-cmp.out): Likewise.
17758 ($(objpfx)tst-array4-cmp.out): Likewise.
17759 ($(objpfx)tst-array5-cmp.out): Likewise.
17760 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17761 ($(objpfx)check-textrel.out): Likewise.
17762 ($(objpfx)check-execstack.out): Likewise.
17763 ($(objpfx)check-localplt.out): Likewise.
17764 ($(objpfx)order2-cmp.out): Likewise.
17765 ($(objpfx)tst-leaks1-mem): Likewise.
17766 ($(objpfx)tst-leaks1-static-mem): Likewise.
17767 ($(objpfx)tst-initorder-cmp.out): Likewise.
17768 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17769 ($(objpfx)tst-unused-dep.out): Likewise.
17770 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17771 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17772 * iconv/Makefile (test-iconvconfig): Likewise.
17773 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17774 ($(objpfx)iconv-test.out): Likewise.
17775 ($(objpfx)tst-tables.out): Likewise.
17776 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17777 ($(objpfx)tst-gettext.out): Likewise.
17778 ($(objpfx)tst-translit.out): Likewise.
17779 ($(objpfx)tst-gettext2.out): Likewise.
17780 ($(objpfx)tst-gettext4.out): Likewise.
17781 ($(objpfx)tst-gettext6.out): Likewise.
17782 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17783 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17784 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17785 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17786 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17787 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17788 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17789 ($(objpfx)wordexp-tst.out): Likewise.
17790 ($(objpfx)annexc.out): Likewise.
17791 ($(objpfx)tst-fnmatch-mem): Likewise.
17792 ($(objpfx)bug-regex2-mem): Likewise.
17793 ($(objpfx)bug-regex14-mem): Likewise.
17794 ($(objpfx)bug-regex21-mem): Likewise.
17795 ($(objpfx)bug-regex31-mem): Likewise.
17796 ($(objpfx)tst-vfork3-mem): Likewise.
17797 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17798 ($(objpfx)tst-pcre-mem): Likewise.
17799 ($(objpfx)tst-boost-mem): Likewise.
17800 ($(objpfx)tst-getconf.out): Likewise.
17801 ($(objpfx)bug-ga2-mem): Likewise.
17802 ($(objpfx)bug-glob2-mem): Likewise.
17803 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17804 ($(objpfx)mtrace-tst-leaks2): Likewise.
17805 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17806 ($(objpfx)tst-printf.out): Likewise.
17807 ($(objpfx)tst-setvbuf1.out): Likewise.
17808 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17809 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17810 ($(objpfx)tst-fmtmsg.out): Likewise.
17811 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17812 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17813
acd7f096
JM
17814 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17815 * bits/sigaction.h [__USE_MISC]: Likewise.
17816 * bits/waitstatus.h: Update #endif comments.
17817 * ctype/ctype.h: Likewise.
17818 * dirent/dirent.h: Likewise.
17819 [__USE_MISC]: Remove redundant conditionals.
17820 * grp/grp.h: Update #endif comments.
17821 [__USE_GNU]: Remove redundant conditionals.
17822 [__USE_MISC]: Likewise.
17823 * inet/netinet/in.h [__USE_GNU]: Likewise.
17824 * io/sys/stat.h [__USE_MISC]: Likewise.
17825 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17826 * libio/bits/stdio.h: Update #endif comments.
17827 [__USE_MISC]: Remove redundant conditionals.
17828 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17829 * libio/stdio.h: Update #endif comments.
17830 [__USE_MISC]: Remove redundant conditionals.
17831 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17832 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17833 * math/math.h: Update #else and #endif comments.
17834 [__USE_MISC]: Remove redundant conditionals.
17835 * misc/sys/uio.h: Update #endif comments.
17836 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17837 * posix/glob.h [__USE_MISC]: Likewise.
17838 * posix/sys/types.h: Update #endif comments.
17839 [__USE_MISC]: Remove redundant conditionals.
17840 * posix/sys/wait.h: Update #endif comments.
17841 [__USE_MISC]: Remove redundant conditionals.
17842 * posix/unistd.h: Update #endif comments.
17843 [__USE_MISC]: Remove redundant conditionals.
17844 * pwd/pwd.h [__USE_GNU]: Likewise.
17845 [__USE_MISC]: Likewise.
17846 * resolv/netdb.h [__USE_GNU]: Likewise.
17847 * signal/signal.h: Update #endif comments.
17848 [__USE_MISC]: Remove redundant conditionals.
17849 * stdlib/stdlib.h: Update #else and #endif comments.
17850 [__USE_MISC]: Remove redundant conditionals.
17851 [__USE_GNU]: Likewise.
17852 * string/bits/string2.h [__USE_MISC]: Likewise.
17853 * string/string.h: Update #endif comments.
17854 [__USE_MISC]: Remove redundant conditionals.
17855 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17856 Likewise.
17857 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17858 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17859 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17860 Likewise.
17861 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17862 Likewise.
17863 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17864 comments.
17865 [__USE_MISC]: Remove redundant conditionals.
17866 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17867 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17868 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17869 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17870 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17871 Likewise.
17872 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17873 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17874 Likewise.
17875 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17876 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17877 Likewise.
17878 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17879 Likewise.
17880 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17882 Likewise.
17883 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17884 Likewise.
17885 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17886 * sysdeps/x86/bits/string.h: Update #endif comments.
17887 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17888 conditionals.
17889 * time/sys/time.h: Update #endif comments.
17890 * time/time.h: Likewise.
17891 [__USE_MISC]: Remove redundant conditionals.
17892
a5d82e4e
YG
178932014-02-21 Yury Gribov <y.gribov@samsung.com>
17894
17895 [BZ #16600]
17896 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17897
9a80491d
AS
178982014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17899
17900 * Versions.def (librt): Add GLIBC_2.17.
17901
105fa381
AC
179022014-02-21 Adam Conrad <adconrad@0c3.net>
17903
17904 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17905 synonym for _SYS_AUXV_H to allow direct inclusion.
17906 * sysdeps/sparc/bits/hwcap.h: Likewise.
17907 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17908 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17909 * sysdeps/sparc/sysdep.h: Likewise.
17910
b8cd1c4e
SP
179112014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17912
17913 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17914
bd939d23
RS
179152014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17916
17917 * benchtests/bench-strrchr.c: Print length instead of position.
17918
5d7b57ca
JM
179192014-02-20 Joseph Myers <joseph@codesourcery.com>
17920
bc688c10
JM
17921 [BZ #16611]
17922 * sysdeps/unix/sysv/linux/kernel-features.h
17923 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17924 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17925 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17926 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17927 Likewise.
17928 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17929 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17930 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17931 (__ASSUME_SENDMMSG): Define instead of using previous
17932 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17933 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17934 (__ASSUME_SENDMMSG_SYSCALL): Define.
17935 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17936 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17937 Likewise.
17938 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17939 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17940 Likewise.
17941 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17942 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17943 Likewise.
17944 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17945 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17946 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17947 [__ASSUME_SENDMMSG]: Change conditionals to
17948 [__ASSUME_SENDMMSG_SOCKETCALL].
17949 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17950 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17951 Define.
17952 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17953 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17954 Likewise.
17955 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17956 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17957 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17958 [!__ASSUME_SENDMMSG]: Change conditional to
17959 [!__ASSUME_SENDMMSG_SOCKETCALL].
17960 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17961 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17962 Define.
17963
0e31b18c
JM
17964 [BZ #16610]
17965 * sysdeps/unix/sysv/linux/kernel-features.h
17966 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17967 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17968 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17969 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17970 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17971 [__i386__ || __sparc__]
17972 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17973 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17974 (__ASSUME_RECVMMSG): Define instead of using previous
17975 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17976 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17977 (__ASSUME_RECVMMSG_SYSCALL): Define.
17978 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17979 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17980 Likewise.
17981 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17982 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17983 Likewise.
17984 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17985 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17986 Likewise.
17987 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17988 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17989 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17990 [__ASSUME_RECVMMSG]: Change condition to
17991 [__ASSUME_RECVMMSG_SOCKETCALL].
17992 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17993 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17994 Define.
17995 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17996 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17997 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17998 Likewise.
17999 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18000 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18001 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18002 [!__ASSUME_RECVMMSG]: Change condition to
18003 [!__ASSUME_RECVMMSG_SOCKETCALL].
18004 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18005 (__ASSUME_RECVMMSG_SYSCALL): Define.
18006
dd481ccf
JM
18007 [BZ #16609]
18008 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18009 __powerpc__ || __s390__ || __sh__ || __sparc__]
18010 (__ASSUME_SOCKETCALL): Define.
18011 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18012 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18013 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18014 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18015 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18016 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18017 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18018 (__ASSUME_ACCEPT4): Define instead of using previous
18019 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18020 __powerpc__ || __sparc__ || __s390__)] condition.
18021 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18022 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18023 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18024 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18025 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18026 [!__ASSUME_ACCEPT4]: Change condition to
18027 [!__ASSUME_ACCEPT4_SOCKETCALL].
18028 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18029 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18030 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18031 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18032 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18033 __ASSUME_ACCEPT4_SYSCALL.
18034 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18035 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18036 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18037 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18038 __ASSUME_ACCEPT4_SYSCALL.
18039 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18040 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18041 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18042 [__ASSUME_ACCEPT4]: Change condition to
18043 [__ASSUME_ACCEPT4_SOCKETCALL].
18044 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18045 (__ASSUME_SOCKETCALL): Define.
18046 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18047 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18048 (__ASSUME_SOCKETCALL): Define.
18049 (__ASSUME_ACCEPT4): Remove.
18050 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18051 Define.
18052 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18053 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18054 Likewise.
18055 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18056 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18057
5d7b57ca
JM
18058 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18059 macro.
18060 (HWCAP_ARM_LPAE): Likewise.
18061 (HWCAP_ARM_EVTSTRM): Likewise.
18062 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18063 Add vpfd32, lpae and evtstrm.
18064 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18065 Increase to 22.
18066
63689d61
JM
180672014-02-19 Joseph Myers <joseph@codesourcery.com>
18068
18069 * math/auto-libm-test-in: Add tests of clog10.
18070 * math/auto-libm-test-out: Regenerated.
18071 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18072 * sysdeps/i386/fpu/libm-test-ulps: Update.
18073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18074
ab09bf61
AS
180752014-02-18 Andreas Schwab <schwab@suse.de>
18076
18077 [BZ #16574]
18078 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18079 Store non-zero if the second buffer was newly allocated.
18080 (send_dg): Likewise.
18081 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18082 to send_vc and send_dg.
18083 (res_nsend): Pass NULL for ansp2_malloced.
18084 * resolv/res_query.c (__libc_res_nquery): Add parameter
18085 answerp2_malloced and pass it down to __libc_res_nsend.
18086 (res_nquery): Pass additional NULL to __libc_res_nquery.
18087 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18088 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18089 second answer buffer if answerp2_malloced was set.
18090 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18091 (__libc_res_nquerydomain): Add parameter
18092 answerp2_malloced and pass it down to __libc_res_nquery.
18093 (res_nquerydomain): Pass additional NULL to
18094 __libc_res_nquerydomain.
18095 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18096 additional NULL to __libc_res_nsend and __libc_res_nquery.
18097 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18098 additional NULL to __libc_res_nsearch.
18099 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18100 parameter of __libc_res_nsearch to check for separately allocated
18101 second buffer.
18102 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18103 __libc_res_nquery.
18104 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18105 additional NULL to __libc_res_nquery.
18106 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18107 __libc_res_nsearch.
18108 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18109 * include/resolv.h: Update prototypes of __libc_res_nquery,
18110 __libc_res_nsearch, __libc_res_nsend.
18111
a4fb7861
JM
181122014-02-18 Joseph Myers <joseph@codesourcery.com>
18113
c6af2d89
JM
18114 * math/auto-libm-test-in: Add tests of fma.
18115 * math/auto-libm-test-out: Regenerated.
18116 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18117 (fma_towardzero_test_data): Likewise.
18118 (fma_downward_test_data): Likewise.
18119 (fma_upward_test_data): Likewise.
18120 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18121 mpc_mode.
18122 (rounding_modes): Add values for new field.
18123 (func_calc_method): Add value mpfr_fff_f.
18124 (func_calc_desc): Add mpfr_fff_f union field.
18125 (test_function): Add field exact_args.
18126 (FUNC): Add macro argument EXACT_ARGS.
18127 (FUNC_mpfr_f_f): Update call to FUNC.
18128 (FUNC_mpfr_f_f): Likewise.
18129 (FUNC_mpfr_ff_f): Likewise.
18130 (FUNC_mpfr_if_f): Likewise.
18131 (FUNC_mpc_c_f): Likewise.
18132 (FUNC_mpc_c_c): Likewise.
18133 (test_functions): Add fma. Update calls to FUNC.
18134 (handle_input_arg): Add argument exact_args.
18135 (add_test): Update call to handle_input_arg.
18136 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18137 (output_for_one_input_case): Update call to calc_generic_results.
18138 Recalculate exact zero results in each rounding mode.
18139
a4fb7861
JM
18140 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18141 non-negative before setting low bit.
18142 * math/auto-libm-test-in: Mark one asin test possibly having
18143 spurious underflow.
18144 * math/auto-libm-test-out: Regenerated.
18145 * sysdeps/i386/fpu/libm-test-ulps: Update.
18146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18147
ef114eaf
DH
181482014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18149
2b7f4f2c
SP
18150 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18151 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18152 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18153 * README: Add missing listing for microblaze*-*-linux-gnu.
18154
8125aedc
AM
181552014-02-16 Ondřej Bílka <neleai@seznam.cz>
18156
18157 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18158 duplicate code
18159
c70a4b1d
MF
181602014-02-16 Mike Frysinger <vapier@gentoo.org>
18161
18162 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18163 * sysdeps/unix/sysv/linux/ia64: Move directory from
18164 ports/sysdeps/unix/sysv/linux/ia64.
18165 * README: Update listing for ia64-*-linux-gnu.
18166
591aeaf7
TD
181672014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18168 Joseph Myers <joseph@codesourcery.com>
18169
18170 * Makeconfig (test-name): New variable.
18171 (evaluate-test): Likewise.
18172 * Makerules (do-test-clean): Remove .test-result files.
18173 (common-mostlyclean): Likewise.
18174 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18175 * scripts/evaluate-test.sh: New file.
18176
6e89caf1
JM
181772014-02-14 Joseph Myers <joseph@codesourcery.com>
18178
7f98f180
JM
18179 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18180 separate $(objpfx)tst-fopenloc-cmp.out and
18181 $(objpfx)tst-fopenloc-mem.out targets.
18182 (tests): Update dependencies.
18183 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18184 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18185 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18186 (tst-rxspencer-no-utf8-ARGS): New variable.
18187 (tst-rxspencer-no-utf8-ENV): Likewise.
18188 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18189 instead of $(objpfx)tst-rxspencer-mem.
18190 ($(objpfx)tst-rxspencer-mem): Change target to
18191 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18192 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18193 * posix/tst-rxspencer-no-utf8.c: New file.
18194
6e89caf1
JM
18195 * elf/Makefile ($(objpfx)order.out): Remove rule.
18196 [$(run-built-tests) = yes] (tests): Depend on
18197 $(objpfx)order-cmp.out.
18198 ($(objpfx)order-cmp.out): New rule.
18199 [$(run-built-tests) = yes] (tests): Depend on
18200 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18201 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18202 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18203 $(objpfx)tst-array5-static-cmp.out.
18204 ($(objpfx)tst-array1.out): Remove rule.
18205 ($(objpfx)tst-array1-cmp.out): New rule.
18206 ($(objpfx)tst-array1-static.out): Remove rule.
18207 ($(objpfx)tst-array1-static-cmp.out): New rule.
18208 ($(objpfx)tst-array2.out): Remove rule.
18209 ($(objpfx)tst-array2-cmp.out): New rule.
18210 ($(objpfx)tst-array3.out): Remove rule.
18211 ($(objpfx)tst-array3-cmp.out): New rule.
18212 ($(objpfx)tst-array4.out): Remove rule.
18213 ($(objpfx)tst-array4-cmp.out): New rule.
18214 ($(objpfx)tst-array5.out): Remove rule.
18215 ($(objpfx)tst-array5-cmp.out): New rule.
18216 ($(objpfx)tst-array5-static.out): Remove rule.
18217 ($(objpfx)tst-array5-static-cmp.out): New rule.
18218 [$(run-built-tests) = yes] (tests): Depend on
18219 $(objpfx)order2-cmp.out.
18220 ($(objpfx)order2.out): Remove rule.
18221 ($(objpfx)order2-cmp.out): New rule.
18222 ($(objpfx)tst-initorder.out): Remove rule.
18223 [$(run-built-tests) = yes] (tests): Depend on
18224 $(objpfx)tst-initorder-cmp.out.
18225 ($(objpfx)tst-initorder-cmp.out): New rule.
18226 ($(objpfx)tst-initorder2.out): Remove rule.
18227 [$(run-built-tests) = yes] (tests): Depend on
18228 $(objpfx)tst-initorder2-cmp.out.
18229 ($(objpfx)tst-initorder2-cmp.out): New rule.
18230 [$(run-built-tests) = yes] (tests): Depend on
18231 $(objpfx)tst-unused-dep-cmp.out.
18232 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18233 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18234 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18235 on $(objpfx)tst-setvbuf1-cmp.out.
18236 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18237 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18238 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18239 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18240 ($(objpfx)tst-svc.out): Remove rule.
18241 ($(objpfx)tst-svc-cmp.out): New rule.
18242
ed9a38e2
JM
182432014-02-13 Joseph Myers <joseph@codesourcery.com>
18244
18245 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18246 * ctype/ctype.h [__USE_MISC]: Likewise.
18247 * dirent/dirent.h [__USE_MISC]: Likewise.
18248 * grp/grp.h [__USE_MISC]: Likewise.
18249 * io/fcntl.h [__USE_MISC]: Likewise.
18250 * io/sys/stat.h [__USE_MISC]: Likewise.
18251 * libio/stdio.h [__USE_MISC]: Likewise.
18252 * posix/unistd.h [__USE_MISC]: Likewise.
18253 * pwd/pwd.h [__USE_MISC]: Likewise.
18254 * stdlib.h [__USE_MISC]: Likewise.
18255 * string/bits/string2.h [__USE_MISC]: Likewise.
18256 * string/string.h [__USE_MISC]: Likewise.
18257 * time/time.h [__USE_MISC]: Likewise.
18258
d6680619
AS
182592014-02-13 Andreas Schwab <schwab@suse.de>
18260
18261 [BZ #16574]
18262 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18263 second answer buffer if it was separately allocated.
18264
ace614b8
JM
182652014-02-12 Joseph Myers <joseph@codesourcery.com>
18266
743151ae
JM
18267 * sysdeps/mips/math-tests.h: Include <features.h>.
18268 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18269 (ROUNDING_TESTS_long_double): Do not define.
18270 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18271 (EXCEPTION_TESTS_long_double): Likewise.
18272 * sysdeps/mips/mips64/libm-test-ulps: Update.
18273
498afc54
JM
18274 * include/features.h (__USE_BSD): Remove macro definitions.
18275 (__USE_SVID): Likewise.
18276 (_BSD_SOURCE): Likewise.
18277 (_SVID_SOURCE): Likewise.
18278 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18279 from definition of _DEFAULT_SOURCE.
18280 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18281 [_DEFAULT_SOURCE].
18282 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18283 * bits/mman.h [__USE_BSD]: Likewise.
18284 * bits/termios.h [__USE_BSD]: Likewise.
18285 * bits/waitstatus.h [__USE_BSD]: Likewise.
18286 * ctype/ctype.h [__USE_SVID]: Likewise.
18287 * dirent/dirent.h [__USE_BSD]: Likewise.
18288 * grp/grp.h [__USE_SVID]: Likewise.
18289 [__USE_BSD]: Likewise.
18290 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18291 * io/fcntl.h [__USE_BSD]: Likewise.
18292 * io/ftw.h [__USE_BSD]: Likewise.
18293 * io/sys/stat.h [__USE_BSD]: Likewise.
18294 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18295 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18296 * libio/stdio.h [__USE_SVID]: Likewise.
18297 [__USE_BSD]: Likewise.
18298 * math/math.h [__USE_SVID]: Likewise.
18299 [__USE_BSD]: Likewise.
18300 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18301 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18302 * misc/search.h [__USE_SVID]: Likewise.
18303 * misc/sys/mman.h [__USE_BSD]: Likewise.
18304 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18305 * misc/sys/uio.h [__USE_BSD]: Likewise.
18306 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18307 * posix/glob.h [__USE_BSD]: Likewise.
18308 * posix/regex.h [__USE_BSD]: Likewise.
18309 * posix/sys/types.h [__USE_BSD]: Likewise.
18310 [__USE_SVID]: Likewise.
18311 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18312 * posix/sys/wait.h [__USE_BSD]: Likewise.
18313 [__USE_SVID]: Likewise.
18314 * posix/unistd.h [__USE_BSD]: Likewise.
18315 [__USE_SVID]: Likewise.
18316 * pwd/pwd.h [__USE_SVID]: Likewise.
18317 * resolv/netdb.h [__USE_BSD]: Likewise.
18318 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18319 * signal/signal.h [__USE_BSD]: Likewise.
18320 [__USE_SVID]: Likewise.
18321 * socket/sys/socket.h [__USE_BSD]: Likewise.
18322 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18323 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18324 [__USE_SVID]: Likewise.
18325 * string/bits/string2.h [__USE_BSD]: Likewise.
18326 [__USE_SVID]: Likewise.
18327 * string/bits/string3.h [__USE_BSD]: Likewise.
18328 * string/endian.h [__USE_BSD]: Likewise.
18329 * string/string.h [__USE_SVID]: Likewise.
18330 [__USE_BSD]: Likewise.
18331 * string/strings.h [__USE_BSD]: Likewise.
18332 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18333 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18334 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18335 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18336 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18337 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18338 Likewise.
18339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18340 Likewise.
18341 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18342 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18343 Likewise.
18344 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18345 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18346 Likewise.
18347 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18348 Likewise.
18349 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18350 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18351 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18352 Likewise.
18353 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18354 Likewise.
18355 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18356 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18357 * termios/termios.h [__USE_BSD]: Likewise.
18358 * time/sys/time.h [__USE_BSD]: Likewise.
18359 * time/time.h [__USE_BSD]: Likewise.
18360 [__USE_SVID]: Likewise.
18361
dd7b064c
JM
18362 * Makefile (subdir_targets): Remove subdir_lint.out.
18363
a2c4c199
JM
18364 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18365 (do-tst-printf): Likewise.
18366 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18367 $(objpfx)tst-printf.out.
18368
8756f740
JM
18369 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18370
1b6dd3f1
JM
18371 * Makerules (check-abi-%): Change target to
18372 $(objpfx)check-abi-%.out.
18373 (check-abi target): Update dependencies.
18374 (check-abi-pattern variable): Redirect output of diff to $@.
18375 (check-abi variable): Likewise.
18376 * elf/Makefile (check-abi): Update dependencies.
18377
ace614b8
JM
18378 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18379 unused.
18380 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18381 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18382 subnormal range.
18383 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18384 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18385 value has largest subnormal exponent.
18386 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18387 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18388 * sysdeps/aarch64/soft-fp/sfp-machine.h
18389 (_FP_TININESS_AFTER_ROUNDING): New macro.
18390 * sysdeps/alpha/soft-fp/sfp-machine.h
18391 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18392 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18393 Likewise.
18394 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18395 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18396 * sysdeps/mips/soft-fp/sfp-machine.h
18397 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18398 * sysdeps/powerpc/soft-fp/sfp-machine.h
18399 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18400 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18401 Likewise.
18402 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18403 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18404 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18405 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18406 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18407 Likewise.
18408
fbfdf9cb
DAS
184092014-02-12 Dylan Alex Simon <dylan@dylex.net>
18410
18411 [BZ #16545]
18412 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18413 model 1.
18414
68b7efaa
RH
184152014-02-12 Richard Henderson <rth@redhat.com>
18416
c70a4b1d 18417 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18418 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18419 * sysdeps/unix/sysv/linux/alpha: Move directory from
18420 ports/sysdeps/unix/sysv/linux/alpha.
18421 * README: Update listing for alpha-*-linux-gnu.
18422
cb4a2928
JM
184232014-02-11 Joseph Myers <joseph@codesourcery.com>
18424
c941736c
JM
18425 * include/features.h: Update comment documenting feature test
18426 macros.
18427 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18428 _DEFAULT_SOURCE.
18429 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18430 (_SVID_SOURCE): Likewise.
18431 (_DEFAULT_SOURCE): Update description of default features.
18432 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18433 with _GNU_SOURCE.
18434 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18435 (S_ISVTX): Likewise.
18436 * manual/math.texi (Mathematical Constants): Likewise.
18437 * manual/signal.texi (Interrupted Primitives): Likewise.
18438 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18439 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18440 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18441 Don't refer to _SVID_SOURCE in warning text.
18442
e8d8d7ec
JM
18443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18444
cb4a2928
JM
18445 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18446 already defined.
18447 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18448 * sysdeps/mips/dl-lookup.c: Remove.
18449 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18450
7e6424e3
AK
184512014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18452
18453 [BZ #16447]
18454 * math/auto-libm-test-in: Add testcase for expl.
18455 * math/auto-libm-test-out: Regenerate.
18456 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18457 calculation of unsafe.
18458 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18459
75eff3fe
MS
184602014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18461
18462 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18463 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18464 ports/sysdeps/unix/sysv/linux/aarch64.
18465 * README: Update listing for aarch64*-*-linux-gnu.
18466
d35f1e80
WN
184672014-02-11 Will Newton <will.newton@linaro.org>
18468
18469 * manual/probes.texi (Mathematical Function Probes): Use
18470 "triggered" instead of "hit".
18471
7b3436d4
WN
18472 * manual/probes.texi (Internal Probes): Add documentation
18473 of setjmp, longjmp and longjmp_target probes.
18474
b4f12ca3
WN
18475 * include/stap-probe.h: Add comment about probe argument
18476 format.
18477
c13a72b7
WN
18478 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18479 definition. (tr_where, tr_freehook, tr_mallochook,
18480 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18481
195b8165
DM
184822014-02-11 David S. Miller <davem@davemloft.net>
18483
18484 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18485 processing int_tests.
18486
2ad7600b
JM
184872014-02-10 Joseph Myers <joseph@codesourcery.com>
18488
18489 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18490 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18491 * sysdeps/unix/sysv/linux/mips: Move directory from
18492 ports/sysdeps/unix/sysv/linux/mips.
18493 * README: Update listing for mips-*-linux-gnu and
18494 mips64-*-linux-gnu.
18495
73588a72
AS
184962014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18497
18498 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18499 * sysdeps/unix/sysv/linux/m68k: Move directory from
18500 ports/sysdeps/unix/sysv/linux/m68k.
18501 * README: Update listing for m68k-*-linux-gnu.
18502
4372980f
CM
185032014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18504
18505 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18506 * sysdeps/unix/sysv/linux/generic: Move directory from
18507 ports/sysdeps/unix/sysv/linux/generic.
18508 * sysdeps/unix/sysv/linux/tile: Move directory from
18509 ports/sysdeps/unix/sysv/linux/tile.
18510 * README: Update listing for tile*-*-linux-gnu.
18511
a1ffb40e
OB
185122014-02-10 Ondřej Bílka <neleai@seznam.cz>
18513
57f41c40
AS
18514 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18515 __builtin_expect.
a1ffb40e
OB
18516 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18517 * catgets/open_catalog.c (__open_catalog): Likewise.
18518 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18519 * debug/confstr_chk.c: Likewise.
18520 * debug/fread_chk.c (__fread_chk): Likewise.
18521 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18522 * debug/getgroups_chk.c: Likewise.
18523 * debug/mbsnrtowcs_chk.c: Likewise.
18524 * debug/mbsrtowcs_chk.c: Likewise.
18525 * debug/mbstowcs_chk.c: Likewise.
18526 * debug/memcpy_chk.c: Likewise.
18527 * debug/memmove_chk.c: Likewise.
18528 * debug/mempcpy_chk.c: Likewise.
18529 * debug/memset_chk.c: Likewise.
18530 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18531 * debug/strcat_chk.c (__strcat_chk): Likewise.
18532 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18533 * debug/strncat_chk.c (__strncat_chk): Likewise.
18534 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18535 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18536 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18537 * debug/wcpncpy_chk.c: Likewise.
18538 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18539 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18540 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18541 * debug/wcsncpy_chk.c: Likewise.
18542 * debug/wcsnrtombs_chk.c: Likewise.
18543 * debug/wcsrtombs_chk.c: Likewise.
18544 * debug/wcstombs_chk.c: Likewise.
18545 * debug/wmemcpy_chk.c: Likewise.
18546 * debug/wmemmove_chk.c: Likewise.
18547 * debug/wmempcpy_chk.c: Likewise.
18548 * debug/wmemset_chk.c: Likewise.
18549 * dirent/scandirat.c (SCANDIRAT): Likewise.
18550 * dlfcn/dladdr1.c (dladdr1): Likewise.
18551 * dlfcn/dladdr.c (dladdr): Likewise.
18552 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18553 * dlfcn/dlerror.c (__dlerror): Likewise.
18554 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18555 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18556 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18557 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18558 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18559 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18560 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18561 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18562 Likewise.
18563 * elf/dl-conflict.c: Likewise.
18564 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18565 * elf/dl-dst.h: Likewise.
18566 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18567 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18568 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18569 * elf/dl-init.c (call_init, _dl_init): Likewise.
18570 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18571 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18572 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18573 Likewise.
a1ffb40e
OB
18574 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18575 Likewise.
18576 * elf/dl-minimal.c (__libc_memalign): Likewise.
18577 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18578 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18579 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18580 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18581 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18582 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18583 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18584 * elf/dl-writev.h (_dl_writev): Likewise.
18585 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18586 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18587 (dl_main): Likewise.
a1ffb40e
OB
18588 * elf/setup-vdso.h (setup_vdso): Likewise.
18589 * grp/compat-initgroups.c (compat_call): Likewise.
18590 * grp/fgetgrent.c (fgetgrent): Likewise.
18591 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18592 * grp/putgrent.c (putgrent): Likewise.
18593 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18594 Likewise.
18595 * hurd/hurdinit.c: Likewise.
18596 * iconvdata/8bit-gap.c (struct): Likewise.
18597 * iconvdata/ansi_x3.110.c : Likewise.
18598 * iconvdata/big5.c : Likewise.
18599 * iconvdata/big5hkscs.c : Likewise.
18600 * iconvdata/cp1255.c: Likewise.
18601 * iconvdata/cp1258.c : Likewise.
18602 * iconvdata/cp932.c : Likewise.
18603 * iconvdata/euc-cn.c: Likewise.
18604 * iconvdata/euc-jisx0213.c : Likewise.
18605 * iconvdata/euc-jp.c: Likewise.
18606 * iconvdata/euc-jp-ms.c : Likewise.
18607 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18608 * iconvdata/gb18030.c : Likewise.
18609 * iconvdata/gbbig5.c (const): Likewise.
18610 * iconvdata/gbgbk.c: Likewise.
18611 * iconvdata/gbk.c : Likewise.
18612 * iconvdata/ibm1364.c : Likewise.
18613 * iconvdata/ibm930.c : Likewise.
18614 * iconvdata/ibm932.c: Likewise.
18615 * iconvdata/ibm933.c : Likewise.
18616 * iconvdata/ibm935.c : Likewise.
18617 * iconvdata/ibm937.c : Likewise.
18618 * iconvdata/ibm939.c : Likewise.
18619 * iconvdata/ibm943.c: Likewise.
18620 * iconvdata/iso_11548-1.c: Likewise.
18621 * iconvdata/iso-2022-cn.c : Likewise.
18622 * iconvdata/iso-2022-cn-ext.c : Likewise.
18623 * iconvdata/iso-2022-jp-3.c: Likewise.
18624 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18625 * iconvdata/iso-2022-kr.c : Likewise.
18626 * iconvdata/iso646.c (gconv_end): Likewise.
18627 * iconvdata/iso_6937-2.c : Likewise.
18628 * iconvdata/iso_6937.c : Likewise.
18629 * iconvdata/iso8859-1.c: Likewise.
18630 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18631 * iconvdata/shift_jisx0213.c : Likewise.
18632 * iconvdata/sjis.c : Likewise.
18633 * iconvdata/t.61.c : Likewise.
18634 * iconvdata/tcvn5712-1.c : Likewise.
18635 * iconvdata/tscii.c: Likewise.
18636 * iconvdata/uhc.c : Likewise.
18637 * iconvdata/unicode.c (gconv_end): Likewise.
18638 * iconvdata/utf-16.c (gconv_end): Likewise.
18639 * iconvdata/utf-32.c (gconv_end): Likewise.
18640 * iconvdata/utf-7.c (base64): Likewise.
18641 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18642 * iconv/gconv_close.c (__gconv_close): Likewise.
18643 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18644 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18645 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18646 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18647 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18648 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18649 * iconv/iconv.c (iconv): Likewise.
18650 * iconv/iconv_close.c: Likewise.
18651 * iconv/loop.c (SINGLE): Likewise.
18652 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18653 * include/atomic.h: Likewise.
18654 * inet/inet6_option.c (option_alloc): Likewise.
18655 * intl/bindtextdom.c (set_binding_values): Likewise.
18656 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18657 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18658 * intl/localealias.c (read_alias_file): Likewise.
18659 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18660 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18661 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18662 * libio/fmemopen.c (fmemopen): Likewise.
18663 * libio/iofgets.c (_IO_fgets): Likewise.
18664 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18665 * libio/iofgetws.c (fgetws): Likewise.
18666 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18667 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18668 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18669 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18670 * locale/findlocale.c (_nl_find_locale): Likewise.
18671 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18672 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18673 Likewise.
18674 * locale/setlocale.c (setlocale): Likewise.
18675 * login/programs/pt_chown.c (main): Likewise.
18676 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18677 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18678 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18679 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18680 * math/e_exp2l.c: Likewise.
18681 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18682 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18683 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18684 * math/s_catan.c (__catan): Likewise.
18685 * math/s_catanf.c (__catanf): Likewise.
18686 * math/s_catanh.c (__catanh): Likewise.
18687 * math/s_catanhf.c (__catanhf): Likewise.
18688 * math/s_catanhl.c (__catanhl): Likewise.
18689 * math/s_catanl.c (__catanl): Likewise.
18690 * math/s_ccosh.c (__ccosh): Likewise.
18691 * math/s_ccoshf.c (__ccoshf): Likewise.
18692 * math/s_ccoshl.c (__ccoshl): Likewise.
18693 * math/s_cexp.c (__cexp): Likewise.
18694 * math/s_cexpf.c (__cexpf): Likewise.
18695 * math/s_cexpl.c (__cexpl): Likewise.
18696 * math/s_clog10.c (__clog10): Likewise.
18697 * math/s_clog10f.c (__clog10f): Likewise.
18698 * math/s_clog10l.c (__clog10l): Likewise.
18699 * math/s_clog.c (__clog): Likewise.
18700 * math/s_clogf.c (__clogf): Likewise.
18701 * math/s_clogl.c (__clogl): Likewise.
18702 * math/s_csin.c (__csin): Likewise.
18703 * math/s_csinf.c (__csinf): Likewise.
18704 * math/s_csinh.c (__csinh): Likewise.
18705 * math/s_csinhf.c (__csinhf): Likewise.
18706 * math/s_csinhl.c (__csinhl): Likewise.
18707 * math/s_csinl.c (__csinl): Likewise.
18708 * math/s_csqrt.c (__csqrt): Likewise.
18709 * math/s_csqrtf.c (__csqrtf): Likewise.
18710 * math/s_csqrtl.c (__csqrtl): Likewise.
18711 * math/s_ctan.c (__ctan): Likewise.
18712 * math/s_ctanf.c (__ctanf): Likewise.
18713 * math/s_ctanh.c (__ctanh): Likewise.
18714 * math/s_ctanhf.c (__ctanhf): Likewise.
18715 * math/s_ctanhl.c (__ctanhl): Likewise.
18716 * math/s_ctanl.c (__ctanl): Likewise.
18717 * math/w_pow.c: Likewise.
18718 * math/w_powf.c: Likewise.
18719 * math/w_powl.c: Likewise.
18720 * math/w_scalb.c (sysv_scalb): Likewise.
18721 * math/w_scalbf.c (sysv_scalbf): Likewise.
18722 * math/w_scalbl.c (sysv_scalbl): Likewise.
18723 * misc/error.c (error_tail): Likewise.
18724 * misc/pselect.c (__pselect): Likewise.
18725 * nis/nis_callback.c (__nis_create_callback): Likewise.
18726 * nis/nis_call.c (__nisfind_server): Likewise.
18727 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18728 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18729 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18730 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18731 * nis/nis_lookup.c (nis_lookup): Likewise.
18732 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18733 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18734 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18735 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18736 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18737 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18738 * nis/nss_compat/compat-initgroups.c (add_group)
18739 (internal_getgrent_r): Likewise.
18740 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18741 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18742 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18743 (internal_getspnam_r): Likewise.
18744 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18745 (_nss_nis_getaliasbyname_r): Likewise.
18746 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18747 (_nss_nis_getntohost_r): Likewise.
18748 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18749 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18750 (_nss_nis_getgrgid_r): Likewise.
18751 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18752 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18753 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18754 (_nss_nis_gethostbyname4_r): Likewise.
18755 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18756 (initgroups_netid): Likewise.
a1ffb40e 18757 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18758 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18759 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18760 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18761 (_nss_nis_getprotobynumber_r): Likewise.
18762 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18763 (_nss_nis_getsecretkey): Likewise.
18764 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18765 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18766 (_nss_nis_getpwuid_r): Likewise.
18767 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18768 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18769 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18770 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18771 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18772 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18773 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18774 Likewise.
57f41c40
AS
18775 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18776 (_nss_nisplus_getntohost_r): Likewise.
18777 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18778 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18779 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18780 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18781 Likewise.
57f41c40
AS
18782 * nis/nss_nisplus/nisplus-initgroups.c
18783 (_nss_nisplus_initgroups_dyn): Likewise.
18784 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18785 (_nss_nisplus_getnetbyaddr_r): Likewise.
18786 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18787 (_nss_nisplus_getprotobynumber_r): Likewise.
18788 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18789 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18790 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18791 Likewise.
57f41c40
AS
18792 * nis/nss_nisplus/nisplus-service.c
18793 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18794 (_nss_nisplus_getservbyport_r): Likewise.
18795 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18796 (_nss_nisplus_getspnam_r): Likewise.
18797 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18798 Likewise.
a1ffb40e
OB
18799 * nscd/aicache.c (addhstaiX): Likewise.
18800 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18801 * nscd/connections.c (register_traced_file, send_ro_fd)
18802 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18803 (main_loop_epoll): Likewise.
a1ffb40e
OB
18804 * nscd/grpcache.c (addgrbyX): Likewise.
18805 * nscd/hstcache.c (addhstbyX): Likewise.
18806 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18807 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18808 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18809 (addinnetgrX): Likewise.
18810 * nscd/nscd-client.h (__nscd_acquire_maplock)
18811 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18812 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18813 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18814 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18815 Likewise.
18816 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18817 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18818 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18819 (__nscd_get_map_ref): Likewise.
a1ffb40e 18820 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18821 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18822 Likewise.
a1ffb40e
OB
18823 * nscd/pwdcache.c (addpwbyX): Likewise.
18824 * nscd/selinux.c (preserve_capabilities): Likewise.
18825 * nscd/servicescache.c (addservbyX): Likewise.
18826 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18827 * posix/fnmatch.c (fnmatch): Likewise.
18828 * posix/getopt.c (_getopt_internal_r): Likewise.
18829 * posix/glob.c (glob, glob_in_dir): Likewise.
18830 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18831 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18832 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18833 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18834 * resolv/res_init.c: Likewise.
18835 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18836 * resolv/res_query.c (__libc_res_nquery): Likewise.
18837 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18838 Likewise.
18839 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18840 * stdio-common/perror.c (perror): Likewise.
18841 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18842 * stdio-common/tmpnam.c (tmpnam): Likewise.
18843 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18844 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18845 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18846 Likewise.
a1ffb40e
OB
18847 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18848 * stdlib/putenv.c (putenv): Likewise.
18849 * stdlib/setenv.c (__add_to_environ): Likewise.
18850 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18851 * stdlib/strtol_l.c (INTERNAL): Likewise.
18852 * string/memmem.c (memmem): Likewise.
18853 * string/strerror.c (strerror): Likewise.
18854 * string/strnlen.c (__strnlen): Likewise.
18855 * string/test-memmem.c (simple_memmem): Likewise.
18856 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18857 * sunrpc/pm_getport.c (__get_socket): Likewise.
18858 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18859 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18860 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18861 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18862 Likewise.
18863 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18864 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18865 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18866 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18867 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18868 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18869 Likewise.
18870 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18871 Likewise.
a1ffb40e
OB
18872 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18873 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18874 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18875 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18876 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18878 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18879 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18880 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18881 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18882 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18883 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18884 Likewise.
18885 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18886 Likewise.
18887 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18888 Likewise.
18889 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18891 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18892 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18893 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18894 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18895 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18896 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18897 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18898 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18899 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18900 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18901 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18902 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18904 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18905 Likewise.
a1ffb40e
OB
18906 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18907 Likewise.
18908 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18909 Likewise.
18910 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18911 Likewise.
18912 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18913 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18914 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18915 Likewise.
18916 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18917 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18918 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18919 * sysdeps/posix/sleep.c: Likewise.
18920 * sysdeps/posix/tempname.c: Likewise.
18921 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18922 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18923 Likewise.
57f41c40
AS
18924 * sysdeps/powerpc/powerpc32/dl-machine.h
18925 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18926 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18927 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18928 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18929 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18930 Likewise.
18931 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18932 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18933 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18934 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18935 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18936 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18937 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18938 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18939 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18940 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18941 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18942 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18943 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18944 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18945 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18946 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18947 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18948 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18949 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18950 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18951 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18952 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18954 Likewise.
18955 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18956 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18957 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18958 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18959 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18960 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18961 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18962 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18963 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18964 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18965 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18966 Likewise.
18967 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18968 (__posix_fallocate64_l64): Likewise.
18969 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18970 (posix_fallocate): Likewise.
57f41c40
AS
18971 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18972 Likewise.
a1ffb40e 18973 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18974 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18975 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18976 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18977 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18978 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18979 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18980 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18981 (__posix_fallocate64_l64): Likewise.
18982 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18983 Likewise.
18984 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18985 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18986 (__get_clockfreq): Likewise.
a1ffb40e
OB
18987 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18988 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18989 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18990 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18991 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18992 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18993 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18994 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18995 Likewise.
18996 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18997 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18998 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18999 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19000 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19001 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19002 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19003 Likewise.
19004 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19005 (posix_fallocate): Likewise.
19006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19007 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19008 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19009 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19010 (elf_machine_rela, elf_machine_rela_relative)
19011 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19012 * time/asctime.c (asctime_internal): Likewise.
19013 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19014 * time/tzset.c (__tzset_parse_tz): Likewise.
19015 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19016 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19017 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19018 * wcsmbs/wcsmbsload.h: Likewise.
19019
f3d338c9
OB
19020 [BZ #15894]
19021 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19022
57f41c40
AS
19023 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19024 (arena_get2): Remove THREAD_STATS conditionals.
19025 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19026 (__malloc_stats, int): Likewise.
bdfe308a 19027
d674667c
MF
190282014-02-08 Mike Frysinger <vapier@gentoo.org>
19029
19030 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19031 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19032
6349768c
MF
19033 * manual/setjmp.texi: Fix typos/grammar errors.
19034
0b7c7473
MF
19035 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19036 Only return early when n is <= 0. Delete unused return statement.
19037
ac8cc9e3
MF
19038 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19039 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19040 * debug/tst-longjmp_chk3.c: New file.
19041
c5bb8e23
MF
19042 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19043 (test_main): Replace code with set_fortify_handler call.
19044 * debug/test-strcpy_chk.c: Likewise.
19045 * debug/tst-chk1.c: Likewise.
19046 * debug/tst-longjmp_chk.c: Likewise.
19047 * test-skeleton.c: Include fcntl.h & paths.h
19048 (set_fortify_handler): Define.
19049
10444e42
MF
19050 * debug/tst-longjmp_chk.c: Add header comment and include
19051 ../test-skeleton.c.
19052 (do_test): Mark static.
19053 (TEST_FUNCTION): Define.
19054
1e805e8d
MF
19055 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19056 (IP_PMTUDISC_INTERFACE): Likewise.
19057 (IP_MULTICAST_IF): Likewise.
19058 (IP_MULTICAST_TTL): Likewise.
19059 (IP_MULTICAST_LOOP): Likewise.
19060 (IP_ADD_MEMBERSHIP): Likewise.
19061 (IP_DROP_MEMBERSHIP): Likewise.
19062 (IP_UNBLOCK_SOURCE): Likewise.
19063 (IP_BLOCK_SOURCE): Likewise.
19064 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19065 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19066 (IP_MSFILTER): Likewise.
19067 (MCAST_JOIN_GROUP): Likewise.
19068 (MCAST_BLOCK_SOURCE): Likewise.
19069 (MCAST_UNBLOCK_SOURCE): Likewise.
19070 (MCAST_LEAVE_GROUP): Likewise.
19071 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19072 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19073 (MCAST_MSFILTER): Likewise.
19074 (IP_MULTICAST_ALL): Likewise.
19075 (IP_UNICAST_IF): Likewise.
19076
73f79bb7
MF
19077 * timezone/Makefile: Delete $(have-ksh) check.
19078 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19079 * timezone/tzselect.ksh: Add +x mode bits.
19080
8da79b60
MF
19081 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19082 (ANON_INODE_FS_MAGIC): Likewise.
19083 (BDEVFS_MAGIC): Likewise.
19084 (BINFMTFS_MAGIC): Likewise.
19085 (BTRFS_TEST_MAGIC): Likewise.
19086 (CRAMFS_MAGIC_WEND): Likewise.
19087 (DEBUGFS_MAGIC): Likewise.
19088 (ECRYPTFS_SUPER_MAGIC): Likewise.
19089 (EXT3_SUPER_MAGIC): Likewise.
19090 (EXT4_SUPER_MAGIC): Likewise.
19091 (FUTEXFS_SUPER_MAGIC): Likewise.
19092 (HOSTFS_SUPER_MAGIC): Likewise.
19093 (HUGETLBFS_MAGIC): Likewise.
19094 (MINIX3_SUPER_MAGIC): Likewise.
19095 (MTD_INODE_FS_MAGIC): Likewise.
19096 (NILFS_SUPER_MAGIC): Likewise.
19097 (OPENPROM_SUPER_MAGIC): Likewise.
19098 (PIPEFS_MAGIC): Likewise.
19099 (PSTOREFS_MAGIC): Likewise.
19100 (QNX6_SUPER_MAGIC): Likewise.
19101 (RAMFS_MAGIC): Likewise.
19102 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19103 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19104 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19105 (SECURITYFS_MAGIC): Likewise.
19106 (SELINUX_MAGIC): Likewise.
19107 (SMACK_MAGIC): Likewise.
19108 (SOCKFS_MAGIC): Likewise.
19109 (SQUASHFS_MAGIC): Likewise.
19110 (STACK_END_MAGIC): Likewise.
19111 (TMPFS_MAGIC): Likewise.
19112 (USBDEVICE_SUPER_MAGIC): Likewise.
19113 (V9FS_MAGIC): Likewise.
19114 (XENFS_SUPER_MAGIC): Likewise.
19115 (CRAMFS_MAGIC): Fix typo in comment.
19116 (EXT2_SUPER_MAGIC): Update comment.
19117 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19118
464263cc
JM
191192014-02-08 Joseph Myers <joseph@codesourcery.com>
19120
c6bfe5c4
JM
19121 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19122 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19123 * sysdeps/unix/sysv/linux/arm: Move directory from
19124 ports/sysdeps/unix/sysv/linux/arm.
19125 * README: Update listing for arm-*-linux-gnueabi.
19126
464263cc
JM
19127 * README: Remove mention of am33.
19128
32749f6c
RM
191292014-02-07 Roland McGrath <roland@hack.frob.com>
19130
19131 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19132 than the comma operator, to avoid "rhs of comma has no effect"
19133 compiler warnings.
19134 (__sigfillset, __sigandset, __sigorset): Likewise.
19135 * include/signal.h (__sigemptyset): Likewise.
19136 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19137
d5b396c1
AM
191382014-02-07 Allan McRae <allan@archlinux.org>
19139
19140 * version.h (RELEASE): Set to "development".
19141 (VERSION): Set to "2.19.90"
19142 * NEWS: Add 2.20 section.
19143
3bfff2ed
CD
191442014-02-06 Carlos O'Donell <carlos@redhat.com>
19145
19146 [BZ #16529]
19147 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19148
ee7cc385
SP
191492014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19150
19151 * manual/contrib.texi: Update entry for Carlos O'Donell,
19152 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19153
f877c4f2
CD
191542014-02-05 Carlos O'Donell <carlos@rehdat.com>
19155
27e839f6
CD
19156 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19157
f877c4f2
CD
19158 * sysdeps/unix/sysv/linux/kernel-features.h
19159 [__LINUX_KERNEL_VERSION >= 0x020621]
19160 (__ASSUME_PROC_PID_TASK_COMM): Define.
19161
68159946
SP
191622014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19163
ba17cdbd
SP
19164 [BZ #16398]
19165 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19166 conversion when destination buffer does not have enough space.
19167 * libio/tst-ftell-partial-wide.c: New test case.
19168 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19169
68159946
SP
19170 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19171 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19172 Leonard and Allan McRae.
19173
2b528732
DM
191742014-02-04 David S. Miller <davem@davemloft.net>
19175
19176 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19177 32-bit.
19178
0ff82463
AZ
191792014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19180
57f41c40
AS
19181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19182 New file
c01603f7
AZ
19183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19184 New file
57f41c40
AS
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19186 New file.
19187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19188 New file.
c01603f7
AZ
19189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19190 New file.
57f41c40
AS
19191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19192 New file.
19193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19194 New file.
c01603f7
AZ
19195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19196 New file.
19197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19198 New file.
19199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19200 New file.
19201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19202 New file.
19203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19204 New file.
19205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19206 New file.
19207
192082014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19209
0ff82463
AZ
19210 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19211 * shlib-versions: Likewise.
19212
1695c773
AZ
192132014-02-04 Roland McGrath <roland@hack.frob.com>
19214 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19215
19216 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19217 (abilist-pattern): New variable, set to %-le.abilist.
19218
19219 * Makerules (abilist-pattern): New variable.
19220 (vpath): Use $(abilist-pattern) in place of %.abilist.
19221 (check-abi-% pattern rule): Likewise.
19222 (check-abi, update-abi): Likewise.
19223
6c0ce4b4
EW
192242014-02-04 Eric Wong <normalperson@yhbt.net>
19225
19226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19227
481e3524
CD
192282014-02-03 Carlos O'Donell <carlos@redhat.com>
19229
19230 * manual/startup.texi: Add next, previous, and top entries for
19231 the `Program Arguments' and `Environment Variables' nodes.
19232
375592d3
AO
192332014-02-03 Alexandre Oliva <aoliva@redhat.com>
19234
19235 * manual/macros.texi: Add comments before MTASC-safety macros.
19236
f54838ba
AO
19237 * manual/users.texi: Document MTASC-safety properties.
19238
57f41c40
AS
19239 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19240 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19241 @deftypefun, and add @safety note.
19242 * manual/signal.texi: Move comments that analyze the above
19243 functions to their home place.
19244
fd3daba4
AM
192452014-02-03 Allan McRae <allan@archlinux.org>
19246
19247 * po/sl.po: Update Slovenian translation from translation project.
19248
597636d7
AO
192492014-02-02 Alexandre Oliva <aoliva@redhat.com>
19250
19251 * manual/time.texi (timegm): Add missing blank after @c.
19252 Reported by Joseph Myers <joseph@codesourcery.com>.
19253
ee196e3c
AO
192542014-02-01 Alexandre Oliva <aoliva@redhat.com>
19255
19256 * manual/check-safety.sh: New.
19257 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19258
f8d529d5
AO
19259 * manual/terminal.texi: Document MTASC-safety properties.
19260
de55fdf4
AO
19261 * manual/filesys.texi: Document MTASC-safety properties.
19262
c3299c08
AO
19263 * manual/errno.texi: Document MTASC-safety properties.
19264
06e90b14
AO
19265 * manual/intro.texi: Document safety identifiers and
19266 conditionals.
19267
1acd4371
AO
19268 * manual/string.texi (wcstok): Fix prototype.
19269 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19270
23e5b8cb
AO
19271 * manual/time.texi: Document MTASC-safety properties.
19272
11087373
AO
19273 * manual/string.texi: Document MTASC-safety properties.
19274
5da2c93d
AO
19275 * manual/threads.texi: Document MTASC-safety properties.
19276
171e9210
AO
19277 * manual/stdio.texi: Document MTASC-safety properties.
19278
d9e02532
AO
19279 * manual/syslog.texi: Document MTASC-safety properties.
19280
6af8bab7
AO
19281 * manual/sysinfo.texi: Document MTASC-safety properties.
19282
663b02d7
AO
19283 * manual/startup.texi: Document MTASC-safety properties.
19284
973f180b
AO
19285 * manual/socket.texi: Document MTASC-safety properties.
19286
8f3c25c8
AO
19287 * manual/signal.texi: Document MTASC-safety properties.
19288
542210fb
AO
192892014-01-31 Alexandre Oliva <aoliva@redhat.com>
19290
19291 * manual/setjmp.texi: Document MTASC-safety properties.
19292
433c45a2
AO
19293 * manual/search.texi: Document MTASC-safety properties.
19294
c8ce789c
AO
19295 * manual/resource.texi: Document MTASC-safety properties.
19296
19f5d29c
AO
19297 * manual/process.texi: Document MTASC-safety properties.
19298
e2dfb7f4
AO
19299 * manual/platform.texi: Document MTASC-safety properties.
19300
8c1413f5
AO
19301 * manual/pipe.texi: Document MTASC-safety properties.
19302
03483ada
AO
19303 * manual/pattern.texi: Document MTASC-safety properties.
19304
29e7e2df
AO
19305 * manual/message.texi: Document MTASC-safety properties.
19306
9f529d7c
AO
19307 [BZ #12751]
19308 * manual/memory.texi: Document MTASC-safety properties.
19309
27aaa791
AO
19310 * manual/math.texi: Document MTASC-safety properties.
19311
f2d58726
AO
19312 * manual/locale.texi: Document MTASC-safety properties.
19313
2cc3615c
AO
19314 * manual/llio.texi: Document MTASC-safety properties.
19315
d9f0ec97
AO
19316 * manual/libdl.texi: New.
19317
e7c4409a
AO
19318 * manual/lang.texi: Document MTASC-safety properties.
19319
27bdc63c
AO
19320 * manual/job.texi: Document MTASC-safety properties.
19321
a7b90ea9
AO
19322 * manual/getopt.texi: Document MTASC-safety properties.
19323
c49130e3
AO
19324 * manual/ctype.texi: Document MTASC-safety properties.
19325
0d23a5c1
MR
193262014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19327
19328 [BZ #16046]
19329 * csu/libc-tls.c (static_map): Remove variable.
19330 (__libc_setup_tls): Use main executable's link map for TLS data.
19331 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19332 casing for LM_ID_BASE and GL(dl_nns).
19333 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19334 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19335 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19336 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19337 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19338 member.
19339 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19340 l_phnum members.
19341
0037bb60
AO
193422014-01-30 Alexandre Oliva <aoliva@redhat.com>
19343
19344 * manual/debug.texi: Document MTASC-safety properties.
19345
409e00bd
L
193462014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19347
19348 [BZ #16510]
19349 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19350 of __x86_64__ when disabling x87 inline functions.
19351
86e60666
AO
193522014-01-29 Alexandre Oliva <aoliva@redhat.com>
19353
19354 * manual/charset.texi: Document MTASC-safety properties.
19355
76167637
AO
19356 * manual/crypt.texi: Document MTASC-safety properties.
19357
e567f2a0
AO
19358 * manual/conf.texi: Document MTASC-safety properties.
19359
b719dafd
AO
19360 * manual/arith.texi: Document MTASC-safety properties.
19361
4a16c662
AO
19362 * manual/argp.texi: Document MTASC-safety properties.
19363
0a57b83e
AO
19364 * manual/macros.texi: Introduce macros to document multi
19365 thread, asynchronous signal and asynchronous cancellation
19366 safety properties.
19367 * manual/intro.texi: Introduce the properties themselves.
19368
feab2397
KK
193692014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19370
19371 * sysdeps/sh/sh4/Makefile: New file.
19372
1c0d11bc
AS
193732014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19374
19375 * math/gen-libm-test.pl ($srcdir): New variable.
19376 ($auto_input): Use it.
19377
af37a8a3
SP
193782014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19379
d7b00f98
SP
19380 [BZ #16506]
19381 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19382 access beyond array bounds when parsing netgroups file.
19383
af37a8a3
SP
19384 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19385 the old buffer before realloc.
19386
0c00f062
AM
193872014-01-27 Allan McRae <allan@archlinux.org>
19388
19389 * po/fr.po: Update French translation from translation project.
19390
7d69a1b0
KK
193912014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19392
19393 * sysdeps/sh/libm-test-ulps: Regenerate.
19394
6e697ff7
DM
193952014-01-24 David S. Miller <davem@davemloft.net>
19396
19397 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19398
9cadb35c
KK
193992014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19400
19401 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19402 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19403
5d41dadf
SP
194042013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19405
19406 [BZ #16474]
19407 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19408 string pointers after reallocation.
19409
0bad441c
KK
194102014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19411
19412 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19413 __SH4A__ instead of __SH_FPU_ANY__.
19414
7007c661
KK
194152014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19416
19417 * sysdeps/sh/fpu_control.h: New file.
19418 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19419 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19420 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19421 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19422 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19423 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19424 * sysdeps/sh/sys/ucontext.h: Remove.
19425 * sysdeps/sh/sys: Remove directory.
19426
0f0c35e4
AK
194272014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19428
19429 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19430 s390/sys/ucontext.h.
19431 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19432 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19433
4959e284
L
194342014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19435
19436 [BZ #15605]
19437 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19438
d98720e0
AZ
194392014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19440
19441 [BZ#16431]
19442 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19443 Adjust the vDSO correctly for internal calls.
19444 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19445
91cbd0bc
AM
194462014-01-20 Allan McRae <allan@archlinux.org>
19447
19448 * po/ca.po: Update Catalan translation from translation project.
19449
7a02cfad
MF
194502014-01-16 Mike Frysinger <vapier@gentoo.org>
19451
19452 * sysdeps/s390/sotruss-lib.c: New file.
19453
736c304a
AZ
194542014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19455
19456 [BZ#16430]
6e077ee5 19457 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19458 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19459 local calls issues by not having a PLT stub required for IFUNC calls.
19460 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19461
94d0cea0
JM
194622014-01-16 Joseph Myers <joseph@codesourcery.com>
19463
19464 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19465 * math/test-fpucw-static.c: Likewise.
19466
980cb518
SP
194672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19468
19469 [BZ #16453]
19470 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19471
2393fc01
AZ
194722014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19473
19474 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19475 implementation for powerpc.
19476
d359bcc2
OB
194772014-01-15 Ondřej Bílka <neleai@seznam.cz>
19478
19479 [BZ #14782]
19480 * sysdeps/posix/system.c (__libc_system): Do not enable
19481 asynchronous cancellation.
19482
7beb48cb
AK
194832014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19484
19485 [BZ #16427]
19486 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19487 handling only for numbers special also in the IEEE case.
19488
c20d5bf5
AK
194892014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19490
19491 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19492
e83bd4ee
AM
194932014-01-11 Allan McRae <allan@archlinux.org>
19494
76d0ea69
AM
19495 * po/bg.po: Update Bulgarian translation from translation project.
19496
e83bd4ee
AM
19497 * po/de.po: Update German translation from translation project.
19498
bc2ba20a
RM
194992014-01-10 Roland McGrath <roland@hack.frob.com>
19500
19501 * sysdeps/generic/gcc-compat.h: New file.
19502
649ecea2
SP
195032014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19504
19505 * benchtests/asin-inputs: Correct slow inputs.
19506 * benchtests/acos-inputs: Likewise.
19507
1b19c006
AM
195082014-01-10 Allan McRae <allan@archlinux.org>
19509
a46dab08
AM
19510 * po:sv.po: Update Swedish translation from translation project.
19511
421df74a
AM
19512 * po/vi.po: Update Vietnamese translation from translation project.
19513
d61c51a7
AM
19514 * po/eo.po: Update Esperanto translation from translation project.
19515
0339a319
AM
19516 * po/cs.po: Update Czech translation from translation project.
19517
94ad3e99
AM
19518 * po/nl.po: Update Dutch translation from translation project.
19519
e349ca71
AM
19520 * po/pl.po: Update Polish translation from translation project.
19521
ddf930c1
AM
19522 * po/ru.po: Update Russian translation from translation project.
19523
1b19c006
AM
19524 * po/uk.po: Update Ukrainian translation from translation project.
19525
9f236c49
BM
195262014-01-08 Brooks Moses <bmoses@google.com>
19527
19528 * elf/dl-load.c: Fix comment typo.
19529
cd6701cf
CD
195302014-01-08 Carlos O'Donell <carlos@redhat.com>
19531
19532 * po/header.pot: Rename to...
19533 * po/pot.header: ... this.
19534 * po/Makefile: Use pot.header.
19535
66671c84
YK
195362014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19537 Maxim Kuvyrkov <maxim@kugelworks.com>
19538
19539 [BZ #16394]
cd6701cf
CD
19540 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19541 SRC and DEST against LEN.
66671c84 19542
38f34581
AZ
195432014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19544
19545 [BZ #16414]
19546 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19547 implementation.
19548 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19549
195502014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19551
19552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19553
4c327f2a
JM
195542014-01-08 Joseph Myers <joseph@codesourcery.com>
19555
19556 [BZ #16408]
19557 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19558 for large positive arguments.
19559
b821f414
JM
195602014-01-07 Joseph Myers <joseph@codesourcery.com>
19561
1f0f2067
JM
19562 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19563
a5a326f6
JM
19564 * math/auto-libm-test-in: Mark various tests with
19565 xfail-rounding:ldbl-128ibm.
19566 * math/auto-libm-test-out: Regenerated.
19567
b821f414
JM
19568 [BZ #16407]
19569 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19570 Increase overflow threshold.
19571
94c8a4bc
OB
195722014-01-07 Ondřej Bílka <neleai@seznam.cz>
19573
19574 [BZ #14286]
19575 * stdio-common/vfprintf.c: Check for integer overflow.
19576
87ded0c3
AK
195772014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19578
19579 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19580 the first argument and return value of __tls_get_addr_internal.
19581
c5eebdd0
AK
195822014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19583
19584 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19585 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19586
05d138ef
AK
195872014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19588
19589 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19590 * sysdeps/s390/rtld-global-offsets.sym: New file.
19591 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19592 GLIBC_2.19 symbol.
19593 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19594 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19595 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19596 ... this.
19597 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19598 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19599 ... this.
19600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19601 Regenerate.
19602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19603 Regenerate.
19604 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19605 halfs of GPRs for high_gprs contexts.
19606 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19607 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19608 field.
19609 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19610 uc_flags field.
19611 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19612 64 bit versions:
19613 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19614 for high GPRs (uc_high_gprs) and for future extensions
19615 (__reserved).
19616 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19617 for future extensions (__reserved).
19618 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19619 64 bit versions:
19620 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19621 SC_HIGHGPRS offset definition.
19622 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19623 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19624
93a45ff1
AK
19625 * Versions.def: Add GLIBC_2.19 for libpthread.
19626 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19627 siglongjmp for libpthread with GLIBC_2.19 symver.
19628 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19629 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19630 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19631 * sysdeps/s390/__longjmp.c: New file.
19632 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19633 * sysdeps/s390/longjmp.c: New file.
19634 * sysdeps/s390/setjmp.S: New file.
19635 * sysdeps/s390/sigjmp.S: New file.
19636 * sysdeps/s390/v1-longjmp.c: New file.
19637 * sysdeps/s390/v1-setjmp.h: New file.
19638 * sysdeps/s390/v1-sigjmp.c: New file.
19639 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19640 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19641 GLIBC_2.19 version.
19642 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19643 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19644 versioned symbols for ____longjmp_chk.
19645 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19646 Likewise.
19647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19648 Regenerate.
19649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19650 Regenerate.
19651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19652 Regenerate.
19653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19654 Regenerate.
19655 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19656 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19657 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19658 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19659 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19660 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19661 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19662 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19663 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19664 * sysdeps/s390/rtld-__longjmp.c: New file.
19665 * sysdeps/s390/rtld-setjmp.S: New file.
19666
eb3fc44b
JM
196672014-01-06 Joseph Myers <joseph@codesourcery.com>
19668
19669 [BZ #16400]
19670 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19671 Return -__logl (x) for small positive arguments without evaluating
19672 a polynomial.
19673
9341dde4
MF
196742014-01-06 Mike Frysinger <vapier@gentoo.org>
19675
19676 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19677 Rename to ...
19678 (__ptrace_peeksiginfo_args): ... this.
19679 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19680 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19681 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19682
4cff0293
AM
196832014-01-06 Allan McRae <allan@archlinux.org>
19684
19685 * inet/netinet/in.h: Fix typo in comment.
19686
75595dcf
AJ
196872014-01-05 Andreas Jaeger <aj@suse.de>
19688
19689 * sysdeps/i386/fpu/libm-test-ulps: Update.
19690
79c1e109
AM
196912014-01-05 Allan McRae <allan@archlinux.org>
19692
dd804818
AM
19693 * po/libc.pot: Regenerated.
19694
79c1e109
AM
19695 * malloc/memusagestat.c: Fix gettext call formatting.
19696
0c813d1f
SK
196972014-01-04 Sami Kerola <kerolasa@iki.fi>
19698
19699 * nscd/nscd.c: Improve usage() output.
19700
20f4a8d9
MF
197012014-01-04 Mike Frysinger <vapier@gentoo.org>
19702
19703 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19704 * sysdeps/unix/sysv/linux/configure: Regenerated.
19705 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19706 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19707
22562bb2
JM
197082014-01-03 Joseph Myers <joseph@codesourcery.com>
19709
19710 [BZ #16390]
19711 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19712 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19713
d7ad2d9b
AZ
197142014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19715
19716 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19717 extra tokens at end of #undef directive.
19718 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19719 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19720 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19721
7dd009d8
JM
197222014-01-03 Joseph Myers <joseph@codesourcery.com>
19723
24db925a
JM
19724 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19725
7dd009d8
JM
19726 * math/auto-libm-test-in: Mark various tests with
19727 xfail-rounding:ldbl-128ibm.
19728 * math/auto-libm-test-out: Regenerated.
19729
396e3ecf
JM
197302014-01-02 Joseph Myers <joseph@codesourcery.com>
19731
819e5d50
JM
19732 [BZ #16386]
19733 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19734 numbers with subnormal high part when calculating exponent.
19735
90b6a1e5
JM
19736 [BZ #16385]
19737 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19738 fabs.
19739
396e3ecf
JM
19740 [BZ #16384]
19741 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19742 M_LN2l.
19743 (__ieee754_acoshl): Use __log1pl not __log1p.
19744
6c8dbf00
OB
197452013-01-02 Ondřej Bílka <neleai@seznam.cz>
19746
57f41c40
AS
19747 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19748 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19749 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19750 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19751 (reused_arena, arena_get2): Convert to GNU style.
19752 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19753 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19754 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19755 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19756 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19757 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19758 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19759 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19760 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19761 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19762 * malloc/malloc.h: Likewise.
57f41c40
AS
19763 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19764 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19765 * malloc/mcheck.h: Likewise.
57f41c40
AS
19766 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19767 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19768 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19769 * malloc/morecore.c (__default_morecore): Likewise.
19770 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19771 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19772 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19773 (print_and_abort): Likewise.
6c8dbf00
OB
19774 * malloc/obstack.h: Likewise.
19775 * malloc/set-freeres.c (__libc_freeres): Likewise.
19776 * malloc/tst-mallocstate.c (main): Likewise.
19777 * malloc/tst-mtrace.c (main): Likewise.
19778 * malloc/tst-realloc.c (do_test): Likewise.
19779
d4124212
SP
197802013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19781
9a3c6a6f
SP
19782 [BZ #16366]
19783 * nscd/netgroupcache.c (do_notfound): New function.
19784 (addgetnetgrentX): Use it.
19785
d4124212
SP
19786 [BZ # 16365]
19787 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19788 NSS_STATUS_NOTFOUND.
19789
97b9a009
JM
197902014-01-01 Joseph Myers <joseph@codesourcery.com>
19791
19792 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19794
d4697bc9
AM
197952014-01-01 Allan McRae <allan@archlinux.org>
19796
ddb3687f
AM
19797 * scripts/update-copyrights: Update configure input file suffix.
19798
88726d48
AM
19799 * NEWS: Update copyright year.
19800 * catgets/gencat.c: Likewise.
19801 * csu/version.c: Likewise.
19802 * debug/catchsegv.sh: Likewise.
19803 * debug/pcprofiledump.c: Likewise.
19804 * debug/xtrace.sh: Likewise.
19805 * elf/ldconfig.c: Likewise.
19806 * elf/ldd.bash.in: Likewise.
19807 * elf/pldd.c: Likewise.
19808 * elf/sotruss.ksh: Likewise.
19809 * elf/sprof.c: Likewise.
19810 * iconv/iconv_prog.c: Likewise.
19811 * iconv/iconvconfig.c: Likewise.
19812 * locale/programs/locale.c: Likewise.
19813 * locale/programs/localedef.c: Likewise.
19814 * login/programs/pt_chown.c: Likewise.
19815 * malloc/memusage.sh: Likewise.
19816 * malloc/memusagestat.c: Likewise.
19817 * malloc/mtrace.pl: Likewise.
19818 * manual/libc.texinfo: Likewise.
19819 * nscd/nscd.c: Likewise.
19820 * nss/getent.c: Likewise.
19821 * nss/makedb.c: Likewise.
19822 * posix/getconf.c: Likewise.
19823 * scripts/test-installation.pl: Likewise.
19824
d4697bc9
AM
19825 * All files with FSF copyright notices: Update copyright dates
19826 using scripts/update-copyrights.
19827 * intl/plural.c: Regenerated.
19828 * locale/programs/charmap-kw.h: Likewise.
19829 * locale/programs/locfile-kw.h: Likewise.
19830
c8590f9d
MF
198312013-12-31 Mike Frysinger <vapier@gentoo.org>
19832
19833 * sysdeps/unix/sysv/linux/configure: Regenerated.
19834 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19835 the linux/fanotify.h header.
19836 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19837 HAVE_LINUX_FANOTIFY_H is defined.
19838
b19221b9
SP
198392013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19840
dd1d85e5
SP
19841 * benchtests/cos-inputs: New inputs.
19842 * benchtests/sin-inputs: Likewise.
19843
1acbb90f
SP
19844 * benchtests/atan-inputs: New inputs. Fix name of multiple
19845 precision fallback inputs.
19846
4c012ed3
SP
19847 * benchtests/atanh-inputs: New inputs.
19848 * benchtests/tanh-inputs: Likewise.
19849
eff98324
SP
19850 * benchtests/acosh-inputs: New inputs.
19851 * benchtests/asinh-inputs: Likewise.
19852
ce641152
SP
19853 * benchtests/cosh-inputs: New inputs.
19854 * benchtests/sinh-inputs: Likewise.
19855
b19221b9
SP
19856 * benchtests/acos-inputs: Add more inputs.
19857 * benchtests/asin-inputs: Likewise.
19858
030a4976 198592013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19860
030a4976 19861 [BZ #16375]
9dcc8f11
VS
19862 * manual/arith.texi: Fix spelling.
19863 * manual/charset.texi: Likewise.
19864 * manual/errno.texi: Likewise.
19865 * manual/filesys.texi: Likewise.
19866 * manual/lang.texi: Likewise.
19867 * manual/llio.texi: Likewise.
19868 * manual/locale.texi: Likewise.
19869 * manual/message.texi: Likewise.
19870 * manual/resource.texi: Likewise.
19871 * manual/search.texi: Likewise.
19872 * manual/setjmp.texi: Likewise.
19873 * manual/stdio.texi: Likewise.
19874 * manual/string.texi: Likewise.
19875 * manual/sysinfo.texi: Likewise.
19876 * manual/time.texi: Likewise.
19877
11520a57
CD
198782013-12-27 Carlos O'Donell <carlos@redhat.com>
19879
19880 * po/sl.po: New file.
19881
471103ae
MF
198822013-12-27 Mike Frysinger <vapier@gentoo.org>
19883
19884 * .gitignore: Add core/.gdbinit/.gdb_history.
19885
6c9642ed
AM
198862013-12-27 Allan McRae <allan@archlinux.org>
19887
19888 [BZ #16369]
19889 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19890 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19891
3f637079
BM
198922013-12-24 Brooks Moses <bmoses@google.com>
19893
19894 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19895 all compilers that claim C++98 compliance, not just GCC.
19896 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19897 Likewise.
19898
abc26e99
MK
198992013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19900
19901 * NEWS: Restore accidentally deleted bug-fix entries.
19902
362b47fe
MK
199032013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19904 Ondřej Bílka <neleai@seznam.cz>
19905
19906 [BZ #15073]
19907 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19908 have_lock.
362b47fe 19909
b9bcbbcb
OB
199102013-12-23 Ondřej Bílka <neleai@seznam.cz>
19911
19912 [BZ #12986]
19913 * manual/stdio.texi (String Input Conversions): Clarify that character
19914 classes are not supported.
19915
fb55fcd2
AZ
199162013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19917
19918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19919
ef7344f0
JM
199202013-12-22 Joseph Myers <joseph@codesourcery.com>
19921
4f40e4b3
JM
19922 [BZ #16337]
19923 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19924 Calculate results for small negative arguments directly rather
19925 than using reflection formula with special underflow handling.
19926
ef7344f0
JM
19927 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19928 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19929 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19930 (fchflags): Likewise.
19931 (revoke): Likewise.
19932 (setlogin): Likewise.
19933 (sigaltstack): Likewise.
19934 (wait4): Likewise.
19935 (sigblock): Remove.
19936 (sigsetmask): Likewise.
19937 (wait3): Likewise.
19938 (waitpid): Likewise.
19939 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19940 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19941 file.
19942 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19943 * sysdeps/unix/bsd/Makefile: ... here.
19944 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19945 * sysdeps/unix/bsd/Versions: ... here.
19946 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19947 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19948 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19949 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19950 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19951 * sysdeps/unix/bsd/sigblock.c: ... here.
19952 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19953 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19954 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19955 * sysdeps/unix/bsd/sigvec.c: ... here.
19956 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19957 * sysdeps/unix/bsd/tcdrain.c: ... here.
19958 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19959 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19960 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19961 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19962 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19963 * sysdeps/unix/bsd/wait.c: ... here.
19964 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19965 * sysdeps/unix/bsd/wait3.c: ... here.
19966 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19967 * sysdeps/unix/bsd/waitpid.c: ... here.
19968
5b0626b9
JM
199692013-12-21 Joseph Myers <joseph@codesourcery.com>
19970
19971 [BZ #16356]
19972 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19973 round-to-nearest for [!USE_AS_EXPM1L].
19974 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19975 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19976 more tests of exp and exp10. Expect some exp10 tests to miss
19977 exceptions or fail in directed rounding modes.
19978 * math/auto-libm-test-out: Regenerated.
19979 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19980 (exp10_test_tonearest): New function.
19981 (exp10_towardzero_test_data): New array.
19982 (exp10_test_towardzero): New function.
19983 (exp10_downward_test_data): New array.
19984 (exp10_test_downward): New function.
19985 (exp10_upward_test_data): New array.
19986 (exp10_test_upward): New function.
19987 (main): Call the new functions.
19988 * sysdeps/i386/fpu/libm-test-ulps: Update.
19989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19990
7fda5682
JM
199912013-12-20 Joseph Myers <joseph@codesourcery.com>
19992
31e3a405
JM
19993 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19994 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19995 * math/auto-libm-test-out: Regenerated.
19996 * math/libm-test.inc (acosh_test_data): Add more tests.
19997 (atanh_test_data): Likewise.
19998 (ceil_test_data): Likewise.
19999 (copysign_test_data): Likewise.
20000 * sysdeps/i386/fpu/libm-test-ulps: Update.
20001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20002
85bff96a
JM
20003 * timezone/checktab.awk: Update from tzcode 2013i.
20004 * timezone/private.h: Likewise.
20005 * timezone/scheck.c: Likewise.
20006 * timezone/tzfile.h: Likewise.
20007 * timezone/tzselect.ksh: Likewise.
20008 * timezone/zdump.c: Likewise.
20009 * timezone/zic.c: Likewise.
20010
b7867a3b
JM
20011 * math/auto-libm-test-in: Add tests of cpow.
20012 * math/auto-libm-test-out: Regenerated.
20013 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20015 mpc_cc_c.
20016 (func_calc_desc): Add mpc_cc_c union field.
20017 (test_functions): Add cpow.
20018 (special_fill_2pi): New function.
20019 (special_real_inputs): Add 2pi.
20020 (calc_generic_results): Handle mpc_cc_c.
20021 * sysdeps/i386/fpu/libm-test-ulps: Update.
20022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20023
7fda5682
JM
20024 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20025 csqrt, ctan and ctanh.
20026 * math/auto-libm-test-out: Regenerated.
20027 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20028 (TEST_COND_x86): Likewise.
20029 (ccos_test_data): Use AUTO_TESTS_c_c.
20030 (ccosh_test_data): Likewise.
20031 (cexp_test_data): Likewise.
20032 (clog_test_data): Likewise.
20033 (csqrt_test_data): Likewise.
20034 (ctan_test_data): Likewise.
20035 (ctan_tonearest_test_data): Likewise.
20036 (ctan_towardzero_test_data): Likewise.
20037 (ctan_downward_test_data): Likewise.
20038 (ctan_upward_test_data): Likewise.
20039 (ctanh_test_data): Likewise.
20040 (ctanh_tonearest_test_data): Likewise.
20041 (ctanh_towardzero_test_data): Likewise.
20042 (ctanh_downward_test_data): Likewise.
20043 (ctanh_upward_test_data): Likewise.
20044 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20045 mpc_c_c.
20046 (func_calc_desc): Add mpc_c_c union field.
20047 (FUNC_mpc_c_c): New macro.
20048 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20049 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20050 ctanh.
20051 (special_fill_min_subnorm_p120): New function.
20052 (special_real_inputs): Add min_subnorm_p120.
20053 (calc_generic_results): Handle mpc_c_c.
20054 * sysdeps/i386/fpu/libm-test-ulps: Update.
20055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20056
5ff8d60e
SP
200572013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20058
57f41c40
AS
20059 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20060 (do_sin_slow): New functions.
20061 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20062 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20063
84ba214c
SP
20064 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20065 Use M to change sign of result instead of X. Assume X is
20066 positive.
20067 (csloww1): Likewise.
20068 (__sin): Adjust.
20069 (__cos): Adjust.
20070
975195e4
SP
20071 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20072 arguments A and DA.
20073 (__sin): Adjust.
20074 (__cos): Likewise.
20075
5ff8d60e
SP
20076 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20077 (__cos): Likewise.
20078 (sloww1): Don't adjust sign of DX.
20079 (csloww1): Likewise.
20080 (sloww2): Use X directly and don't adjust sign of DX.
20081 (csloww2): Likewise.
20082
eb983568
JM
200832013-12-19 Joseph Myers <joseph@codesourcery.com>
20084
64a17f1a
JM
20085 * math/auto-libm-test-in: Add tests of cabs and carg.
20086 * math/auto-libm-test-out: Regenerated.
20087 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20088 (carg_test_data): Likewise.
20089 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20090 mpc_c_f.
20091 (func_calc_desc): Add mpc_c_f union field.
20092 (test_functions): Add cabs and carg.
20093 (calc_generic_results): Handle mpc_c_f.
20094
eb983568
JM
20095 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20096 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20097 as a macro and a compat symbol.
20098 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20099 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20100 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20101 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20102 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20103 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20104 not use .hidden.
20105 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20106 Likewise.
20107 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20108 Likewise.
20109 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20110 Likewise.
20111 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20112 Likewise.
20113 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20114 Likewise.
20115 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20116 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20117 from GLIBC_2.3.2.
20118
6eeb678a
AZ
201192013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20120
20121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20122
6f6fc482
JM
201232013-12-19 Joseph Myers <joseph@codesourcery.com>
20124
21fea2e2
JM
20125 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20126 trailing whitespace removed.
20127 * scripts/config.guess: Update to version 2013-11-29.
20128 * scripts/config.sub: Update to version 2013-10-01.
20129
6f6fc482
JM
20130 * math/auto-libm-test-in: Add tests of sincos.
20131 * math/auto-libm-test-out: Regenerated.
20132 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20133 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20134 mpfr_f_11.
20135 (func_calc_desc): Add mpfr_f_11 union field.
20136 (test_functions): Add sincos.
20137 (calc_generic_results): Handle mpfr_f_11.
20138 * sysdeps/i386/fpu/libm-test-ulps: Update.
20139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20140
83f5c32d
AS
201412013-12-19 Andreas Schwab <schwab@suse.de>
20142
20143 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20144 CALL_MCOUNT.
20145 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20146 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20147 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20148
c688b419
JM
201492013-12-19 Joseph Myers <joseph@codesourcery.com>
20150
335ee092
JM
20151 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20152 * sysdeps/i386/fpu/libm-test-ulps: Update.
20153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20154
f88acd39
JM
20155 [BZ #16293]
20156 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20157 round-to-nearest mode when using frndint.
20158 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20159 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20160 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20161 Likewise.
20162 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20163 sinh test to fail.
20164 * math/auto-libm-test-out: Regenerated.
20165 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20166 (TEST_COND_x86): Likewise.
20167 (expm1_tonearest_test_data): New array.
20168 (expm1_test_tonearest): New function.
20169 (expm1_towardzero_test_data): New array.
20170 (expm1_test_towardzero): New function.
20171 (expm1_downward_test_data): New array.
20172 (expm1_test_downward): New function.
20173 (expm1_upward_test_data): New array.
20174 (expm1_test_upward): New function.
20175 (main): Run the new test functions.
20176 * sysdeps/i386/fpu/libm-test-ulps: Update.
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20178
c688b419
JM
20179 * include/features.h: Update comment documenting feature test
20180 macros. Mention _DEFAULT_SOURCE in comment.
20181 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20182 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20183 _BSD_SOURCE and _SVID_SOURCE.
20184 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20185 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20186 !_SVID_SOURCE]: Likewise.
20187 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20188 (__USE_POSIX_IMPLICITLY): Define.
20189 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20190 (_POSIX_SOURCE): Undefine and redefine.
20191 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20192 (_POSIX_C_SOURCE): Likewise.
20193 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20194 (Feature Test Macros): Update documentation of default features.
20195
9f6e964c
RS
201962013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20197
20198 * benchtests/Makefile: Add bench-strtok.
20199 * benchtests/bench-strtok.c: New file: strtok benchtest.
20200
ee0a148a
AM
202012013-12-19 Allan McRae <allan@archlinux.org>
20202
20203 * manual/install.texi: Suppress menu for plain text output.
20204 * INSTALL: Regenerated.
20205
b9ab448f
BM
202062013-12-18 Brooks Moses <bmoses@google.com>
20207
20208 [BZ #15846]
20209 * misc/getauxval.c: Include errno.h.
20210 (__getauxval): Set errno to ENOENT if the requested type is not
20211 found.
20212 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20213 don't declare with __attribute_const__.
20214 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20215 * manual/startup.texi: Document that getauxval sets errno.
20216
23776487
JM
202172013-12-18 Joseph Myers <joseph@codesourcery.com>
20218
f889953b
JM
20219 * math/auto-libm-test-in: Add tests of jn and yn.
20220 * math/auto-libm-test-out: Regenerated.
20221 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20222 (yn_test_data): Likewise.
20223 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20224 mpfr_if_f.
20225 (func_calc_desc): Add mpfr_if_f union field.
20226 (FUNC_mpfr_if_f): New macro.
20227 (test_functions): Add jn and yn.
20228 (calc_generic_results): Assert type of second input for
20229 mpfr_ff_f. Handle mpfr_if_f.
20230 (output_for_one_input_case): Disable all checking for arguments
20231 fitting floating-point types in case of an integer argument.
20232 * sysdeps/i386/fpu/libm-test-ulps: Update.
20233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20234
23776487
JM
20235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20236 Don't expect fegetround reference in libm.so.
20237
cb756c6d
MS
202382013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20239
20240 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20241 $(config-cflags-nofma).
20242
2dec468f
JM
202432013-12-18 Joseph Myers <joseph@codesourcery.com>
20244
5953eb3a
JM
20245 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20246 * math/auto-libm-test-out: Regenerated.
20247
2dec468f
JM
20248 [BZ #16338]
20249 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20250 to determine exponent and adjust argument to have exponent of -1.
20251 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20252 log2.
20253 * math/auto-libm-test-out: Regenerated.
20254 * sysdeps/i386/fpu/libm-test-ulps: Update.
20255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20256
4d84e6ad
OB
202572013-12-18 Ondřej Bílka <neleai@seznam.cz>
20258
20259 * manual/probes.texi: Remove cases when per-thread arenas are
20260 disabled.
20261
1818483b
AS
202622013-12-18 Andreas Schwab <schwab@suse.de>
20263
20264 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20265 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20266 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20267 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20268 * sysdeps/i386/i686/multiarch/Makefile: Update.
20269 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20270
25de95bf
JM
202712013-12-17 Joseph Myers <joseph@codesourcery.com>
20272
20273 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20274 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20275
674762d9
PE
202762013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20277
ed27ed83 20278 [BZ #15968]
0748546f
PE
20279 Support TZ transition times < 00:00:00.
20280 This is needed for version-3 tz-format files; it supports time
20281 stamps past 2037 for America/Godthab (the only entry in the tz
20282 database for which this change is relevant).
20283 * manual/time.texi (TZ Variable): Document transition times
20284 from -167:59:59 through -00:00:01.
20285 * time/tzset.c (tz_rule): Time of day is now signed.
20286 (__tzset_parse_tz): Parse negative time of day.
20287
4480e934
PE
20288 Document TZ transition times >= 25:00:00.
20289 * manual/time.texi (TZ Variable): Document transition times from
20290 25:00:00 through 167:59:59. These are already supported, and this
20291 support will help with version-3 tz-format files.
20292
69947401
PE
20293 * manual/time.texi (TZ Variable): Modernize North America example
20294 to reflect current (i.e., 2007-and-later) daylight saving rules.
20295
674762d9
PE
20296 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20297
7011c262
JM
202982013-12-17 Joseph Myers <joseph@codesourcery.com>
20299
2fc6557e
JM
20300 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20301 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20304 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20305 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20306 * sysdeps/unix/bsd/clock.c: Likewise.
20307 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20308 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20309 * sysdeps/unix/bsd/init-posix.c: Likewise.
20310 * sysdeps/unix/bsd/poll.c: Likewise.
20311 * sysdeps/unix/bsd/ptsname.c: Likewise.
20312 * sysdeps/unix/bsd/seekdir.c: Likewise.
20313 * sysdeps/unix/bsd/setegid.c: Likewise.
20314 * sysdeps/unix/bsd/seteuid.c: Likewise.
20315 * sysdeps/unix/bsd/setgid.c: Likewise.
20316 * sysdeps/unix/bsd/setrgid.c: Likewise.
20317 * sysdeps/unix/bsd/setruid.c: Likewise.
20318 * sysdeps/unix/bsd/setsid.c: Likewise.
20319 * sysdeps/unix/bsd/setuid.c: Likewise.
20320 * sysdeps/unix/bsd/sigaction.c: Likewise.
20321 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20322 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20323 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20324 * sysdeps/unix/bsd/telldir.c: Likewise.
20325 * sysdeps/unix/bsd/times.c: Likewise.
20326 * sysdeps/unix/bsd/usleep.c: Likewise.
20327
029c7b25
JM
20328 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20329 ($(objpfx)libbsd-compat.a): Remove rule.
20330
7011c262
JM
20331 * include/features.h (__FAVOR_BSD): Do not define.
20332 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20333 features conflicting with POSIX.
20334 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20335 (_BSD_SOURCE): Remove description of not being a subset of other
20336 feature test macros.
20337 * manual/job.texi (getpgrp): Do not document BSD version.
20338 (getpgid): Do not document by reference to BSD getpgrp.
20339 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20340 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20341 * signal/signal.h [__FAVOR_BSD]: Likewise.
20342 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20343 instead of making contents conditional on [__FAVOR_BSD].
20344 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20345
affb6f78
AZ
203462013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20347
20348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20349
c88769dd
JM
203502013-12-17 Joseph Myers <joseph@codesourcery.com>
20351
6432a540
JM
20352 [BZ #16314]
20353 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20354 values below 2**-450, not 2**-500.
20355 * math/auto-libm-test-in: Don't allow spurious underflow from
20356 hypot.
20357 * math/auto-libm-test-out: Regenerated.
20358
c88769dd
JM
20359 [BZ #16316]
20360 [BZ #16330]
20361 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20362 values of ha and hb and sort them after adjusting subnormal
20363 arguments.
20364 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20365 Likewise.
20366 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20367 values of ea and eb and sort them after adjusting subnormal
20368 arguments.
20369 * math/auto-libm-test-in: Do not expect some hypot tests of
20370 subnormals to fail. Add more hypot tests.
20371 * math/auto-libm-test-out: Regenerated.
20372
29618f6b
KK
203732013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20374
20375 [BZ #13304]
20376 * sysdeps/sh/s_fma.c: New file.
20377 * sysdeps/sh/s_fmaf.c: New file.
20378 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20379 version.
20380 * sysdeps/sh/Implies: Add sh/soft-fp.
20381
eacfdfbf
RM
203822013-12-16 Roland McGrath <roland@hack.frob.com>
20383
20384 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20385 level of indirection to members `objname', `errstring', `malloced'.
20386 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20387 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20388 it as the __longjmp argument (just pass 1 instead).
20389 (_dl_catch_error): Initialize C with argument pointers and address of
20390 volatile local ERRCODE rather than copying values out of C at return.
20391
ff362e5b
JM
203922013-12-16 Joseph Myers <joseph@codesourcery.com>
20393
20394 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20395 * math/auto-libm-test-out: Regenerated.
20396 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20397 (hypot_test_data): Likewise.
20398 (pow_test_data): Likewise.
20399 (pow_tonearest_test_data): Likewise.
20400 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20401 mpfr_ff_f.
20402 (func_calc_desc): Add mpfr_ff_f union field.
20403 (FUNC_mpfr_ff_f): New macro.
20404 (test_functions): Add atan2, hypot and pow.
20405 (special_fill_min): New function.
20406 (special_fill_minus_min): Likewise.
20407 (special_fill_min_subnorm): Likewise.
20408 (special_fill_minus_min_subnorm): Likewise.
20409 (special_real_inputs): Add min, -min, min_subnorm and
20410 -min_subnorm.
20411 (calc_generic_results): Handle mpfr_ff_f.
20412 * sysdeps/i386/fpu/libm-test-ulps: Update.
20413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20414
5764c27f
WN
204152013-12-16 Will Newton <will.newton@linaro.org>
20416
20417 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20418 (Aligned Memory Blocks): Add documentation for aligned_alloc
20419 and suggest it as an alternative to posix_memalign.
20420 (Hooks for Malloc): Document __memalign_hook is also called
20421 for aligned_alloc. (Summary of Malloc): Add summary for
20422 aligned alloc. Document __memalign_hook is also called
20423 for aligned_alloc.
20424
0a096e44
WN
204252013-12-16 Will Newton <will.newton@linaro.org>
20426
20427 * manual/memory.texi (Malloc Examples): Clarify default
20428 alignment documentation. Suggest posix_memalign rather
20429 than memalign or valloc.
20430 (Aligned Memory Blocks): Remove suggestion to use memalign
20431 or valloc. Remove obsolete comment about BSD.
20432 Document memalign errno values and mark the function obsolete.
20433 Document posix_memalign returned error codes. Mark valloc
20434 as obsolete. (Hooks for Malloc): __memalign_hook is also
20435 called for posix_memalign and valloc.
20436 (Summary of Malloc): Add posix_memalign to function summary.
20437 __memalign_hook is also called for posix_memalign and valloc.
20438
8d561986
SP
204392013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20440
20441 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20442 TAYLOR_SIN.
20443 (__sin): Adjust.
20444 (__cos): Likewise.
20445 (sloww): Use mynumber union. Expand ternary operator into
20446 if-else statements.
20447 (cslow): use mynumber union.
20448
73616a74
AM
204492013-12-16 Allan McRae <allan@archlinux.org>
20450
9e8ac24b
AM
20451 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20452 * configure: Regenerated.
20453
6f8e37eb
AM
20454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20455
8894bad3
AM
20456 [BZ #14120]
20457 * configure.ac: Added --enable-maintainer-mode. Check for
20458 autoconf when enabled.
20459 * configure: Regenerated.
20460
73616a74
AM
20461 * nscd/nscd.service: New file.
20462 * nscd/nscd.tmpfiles: New file.
20463
584b18eb
OB
204642013-12-14 Ondřej Bílka <neleai@seznam.cz>
20465
20466 [BZ #12100]
20467 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20468 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20469 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20470 (strstr): Add __strstr_sse2_unaligned ifunc.
20471 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20472 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20473 (strcasestr): Remove __strcasestr_sse42 ifunc.
20474 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20477
8a5c7897
KK
204782013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20479
20480 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20481 * sysdeps/sh/bits/fenv.h: ... here.
20482 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20483
fd712ef3
AZ
204842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20485
20486 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20487
42fcb46c
AZ
20488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20489 hypotf multiarch implementations.
20490 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20491 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20492 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20493 multiarch hypot for PPC64.
20494 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20495 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20496 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20497 multiarch hypotf for PPC64.
20498
83efded4
AZ
20499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20500 modff multiarch implementations.
20501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20504 multiarch modf for PPC64.
20505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20508 multiarch modff for PPC64.
20509
43e246d2
AZ
20510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20511 and logl multiarch implementations.
20512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20515 multiarch logb for PPC64.
20516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20519 multiarch logb for PPC64.
20520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20523 multiarch logb for PPC64.
20524
8fdad123
AZ
20525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20526 isinff multiarch implementation.
20527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20528 file.
20529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20531 multiarch isinf for PPC64.
20532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20533 file.
20534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20535 multiarch isinff for PPC64.
20536
1481d706
AZ
20537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20538 finitef multiarch implementation.
20539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20540 file.
20541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20543 multiarch finite for PPC64.
20544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20545 file.
20546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20547 multiarch finitef for PPC64.
20548
5ccd5fc8
AZ
20549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20550 lrint multiarch implementation.
20551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20552 file.
20553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20555 multiarch llrint for PPC64.
20556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20557 multiarch lrint for PPC64.
20558
2568f3fa
AZ
20559 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20560 copysignf multiarch implementation.
20561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20562 file.
20563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20564 file.
20565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20566 multiarch copysign for PPC64.
20567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20568 multiarch copysignf for PPC64.
20569
1cb341fd
AZ
20570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20571 multiarch implementation.
20572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20573 file.
20574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20575 file.
20576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20577 file.
20578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20579 file.
20580 multiarch llround for PPC64.
20581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20582 multiarch trunc for PPC64.
20583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20584 multiarch truncf for PPC64.
20585
59a3e194
AZ
20586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20587 multiarch implementation.
20588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20589 file.
20590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20591 file.
20592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20593 file.
20594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20595 file.
20596 multiarch llround for PPC64.
20597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20598 multiarch round for PPC64.
20599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20600 multiarch roundf for PPC64.
20601
357fd3b4
AZ
20602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20603 multiarch implementation.
20604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20605 file.
20606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20607 file.
20608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20609 file.
20610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20611 file.
20612 multiarch llround for PPC64.
20613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20614 multiarch floor for PPC64.
20615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20616 multiarch floorf for PPC64.
20617
96770f12
AZ
20618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20619 multiarch implementation.
20620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20621 file.
20622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20623 file.
20624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20625 file.
20626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20627 file.
20628 multiarch llround for PPC64.
20629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20630 multiarch ceil for PPC64.
20631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20632 multiarch ceilf for PPC64.
20633
c3627f6e
AZ
20634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20635 multiarch implementation.
20636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20637 file.
20638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20639 file.
20640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20641 file.
20642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20643 multiarch llround for PPC64.
20644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20645 multiarch lround for PPC64.
20646
b2284ad7
AZ
20647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20648 multiarch implementation.
20649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20652 file.
20653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20656 multiarch isnan for PPC64.
20657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20658 multiarch isnanf for PPC64.
20659
69bbc63d
AZ
20660 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20661 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20662 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20663 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20664 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20666
c24517c9
AZ
20667 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20668 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20671
a52374e8
AZ
20672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20673 multiarch implementations.
20674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20675 (__libc_ifunc_impl_list): Likewise.
20676 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20677 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20678 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20679 multiarch stpcpy for PPC64.
20680
7f5ec113
AZ
20681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20682 multiarch implementations.
20683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20684 (__libc_ifunc_impl_list): Likewise.
20685 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20686 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20687 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20688 multiarch strcpy for PPC64.
20689
e28bcd42
AZ
20690 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20691 redefine function name.
20692 (_wordcopy_fwd_dest_aligned): Likewise.
20693 (_wordcopy_bwd_aligned): Likewise.
20694 (_wordcopy_bwd_dest_aligned): Likewise.
20695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20696 multiarch implementations.
20697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20698 (__libc_ifunc_impl_list): Likewise.
20699 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20700 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20701 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20702 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20703 multiarch wcscpy for PPC64.
20704
92cacfce
AZ
20705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20706 multiarch implementations.
20707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20708 (__libc_ifunc_impl_list): Likewise.
20709 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20710 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20711 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20712 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20713 multiarch wcscpy for PPC64.
20714
7b714620
AZ
20715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20716 multiarch implementations.
20717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20718 (__libc_ifunc_impl_list): Likewise.
20719 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20720 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20721 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20722 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20723 multiarch wcsrchr for PPC64.
20724
16fd2ae3
AZ
20725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20726 multiarch implementations.
20727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20728 (__libc_ifunc_impl_list): Likewise.
20729 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20730 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20731 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20732 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20733 multiarch wcschr for PPC64.
20734
9ee2969b
AZ
20735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20736 multiarch implementations.
20737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20738 (__libc_ifunc_impl_list): Likewise.
20739 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20740 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20741 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20742 multiarch strchrnul for PPC64.
20743
372dc060
AZ
20744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20745 implementations.
20746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20747 (__libc_ifunc_impl_list): Likewise.
20748 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20749 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20750 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20751 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20752 strchr for PPC64.
20753
24c2c3b9
AZ
20754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20755 implementations.
20756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20757 (__libc_ifunc_impl_list): Likewise.
20758 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20759 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20760 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20761 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20762 strncmp for PPC64.
20763
1c92d9a0
AZ
20764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20765 multiarch implementations.
20766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20767 (__libc_ifunc_impl_list): Likewise.
20768 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20769 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20770 strncasecmp for PPC64.
20771 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20772 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20773 multiarch strncasecmp_l for PPC64.
20774
17de3ee3
AZ
20775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20776 multiarch implementations.
20777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20778 (__libc_ifunc_impl_list): Likewise.
20779 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20780 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20781 multiarch strcasecmp for PPC64.
20782 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20783 file.
20784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20785 multiarch strcasecmp_l for PPC64.
20786
62982bf9
AZ
20787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20788 implementations.
20789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20790 (__libc_ifunc_impl_list): Likewise.
20791 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20792 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20793 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20794 strnlen for PPC64.
20795
a65f4904
AZ
20796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20797 implementations.
20798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20799 (__libc_ifunc_impl_list): Likewise.
20800 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20801 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20802 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20803 strlen for PPC64.
20804
1fd005ad
AZ
20805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20806 implementations.
20807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20808 (__libc_ifunc_impl_list): Likewise.
20809 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20810 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20811 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20812 rawmemrchr for PPC64.
20813
cd05ba91
AZ
20814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20815 implementation.
20816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20817 (__libc_ifunc_impl_list): Likewise.
20818 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20819 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20820 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20821 memrchr for PPC64.
20822
870f8676
AZ
20823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20824 implementation.
20825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20826 (__libc_ifunc_impl_list): Likewise.
20827 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20828 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20829 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20830 memchr for PPC64.
20831
f00be62b
AZ
20832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20833 implementation.
20834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20835 (__libc_ifunc_impl_list): Likewise.
20836 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20837 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20838 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20839 mempcpy for PPC64.
20840
8a29a3d0
AZ
20841 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20842 avoid cretion of __bzero symbol.
20843 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20844 Likewise.
20845 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20846 Likewise.
20847 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20848 Likewise.
20849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20850 multiarch implementations.
20851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20852 (__libc_ifunc_impl_list): Likewise.
20853 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20854 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20855 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20856 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20857 bzero for PPC32.
20858 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20859 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20860 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20861 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20862 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20863 memset for PPC64.
20864 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20865
07253fcf
AZ
20866 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20868 implementations.
20869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20870 (__libc_ifunc_impl_list): Likewise.
20871 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20872 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20873 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20874 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20875 memcmp for PPC64.
20876
b5beafbc
AZ
20877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20878 multiarch for POWER/PPC64.
20879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20880 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20881 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20882 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20883 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20884 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20885 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20886 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20887 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20888 memcpy for PPC64.
20889
5e6a4d4b
AZ
20890 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20891 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20892 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20893 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20894 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20895 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20896 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20897 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20898 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20899 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20900 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20901 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20902 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20903 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20904 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20912
ddfab6dc
KK
209132013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20914
20915 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20916
19b5525e
SP
209172013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20918
20919 * benchtests/Makefile (bench): Add exp2 and log2.
20920 (LDLIBS-bench-exp2): Add -lm.
20921 (LDLIBS-bench-log2): Likewise.
20922 * benchtests/exp2-inputs: New inputs file.
20923 * benchtests/log2-inputs: New inputs file.
20924 * benchtests/log-inputs: Add new inputs.
20925 * benchtests/tan-inputs: Likewise.
20926
196f7f5d
SP
209272013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20928
7a74607f
SP
20929 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20930 definition...
57f41c40
AS
20931 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20932 (csloww2): ... from here.
7a74607f 20933
196f7f5d
SP
20934 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20935 instead of structures.
20936 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20937 (POLYNOMIAL): Likewise.
20938 (TAYLOR_SLOW): Likewise.
20939 (__sin): Likewise.
20940 (__cos): Likewise.
20941 (slow1): Likewise.
20942 (slow2): Likewise.
20943 (sloww): Likewise.
20944 (sloww1); Likewise.
20945 (sloww2): Likewise.
20946 (bsloww1): Likewise.
20947 (bsloww2): Likewise.
20948 (cslow2): Likewise.
20949 (csloww): Likewise.
20950 (csloww1): Likewise.
20951 (csloww2): Likewise.
20952
0dfa665c
OB
209532013-12-10 Ondřej Bílka <neleai@seznam.cz>
20954
20955 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20956 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20957 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20958 * malloc/hooks.c (realloc_check): Likewise.
20959
5782a80f
OB
20960 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20961 * malloc/arena.c: Remove PER_THREAD conditional.
20962 [!PER_THREAD]: Remove code.
20963 (ptmalloc_unlock_all2): Likewise.
20964 (ptmalloc_init): Likewise.
20965 (_int_new_arena): Likewise.
20966 (arena_get2): Likewise.
20967 * malloc/hooks.c (__malloc_get_state): Likewise.
20968 (__malloc_set_state): Likewise.
20969 * malloc/malloc.c: Likewise.
20970 (struct malloc_state): Likewise.
20971 (struct malloc_par): Likewise.
20972 (__libc_realloc): Likewise.
20973 (__libc_mallopt): Likewise.
20974
aeb95445
AZ
209752013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20976
20977 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20978
e8349efd
OB
209792013-12-09 Ondřej Bílka <neleai@seznam.cz>
20980
20981 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20982 macro to a function. Check for zero perturb_byte.
20983 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20984
f3eeb3fc 20985 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20986 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20987 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20988 force_reg by atomic_forced_read.
20989 * malloc/arena.c (ptmalloc_init): Likewise.
20990 * malloc/hooks.c (top_check): Likewise.
20991
be2f9009
AZ
209922013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20993
20994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20995
e7b914bd
MT
209962013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20997
20998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20999
9f0be4f8
JM
210002013-12-08 Joseph Myers <joseph@codesourcery.com>
21001
21002 * math/auto-libm-test-in: Add tests of lgamma.
21003 * math/auto-libm-test-out: Regenerated.
21004 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21005 (M_LOG_2_SQRT_PIl): Likewise.
21006 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21007 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21008 mpfr_f_f1.
21009 (func_calc_desc): Add mpfr_f_f1 union field.
21010 (ARGS1): New macro.
21011 (ARGS2): Likewise.
21012 (ARGS3): Likewise.
21013 (ARGS4): Likewise.
21014 (RET1): Likewise.
21015 (RET2): Likewise.
21016 (CALC): Likewise.
21017 (FUNC): Likewise.
21018 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21019 (test_functions): Add lgamma.
21020 (calc_generic_results): Handle mpfr_f_f1.
21021 * sysdeps/i386/fpu/libm-test-ulps: Update.
21022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21023
24eeafdb
AZ
210242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21025
21026 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21027 __mpn_add_n for PowerPC64/POWER7.
21028 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21029 __mpn_sub_n for PowerPC64/POWER7.
21030
4a2c0fd4
AZ
21031 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21032 __mpn_addmul_1 for PowerPC64.
21033 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21034 __mpn_submul_1 for PowerPC64.
21035 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21036 for PowerPC64.
21037 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21038 for PowerPC64.
21039
4b5b548c
FS
210402013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21041
21042 [BZ #15089]
21043 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21044
0a3ac0aa
AZ
210452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21046
21047 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21048
ccdc8438
AZ
21049 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21050 add multiarch folders.
21051 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21052 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21053 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21054 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21055 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21056 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21057 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21058 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21059 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21060 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21061 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21068
2e973d99
AZ
21069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21070 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21072 New file.
21073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21074 New file.
21075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21076 multiarch __ieee754_hypot for PowerPC32.
21077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21078 New file.
21079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21080 New file.
21081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21082 multiarch __ieee754_hypotf for PowerPC32.
21083
2d9470b2
AZ
21084 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21085 long_double_symbol only if __logbl is defined.
21086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21087 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21088 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21089 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21091 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21092 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21093 path for implementation.
21094 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21095 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21097 logb, and logbl multiarch implementations for PowerPC32.
21098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21099 file.
21100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21101 file.
21102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21103 multiarch logb for PowerPC32.
21104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21105 file.
21106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21107 file.
21108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21109 multiarch logbf for PowerPC32.
21110 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21112 file.
21113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21114 multiarch logbl implementation for PowerPC32.
21115
5212ffce
AZ
21116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21117 and modff multiarch implementations.
21118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21119 New file.
21120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21121 New file.
21122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21123 multiarch modf for PowerPC32.
21124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21125 New file.
21126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21127 New file.
21128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21129 multiarch modff for PowerPC32.
21130
79dccf31
AZ
21131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21132 and lrintf multiarch implementations.
21133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21134 New file.
21135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21136 New file.
21137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21138 multiarch lrint for PowerPC32.
21139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21140 file: multiarch lrintf for PowerPC32.
21141
deb66480
AZ
21142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21143 and lroundf multiarch implementations.
21144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21145 New file.
21146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21147 New file.
21148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21149 New file.
21150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21151 multiarch lround for PowerPC32.
21152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21153 file: multiarch lroundf for PowerPC32.
21154
264b036b
AZ
21155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21156 copysign and copysignf multiarch implementations.
21157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21158 New file.
21159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21160 New file.
21161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21162 file: multiarch copysign for PowerPC32.
21163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21164 file: multiarch copysignf for PowerPC32.
21165
d47db6c9
AZ
21166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21167 and truncf multiarch implementations.
21168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21169 New file.
21170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21171 file.
21172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21173 multiarch trunc for PowerPC32.
21174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21175 New file.
21176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21177 New file.
21178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21179 multiarch truncf for PowerPC32.
21180
ddb60b5a
AZ
21181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21182 and roundf multiarch implementations.
21183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21184 New file.
21185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21186 file.
21187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21188 multiarch round for PowerPC32.
21189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21190 New file.
21191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21192 New file.
21193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21194 multiarch roundf for PowerPC32.
21195
bedcf49b
AZ
21196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21197 and floorf multiarch implementations.
21198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21199 New file.
21200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21201 file.
21202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21203 multiarch floor for PowerPC32.
21204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21205 New file.
21206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21207 New file.
21208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21209 multiarch floorf for PowerPC32.
21210
35ae5b40
AZ
21211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21212 and ceilf multiarch implementations.
21213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21214 New file.
21215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21216 file.
21217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21218 multiarch ceil for PowerPC32.
21219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21220 New file.
21221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21222 file.
21223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21224 multiarch ceilf for PowerPC32.
21225
ae1a4cd9
AZ
21226 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21227 is defined.
21228 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21229 FINITEF is defined.
21230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21231 and finitef multiarch implementations.
21232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21233 New file.
21234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21235 file.
21236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21237 multiarch finite for PowerPC32.
21238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21239 New file.
21240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21241 file: multiarch finitef for PowerPC32.
21242
64fffd65
AZ
21243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21244 and isinff multiarch implementations.
21245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21246 file.
21247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21248 file.
21249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21250 multiarch isinf for PowerPC32.
21251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21252 New file.
21253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21254 multiarch isinff for PowerPC32.
21255
8e4e7ba2
AZ
21256 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21257 alias when __isnan is defined.
21258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21259 and isnanf multiarch implementations.
21260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21261 file.
21262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21263 file.
21264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21265 file.
21266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21267 file.
21268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21269 multiarch isnan for PowerPC32.
21270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21271 New file.
21272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21273 New file.
21274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21275 multiarch isnanf for PowerPC32.
21276
ddba588e
AZ
21277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21278 and sqrtf multiarch implementations.
21279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21280 file.
21281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21282 file.
21283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21284 multiarch sqrt for PowerPC32.
21285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21286 file.
21287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21288 file.
21289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21290 multiarch sqrtf for PowerPC32.
21291
0f96a2f0
AZ
21292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21293 and llroundf multiarch implementations.
21294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21295 New file.
21296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21297 New file.
21298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21299 New file.
21300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21301 file: multiarch llround for PowerPC32.
21302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21303 file: multiarch llroundf for PowerPC32.
21304
c9b5d79e
AZ
21305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21306 multiarch PowerPC32 fpu implementations.
21307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21308 New file.
21309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21310 New file.
21311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21312 multiarch llrint for PowerPC32.
21313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21314 New file.
21315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21316 New file.
21317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21318 file.
21319
9cbb3aab
AZ
21320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21321
ea5a72f8
AZ
21322 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21323 file.
21324 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21325 file.
21326 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21327 file.
21328 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21329 multiarch wordcopy for PPC32.
21330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21331 wordcopy objects.
21332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21333 (__libc_ifunc_impl_list): Likewise.
21334 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21335 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21336 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21337 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21338 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21339 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21340
93be09e7
AZ
21341 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21343 file.
21344 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21345 file.
21346 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21347 file.
21348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21349 multiarch wcscpy for PPC32.
21350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21351 multiarch objects.
21352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21353 (__libc_ifunc_impl_list): Likewise.
21354 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21355 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21356 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21357 sysdeps/powerpc/power6/wcscpy.c.
21358
bb04e529
AZ
21359 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21360 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21361 file.
21362 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21363 file.
21364 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21365 file.
21366 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21367 multiarch wcsrchr for PPC32.
21368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21369 multiarch objects.
21370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21371 (__libc_ifunc_impl_list): Likewise.
21372 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21373 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21374 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21375 sysdeps/powerpc/power6/wcsrchr.c.
21376
05b5cd1c
AZ
21377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21378 file.
21379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21380 file.
21381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21383 multiarch wcschr for PPc32.
21384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21385 multiarch objects.
21386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21387 (__libc_ifunc_impl_list): Likewise.
21388 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21389 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21390 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21391 sysdeps/powerpc/power6/wcschr.c.
21392
ba964147
AZ
21393 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21394 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21395 file.
21396 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21397 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21398 file: multiarch strchr for PPC32.
21399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21400 multiarch objects.
21401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21402 (__libc_ifunc_impl_list): Likewise.
21403
31c81aaa
AZ
21404 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21405 name.
21406 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21407 file.
21408 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21409 file.
21410 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21411 multiarch strchrnul for PPC32.
21412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21413 multiarch objects.
21414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21415 (__libc_ifunc_impl_list): Likewise.
21416
0d0607d9
AZ
21417 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21418 file.
21419 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21420 multiarch strncasecmp for PPC32.
21421 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21422 file.
21423 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21424 multiarch strncasecmp_l for PPC32.
21425 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21426 strncasecmp multiarch objects.
21427 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21428 (__libc_ifunc_impl_list): Likewise.
21429
4dfd5c86
AZ
21430 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21431 file.
21432 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21433 multiarch strncasecmp for PPC32.
21434 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21435 New file.
21436 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21437 multiarch strcasecmp_l for PPC32.
21438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21439 multiarch objects.
21440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21441 (__libc_ifunc_impl_list): Likewise.
21442
a19e01a3
AZ
21443 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21444 file.
21445 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21446 file.
21447 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21448 multiarch strncmp for PPC32.
21449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21450 multiarch objects.
21451 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21452 (__libc_ifunc_impl_list): Likewise.
21453
ae9cf7a2
AZ
21454 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21455 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21456 file.
21457 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21458 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21460 multiarch objects.
21461 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21462 (__libc_ifunc_impl_list): Likewise.
21463
3148bb7d
AZ
21464 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21465 file.
21466 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21467 file.
21468 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21470 multiarch objects.
21471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21472 (__libc_ifunc_impl_list): Likewise.
21473
7af8b946
AZ
21474 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21475 file.
21476 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21477 file.
21478 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21479 multiarch rawmemchr for PPC32.
21480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21481 multiarch objects.
21482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21483 (__libc_ifunc_impl_list): Likewise.
21484
03a6aa6a
AZ
21485 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21486 file.
21487 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21488 file.
21489 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21490 file: memrchr multiarch for PPC32.
21491 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21492 multiarch objects.
21493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21494 (__libc_ifunc_impl_list): Likewise.
21495
1c62e6d9
AZ
21496 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21497 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21498 file.
21499 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21500 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21501 multiarch memchr for PPC32.
21502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21503 multiarch objects.
21504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21505 (__libc_ifunc_impl_list): Likewise.
21506
87da8bdb
AZ
21507 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21508 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21509 file.
21510 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21511 file.
21512 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21513 file: multiarch mempcpy for PPC32.
21514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21515 multiarch objects.
21516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21517 (__libc_ifunc_impl_list): Likewise.
21518
20ed4714
AZ
21519 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21520 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21521 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21522 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21523 multiarch bzero for PPC32.
21524 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21525 file.
21526 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21527 file.
21528 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21529 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21530 file: multiarch memset for PPC32.
21531 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21533 memset multiarch objects.
21534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21535 (__libc_ifunc_impl_list): Likewise.
21536
ab3e3a46
AZ
21537 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21538 file.
21539 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21540 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21541 memcmp for PPC32.
21542 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21544 multiarch objects.
21545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21546 (__libc_ifunc_impl_list): Likewise.
21547
930de6f0
AZ
21548 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21549 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21550 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21551 file.
21552 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21553 file.
21554 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21555 file.
21556 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21557 multiarch memcpy for PPC32.
21558 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21559 multiarch objects.
21560 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21561 (__libc_ifunc_impl_list): Likewise.
21562
4c628e00
AZ
21563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21564 support multiarch for POWER/PPC32.
21565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21566 Likewise.
21567 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21569 Implies file to make multiarch folder appers before the fpu and
21570 default folder for power4 configuration.
21571
f4479220
SP
215722013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21573
21574 * scripts/bench.pl: Append volatile keyword to type.
21575
8517800f
KK
215762013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21577
21578 * sysdeps/sh/sotruss-lib.c: New file.
21579 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21580
180138f1
AZ
215812013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21582
21583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21584
bbf37bdc
JM
215852013-12-05 Joseph Myers <joseph@codesourcery.com>
21586
e47cc4e0
JM
21587 [BZ #6810]
21588 * math/w_tgamma.c: Include <errno.h>.
21589 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21590 * math/w_tgammaf.c: Include <errno.h>.
21591 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21592 * math/w_tgammal.c: Include <errno.h>.
21593 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21594 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21595 underflow. Add more tgamma tests.
21596 * math/auto-libm-test-out: Regenerated.
21597 * sysdeps/i386/fpu/libm-test-ulps: Update.
21598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21599
bbf37bdc
JM
21600 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21601 sin, sinh, tan, tanh, tgamma, y0 and y1.
21602 * math/auto-libm-test-out: Regenerated.
21603 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21604 (TEST_COND_x86): Likewise.
21605 (M_E2l): Remove macro.
21606 (M_E3l): Likewise.
21607 (M_2_SQRT_PIl): Likewise.
21608 (M_SQRT_PIl): Likewise.
21609 (M_1_DIV_El): Likewise.
21610 (log_test_data): Use AUTO_TESTS_f_f.
21611 (log10_test_data): Likewise.
21612 (log1p_test_data): Likewise.
21613 (log2_test_data): Likewise.
21614 (sin_test_data): Likewise.
21615 (sin_tonearest_test_data): Likewise.
21616 (sin_towardzero_test_data): Likewise.
21617 (sin_downward_test_data): Likewise.
21618 (sin_upward_test_data): Likewise.
21619 (sinh_test_data): Likewise.
21620 (sinh_tonearest_test_data): Likewise.
21621 (sinh_towardzero_test_data): Likewise.
21622 (sinh_downward_test_data): Likewise.
21623 (sinh_upward_test_data): Likewise.
21624 (tan_test_data): Likewise.
21625 (tan_tonearest_test_data): Likewise.
21626 (tan_towardzero_test_data): Likewise.
21627 (tan_downward_test_data): Likewise.
21628 (tan_upward_test_data): Likewise.
21629 (tanh_test_data): Likewise.
21630 (tgamma_test_data): Likewise.
21631 (y0_test_data): Likewise.
21632 (y1_test_data): Likewise.
21633 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21634 (special_real_inputs): Add pi/4.
21635 * sysdeps/i386/fpu/libm-test-ulps: Update.
21636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21637
eb5ad6b9
AZ
216382013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21639
21640 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21641 "longjmp_target" static probes.
21642 (__longjmp): Rename to __longjmp_symbol.
21643 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21644 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21645 on which longjmp to generate.
21646 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21647 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21648 probe.
21649 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21650 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21651 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21652 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21653 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21654 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21656 __longjmp_symbol based on which __longjmp to generate.
21657 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21658 probe.
21659 (setjmp): Rename to setjmp_symbol.
21660 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21661 (_setjmp): Rename to _setjmp_symbol.
21662 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21663 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21664 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21665 which setjmp to generate.
21666 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21667 "longjmp_target" static probes.
21668
d136c6dc
SP
216692013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21670
9298ecba
SP
21671 * benchtests/README: Add note about output arguments.
21672 * benchtests/bench-sincos.c: Remove file.
21673 * benchtests/sincos-inputs: New file.
21674 * scripts/bench.pl: Identify output arguments and define
21675 static variables for them.
21676
232983e9
SP
21677 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21678
d136c6dc
SP
21679 [BZ #15941]
21680 * Makefile (INSTALL): Add install-plain.texi as the primary
21681 dependency.
21682 * manual/install-plain.texi: New file.
21683 * manual/install.texi: Include node directive only for
21684 non-plaintext output.
21685
699ff837
JM
216862013-12-04 Joseph Myers <joseph@codesourcery.com>
21687
ab07cea8
JM
21688 * stdlib/longlong.h: Update from GCC.
21689
699ff837
JM
21690 [BZ #6807]
21691 [BZ #15901]
21692 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21693 * math/w_j0f.c (y0f): Likewise.
21694 * math/w_j0l.c (__y0l): Likewise.
21695 * math/w_j1.c (y1): Likewise.
21696 * math/w_j1f.c (y1f): Likewise.
21697 * math/w_j1l.c (__y1l): Likewise
21698 * math/w_jn.c (yn): Likewise.
21699 * math/w_jnf.c (ynf): Likewise.
21700 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21701 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21702 value for Bessel function domain errors outside _SVID_ mode.
21703 Adjust sign of return value for yn (negative integer, 0).
21704 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21705 by zero in return for negative x and set sign appropriately for
21706 negative n.
21707 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21708 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21709 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21710 expectations in error cases.
21711 (y1_test_data): Likewise.
21712 (yn_test_data): Likewise.
21713 * sysdeps/i386/fpu/libm-test-ulps: Update.
21714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21715
5b118558
UW
217162013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21717
21718 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21719 "64" to "64-v1". Add "64-v2".
21720 (abi-64-options): Rename to ...
21721 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21722 (abi-64-condition): Rename to ...
21723 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21724 (abi-64-ld-soname): Rename to ...
21725 (abi-64-v1-ld-soname): ... this.
21726 (abi-64-v2-options): Define.
21727 (abi-64-v2-condition): Likewise.
21728 (abi-64-v2-ld-soname): Likewise.
21729 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21730 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21734
61cd8fe4
UW
217352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21736 Alan Modra <amodra@gmail.com>
21737
21738 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21739 New versions for use with the ELFv2 ABI.
21740 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21741 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21742 declaration.
21743 (struct La_ppc64v2_retval): Likewise.
21744 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21745 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21746 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21747 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21748 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21749 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21750 Do not save or restore CR.
21751 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21752 (_dl_profile_resolve): Do no save or restore CR. Support extended
21753 return values for ELFv2 ABI. Fix location of FPR return registers.
21754 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21755 updated values for _CALL_ELF == 2.
21756 (La_regs, La_retval, int_retval): Likewise.
21757
8b8a692c
UW
217582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21759
21760 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21761 (FRAME_MIN_SIZE_PARM): Likewise.
21762 (FRAME_BACKCHAIN): Likewise.
21763 (FRAME_CR_SAVE): Likewise.
21764 (FRAME_LR_SAVE): Likewise.
21765 (FRAME_TOC_SAVE): Likewise.
21766 (FRAME_PARM_SAVE): Likewise.
21767 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21768 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21769 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21770 (call_mcount_parm_offset): New macro.
21771 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21772 (PROF): Use symbolic stack frame offsets.
21773 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21774 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21775 Redefine in terms of FRAME_MIN_SIZE.
21776 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21777 (_dl_profile_resolve): Likewise. Update comment.
21778 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21779 symbols stack frame offsets.
21780 (__sigsetjmp): Likewise.
21781 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21782 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21783 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21784 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21785
21786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21787 (FRAME_BACKCHAIN): Remove.
21788 (FRAME_CR_SAVE): Likewise.
21789 (FRAME_LR_SAVE): Likewise.
21790 (FRAME_COMPILER_DW): Likewise.
21791 (FRAME_LINKER_DW): Likewise.
21792 (FRAME_TOC_SAVE): Likewise.
21793 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21794 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21795 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21796 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21798 (CHECK_SP): Use symbolic stack frame offsets.
21799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21800 zone" instead of caller's parameter save area for temp storage.
21801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21802 Likewise. Also, use symbolic stack frame offsets.
21803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21804 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21805 our own stack frame instead of the caller's.
21806 (__socket): Use symbolic stack frame offsets.
21807
122b66de
UW
218082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21809 Alan Modra <amodra@gmail.com>
21810
21811 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21812 Define.
57f41c40
AS
21813 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21814 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21815 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21816 New function.
21817 (elf_machine_fixup_plt): Call it.
21818 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21819 reloc arguments.
21820 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21821 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21822 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21823 r2 before calling target.
21824
696caf1d
UW
218252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21826 Alan Modra <amodra@gmail.com>
21827
21828 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21829 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21830 versions of macros to support ELFv2 ABI.
21831 (LOCALENTRY): New macro.
21832 (ENTRY, EALIGN): Use it.
21833 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21834 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21835 fall through into ENTRY entry point.
21836 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21837 Only define if _CALL_ELF != 2.
21838
21839 (elf_machine_matches_host): Verify ABI version matches.
21840 (RTLD_START): Use LOCALENTRY.
21841 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21842 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21843 (PLT_ENTRY_WORDS): New macro.
21844 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21845 (elf_machine_runtime_setup): Support ELFv2 ABI.
21846 (elf_machine_fixup_plt): Likewise.
21847 (elf_machine_plt_conflict): Likewise.
21848 (resolve_ifunc): Likewise.
21849 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21850 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21851 Likewise.
21852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21853 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21855 (makecontext): Support ELFv2 ABI.
21856 * elf/elf.h (EF_PPC64_ABI): Define.
21857
d31beafa
UW
218582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21859
57f41c40
AS
21860 * sysdeps/powerpc/powerpc64/sysdep.h
21861 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21862 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21863 (ENTRY) [ASSEMBLER]: ... but instead here ...
21864 (EALIGN) [ASSEMBLER]: ... and here.
21865 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21866 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21867 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21868 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21869 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21870 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21871 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21872 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21874 Use PPC64_LOAD_FUNCPTR.
21875
b525166b
UW
21876 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21877
7ec07d9a
AM
218782013-12-04 Alan Modra <amodra@gmail.com>
21879
21880 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21881 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21882 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21883 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21884
21885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21886 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21887 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21888 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21889 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21890 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21891
5162e7dd
UW
218922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21893
21894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21895 (__makecontext): Fix incorrect CFI when backtracing out of
21896 context created via makecontext.
21897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21898 (__setcontext): Fix incorrect CFI during switch to new context.
21899 (__novec_setcontext): Likewise.
21900
19e3372b
OB
219012013-12-04 Ondřej Bílka <neleai@seznam.cz>
21902
21903 [BZ #4772]
21904 * time/strptime_l.c (__strptime_internal): Allow modifiers
21905 in strptime.
21906 * time/tst-strptime.c (day_tests): Add testcase.
21907
ecaf142d
SP
219082013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21909
21910 * scripts/bench.pl: Skip over blank lines.
21911
fbf964ae
PE
219122013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21913
21914 [BZ #926]
21915 * manual/time.texi (Calendar Time): Clarify what timezone functions
21916 use.
21917
fa60a674
AZ
219182013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21919
21920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21921
d674f0ef
OB
219222013-12-04 Ondřej Bílka <neleai@seznam.cz>
21923
21924 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21925 implementation.
21926 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21927 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21928 * debug/memset_chk.c (__memset_chk): Likewise.
21929 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21930 * debug/strncpy_chk.c: Likewise.
21931
17dea188
JM
219322013-12-03 Joseph Myers <joseph@codesourcery.com>
21933
749008ff
JM
21934 [BZ #15268]
21935 [BZ #15425]
21936 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21937 (__ieee754_exp): For possibly underflowing results, check size of
21938 result and force underflow exception if required.
21939 * math/auto-libm-test-in: Add more tests of exp.
21940 * math/auto-libm-test-out: Regenerated.
21941 * sysdeps/i386/fpu/libm-test-ulps: Update.
21942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21943
17dea188
JM
21944 [BZ #16283]
21945 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21946 * math/w_exp2f.c (__exp2f): Likewise.
21947 * math/w_exp2l.c (__exp2l): Likewise.
21948 * math/auto-libm-test-in: Do not allow missing errno on exp2
21949 underflow.
21950 * math/auto-libm-test-out: Regenerated.
21951
b20de2c3
OB
219522013-12-03 Ondřej Bílka <neleai@seznam.cz>
21953
21954 [BZ #16274]
21955 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21956 handle filename validation.
21957 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21958 (do_open): Delete.
21959
d8e2dbe3
JM
219602013-12-03 Joseph Myers <joseph@codesourcery.com>
21961
34e16df5
JM
21962 [BZ #6786]
21963 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21964 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21965 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21966 <float.h>.
21967 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21968 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21969 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21971 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21972 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21973 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21974 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21975 Add more erfc tests.
21976 * math/auto-libm-test-out: Regenerated.
21977 * sysdeps/i386/fpu/libm-test-ulps: Update.
21978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21979
d8e2dbe3
JM
21980 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21981 exp2, expm1, j0 and j1.
21982 * math/auto-libm-test-out: Regenerated.
21983 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21984 (erfc_test_data): Likewise.
21985 (exp_test_data): Likewise.
21986 (exp_tonearest_test_data): Likewise.
21987 (exp_towardzero_test_data): Likewise.
21988 (exp_downward_test_data): Likewise.
21989 (exp_upward_test_data): Likewise.
21990 (exp10_test_data): Likewise.
21991 (exp2_test_data): Likewise.
21992 (expm1_test_data): Likewise.
21993 (j0_test_data): Likewise.
21994 (j1_test_data): Likewise.
21995 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21996 (input_flag_type): Add flag_xfail_rounding.
21997 (input_flags): Add xfail-rounding.
21998 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21999 (output_for_one_input_case): Handle flag_xfail_rounding.
22000 * sysdeps/i386/fpu/libm-test-ulps: Update.
22001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22002
18d14251
AJ
220032013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22004
3d2e6075 22005 [BZ #16289]
18d14251
AJ
22006 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22007 division by 0.
22008
520d437b
SP
220092013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22010
22011 [BZ #16195]
22012 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22013 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22014 (STAP_PROBE0): New macro.
22015 (STAP_PROBE1): Likewise.
22016 (STAP_PROBE2): Likewise.
22017 (STAP_PROBE3): Likewise.
22018 (STAP_PROBE4): Likewise.
22019
416e0145
OB
220202013-12-02 Ondřej Bílka <neleai@seznam.cz>
22021
22022 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22023
9d17796a
SE
220242013-12-02 Steve Ellcey <sellcey@mips.com>
22025
22026 * benchtests/Makefile (bench): Add sqrt.
22027 (LDLIBS-bench-sqrt): New.
22028 * benchtests/sqrt-input: New.
22029
f524d6a8
PS
220302013-12-02 Pavel Simerda <psimerda@redhat.com>
22031
639a0ef8
PS
22032 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22033 (GAIH_EAI): Likewise.
22034 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22035 (gaih_inet): Likewise.
22036 (getaddrinfo): Don't use GAIH_EAI.
22037
f524d6a8
PS
22038 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22039 (struct gaih): Remove definition.
22040
df3aedaf
SP
220412013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22042
22043 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22044 Use HERRNOP directly.
22045
1ab19dec
AZ
220462013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22047
b42ad38d 22048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22049
176b0c79
JM
220502013-11-30 Joseph Myers <joseph@codesourcery.com>
22051
22052 * math/gen-auto-libm-tests.c (test_functions): Add more
22053 single-argument functions.
22054 (special_fill_pi_2): New function.
22055 (special_fill_minus_pi_2): Likewise.
22056 (special_fill_pi_6): Likewise.
22057 (special_fill_minus_pi_6): Likewise.
22058 (special_fill_pi_3): Likewise.
22059 (special_fill_2pi_3): Likewise.
22060 (special_fill_e): Likewise.
22061 (special_fill_1_e): Likewise.
22062 (special_fill_e_minus_1): Likewise.
22063 (special_real_inputs): Add more special inputs.
22064 (output_for_one_input_case): Do not require ERANGE on underflow to
22065 zero if round-to-nearest result does not underflow to zero, unless
22066 exact results required.
22067 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22068 atan, atanh, cbrt, cos and cosh.
22069 * math/auto-libm-test-out: Regenerated.
22070 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22071 (acos_tonearest_test_data): Likewise.
22072 (acos_towardzero_test_data): Likewise.
22073 (acos_downward_test_data): Likewise.
22074 (acos_upward_test_data): Likewise.
22075 (acosh_test_data): Likewise.
22076 (asin_test_data): Likewise.
22077 (asin_tonearest_test_data): Likewise.
22078 (asin_towardzero_test_data): Likewise.
22079 (asin_upward_test_data): Likewise.
22080 (asinh_test_data): Likewise.
22081 (atan_test_data): Likewise.
22082 (atanh_test_data): Likewise.
22083 (cbrt_test_data): Likewise.
22084 (cos_test_data): Likewise.
22085 (cos_tonearest_test_data): Likewise.
22086 (cos_towardzero_test_data): Likewise.
22087 (cos_downward_test_data): Likewise.
22088 (cos_upward_test_data): Likewise.
22089 (cosh_test_data): Likewise.
22090 (cosh_tonearest_test_data): Likewise.
22091 (cosh_towardzero_test_data): Likewise.
22092 (cosh_downward_test_data): Likewise.
22093 (cosh_upward_test_data): Likewise.
22094 * sysdeps/i386/fpu/libm-test-ulps: Update.
22095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22096
ffb536d0
JM
220972013-11-29 Joseph Myers <joseph@codesourcery.com>
22098
2a77a467
JM
22099 [BZ #6787]
22100 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22101 * math/w_exp10f.c (__exp10f): Likewise.
22102 * math/w_exp10l.c (__exp10l): Likewise.
22103 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22104 errno settings in existing tests.
22105
ea3bc4e8
JM
22106 [BZ #14032]
22107 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22108 precision control set to double precision.
22109 * sysdeps/i386/fpu/w_sqrt.c: New file.
22110 * math/auto-libm-test-in: Add more tests.
22111 * math/auto-libm-test-out: Update.
22112
0712c9d8
JM
22113 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22114 (sqrt_test_tonearest): New function.
22115 (sqrt_towardzero_test_data): New variable.
22116 (sqrt_test_towardzero): New function.
22117 (sqrt_downward_test_data): New variable.
22118 (sqrt_test_downward): New function.
22119 (sqrt_upward_test_data): New variable.
22120 (sqrt_test_upward): New function.
22121 (main): Call the new functions.
22122
ffb536d0
JM
22123 * math/gen-auto-libm-tests.c: New file.
22124 * math/auto-libm-test-in: Likewise.
22125 * math/auto-libm-test-out: New generated file.
22126 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22127 variables.
22128 (%beautify): Add generated representations of zero.
22129 (top level): Set $auto_input and call parse_auto_input.
22130 (beautify): Remove trailing "f" from hex float constants.
22131 (parse_args): Handle XFAIL_TEST.
22132 (convert_condition): New function.
22133 (or_value): Likewise.
22134 (or_cond_value): Likewise.
22135 (generate_testfile): Handle AUTO_TESTS_* lines.
22136 (parse_auto_input): New function.
22137 * math/libm-test.inc (XFAIL_TEST): New macro.
22138 (ERRNO_UNCHANGED): Update value.
22139 (ERRNO_EDOM): Likewise.
22140 (ERRNO_ERANGE): Likewise.
22141 (IGNORE_RESULT): Likewise.
22142 (TEST_COND_flt_32): New macro.
22143 (TEST_COND_dbl_64): Likewise.
22144 (TEST_COND_ldbl_96_intel): Likewise.
22145 (TEST_COND_ldbl_96_m68k): Likewise.
22146 (TEST_COND_ldbl_128): Likewise.
22147 (TEST_COND_ldbl_128ibm): Likewise.
22148 (TEST_COND_long32): Likewise.
22149 (TEST_COND_long64): Likewise.
22150 (TEST_COND_before_rounding): Likewise.
22151 (TEST_COND_after_rounding): Likewise.
22152 (enable_test): Handle XFAIL_TEST flag.
22153 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22154 with finite results.
22155 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22156 auto-libm-test-out.
22157
acd98a8e
AK
221582013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22159 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22160
22161 [BZ #16214]
22162 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22163 __tls_get_addr_internal instead of __tls_get_offset in order to
22164 avoid GOT pointer dependency. Make rtld export
22165 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22166 __tls_get_addr since we are a __tls_get_offset platform.
22167 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22168 GOT pointer being set up before.
22169 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22170
3c1c46a6
JM
221712013-11-28 Joseph Myers <joseph@codesourcery.com>
22172
7475aef5
JM
22173 * manual/math.texi (Errors in Math Functions): Document accuracy
22174 goals.
22175
8bca7cd8
JM
22176 [BZ #15004]
22177 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22178 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22179 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22180 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22181 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22182 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22183 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22193
91a1f3fe
JM
22194 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22195 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22196 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22197 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22198 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22199 Likewise.
22200 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22201 Likewise.
22202 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22203 Likewise.
22204 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22205 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22206 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22207 atomic-feupdateenv and flt-rounds.
22208 * sysdeps/powerpc/nofpu/Versions (libc): Add
22209 __atomic_feholdexcept, __atomic_feclearexcept,
22210 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22211 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22212 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22213 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22214 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22215 here.
22216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22217 Update.
22218
c5df7609
JM
22219 * manual/arith.texi (FP Exceptions): Document that exceptions may
22220 not be raised when matherr is used.
22221 (Math Error Reporting): Document overflow in directed rounding
22222 modes. Document that errno may not be set when finite values are
22223 returned on overflow. Document intent to set errno on underflow
22224 only for underflow to zero.
22225
3c1c46a6
JM
22226 [BZ #16271]
22227 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22228 round-to-nearest then adjust result for other rounding modes.
22229 * include/fenv.h (fegetround): Use libm_hidden_proto.
22230 * math/fegetround.c (fegetround): Use libm_hidden_def.
22231 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22232 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22233 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22234 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22235 Likewise.
22236 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22237 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22238 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22239 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22240
5a4c6d53
SP
222412013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22242
22243 [BZ #16077]
22244 * nss/Versions (libnss_files): Add
22245 _nss_files_gethostbyname3_r.
22246 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22247 New function.
22248 (HOST_DB_LOOKUP): Remove macro.
22249 (_nss_files_gethostbyname_r): Implement function without the
22250 HOST_DB_LOOKUP macro.
22251 (_nss_files_gethostbyname2_r): Likewise.
22252
897b98ba
OB
222532013-11-28 Ondřej Bílka <neleai@seznam.cz>
22254
22255 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22256
6f476861
UB
222572013-11-26 Uros Bizjak <ubizjak@gmail.com>
22258
22259 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22260 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22261 warning.
22262
bd12ab55
AZ
222632013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22264
22265 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22266 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22267 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22268 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22269 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22270 __fe_nomask_env_priv and attribute_hidden.
22271 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22272 (libc_feupdateenv_test_ppc): Likewise.
22273 (libc_feresetround_ppc): Likewise.
22274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22275 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22276 compat_symbol macro.
22277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22278 (__fe_nomask_env): Likewise.
22279 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22280
52bb6543
OB
222812013-11-26 Ondřej Bílka <neleai@seznam.cz>
22282
22283 * string/Makefile: Remove ifunc tests.
22284 * string/test-string.h: Define TEST_IFUNC.
22285 * string/test-bcopy-ifunc.c: Remove.
22286 * string/test-bzero-ifunc.c: Likewise.
22287 * string/test-memccpy-ifunc.c: Likewise.
22288 * string/test-memchr-ifunc.c: Likewise.
22289 * string/test-memcmp-ifunc.c: Likewise.
22290 * string/test-memcpy-ifunc.c: Likewise.
22291 * string/test-memmem-ifunc.c: Likewise.
22292 * string/test-memmove-ifunc.c: Likewise.
22293 * string/test-mempcpy-ifunc.c: Likewise.
22294 * string/test-memrchr-ifunc.c: Likewise.
22295 * string/test-memset-ifunc.c: Likewise.
22296 * string/test-rawmemchr-ifunc.c: Likewise.
22297 * string/test-stpcpy-ifunc.c: Likewise.
22298 * string/test-stpncpy-ifunc.c: Likewise.
22299 * string/test-strcasecmp-ifunc.c: Likewise.
22300 * string/test-strcasestr-ifunc.c: Likewise.
22301 * string/test-strcat-ifunc.c: Likewise.
22302 * string/test-strchr-ifunc.c: Likewise.
22303 * string/test-strchrnul-ifunc.c: Likewise.
22304 * string/test-strcmp-ifunc.c: Likewise.
22305 * string/test-strcpy-ifunc.c: Likewise.
22306 * string/test-strcspn-ifunc.c: Likewise.
22307 * string/test-strlen-ifunc.c: Likewise.
22308 * string/test-strncasecmp-ifunc.c: Likewise.
22309 * string/test-strncat-ifunc.c: Likewise.
22310 * string/test-strncmp-ifunc.c: Likewise.
22311 * string/test-strncpy-ifunc.c: Likewise.
22312 * string/test-strnlen-ifunc.c: Likewise.
22313 * string/test-strpbrk-ifunc.c: Likewise.
22314 * string/test-strrchr-ifunc.c: Likewise.
22315 * string/test-strspn-ifunc.c: Likewise.
22316 * string/test-strstr-ifunc.c: Likewise.
22317
ab260039 223182013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22319
22320 * benchtests/Makefile: Remove ifunc tests.
22321 * benchtests/bench-string.h: Define TEST_IFUNC.
22322 * benchtests/bench-bcopy-ifunc.c: Remove.
22323 * benchtests/bench-bzero-ifunc.c: Likewise.
22324 * benchtests/bench-memccpy-ifunc.c: Likewise.
22325 * benchtests/bench-memchr-ifunc.c: Likewise.
22326 * benchtests/bench-memcmp-ifunc.c: Likewise.
22327 * benchtests/bench-memcpy-ifunc.c: Likewise.
22328 * benchtests/bench-memmem-ifunc.c: Likewise.
22329 * benchtests/bench-memmove-ifunc.c: Likewise.
22330 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22331 * benchtests/bench-memrchr-ifunc.c: Likewise.
22332 * benchtests/bench-memset-ifunc.c: Likewise.
22333 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22334 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22335 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22336 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22337 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22338 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22339 * benchtests/bench-strcat-ifunc.c: Likewise.
22340 * benchtests/bench-strchr-ifunc.c: Likewise.
22341 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22342 * benchtests/bench-strcmp-ifunc.c: Likewise.
22343 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22344 * benchtests/bench-strcpy-ifunc.c: Likewise.
22345 * benchtests/bench-strcspn-ifunc.c: Likewise.
22346 * benchtests/bench-strlen-ifunc.c: Likewise.
22347 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22348 * benchtests/bench-strncat-ifunc.c: Likewise.
22349 * benchtests/bench-strncmp-ifunc.c: Likewise.
22350 * benchtests/bench-strncpy-ifunc.c: Likewise.
22351 * benchtests/bench-strnlen-ifunc.c: Likewise.
22352 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22353 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22354 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22355 * benchtests/bench-strspn-ifunc.c: Likewise.
22356 * benchtests/bench-strstr-ifunc.c: Likewise.
22357
223582013-11-26 Ondřej Bílka <neleai@seznam.cz>
22359
ab260039
OB
22360 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22361
d1d9eaf4 223622013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22363
d1d9eaf4
OB
22364 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22365 * rt/aio.h: Likewise.
22366 * sysdeps/gnu/bits/utmp.h: Likewise.
22367 * sysdeps/gnu/bits/utmpx.h: Likewise.
22368 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22369 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22370 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22371 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22372 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22373 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22374 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22375 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22376 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22377 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22378 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22379 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22380 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22382 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22383 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22384 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22385 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22386 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22387 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22388 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22389 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22390 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22391 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22392 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22394 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22395 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22396 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22397 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22398 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22399 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22400 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22401 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22402 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22403 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22404 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22405 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22406 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22407 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22408 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22409 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22410
a7624ed9
CD
224112013-11-25 Carlos O'Donell <carlos@redhat.com>
22412
22413 [BZ #16245]
22414 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22415 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22416
63cfe52b
JM
224172013-11-25 Joseph Myers <joseph@codesourcery.com>
22418
22419 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22420 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22421 Likewise.
22422
41e8926a
AZ
224232013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22424
22425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22426 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22427 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22428 (__fesetround): Remove define.
22429 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22430 rounding and exceptions handling.
22431 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22432 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22433 (__fe_nomask_env): Likewise.
22434 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22435 __fegetround instead of fegetround.
22436 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22437 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22438
6851bd4d
RM
224392013-11-21 Roland McGrath <roland@hack.frob.com>
22440
070906ff
RM
22441 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22442 it's there.
22443
6851bd4d
RM
22444 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22445
84ae135d
MI
224462013-11-21 Meador Inge <meadori@codesourcery.com>
22447
22448 [BZ #11157]
22449 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22450 (encrypt_r): Likewise.
22451 * malloc/obstack.h (obstack_free): Likewise.
22452 * posix/unistd.h (encrypt): Likewise.
22453
daf75146
GM
224542013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22455
22456 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22457 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22458 DL_CALL_DT_FINI() that call the functions directly.
22459 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22460 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22461 * elf/dl-fini.c: Likewise.
22462
10ad46bc
OB
224632013-11-20 Ondřej Bílka <neleai@seznam.cz>
22464
22465 * malloc/hooks.c (memalign_check): Add alignment rounding.
22466 * malloc/malloc.c (_mid_memalign): New function.
22467 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22468 Implement by calling _mid_memalign.
22469 * manual/probes.texi (Memory Allocation Probes): Remove
22470 memory_valloc_retry and memory_pvalloc_retry.
22471
f3fd2628
SP
224722013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22473
4712799f
SP
22474 * locale/programs/locarchive.c (open_archive): Add const
22475 qualifier to ARCHIVEFNAME and copy default fname to
22476 DEFAULT_FNAME.
22477
0417b20f
SP
22478 [BZ #15601]
22479 * libio/tst-widetext.input: Rename Oriya to Odia.
22480 * locale/iso-639.def: Likewise.
22481
f3fd2628
SP
22482 * manual/probes.texi (Mathematical Function Probes): Add
22483 documentation for sin, cos, asin and acos probes.
22484 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22485 (__sin32): Add slowasin probe.
22486 (__cos32): Add slowacos probe.
22487 (__mpsin): Add slowsin probe.
22488 (__mpcos): Add slowcos probe.
22489
73c1ce4f
JM
224902013-11-19 Joseph Myers <joseph@codesourcery.com>
22491
22492 [BZ #15483]
22493 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22494 thread-local __sim_exceptions_thread and global
22495 __sim_exceptions_global.
22496 (__sim_disabled_exceptions): Change to thread-local
22497 __sim_disabled_exceptions_thread and global
22498 __sim_disabled_exceptions_global.
22499 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22500 and global __sim_round_mode_global.
22501 (__simulate_exceptions): Use thread-local floating-point state and
22502 set global state from it as needed.
22503 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22504 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22505 __sim_round_mode_thread.
22506 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22507 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22508 and global __sim_exceptions_global.
22509 (__sim_disabled_exceptions): Change to thread-local
22510 __sim_disabled_exceptions_thread and global
22511 __sim_disabled_exceptions_global.
22512 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22513 and global __sim_round_mode_global.
22514 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22515 (SIM_SET_GLOBAL): Likewise.
22516 * sysdeps/powerpc/soft-fp/sfp-machine.h
22517 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22518 __sim_round_mode_thread.
22519 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22520 __sim_disabled_exceptions_thread.
22521 (__sim_exceptions): Change to __sim_exceptions_thread.
22522 (__sim_disabled_exceptions): Change to
22523 __sim_disabled_exceptions_thread.
22524 (__sim_round_mode): Change to __sim_round_mode_thread.
22525 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22526 thread-local floating-point state and set global state from it as
22527 needed.
22528 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22529 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22530 (__sim_disabled_exceptions): Remove extern declaration.
22531 (feenableexcept): Use thread-local floating-point state and set
22532 global state from it as needed.
22533 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22534 extern declaration.
22535 (__sim_disabled_exceptions): Likewise.
22536 (__sim_round_mode): Likewise.
22537 (__fegetenv): Use thread-local floating-point state.
22538 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22539 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22540 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22541 floating-point state and set global state from it as needed.
22542 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22543 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22544 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22545 Likewise.
22546 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22547 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22548 Likewise.
22549 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22550 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22551 Use __sim_round_mode_thread.
22552 * math/test-fenv-tls.c: New file.
22553 * math/Makefile (tests): Add test-fenv-tls.
22554 ($(objpfx)test-fenv-tls): Depend on
22555 $(common-objpfx)nptl/libpthread.so.
22556
b5449b12
AS
225572013-11-19 Andreas Schwab <schwab@suse.de>
22558
22559 * locale/programs/locale.c (show_info): Decode wordarray elements.
22560 * locale/categories.def (LC_MONETARY): Add element for
22561 _NL_MONETARY_CRNCYSTR.
22562 * locale/C-monetary.c (conversion_rate): New variable.
22563 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22564 element.
22565
e186536b
CM
225662013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22567
22568 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22569 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22570
5c349950
PP
225712013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22572
22573 * elf/Makefile (tst-auxv): New test.
22574 * elf/tst-auxv.c: New
22575 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22576
699df45b
JM
225772013-11-18 Joseph Myers <joseph@codesourcery.com>
22578
22579 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22580 (hidden_proto): Caller changed.
22581 (hidden_tls_proto): New macro.
22582 (libc_hidden_tls_proto): Likewise.
22583 (rtld_hidden_tls_proto): Likewise.
22584 (libm_hidden_tls_proto): Likewise.
22585 (libresolv_hidden_tls_proto): Likewise.
22586 (librt_hidden_tls_proto): Likewise.
22587 (libdl_hidden_tls_proto): Likewise.
22588 (libnss_files_hidden_tls_proto): Likewise.
22589 (libnsl_hidden_tls_proto): Likewise.
22590 (libnss_nisplus_hidden_tls_proto): Likewise.
22591 (libutil_hidden_tls_proto): Likewise.
22592
b7589107
OB
225932013-11-18 Ondřej Bílka <neleai@seznam.cz>
22594
22595 [BZ #10253]
22596 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22597 (decompose_rpath): Defer expansion to fillin_rpath.
22598 (_dl_init_paths): Pass linkmap to fillin_rpath.
22599
250c23bd
RS
226002013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22601
22602 * benchtests/Makefile: Add strsep.
22603 * benchtests/bench-strsep.c: New file: strsep benchtest.
22604 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22605
a7931fcf
AS
226062013-11-18 Andreas Schwab <schwab@suse.de>
22607
22608 * locale/programs/locale.c (show_info) [case byte]: Check for
22609 '\377' instead of '\177'.
22610 * locale/C-monetary.c (not_available): Always use "\377".
22611 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22612 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22613 detect unavailable sign_posn locale elements.
22614 * locale/localeconv.c (__localeconv): For grouping and
22615 mon_grouping handle "\177" and "\377" like no grouping.
22616 (INT_ELEM): New macro. Use it to set all numeric members.
22617 * locale/programs/ld-monetary.c (monetary_read)
22618 <tok_mon_grouping>: Normalize single -1 to the empty string.
22619 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22620 Likewise.
22621
728dab0e
OB
226222013-11-07 Ondřej Bílka <neleai@seznam.cz>
22623
22624 [BZ #16055]
22625 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22626 when we match (nil).
22627 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22628
66294491
JM
226292013-11-16 Joseph Myers <joseph@codesourcery.com>
22630
ce665817
JM
22631 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22632 (NO_TEST_INLINE): Update value.
22633 (ERRNO_UNCHANGED): Likewise.
22634 (ERRNO_EDOM): Likewise.
22635 (ERRNO_ERANGE): Likewise.
22636 (IGNORE_RESULT): Likewise.
22637 (check_float_internal): Check signs of NaN results if
22638 TEST_NAN_SIGN used.
22639 (check_complex): Pass TEST_NAN_SIGN flag through to second
22640 check_float_internal call.
22641 (copysign_test_data): Add tests with quiet NaNs as second
22642 argument. Use TEST_NAN_SIGN.
22643 (fabs_test_data): Add test of negative quiet NaN argument. Use
22644 TEST_NAN_SIGN.
22645 (signbit_test_data): Add tests of quiet NaN argument.
22646 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22647
ee1466a9
JM
22648 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22649 $ignore_result.
22650 (parse_args): Handle function results specified as IGNORE.
22651 * math/libm-test.inc (IGNORE_RESULT): New macro.
22652 (check_float_internal): Do not check numerical result if flag
22653 IGNORE_RESULT set.
22654 (check_complex): Pass through IGNORE_RESULT to second
22655 check_float_internal call.
22656 (check_int): Do not check numerical result if flag IGNORE_RESULT
22657 set.
22658 (check_long): Likewise.
22659 (check_bool): Likewise.
22660 (check_longlong): Likewise.
22661 (lrint_test_data): Add tests of infinite and NaN arguments.
22662 (lrint_tonearest_test_data): Likewise.
22663 (lrint_towardzero_test_data): Likewise.
22664 (lrint_downward_test_data): Likewise.
22665 (lrint_upward_test_data): Likewise.
22666 (llrint_test_data): Likewise.
22667 (llrint_tonearest_test_data): Likewise.
22668 (llrint_towardzero_test_data): Likewise.
22669 (llrint_downward_test_data): Likewise.
22670 (llrint_upward_test_data): Likewise.
22671 (lround_test_data): Likewise.
22672 (llround_test_data): Likewise.
22673
14407b7e
JM
22674 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22675 (ERRNO_UNCHANGED): Update value.
22676 (ERRNO_EDOM): Likewise.
22677 (ERRNO_ERANGE): Likewise.
22678 (NO_TEST_INLINE_FLOAT): New macro.
22679 (NO_TEST_INLINE_DOUBLE): Likewise.
22680 (enable_test): New function.
22681 (RUN_TEST_f_f): Check enable_test before running test.
22682 (RUN_TEST_2_f): Likewise.
22683 (RUN_TEST_fff_f): Likewise.
22684 (RUN_TEST_c_f): Likewise.
22685 (RUN_TEST_f_f1): Likewise.
22686 (RUN_TEST_fF_f1): Likewise.
22687 (RUN_TEST_fI_f1): Likewise.
22688 (RUN_TEST_ffI_f1): Likewise.
22689 (RUN_TEST_c_c): Likewise.
22690 (RUN_TEST_cc_c): Likewise.
22691 (RUN_TEST_f_i): Likewise.
22692 (RUN_TEST_f_i_tg): Likewise.
22693 (RUN_TEST_ff_i_tg): Likewise.
22694 (RUN_TEST_f_b): Likewise.
22695 (RUN_TEST_f_b_tg): Likewise.
22696 (RUN_TEST_f_l): Likewise.
22697 (RUN_TEST_f_L): Likewise.
22698 (RUN_TEST_fFF_11): Likewise.
22699 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22700 conditionals.
22701 (cosh_test_data): Likewise.
22702 (exp_test_data): Likewise.
22703 (expm1_test_data): Likewise.
22704 (hypot_test_data): Likewise.
22705 (pow_test_data): Likewise.
22706 (sinh_test_data): Likewise.
22707 (tanh_test_data): Likewise.
22708 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22709 flags argument.
22710
ca07f197
JM
22711 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22712 tests with quiet NaN input and output.
22713 (acosh_test_data): Likewise.
22714 (asin_test_data): Likewise.
22715 (asinh_test_data): Likewise.
22716 (atan_test_data): Likewise.
22717 (atanh_test_data): Likewise.
22718 (atan2_test_data): Likewise.
22719 (cbrt_test_data): Likewise.
22720 (cos_test_data): Likewise.
22721 (cosh_test_data): Likewise.
22722 (erf_test_data): Likewise.
22723 (erfc_test_data): Likewise.
22724 (exp_test_data): Likewise.
22725 (exp10_test_data): Likewise.
22726 (exp2_test_data): Likewise.
22727 (expm1_test_data): Likewise.
22728 (hypot_test_data): Likewise.
22729 (j0_test_data): Likewise.
22730 (j1_test_data): Likewise.
22731 (jn_test_data): Likewise.
22732 (lgamma_test_data): Likewise.
22733 (log_test_data): Likewise.
22734 (log10_test_data): Likewise.
22735 (log1p_test_data): Likewise.
22736 (log2_test_data): Likewise.
22737 (pow_test_data): Likewise.
22738 (scalb_test_data): Likewise.
22739 (sin_test_data): Likewise.
22740 (sincos_test_data): Likewise.
22741 (sinh_test_data): Likewise.
22742 (tan_test_data): Likewise.
22743 (tanh_test_data): Likewise.
22744 (tgamma_test_data): Likewise.
22745 (y0_test_data): Likewise.
22746 (y1_test_data): Likewise.
22747 (yn_test_data): Likewise.
22748
66294491
JM
22749 [BZ #16167]
22750 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22751 argument being NaN and avoid computations with second argument in
22752 that case.
22753 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22754 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22755 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22756
1820b143
CL
227572013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22758
22759 * locale/iso-639.def: Add Chitwani Tharu (the).
22760
714bd261
AS
227612013-11-14 Andreas Schwab <schwab@suse.de>
22762
22763 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22764 word instead of empty string.
22765
7ab44563
AZ
227662013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22767
22768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22769 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22771 (__fe_nomask_env): Likewise.
22772
e8470ea2
SE
227732013-11-13 Steve Ellcey <sellcey@mips.com>
22774
22775 * benchtests/bench-timing.h: Include time.h.
22776
17c1d9f0
L
227772013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22778
22779 [BZ #15997]
22780 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22781 to 3.4.0 for x32.
22782 * sysdeps/unix/sysv/linux/configure: Regenerated.
22783
9310c284
JM
227842013-11-13 Joseph Myers <joseph@codesourcery.com>
22785
22786 [BZ #16151]
22787 * stdlib/strtod_l.c (round_and_return): Do not consider
22788 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22789 exponent one less than half the least subnormal exponent.
22790 * stdlib/test-strtod-round-data: Add more tests.
22791 * stdlib/tst-strtod-round.c (tests): Regenerated.
22792
7a2ad8cf
AZ
227932013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22794
22795 [BZ #14143]
22796 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22797 (__fe_mask_env): Likewise.
22798 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22799 libm_hidden_proto and add function prototype.
22800 (__fe_mask_env): Add function prototype.
22801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22802 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22804 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22806 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22807
50727aa7
MS
228082013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22809
b2f386c1 22810 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22811 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22812
a615be46
MS
228132013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22814
22815 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22816 of htab_find_slot().
22817
7ddace62
DM
228182013-11-11 David S. Miller <davem@davemloft.net>
22819
22820 [BZ #16150]
22821 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22822 symbol in the non-vis3 case in static builds.
22823 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22824 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22825 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22826 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22827
9182aa67
JK
228282013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22829
22830 [BZ #387]
22831 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22832 it is empty.
22833
450a2e2d
AZ
228342013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22835
b2f386c1
SP
22836 * benchtests/Makefile: Add bench-strtod.
22837 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22838
8ec3f656
AS
228392013-11-11 Andreas Schwab <schwab@suse.de>
22840
22841 [BZ #16153]
22842 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22843 terminating NUL in key length.
22844
76a9b998
AZ
228452013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22846
22847 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22848 Add artificial ODP entry for vDSO symbol for PPC64.
22849 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22850 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22851
e4368156
OB
228522013-11-07 Ondřej Bílka <neleai@seznam.cz>
22853
22854 [BZ #15374]
22855 * nss/getent.c (services_keys): Recognize services starting with digit.
22856
8d6bb57c
DM
228572013-11-06 David S. Miller <davem@davemloft.net>
22858
22859 [BZ #15985]
22860 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22861 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22862
e256c421
WN
228632013-11-06 Will Newton <will.newton@linaro.org>
22864
22865 * manual/memory.texi (Malloc Examples): Remove register
22866 keyword from examples.
22867
f6e12daa 228682013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22869
f6e12daa 22870 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22871
9d880655
AS
228722013-11-04 Joseph Myers <joseph@codesourcery.com>
22873
fd2f9486 22874 [BZ #6981]
9d880655
AS
22875 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22876 depending on [__GCC_IEC_559 > 0].
22877 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22878 depending on [__GCC_IEC_559_COMPLEX > 0].
22879
ae129d3c
CL
228802013-11-03 Chris Leonard <cjl@sugarlabs.org>
22881
22882 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22883 to iso-639.def.
22884
4a15c2a4 228852013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22886
22887 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22888
8b35e35d
OB
228892013-11-01 Ondřej Bílka <neleai@seznam.cz>
22890
22891 [BZ #16112]
22892 * malloc/malloc (malloc_info): Do not handle first bin as
22893 special case.
22894
1d70fd6c
CL
228952013-11-01 Chris Leonard <cjl@sugarlabs.org>
22896
22897 * locale/iso-639.def: Add Central Nahuatl (nhn).
22898
8c5c2600
BH
228992013-11-01 Bruno Haible <bruno@clisp.org>
22900
22901 [BZ #7003]
22902 * manual/math.texi (BSD Random): Specify range upper bound as
22903 in POSIX.
22904
da5579c2
CL
229052013-10-31 Chris Leonard <cjl@sugarlabs.org>
22906
22907 * locale/iso-639.def: Add Meadow Mari (mhr).
22908
5d30d853
OB
229092013-10-31 Ondřej Bílka <neleai@seznam.cz>
22910
22911 [BZ #14752], [BZ #15763]
22912 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22913 Validate name.
22914 * rt/tst_shm.c: Add test for escaping directory.
22915
a4966c61
AS
229162013-10-31 Andreas Schwab <schwab@suse.de>
22917
8a43e768 22918 [BZ #15917]
a4966c61
AS
22919 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22920 followed by 'x' as part of digit sequence.
22921 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22922
28d708c4
MAP
229232013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22924
22925 [BZ #16037]
22926 * configure.ac: allow GNU Make 4.0 and greater.
22927 * configure: Regenerated.
22928
a56ee40b
WN
229292013-10-30 Will Newton <will.newton@linaro.org>
22930
22931 [BZ #16038]
22932 * malloc/hooks.c (memalign_check): Limit alignment to the
22933 maximum representable power of two.
22934 * malloc/malloc.c (__libc_memalign): Likewise.
22935 * malloc/tst-memalign.c (do_test): Add test for very
22936 large alignment values.
22937 * malloc/tst-posix_memalign.c (do_test): Likewise.
22938
c6e4925d
OB
229392013-10-30 Ondřej Bílka <neleai@seznam.cz>
22940
22941 [BZ #11087]
22942 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22943 (munmap_chunk): Likewise.
22944 (mremap_chunk): Likewise.
22945
229462013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22947
8a43e768 22948 [BZ #15799]
bbea82f7
OB
22949 * stdlib/div.c (div): Remove obsolete code.
22950 * stdlib/ldiv.c (ldiv): Likewise.
22951 * stdlib/lldiv.c (lldiv): Likewise.
22952
977f4b31
SP
229532013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22954
22955 [BZ #16071]
22956 * nss/nss_files/files-XXX.c (get_contents_ret): New
22957 enumerator.
22958 (get_contents): New function.
22959 (internal_getent): Use it. Expand size of LINEBUFLEN.
22960
cb8a6dbd
MF
229612013-10-30 Mike Frysinger <vapier@gentoo.org>
22962
22963 * configure.in: Moved to ...
22964 * configure.ac: ... here. Change reference to configure.in
22965 to configure.ac.
22966 * sysdeps/arm/preconfigure.ac: ... here.
22967 configure.in to configure.ac.
22968 * sysdeps/gnu/configure.in: Moved to ...
22969 * sysdeps/gnu/configure.ac: ... here.
22970 * sysdeps/i386/configure.in: Moved to ...
22971 * sysdeps/i386/configure.ac: ... here.
22972 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22973 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22974 * sysdeps/mach/configure.in: Moved to ...
22975 * sysdeps/mach/configure.ac: ... here.
22976 * sysdeps/mach/hurd/configure.in: Moved to ...
22977 * sysdeps/mach/hurd/configure.ac: ... here.
22978 * sysdeps/powerpc/configure.in: Moved to ...
22979 * sysdeps/powerpc/configure.ac: ... here.
22980 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22981 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22982 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22983 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22984 * sysdeps/s390/s390-32/configure.in: Moved to ...
22985 * sysdeps/s390/s390-32/configure.ac: ... here.
22986 * sysdeps/s390/s390-64/configure.in: Moved to ...
22987 * sysdeps/s390/s390-64/configure.ac: ... here.
22988 * sysdeps/sh/configure.in: Moved to ...
22989 * sysdeps/sh/configure.ac: ... here.
22990 * sysdeps/sparc/configure.in: Moved to ...
22991 * sysdeps/sparc/configure.ac: ... here.
22992 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22993 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22994 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22995 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22996 * sysdeps/x86_64/configure.in: Moved to ...
22997 * sysdeps/x86_64/configure.ac: ... here.
22998 * sysdeps/x86_64/preconfigure.in: Moved to ...
22999 * sysdeps/x86_64/preconfigure.ac: ... here.
23000 * aclocal.m4: Change reference to configure.in to configure.ac.
23001 * config.h.in: Likewise.
23002 * manual/install.texi: Likewise.
23003 * manual/maint.texi: Likewise.
23004 * Makefile: Likewise.
23005 * malloc/Makefile: Likewise.
23006 * nscd/Makefile: Likewise.
23007 * Makeconfig: Change reference to configure.in and
23008 preconfigure.in to configure.ac and preconfigure.ac
23009 respectively.
23010 * INSTALL: Regenerated.
23011 * configure: Likewise.
23012 * sysdeps/gnu/configure: Likewise.
23013 * sysdeps/i386/configure: Likewise.
23014 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23015 * sysdeps/mach/configure: Likewise.
23016 * sysdeps/mach/hurd/configure: Likewise.
23017 * sysdeps/powerpc/configure: Likewise.
23018 * sysdeps/powerpc/powerpc32/configure: Likewise.
23019 * sysdeps/powerpc/powerpc64/configure: Likewise.
23020 * sysdeps/s390/s390-32/configure: Likewise.
23021 * sysdeps/s390/s390-64/configure: Likewise.
23022 * sysdeps/sh/configure: Likewise.
23023 * sysdeps/sparc/configure: Likewise.
23024 * sysdeps/unix/sysv/linux/configure: Likewise.
23025 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23026 * sysdeps/x86_64/configure: Likewise.
23027 * sysdeps/x86_64/preconfigure: Likewise.
23028
36a4953a
AS
230292013-10-29 Andreas Schwab <schwab@suse.de>
23030
23031 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23032
c79a1204
SP
230332013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23034
dfa1b402
SP
23035 * benchtests/pow-inputs: Add new inputs.
23036
54f73d9c
SP
23037 * benchtests/exp-inputs: Add new inputs.
23038
c79a1204
SP
23039 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23040 conditional check for return value.
23041 (__cos32): Likewise.
23042
67beb545 230432013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23044
23045 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23046 to provide a boost for large inputs with word alignment.
23047 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23048 implementation based on optimized PPC64 strcpy.
23049 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23050 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23051 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23052 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23053
151659f6
OB
230542013-10-25 Ondřej Bílka <neleai@seznam.cz>
23055
482a077e 23056 [BZ #2801]
151659f6
OB
23057 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23058
10b0f26b
OB
230592013-10-25 Ondřej Bílka <neleai@seznam.cz>
23060
23061 [BZ #14876]
23062 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23063 * time/tst-strptime.c (day_tests): Add testcase.
23064
ca42d35e
OB
230652013-10-25 Ondřej Bílka <neleai@seznam.cz>
23066
482a077e 23067 [BZ #14029]
ca42d35e
OB
23068 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23069
52e6d801
FB
230702013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23071
23072 [BZ #16074]
23073 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23074 MAP_FAILED on error.
23075
7cbcdb36
SP
230762013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23077
23078 [BZ #16072]
23079 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23080 heap for large requests.
23081
894f3f10
AM
230822013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23083
23084 [BZ #9954]
23085 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23086 result if the result has no associated interface.
23087 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23088 interface for all 127.X.Y.Z addresses.
23089
b85545a6
CL
230902013-10-24 Chris Leonard <cjl@sugarlabs.org>
23091
23092 * locale/iso-639.def: Add Ligurian (lij)
23093
d1f23d46
OB
230942013-10-21 Ondřej Bílka <neleai@seznam.cz>
23095
23096 [BZ #15825]
23097 * sunrpc/rpc_main.c: Document rpcgen -5.
23098
4db5b08f
MS
230992013-10-19 Michael Stahl <mstahl@redhat.com>
23100
23101 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23102
a471e96a
OB
231032013-10-19 Ondřej Bílka <neleai@seznam.cz>
23104
d1f23d46 23105 [BZ #10278]
a471e96a
OB
23106 * posix/glob.c: Match only directories when trailing slash is present.
23107 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23108 (main): Add testcase.
23109
45c30c61
OB
231102013-10-19 Ondřej Bílka <neleai@seznam.cz>
23111
23112 [BZ #15670]
23113 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23114
484c12fb
CD
231152013-10-18 Carlos O'Donell <carlos@redhat.com>
23116
3d7dc513
CD
23117 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23118 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23119 AUTH_DES and cindex for FIPS 140-2.
23120 (DES Encryption): Add cindex FIPS 46-3.
23121
484c12fb
CD
23122 * locale/locarchive.h (struct locarhandle): Add fname.
23123 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23124 if an optional argument was specified to --list-archive,
23125 otherwise NULL.
23126 * locale/programs/locarchive.c (show_archive_content): Take new
23127 argument fname and pass it via ah.fname to open_archive.
23128 * locale/programs/localedef.h: Update decl.
23129 (open_archive): If AH->fname is non-null, open that file
23130 rather than the default file name, and don't ignore ENOENT.
23131 (create_archive): Set AH.fname to NULL.
23132 (delete_locales_from_archive): Likewise.
23133 (add_locales_to_archive): Likewise.
23134 * locale/programs/locfile.c (write_all_categories): Likewise.
23135
3c8325fb
JM
231362013-10-18 Joseph Myers <joseph@codesourcery.com>
23137 Aldy Hernandez <aldyh@redhat.com>
23138
23139 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23140 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23141 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23142 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23143 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23144 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23145 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23146 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23147 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23148 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23149 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23150 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23151 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23152 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23153 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23154 Likewise.
23155 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23156 Likewise.
23157 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23158 Likewise.
23159 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23160 Likewise.
23161 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23162 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23163 Likewise.
23164 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23165 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23166 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23167 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23168 Likewise.
23169 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23170 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23171 * sysdeps/powerpc/preconfigure: Likewise.
23172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23173 Likewise.
23174 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23175 Replace contents of file by #include of <fenv_libc.h>.
23176 * sysdeps/powerpc/soft-fp/sfp-machine.h
23177 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23178 and <sys/prctl.h>.
23179 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23180 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23181 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23182 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23183 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23184 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23187 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23188 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23189 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23190 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23192 Allow copysignl PLT reference to be missing.
23193
5abe0682
RS
231942013-10-18 Richard Sandiford <richard@codesourcery.com>
23195 Joseph Myers <joseph@codesourcery.com
23196
23197 [BZ #15948]
23198 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23199 single character.
23200 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23201
c7738d08
SP
232022013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23203
23204 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23205 * elf/tst-tls1.c: Likewise.
23206 * elf/tst-tls10.h: Likewise.
23207 * elf/tst-tls14.c: Likewise.
23208 * elf/tst-tls2.c: Likewise.
23209 * elf/tst-tls3.c: Likewise.
23210 * elf/tst-tls4.c: Likewise.
23211 * elf/tst-tls5.c: Likewise.
23212 * elf/tst-tls6.c: Likewise.
23213 * elf/tst-tls7.c: Likewise.
23214 * elf/tst-tls8.c: Likewise.
23215 * elf/tst-tls9.c: Likewise.
23216 * elf/tst-tlsmod1.c: Likewise.
23217 * elf/tst-tlsmod13.c: Likewise.
23218 * elf/tst-tlsmod13a.c: Likewise.
23219 * elf/tst-tlsmod14a.c: Likewise.
23220 * elf/tst-tlsmod16a.c: Likewise.
23221 * elf/tst-tlsmod16b.c: Likewise.
23222 * elf/tst-tlsmod2.c: Likewise.
23223 * elf/tst-tlsmod3.c: Likewise.
23224 * elf/tst-tlsmod4.c: Likewise.
23225 * elf/tst-tlsmod5.c: Likewise.
23226 * elf/tst-tlsmod6.c: Likewise.
23227
0bfcf2c7
OB
232282013-10-18 Ondřej Bílka <neleai@seznam.cz>
23229
23230 [BZ #12486]
23231 * malloc/malloc.c: remove checks for statistics.
23232
264aad1e
OB
232332013-10-17 Ondřej Bílka <neleai@seznam.cz>
23234
23235 [BZ #15277]
23236 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23237 * inet/tst-network.c: Add testcase.
23238
b957ced8
AS
232392013-10-17 Andreas Schwab <schwab@suse.de>
23240
23241 [BZ #15218]
23242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23243 to determine canonical name.
23244
c5d5d574
OB
232452013-10-17 Ondřej Bílka <neleai@seznam.cz>
23246
23247 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23248 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23250 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23252 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23253 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23254 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23255 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23256 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23257 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23258 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23259 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23260 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23261 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23262 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23264 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23265 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23266 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23267 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23269 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23270 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23271 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23272 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23273 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23274 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23275 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23276 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23277 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23278 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23279 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23280 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23282 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23283 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23284 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23286 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23287 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23288 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23289 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23290 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23291 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23292 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23293 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23294 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23295 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23296 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23297 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23298 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23299 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23305
e5c2c2d0
JM
233062013-10-17 Joseph Myers <joseph@codesourcery.com>
23307
23308 [BZ #16041]
23309 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23310 make result into a quiet NaN.
23311
51ca9e29
JM
233122013-10-16 Joseph Myers <joseph@codesourcery.com>
23313
23314 * soft-fp/adddf3.c: Fix horizontal whitespace.
23315 * soft-fp/addsf3.c: Likewise.
23316 * soft-fp/addtf3.c: Likewise.
23317 * soft-fp/divdf3.c: Likewise.
23318 * soft-fp/divsf3.c: Likewise.
23319 * soft-fp/divtf3.c: Likewise.
23320 * soft-fp/double.h: Likewise.
23321 * soft-fp/eqdf2.c: Likewise.
23322 * soft-fp/eqsf2.c: Likewise.
23323 * soft-fp/eqtf2.c: Likewise.
23324 * soft-fp/extenddftf2.c: Likewise.
23325 * soft-fp/extended.h: Likewise.
23326 * soft-fp/extendsfdf2.c: Likewise.
23327 * soft-fp/extendsftf2.c: Likewise.
23328 * soft-fp/extendxftf2.c: Likewise.
23329 * soft-fp/fixdfdi.c: Likewise.
23330 * soft-fp/fixdfsi.c: Likewise.
23331 * soft-fp/fixdfti.c: Likewise.
23332 * soft-fp/fixsfdi.c: Likewise.
23333 * soft-fp/fixsfsi.c: Likewise.
23334 * soft-fp/fixsfti.c: Likewise.
23335 * soft-fp/fixtfdi.c: Likewise.
23336 * soft-fp/fixtfsi.c: Likewise.
23337 * soft-fp/fixtfti.c: Likewise.
23338 * soft-fp/fixunsdfdi.c: Likewise.
23339 * soft-fp/fixunsdfsi.c: Likewise.
23340 * soft-fp/fixunsdfti.c: Likewise.
23341 * soft-fp/fixunssfdi.c: Likewise.
23342 * soft-fp/fixunssfsi.c: Likewise.
23343 * soft-fp/fixunssfti.c: Likewise.
23344 * soft-fp/fixunstfdi.c: Likewise.
23345 * soft-fp/fixunstfsi.c: Likewise.
23346 * soft-fp/fixunstfti.c: Likewise.
23347 * soft-fp/floatdidf.c: Likewise.
23348 * soft-fp/floatdisf.c: Likewise.
23349 * soft-fp/floatditf.c: Likewise.
23350 * soft-fp/floatsidf.c: Likewise.
23351 * soft-fp/floatsisf.c: Likewise.
23352 * soft-fp/floatsitf.c: Likewise.
23353 * soft-fp/floattidf.c: Likewise.
23354 * soft-fp/floattisf.c: Likewise.
23355 * soft-fp/floattitf.c: Likewise.
23356 * soft-fp/floatundidf.c: Likewise.
23357 * soft-fp/floatundisf.c: Likewise.
23358 * soft-fp/floatunditf.c: Likewise.
23359 * soft-fp/floatunsidf.c: Likewise.
23360 * soft-fp/floatunsisf.c: Likewise.
23361 * soft-fp/floatunsitf.c: Likewise.
23362 * soft-fp/floatuntidf.c: Likewise.
23363 * soft-fp/floatuntisf.c: Likewise.
23364 * soft-fp/floatuntitf.c: Likewise.
23365 * soft-fp/fmadf4.c: Likewise.
23366 * soft-fp/fmasf4.c: Likewise.
23367 * soft-fp/fmatf4.c: Likewise.
23368 * soft-fp/gedf2.c: Likewise.
23369 * soft-fp/gesf2.c: Likewise.
23370 * soft-fp/getf2.c: Likewise.
23371 * soft-fp/ledf2.c: Likewise.
23372 * soft-fp/lesf2.c: Likewise.
23373 * soft-fp/letf2.c: Likewise.
23374 * soft-fp/muldf3.c: Likewise.
23375 * soft-fp/mulsf3.c: Likewise.
23376 * soft-fp/multf3.c: Likewise.
23377 * soft-fp/negdf2.c: Likewise.
23378 * soft-fp/negsf2.c: Likewise.
23379 * soft-fp/negtf2.c: Likewise.
23380 * soft-fp/op-1.h: Likewise.
23381 * soft-fp/op-2.h: Likewise.
23382 * soft-fp/op-4.h: Likewise.
23383 * soft-fp/op-8.h: Likewise.
23384 * soft-fp/op-common.h: Likewise.
23385 * soft-fp/quad.h: Likewise.
23386 * soft-fp/single.h: Likewise.
23387 * soft-fp/soft-fp.h: Likewise.
23388 * soft-fp/sqrtdf2.c: Likewise.
23389 * soft-fp/sqrtsf2.c: Likewise.
23390 * soft-fp/sqrttf2.c: Likewise.
23391 * soft-fp/subdf3.c: Likewise.
23392 * soft-fp/subsf3.c: Likewise.
23393 * soft-fp/subtf3.c: Likewise.
23394 * soft-fp/truncdfsf2.c: Likewise.
23395 * soft-fp/trunctfdf2.c: Likewise.
23396 * soft-fp/trunctfsf2.c: Likewise.
23397 * soft-fp/trunctfxf2.c: Likewise.
23398 * soft-fp/unorddf2.c: Likewise.
23399 * soft-fp/unordsf2.c: Likewise.
23400 * soft-fp/unordtf2.c: Likewise.
23401
9ebb0332
JM
234022013-10-15 Joseph Myers <joseph@codesourcery.com>
23403
23404 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23405 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23406
4b1a6d8b
OB
234072013-10-15 Ondřej Bílka <neleai@seznam.cz>
23408
23409 * elf/dl-libc.c: Clear initfini list after freeing.
23410
1e145589
JM
234112013-10-14 Joseph Myers <joseph@codesourcery.com>
23412
23413 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23414 * soft-fp/addsf3.c: Likewise.
23415 * soft-fp/addtf3.c: Likewise.
23416 * soft-fp/divdf3.c: Likewise.
23417 * soft-fp/divsf3.c: Likewise.
23418 * soft-fp/divtf3.c: Likewise.
23419 * soft-fp/double.h: Likewise.
23420 * soft-fp/eqdf2.c: Likewise.
23421 * soft-fp/eqsf2.c: Likewise.
23422 * soft-fp/eqtf2.c: Likewise.
23423 * soft-fp/extenddftf2.c: Likewise.
23424 * soft-fp/extended.h: Likewise.
23425 * soft-fp/extendsfdf2.c: Likewise.
23426 * soft-fp/extendsftf2.c: Likewise.
23427 * soft-fp/extendxftf2.c: Likewise.
23428 * soft-fp/fixdfdi.c: Likewise.
23429 * soft-fp/fixdfsi.c: Likewise.
23430 * soft-fp/fixdfti.c: Likewise.
23431 * soft-fp/fixsfdi.c: Likewise.
23432 * soft-fp/fixsfsi.c: Likewise.
23433 * soft-fp/fixsfti.c: Likewise.
23434 * soft-fp/fixtfdi.c: Likewise.
23435 * soft-fp/fixtfsi.c: Likewise.
23436 * soft-fp/fixtfti.c: Likewise.
23437 * soft-fp/fixunsdfdi.c: Likewise.
23438 * soft-fp/fixunsdfsi.c: Likewise.
23439 * soft-fp/fixunsdfti.c: Likewise.
23440 * soft-fp/fixunssfdi.c: Likewise.
23441 * soft-fp/fixunssfsi.c: Likewise.
23442 * soft-fp/fixunssfti.c: Likewise.
23443 * soft-fp/fixunstfdi.c: Likewise.
23444 * soft-fp/fixunstfsi.c: Likewise.
23445 * soft-fp/fixunstfti.c: Likewise.
23446 * soft-fp/floatdidf.c: Likewise.
23447 * soft-fp/floatdisf.c: Likewise.
23448 * soft-fp/floatditf.c: Likewise.
23449 * soft-fp/floatsidf.c: Likewise.
23450 * soft-fp/floatsisf.c: Likewise.
23451 * soft-fp/floatsitf.c: Likewise.
23452 * soft-fp/floattidf.c: Likewise.
23453 * soft-fp/floattisf.c: Likewise.
23454 * soft-fp/floattitf.c: Likewise.
23455 * soft-fp/floatundidf.c: Likewise.
23456 * soft-fp/floatundisf.c: Likewise.
23457 * soft-fp/floatunsidf.c: Likewise.
23458 * soft-fp/floatunsisf.c: Likewise.
23459 * soft-fp/floatuntidf.c: Likewise.
23460 * soft-fp/floatuntisf.c: Likewise.
23461 * soft-fp/floatuntitf.c: Likewise.
23462 * soft-fp/fmadf4.c: Likewise.
23463 * soft-fp/fmasf4.c: Likewise.
23464 * soft-fp/fmatf4.c: Likewise.
23465 * soft-fp/gedf2.c: Likewise.
23466 * soft-fp/gesf2.c: Likewise.
23467 * soft-fp/getf2.c: Likewise.
23468 * soft-fp/ledf2.c: Likewise.
23469 * soft-fp/lesf2.c: Likewise.
23470 * soft-fp/letf2.c: Likewise.
23471 * soft-fp/muldf3.c: Likewise.
23472 * soft-fp/mulsf3.c: Likewise.
23473 * soft-fp/multf3.c: Likewise.
23474 * soft-fp/negdf2.c: Likewise.
23475 * soft-fp/negsf2.c: Likewise.
23476 * soft-fp/negtf2.c: Likewise.
23477 * soft-fp/op-1.h: Likewise.
23478 * soft-fp/op-2.h: Likewise.
23479 * soft-fp/op-4.h: Likewise.
23480 * soft-fp/op-8.h: Likewise.
23481 * soft-fp/op-common.h: Likewise.
23482 * soft-fp/quad.h: Likewise.
23483 * soft-fp/single.h: Likewise.
23484 * soft-fp/soft-fp.h: Likewise.
23485 * soft-fp/sqrtdf2.c: Likewise.
23486 * soft-fp/sqrtsf2.c: Likewise.
23487 * soft-fp/sqrttf2.c: Likewise.
23488 * soft-fp/subdf3.c: Likewise.
23489 * soft-fp/subsf3.c: Likewise.
23490 * soft-fp/subtf3.c: Likewise.
23491 * soft-fp/truncdfsf2.c: Likewise.
23492 * soft-fp/trunctfdf2.c: Likewise.
23493 * soft-fp/trunctfsf2.c: Likewise.
23494 * soft-fp/trunctfxf2.c: Likewise.
23495 * soft-fp/unorddf2.c: Likewise.
23496 * soft-fp/unordsf2.c: Likewise.
23497 * soft-fp/unordtf2.c: Likewise.
23498
17c48a60
OB
234992013-10-14 Ondřej Bílka <neleai@seznam.cz>
23500
23501 [BZ #15672]
23502 * misc/error.c (error_tail): Fix possible buffer overflow.
23503
cabba934
OB
235042013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23505
23506 [BZ #13028]
23507 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23508 address.
23509
94bf958a
PM
235102013-10-14 P. J. McDermott <pj@pehjota.net>
23511
23512 [BZ #832]
23513 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23514 testing pipefail option.
23515
71b4dea7
JM
235162013-10-12 Joseph Myers <joseph@codesourcery.com>
23517
23518 * soft-fp/double.h: Indent preprocessor directives inside #if.
23519 * soft-fp/extended.h: Likewise.
23520 * soft-fp/op-2.h: Likewise.
23521 * soft-fp/op-4.h: Likewise.
23522 * soft-fp/op-common.h: Likewise.
23523 * soft-fp/quad.h: Likewise.
23524 * soft-fp/single.h: Likewise.
23525 * soft-fp/soft-fp.h: Likewise.
23526
55602758
YC
235272013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23528
23529 * iconv/iconv_prog.c: Fix typos.
23530 * stdio-common/psiginfo-data.h: Likewise.
23531
9cd83302
RT
235322013-10-12 Reuben Thomas <rrt@sc3d.org>
23533
23534 [BZ #15764]
23535 * locale/setlocale.c: Fix typo.
23536
99fd9f47
JM
235372013-10-12 Joseph Myers <joseph@codesourcery.com>
23538
b7ea74f0
JM
23539 [BZ #16036]
23540 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23541 signaling NaN arguments.
23542 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23543 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23544
8a509447
JM
23545 [BZ #14910]
23546 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23547 unordered operands.
23548 * soft-fp/gesf2.c (__gesf2): Likewise.
23549 * soft-fp/getf2.c (__getf2): Likewise.
23550 * soft-fp/ledf2.c (__ledf2): Likewise.
23551 * soft-fp/lesf2.c (__lesf2): Likewise.
23552 * soft-fp/letf2.c (__letf2): Likewise.
23553
98998e9f
JM
23554 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23555 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23556 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23557 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23558 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23559 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23560 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23561 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23562 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23563 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23564 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23565 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23566 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23567 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23568 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23569 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23570 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23571 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23572 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23573 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23574 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23575 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23576 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23577 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23578 * soft-fp/floattidf.c (__floattidf): Likewise.
23579 * soft-fp/floattisf.c (__floattisf): Likewise.
23580 * soft-fp/floattitf.c (__floattitf): Likewise.
23581 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23582 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23583 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23584 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23585 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23586 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23587 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23588 * soft-fp/gesf2.c (__gesf2): Likewise.
23589 * soft-fp/getf2.c (__getf2): Likewise.
23590 * soft-fp/ledf2.c (__ledf2): Likewise.
23591 * soft-fp/lesf2.c (__lesf2): Likewise.
23592 * soft-fp/letf2.c (__letf2): Likewise.
23593
8edc4a11
JM
23594 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23595 Undefine and redefine.
23596 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23597 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23598 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23599 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23600 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23601 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23602 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23603 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23604 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23605 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23606 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23607 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23608 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23609 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23610 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23611
8399acaf
JM
23612 [BZ #16032]
23613 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23614 without decrementing exponent if mantissa >= that for the
23615 denominator, not >.
23616 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23617 denominator, not >. Decrement exponent in < case instead of
23618 incrementing in >= case.
23619 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23620 without decrementing exponent if mantissa >= that for the
23621 denominator, not >.
23622
99fd9f47
JM
23623 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23624 computing saturated result for unsigned overflow.
23625
10e1cf6b
SP
236262013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23627 Jeff Law <law@redhat.com>
23628
23629 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23630 (atan2Mp): Add systemtap probe marker.
23631 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23632 (__ieee754_log): Add systemtap probe marker.
23633 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23634 (atanMp): Add systemtap probe marker.
23635 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23636 (tanMp): Add systemtap probe marker.
23637 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23638 (__slowexp): Add systemtap probe marker.
23639 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23640 (__slowpow): Add systemtap probe marker.
23641 * manual/probes.texi: Document probes.
23642
3d110c7c
EB
236432013-10-11 Eric Biggers <ebiggers3@gmail.com>
23644
23645 [BZ #15362]
23646 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23647 written.
23648 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23649 written.
23650 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23651 written to buffer but not flushed.
23652 * libio/iofwrite_u.c: Likewise.
23653 * libio/iopadn.c: Return bytes returned even if EOF was
23654 encountered.
23655 * libio/iowpadn.c: Likewise.
23656 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23657 if _IO_padn does not write the whole buffer.
23658 [!COMPILE_WPRINTF] (PAD): Likewise.
23659
75b4202a
DM
236602013-10-10 David S. Miller <davem@davemloft.net>
23661
23662 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23663 directory block.
23664
6c6352e6
JM
236652013-10-10 Joseph Myers <joseph@codesourcery.com>
23666
33b853c3
JM
23667 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23668 instead of FSF address.
23669 * soft-fp/fixdfti.c: Likewise.
23670 * soft-fp/fixsfti.c: Likewise.
23671 * soft-fp/fixtfti.c: Likewise.
23672 * soft-fp/fixunsdfti.c: Likewise.
23673 * soft-fp/fixunssfti.c: Likewise.
23674 * soft-fp/fixunstfti.c: Likewise.
23675 * soft-fp/floattidf.c: Likewise.
23676 * soft-fp/floattisf.c: Likewise.
23677 * soft-fp/floattitf.c: Likewise.
23678 * soft-fp/floatuntidf.c: Likewise.
23679 * soft-fp/floatuntisf.c: Likewise.
23680 * soft-fp/floatuntitf.c: Likewise.
23681 * soft-fp/trunctfxf2.c: Likewise.
23682
6c6352e6
JM
23683 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23684 * soft-fp/fixdfti.c: Likewise.
23685 * soft-fp/fixsfti.c: Likewise.
23686 * soft-fp/fixtfti.c: Likewise.
23687 * soft-fp/fixunsdfti.c: Likewise.
23688 * soft-fp/fixunssfti.c: Likewise.
23689 * soft-fp/fixunstfti.c: Likewise.
23690 * soft-fp/floattidf.c: Likewise.
23691 * soft-fp/floattisf.c: Likewise.
23692 * soft-fp/floattitf.c: Likewise.
23693 * soft-fp/floatuntidf.c: Likewise.
23694 * soft-fp/floatuntisf.c: Likewise.
23695 * soft-fp/floatuntitf.c: Likewise.
23696 * soft-fp/trunctfxf2.c: Likewise.
23697
3bf78b71
DM
236982013-10-10 David S. Miller <davem@davemloft.net>
23699
23700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23701
6f10289e
JM
237022013-10-10 Joseph Myers <joseph@codsourcery.com>
23703
bd878fc0
JM
23704 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23705 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23706 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23707 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23708 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23709 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23710 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23711
6f10289e
JM
23712 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23713 for NaNs before doing comparisons on argument.
23714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23715 Likewise.
23716
321e2684
WN
237172013-10-10 Will Newton <will.newton@linaro.org>
23718
23719 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23720 passed to _int_memalign does not overflow.
23721
40fefba1
TR
237222013-10-10 Torvald Riegel <triegel@redhat.com>
23723
23724 * scripts/bench.pl: Add include-sources directive.
23725 * benchtests/README: Update documentation.
23726
2ae21ed2
JM
237272013-10-10 Joseph Myers <joseph@codesourcery.com>
23728
dcc2dd3f
JM
23729 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23730 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23731 instead of FP_INIT_ROUNDMODE.
23732 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23733 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23734
2ae21ed2
JM
23735 [BZ #16034]
23736 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23737 copy class of input value.
23738 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23739 not handle exceptions.
23740 * soft-fp/negsf2.c (__negsf2): Likewise.
23741 * soft-fp/negtf2.c (__negtf2): Likewise.
23742 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23743
cb8f9562
JM
237442013-10-09 Joseph Myers <joseph@codesourcery.com>
23745
23746 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23747 semicolon. From Linux kernel.
23748
5b60c59d
AB
237492013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23750
23751 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23752
b86835ca
YC
237532013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23754
23755 [BZ #156]
23756 * manual/socket.texi: Added statement about buffer
23757 for gethostbyname2_r.
23758
e7044ea7
OB
237592013-10-08 Ondřej Bílka <neleai@seznam.cz>
23760
23761 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23762 Use .p2align directive instead, throughout.
23763 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23764 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23765 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23766 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23767 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23768 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23769 * sysdeps/x86_64/strchr.S: Likewise.
23770 * sysdeps/x86_64/strrchr.S: Likewise.
23771
09544cbc
SP
237722013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23773
88576635
SP
23774 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23775
e7b2d1dd
SP
23776 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23777
09544cbc
SP
23778 * sysdeps/generic/math_private.h (__mpsin1): Remove
23779 declaration.
23780 (__mpcos1): Likewise.
23781 (__mpsin): New argument __range_reduce.
23782 (__mpcos): Likewise.
23783 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23784 (slow): Use __mpsin and __mpcos.
23785 (slow1): Likewise.
23786 (slow2): Likewise.
23787 (sloww): Likewise.
23788 (sloww1): Likewise.
23789 (sloww2): Likewise.
23790 (bsloww): Likewise.
23791 (bsloww1): Likewise.
23792 (bsloww2): Likewise.
23793 (cslow2): Likewise.
23794 (csloww): Likewise.
23795 (csloww1): Likewise.
23796 (csloww2): Likewise.
23797 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23798 range_reduce. Merge in __mpsin1.
23799 (__mpcos): Likewise.
23800 (__mpsin1): Remove.
23801 (__mpcos1): Likewise.
23802
7602d070
JM
238032013-10-07 Joseph Myers <joseph@codesourcery.com>
23804
23805 * locale/loadlocale.c (_nl_intern_locale_data): Use
23806 LOCFILE_ALIGNED_P.
23807 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23808 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23809 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23810 obstack data is appropriately aligned.
23811 (obstack_int32_grow_fast): Likewise.
23812 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23813 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23814 (add_locale_uint32_array): Likewise.
23815
a357259b
SP
238162013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23817
23818 * benchtests/Makefile: Remove ARGLIST and RET variables.
23819 ($(objpfx)bench-%.c): Pass only function name to the script.
23820 * benchtests/README: Update documentation.
23821 * benchtests/acos-inputs: Add new directives.
23822 * benchtests/acosh-inputs: Likewise.
23823 * benchtests/asin-inputs: Likewise.
23824 * benchtests/asinh-inputs: Likewise.
23825 * benchtests/atan-inputs: Likewise.
23826 * benchtests/atanh-inputs: Likewise.
23827 * benchtests/cos-inputs: Likewise.
23828 * benchtests/cosh-inputs: Likewise.
23829 * benchtests/exp-inputs: Likewise.
23830 * benchtests/log-inputs: Likewise.
23831 * benchtests/pow-inputs: Likewise.
23832 * benchtests/rint-inputs: Likewise.
23833 * benchtests/sin-inputs: Likewise.
23834 * benchtests/sinh-inputs: Likewise.
23835 * benchtests/tan-inputs: Likewise.
23836 * benchtests/tanh-inputs: Likewise.
23837 * scripts/bench.pl: Add support for new directives.
23838
9ec1b13d
AM
238392013-10-07 Alan Modra <amodra@gmail.com>
23840
23841 * README: Fix careless merge.
23842
8b7d57cd
AM
238432013-10-05 Alan Modra <amodra@gmail.com>
23844
23845 * NEWS: Mention powerpc64le support and bugs fixed.
23846 * README: Both big-endian and little-endian powerpc64 supported.
23847
7b7bab13
ST
238482013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23849
57f41c40
AS
23850 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23851 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23852 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23853 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23854
d39baad1
RA
238552013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23856
23857 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23858 match prototype.
23859
cd78f7e7
JM
238602013-10-04 Joseph Myers <joseph@codesourcery.com>
23861
29d73d86
JM
23862 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23863 Move -mhard-float appending from
23864 ports/sysdeps/powerpc/powerpc32/Makefile.
23865 [$(with-fp) = yes] (ASFLAGS): Likewise.
23866 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23867 * sysdeps/powerpc/nofpu: Move directory from
23868 ports/sysdeps/powerpc/nofpu.
23869 * sysdeps/powerpc/soft-fp: Move directory from
23870 ports/sysdeps/powerpc/soft-fp.
23871 * sysdeps/powerpc/powerpc32/405: Move directory from
23872 ports/sysdeps/powerpc/powerpc32/405.
23873 * sysdeps/powerpc/powerpc32/440: Move directory from
23874 ports/sysdeps/powerpc/powerpc32/440.
23875 * sysdeps/powerpc/powerpc32/464: Move directory from
23876 ports/sysdeps/powerpc/powerpc32/464.
23877 * sysdeps/powerpc/powerpc32/476: Move directory from
23878 ports/sysdeps/powerpc/powerpc32/476.
23879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23880 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23882 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23884 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23886 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23888 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23889 * README: Update for powerpc-*-linux-gnu software floating point
23890 support in libc.
23891
e246b347
JM
23892 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23893 case to powerpc/powerpc32*.
23894 * sysdeps/unix/sysv/linux/configure: Regenerated.
23895
89c2003e
JM
23896 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23897 (_FPU_MASK_OM): Define as 0x04.
23898 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23899 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23900 0x00c10080.
23901 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23902 0x0000003c.
23903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23904
cd78f7e7
JM
23905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23906 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23907 getcontext_e500.
23908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23909 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23910 setcontext_e500.
23911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23912 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23913 and setcontext_e500.
23914
c755294d
CL
239152013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23916
23917 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23918
e16d221c
SP
239192013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23920
23921 * manual/threads.texi (Default Thread Attributes): Fix typo.
23922
215c7d43
WN
239232013-10-04 Will Newton <will.newton@linaro.org>
23924
23925 * malloc/Makefile: Add tst-memalign.
23926 * malloc/tst-memalign.c: New file.
23927
27d0461b
WN
23928 * malloc/tst-posix_memalign.c: Add comments.
23929 (do_test): Add comments and call free on all potentially
23930 allocated pointers. Add space after cast.
23931
1bc92709
WN
23932 * malloc/tst-pvalloc.c: Add comments.
23933 (do_test): Add comments and call free on all potentially
23934 allocated pointers. Remove duplicate check for NULL pointer.
23935 Add space after cast.
23936
66a9be9d
WN
23937 * malloc/tst-valloc.c: Add comments.
23938 (do_test): Add comments and call free on all potentially
23939 allocated pointers. Remove duplicate check for NULL pointer.
23940 Add space after cast.
23941
4cb81307
AM
239422013-10-04 Alan Modra <amodra@gmail.com>
23943
23944 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23945 Use stdint types in rather than __attribute__((mode())).
23946 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23947
f8e3e9f3
AM
239482013-10-04 Alan Modra <amodra@gmail.com>
23949
23950 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23951 Correct handling of unaligned relocs for little-endian.
23952 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23953
8f9ebb08
AM
239542013-10-04 Alan Modra <amodra@gmail.com>
23955
23956 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23957 * configure: Regenerate.
23958 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23959 * shlib-versions: Likewise.
23960
0edf96c2
AM
239612013-10-04 Alan Modra <amodra@gmail.com>
23962
23963 * string/tester.c (test_memrchr): Increment reported test cycle.
23964
e0f7a380
AM
239652013-10-04 Alan Modra <amodra@gmail.com>
23966
23967 * string/test-memcpy.c (do_one_test): When reporting errors, print
23968 string address and don't overrun end of string.
23969
466b0393
AM
239702013-10-04 Alan Modra <amodra@gmail.com>
23971
23972 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23973 insrdi. Make better use of reg selection to speed exit slightly.
23974 Schedule entry path a little better. Remove useless "are we done"
23975 checks on entry to main loop. Handle wrapping around zero address.
23976 Correct main loop count. Handle single left-over word from main
23977 loop inline rather than by using loop_small. Remove extra word
23978 case in loop_small caused by wrong loop count. Add little-endian
23979 support.
23980 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23981 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23982 cache hint.
23983 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23984 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23985 support. Avoid rlwimi.
23986 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23987
3be87c77
AM
239882013-10-04 Alan Modra <amodra@gmail.com>
23989
23990 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23991 insrdi. Formatting.
3be87c77
AM
23992 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23993 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23994 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23995 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23996 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23997 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23998
759cfef3
AM
239992013-10-04 Alan Modra <amodra@gmail.com>
24000
24001 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24002 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24003 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24004 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24005 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24006 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24007 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24008 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24009 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24010 use of regs. Use power7 mtocrf. Tidy function tails.
24011
fe6e95d7
AM
240122013-10-04 Alan Modra <amodra@gmail.com>
24013
24014 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24015 Formatting. Consistently use rXXX register defines or rN defines.
24016 Use early exit labels that avoid restoring unused non-volatile regs.
24017 Make cr field use more consistent with rWORDn compares. Rename
24018 regs used as shift registers for unaligned loop, using rN defines
24019 for short lifetime/multiple use regs.
24020 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24021 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24022 addi 1,1,64 to pop stack frame. Simplify return value code.
24023 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24024
664318c3
AM
240252013-10-04 Alan Modra <amodra@gmail.com>
24026
24027 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24028 support. Correct typos, formatting. Optimize tail. Use insrdi
24029 rather than rlwimi.
24030 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24031 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24032 little-endian support. Correct typos.
24033 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24034 rather than rlwimi.
24035 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24036 in loop and entry code to keep "and." results.
24037 (strchr): Add little-endian support. Comment. Move cntlzd
24038 earlier in tail.
24039 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24040
43b84013
AM
240412013-10-04 Alan Modra <amodra@gmail.com>
24042
24043 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24044 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24045 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24046 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24047
8a7413f9
AM
240482013-10-04 Alan Modra <amodra@gmail.com>
24049
24050 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24051 (rTMP): Define as r11.
24052 (strcmp): Add little-endian support. Optimise tail.
24053 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24054 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24055 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24057 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24059 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24060
33ee81de
AM
240612013-10-04 Alan Modra <amodra@gmail.com>
24062
24063 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24064 little-endian support. Remove unnecessary "are we done" tests.
24065 Handle "s" wrapping around zero and extremely large "size".
24066 Correct main loop count. Handle single left-over word from main
24067 loop inline rather than by using small_loop. Correct comments.
24068 Delete "zero" tail, use "end_max" instead.
24069 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24070
db9b4570
AM
240712013-10-04 Alan Modra <amodra@gmail.com>
24072
24073 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24074 support. Don't branch over align.
24075 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24076 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24077 support. Rearrange tmp reg use to suit. Comment.
24078 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24079
f7c399cf
AM
240802013-10-04 Alan Modra <amodra@gmail.com>
24081
24082 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24083
0b2c2ace
AM
240842013-10-04 Alan Modra <amodra@gmail.com>
24085
24086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24087 conditional form of branch and link when obtaining pc.
24088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24089
02f04a6c
AM
240902013-10-04 Alan Modra <amodra@gmail.com>
24091
24092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24093 HIWORD/LOWORD.
24094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24096
9b874b2f
AM
240972013-10-04 Alan Modra <amodra@gmail.com>
24098
24099 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24100 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24101 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24102 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24103 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24104 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24105 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24106 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24107 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24108 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24109
be1e5d31
AB
241102013-10-04 Anton Blanchard <anton@au1.ibm.com>
24111 Alistair Popple <alistair@ozlabs.au.ibm.com>
24112 Alan Modra <amodra@gmail.com>
24113
24114 [BZ #15723]
24115 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24116 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24117 _dl_hwcap access for little-endian.
24118 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24119 destroy vmx regs when saving unaligned.
24120 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24121 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24122 destroy vmx regs when saving unaligned.
24123
fef13a78
AM
241242013-10-04 Alan Modra <amodra@gmail.com>
24125
24126 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24127 Don't use a union to pack hi/low value.
24128
76a66d51
AB
241292013-10-04 Anton Blanchard <anton@au1.ibm.com>
24130
24131 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24132 for little-endian.
24133 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24134 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24135 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24136 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24137 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24138
6a31fe7f
AM
241392013-10-04 Alan Modra <amodra@gmail.com>
24140
24141 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24142 constants to usual value for .cst8 section, and remove redundant
24143 high address load.
24144 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24145 constant for 0x1p52. Load little-endian words of double from
24146 correct stack offsets.
24147
7b88401f
AM
241482013-10-04 Alan Modra <amodra@gmail.com>
24149
24150 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24151 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24152 words of double from correct stack offsets.
24153 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24154 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24155 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24156 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24157 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24158 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24159 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24160 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24161 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24162 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24163 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24164 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24165 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24166 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24167 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24168 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24169 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24170
9c008155
AM
241712013-10-04 Alan Modra <amodra@gmail.com>
24172
24173 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24174 64-bit int/double union.
24175 (_FPU_SETCW): Likewise.
24176 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24177 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24178
da13146d
AM
241792013-10-04 Alan Modra <amodra@gmail.com>
24180
24181 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24182 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24183
603e8410
AM
241842013-10-04 Alan Modra <amodra@gmail.com>
24185
24186 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24187 use vector int constants.
24188 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24189
4a28b3ca
AB
241902013-10-04 Anton Blanchard <anton@au1.ibm.com>
24191
24192 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24193 array with long long.
24194 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24195 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24196 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24197 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24198 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24199 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24200 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24201 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24202 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24203 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24204 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24205 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24206 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24207
2ca85d2b
AB
242082013-10-04 Anton Blanchard <anton@au1.ibm.com>
24209
24210 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24211 (__signbit): Likewise. Correct for little-endian.
24212 (__signbitl): Call __signbit.
24213 (lrint): Correct for little-endian.
24214 (lrintf): Call lrint.
24215
62a728ae
AM
242162013-10-04 Alan Modra <amodra@gmail.com>
24217
24218 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24219 union 32-bit int array member with 64-bit int array.
24220 (t515, tm256): Double rather than long double.
24221 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24222
32c301df
AM
242232013-10-04 Alan Modra <amodra@gmail.com>
24224
24225 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24226 Delete.
24227 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24228 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24229 version of math_ldbl.h.
24230
650ef4bd
AM
242312013-10-04 Alan Modra <amodra@gmail.com>
24232
24233 [BZ #15734], [BZ #15735]
24234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24235 all uses of ieee875 long double macros and unions. Simplify test
24236 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24237 ldbl_extract_mantissa value for ix,iy exponents. Properly
24238 normalize after ldbl_extract_mantissa, and don't add hidden bit
24239 already handled. Don't treat low word of ieee854 mantissa like
24240 low word of IBM long double and mask off bit when testing for
24241 zero.
24242 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24243 all uses of ieee875 long double macros and unions. Simplify tests
24244 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24245 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24246 two1022, instead use their values. Recognise that tests for large
24247 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24248 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24249 Rewrite all uses of ieee875 long double macros and unions. Simplify
24250 test for 0.0L and nan. Correct negation.
24251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24252 ieee875 long double macros and unions. Correct output for large
24253 magnitude x. Correct absolute value calculation.
24254 (__erfcl): Likewise.
24255 * math/libm-test.inc: Add tests for errors discovered in IBM long
24256 double versions of fmodl, remainderl, erfl and erfcl.
24257
765714ca
AM
242582013-10-04 Alan Modra <amodra@gmail.com>
24259
24260 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24261 all uses of ieee854 long double macros and unions. Simplify tests
24262 for long doubles that are fully specified by the high double.
24263 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24264 Likewise.
24265 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24266 Remove dead code too.
24267 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24268 (__ieee754_ynl): Likewise.
24269 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24270 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24272 Remove dead code too.
24273 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24274 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24275 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24276 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24277 Simplify.
24278 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24279 Simplify.
24280 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24281 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24282 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24283 Comment on variable precision.
24284 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24285 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24286 Likewise.
24287 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24288 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24289 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24290 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24291 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24292
4ebd120c
AM
242932013-10-04 Alan Modra <amodra@gmail.com>
24294
24295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24296 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24297 all uses of ieee854 long double macros and unions.
24298 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24300 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24301 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24302 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24303 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24304 Likewise.
24305 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24306 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24307 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24308 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24309 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24310 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24311 Simplify sign and nan test too.
24312 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24313 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24314 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24315 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24316 Likewise.
24317 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24318 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24319 Likewise.
24320 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24321 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24322 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24323 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24324 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24325 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24326
1b6adf88
AM
243272013-10-04 Alan Modra <amodra@gmail.com>
24328
24329 * stdio-common/printf_size.c (__printf_size): Don't use
24330 union ieee854_long_double in fpnum union.
24331 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24332 signbit macro to retrieve sign from long double.
24333 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24334 retrieve sign from long double.
24335 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24336 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24337 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24338 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24339 * math/test-misc.c (main): Don't use union ieee854_long_double.
24340
4cf69995
AM
243412013-10-04 Alan Modra <amodra@gmail.com>
24342
24343 [BZ #15680]
24344 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24345 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24346 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24347 calculation. Remove unnecessary test for denormal exponent.
24348 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24349 Correct handling of denormals. Avoid undefined shift behaviour.
24350 Correct normalisation of low mantissa when low double is denormal.
24351 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24352 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24353 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24354 Correct normalisation of low mantissa. Test for overflow of high
24355 mantissa and normalise.
24356 (ldbl_nearbyint): Use more readable constant for two52.
24357 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24358 (__mpn_construct_long_double): Fix test for overflow of high
24359 mantissa and correct normalisation. Avoid undefined shift.
24360
9605ca6c
AM
243612013-10-04 Alan Modra <amodra@gmail.com>
24362
24363 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24364 (union ibm_extended_long_double): Define as an array of ieee754_double.
24365 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24366 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24367 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24368 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24370 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24371 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24372 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24373 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24375 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24376
975569d0
JM
243772013-10-03 Joseph Myers <joseph@codesourcery.com>
24378
d3d23756
JM
24379 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24380 page size instead of calling getpagesize.
24381
975569d0
JM
24382 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24383 (LOCFILE_ALIGN_MASK): Likewise.
24384 (LOCFILE_ALIGN_UP): Likewise.
24385 (LOCFILE_ALIGNED_P): Likewise.
24386 * locale/programs/ld-collate.c (collate_output): Use the new
24387 macros instead of __alignof__ (int32_t).
24388 * locale/weight.h (findidx): Likewise.
24389
b1fe1f2b
OB
243902013-10-03 Ondřej Bílka <neleai@seznam.cz>
24391
24392 [BZ #431]
24393 * manual/string.texi: Fix strncat and wcsncat.
24394
5f855e35
BM
243952013-10-03 Brooks Moses <bmoses@google.com>
24396
24397 [BZ #15915]
24398 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24399 * Makerules: ...here, and adjust associated comments.
24400
3cef6009
WN
244012013-10-02 Will Newton <will.newton@linaro.org>
24402
24403 * malloc/Makefile: Add tst-pvalloc.
24404 * malloc/tst-pvalloc.c: New file.
24405
7815420b
WN
244062013-10-02 Will Newton <will.newton@linaro.org>
24407
24408 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24409 improve test coverage.
24410
4868b204
WN
244112013-10-02 Will Newton <will.newton@linaro.org>
24412
24413 * malloc/Makefile: Add tst-posix_memalign.
24414 * malloc/tst-posix_memalign.c: New file.
24415
29c793b3
EB
244162013-10-01 Eric Blake <eblake@redhat.com>
24417
24418 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24419 Use __THROWNL rather than __THROW on static functions.
24420
fd967522
PM
244212013-09-30 Petr Machata <pmachata@redhat.com>
24422
24423 * elf/elf.h (R_AARCH64_ABS16): New macro.
24424 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24425 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24426 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24427 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24428 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24429 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24430 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24431 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24432 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24433 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24434 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24435 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24436 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24437 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24438 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24439 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24440 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24441 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24442 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24443 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24444 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24445 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24446 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24447 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24448 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24449 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24450 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24451 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24452 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24453 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24454 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24455 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24456 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24457 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24458 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24459 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24460 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24461 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24462 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24463 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24464 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24465 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24466 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24467 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24468 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24469 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24470 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24471 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24472 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24473 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24474 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24475 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24476 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24477 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24478 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24479 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24480 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24481 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24482 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24483 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24484 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24485 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24486 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24487 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24488 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24489 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24490 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24491 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24492 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24493 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24494 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24495 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24496 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24497 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24498 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24499 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24500 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24501 (R_AARCH64_TLSDESC_LDR): Likewise.
24502 (R_AARCH64_TLSDESC_ADD): Likewise.
24503 (R_AARCH64_TLSDESC_CALL): Likewise.
24504
b2179107
AS
245052013-09-30 Andreas Schwab <schwab@suse.de>
24506
24507 [BZ #15048]
24508 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24509 the nss database lookup.
24510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24512
47f28d0a
MF
245132013-09-28 Mike Frysinger <vapier@gentoo.org>
24514
24515 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24516
245172013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24518
24519 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24520 ${Bash-specific parameter/pattern/string} parameter expansion.
24521 * sysdeps/unix/make-syscalls.sh: Likewise.
24522
f4518a17
KK
245232013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24524
24525 * sysdeps/sh/stackguard-macros.h: New file.
24526
dc1a95c7
OB
245272013-09-26 Ondřej Bílka <neleai@seznam.cz>
24528
24529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24530 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24531 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24532 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24533 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24534 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24535
5ebbff8f
AZ
245362013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24537
24538 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24539 Fix thread ID register.
24540
4fd2cf9f
JM
245412013-09-25 Joseph Myers <joseph@codesourcery.com>
24542
24543 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24544 [POSIX || UNIX98]: Require rather than permitting all symbols from
24545 <time.h>.
24546 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24547 element of struct sched_param.
24548 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24549 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24550 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24551 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24552 constant.
24553
12c22bc4
OL
245542013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24555
24556 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24557 argument calculation.
24558
a03d8ea7
JM
245592013-09-24 Joseph Myers <joseph@codesourcery.com>
24560
24561 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24562 Expect macro.
24563 [POSIX] (pthread_attr_t): Do not require type.
24564 [POSIX] (pthread_cond_t): Likewise.
24565 [POSIX] (pthread_condattr_t): Likewise.
24566 [POSIX] (pthread_key_t): Likewise.
24567 [POSIX] (pthread_mutex_t): Likewise.
24568 [POSIX] (pthread_mutexattr_t): Likewise.
24569 [POSIX] (pthread_once_t): Likewise.
24570 [POSIX] (pthread_t): Likewise.
24571 [POSIX-based standards] (pthread_atfork): Expect function.
24572
6055173a
JM
245732013-09-24 Joseph Myers <joseph@codesourcery.com>
24574 Richard Sandiford <richard@codesourcery.com>
24575
24576 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24577 (swap_endianness_p): New extern variable.
24578 (set_big_endian): New inline function.
24579 (maybe_swap_uint32): Likewise.
24580 (maybe_swap_uint32_array): Likewise.
24581 (maybe_swap_uint32_obstack): Likewise.
24582 * locale/programs/locfile.c: Include <stdbool.h>.
24583 (swap_endianness_p): New variable.
24584 (add_locale_uint32): Call maybe_swap_uint32.
24585 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24586 (write_locale_data): Call maybe_swap_uint32_array.
24587 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24588 maybe_swap_uint32.
24589 (obstack_int32_grow_fast): Likewise.
24590 (output_weightwc): Call maybe_swap_uint32_obstack.
24591 (collate_output): Likewise.
24592 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24593 (OPT_LITTLE_ENDIAN): Likewise.
24594 (options): Add --little-endian and --big-endian options.
24595 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24596 * locale/programs/locarchive.c: Include "locfile.h".
24597 (GET): New macro.
24598 (SET): Likewise.
24599 (INC): Likewise.
24600 (create_archive): Use the new macros to access fields of
24601 structures directly mapped from or written to locale archives.
24602 (oldlocrecentcmp): Likewise.
24603 (enlarge_archive): Likewise.
24604 (insert_name): Likewise.
24605 (add_alias): Likewise.
24606 (add_locale): Likewise.
24607 (delete_locales_from_archive): Likewise.
24608 (show_archive_content): Likewise.
24609 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24610 locale data.
24611
39bf0bb4
RM
246122013-09-24 Roland McGrath <roland@hack.frob.com>
24613
24614 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24615 http://www.gnu.org/doc/freemanuals.texi.
24616 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24617
f02eed10
WN
246182013-09-24 Will Newton <will.newton@linaro.org>
24619
24620 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24621 macro.
24622
a3a6c312
JM
246232013-09-23 Joseph Myers <joseph@codesourcery.com>
24624
24625 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24626 unsigned char.
24627
107375ac
MR
246282013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24629
24630 * manual/threads.texi (POSIX Threads): Fix a typo.
24631
141f3a77
SP
246322013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24633
303e567a
SP
24634 [BZ #14547]
24635 * string/tst-strcoll-overflow.c: New test case.
24636 * string/Makefile (xtests): Add tst-strcoll-overflow.
24637 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24638 cache if string sizes may cause integer overflow.
24639
141f3a77
SP
24640 [BZ #14547]
24641 * string/strcoll_l.c (coll_seq): New members rule, idx,
24642 save_idx and back_us.
24643 (get_next_seq_nocache): New function.
24644 (do_compare_nocache): New function.
24645 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24646 when malloc fails.
24647
c61b4d41
CD
246482013-09-23 Carlos O'Donell <carlos@redhat.com>
24649
0b1f8e35
CD
24650 [BZ #15754]
24651 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24652 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24653 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24654
c61b4d41
CD
24655 [BZ #15754]
24656 * elf/Makefile (tests): Add tst-ptrguard1.
24657 (tests-static): Add tst-ptrguard1-static.
24658 (tst-ptrguard1-ARGS): Define.
24659 (tst-ptrguard1-static-ARGS): Define.
24660 * elf/tst-ptrguard1.c: New file.
24661 * elf/tst-ptrguard1-static.c: New file.
24662 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24663 * sysdeps/i386/stackguard-macros.h: Likewise.
24664 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24665 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24666 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24667 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24668 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24669 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24670
246712013-09-23 Hector Marco <hecmargi@upv.es>
24672 Ismael Ripoll <iripoll@disca.upv.es>
24673 Carlos O'Donell <carlos@redhat.com>
24674
24675 [BZ #15754]
24676 * sysdeps/generic/stackguard-macros.h: Define
24677 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24678 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24679 Define __pointer_chk_guard_local.
24680 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24681 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24682
f5f4e7b4
VV
246832013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24684
24685 [BZ #15859]
24686 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24687
5bb43a43
AS
246882013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24689
24690 * include/string.h (__ffs): Declare as hidden.
24691 * string/ffs.c (__ffs): Define as hidden.
24692 * sysdeps/i386/ffs.c (__ffs): Likewise.
24693 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24694 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24695 * sysdeps/s390/ffs.c (__ffs): Likewise.
24696 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24697
3ea5be54
AO
246982013-09-20 Alexandre Oliva <aoliva@redhat.com>
24699
ffb89e53
AO
24700 * NEWS: Mention malloc probes.
24701
322dea08
AO
24702 * malloc/arena.c (new_heap): New memory_heap_new probe.
24703 (grow_heap): New memory_heap_more probe.
24704 (shrink_heap): New memory_heap_less probe.
24705 (heap_trim): New memory_heap_free probe.
24706 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24707 (systrim): New memory_sbrk_less probe.
24708 * manual/probes.texi: Document them.
24709
655673f3
AO
24710 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24711 * manual/probes.texi: Document it.
24712
35fed6f1
AO
24713 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24714 (__libc_realloc): Add memory_realloc_retry probe.
24715 (__libc_memalign): Add memory_memalign_retry probe.
24716 (__libc_valloc): Add memory_valloc_retry probe.
24717 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24718 (__libc_calloc): Add memory_calloc_retry probe.
24719 * manual/probes.texi: Document them.
24720
6999d38c
AO
24721 * malloc/arena.c (get_free_list): Add probe
24722 memory_arena_reuse_free_list.
24723 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24724 and memory_arena_reuse.
24725 (arena_get2) [!PER_THREAD]: Likewise.
24726 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24727 memory_arena_reuse_realloc.
24728 * manual/probes.texi: Document them.
24729
0653427f
AO
24730 * malloc/malloc.c (__libc_free): Add
24731 memory_mallopt_free_dyn_thresholds probe.
24732 (__libc_mallopt): Add multiple memory_mallopt probes.
24733 * manual/probes.texi: Document them.
24734
3ea5be54
AO
24735 * malloc/malloc.c: Include stap-probe.h.
24736 (__libc_mallopt): Add memory_mallopt probe.
24737 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24738 * manual/probes.texi: New.
24739 * manual/Makefile (chapters): Add probes.
24740 * manual/threads.texi: Set next node.
24741
e35696c3 247422013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24743
e35696c3
CL
24744 [BZ #15963, #13985]
24745 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24746 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24747 Add `Chinese' to `nan' entry name.
24748
4aafb73c
SP
247492013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24750
24751 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24752 (POLYNOMIAL): Likewise.
24753 (TAYLOR_SINCOS): Likewise.
24754 (TAYLOR_SLOW): Likewise.
24755 (__sin): Use TAYLOR_SINCOS.
24756 (__cos): Likewise.
24757 (slow): Use TAYLOR_SLOW.
24758 (sloww): Likewise.
24759 (bsloww): Likewise.
24760 (csloww): Likewise.
24761
d84f25c7
LD
247622013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24763
24764 * stdlib/strtod_l.c: Fix buffer overrun.
24765
5eea0404
SP
247662013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24767
7849ff93
SP
24768 * benchtests/Makefile (bench): Add sincos.
24769 * benchtests/bench-sincos.c: New file.
24770
cfa3c886
SP
24771 * math/libm-test.inc (cos_test_data): New test inputs.
24772 (sin_test_data): Likewise.
24773
b348e1e3
SP
24774 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24775 macro.
24776 (__sin): Use it.
24777 (__cos): Likewise.
24778 (slow1): Likewise.
24779 (slow2): Likewise.
24780 (sloww1): Likewise.
24781 (sloww2): Likewise.
24782 (bsloww1): Likewise.
24783 (bsloww2): Likewise.
24784 (cslow2): Likewise.
24785 (csloww1): Likewise.
24786 (csloww2): Likewise.
24787
6cce25f8
SP
24788 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24789 function.
24790 (__sin): Use it.
24791 (__cos): Likewise.
24792
5eea0404
SP
24793 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24794 gotos.
24795 (__cos): Likewise.
24796
9c21573c
MR
247972013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24798
24799 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24800 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24801 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24802 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24803 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24804 * elf/cache.c (print_entry): Handle the new cache flags.
24805
24d22e65
JM
248062013-09-18 Joseph Myers <joseph@codesourcery.com>
24807 Aldy Hernandez <aldyh@redhat.com>
24808
24809 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24810 Change condition to [_SOFT_FLOAT].
24811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24823 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24826 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24827 declaration.
24828
d13ef066
JM
248292013-09-18 Joseph Myers <joseph@codesourcery.com>
24830
2e071de0
JM
24831 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24832 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24833 (__longjmp): Use LOAD_GP to load saved GPRs.
24834 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24835 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24836 (__sigsetjmp): Use SAVE_GP to save GPRs.
24837
d13ef066
JM
24838 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24839 Do not append -msoft-float.
24840 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24841
97a0650b
SP
248422013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24843
24844 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24845
11ca09e9
JM
248462013-09-17 Joseph Myers <joseph@codesourcery.com>
24847
24848 [BZ #15966]
24849 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24850 (_FPU_GETCW): Use initial "__" on variable and field names but not
24851 on macro parameter name.
24852 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24853 parentheses around reference to macro parameter.
24854
08ffcf34
RS
248552013-09-13 Richard Sandiford <richard@codesourcery.com>
24856
24857 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24858 prototype.
24859 (ctype_startup): Use uint32_t in cast and sizeof for
24860 ctype->charnames.
24861
ae7080d3
JL
248622013-09-11 Jia Liu <proljc@gmail.com>
24863
24864 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24865 __daddr_t_defined.
24866 [__FreeBSD__]: Likewise.
24867
5905e7b3
OB
248682013-09-11 Ondřej Bílka <neleai@seznam.cz>
24869
24870 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24871 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24872 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24873 (strchr): Remove __strchr_sse42 ifunc selection.
24874 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24875 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24876
b987c776
WN
248772013-09-11 Will Newton <will.newton@linaro.org>
24878
24879 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24880 parameter to RES. Remove hardcoded 1000 value.
24881 * benchtests/bench-skeleton.c (main): Pass RES parameter
24882 to TIMING_INIT and multiply result by 1000.
24883
ddf985af
AZ
248842013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24885
24886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24887
ffdd3181
AS
248882013-09-11 Andreas Schwab <schwab@suse.de>
24889
24890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24891 if not defined.
24892 (O_TMPFILE) [__USE_GNU]: Define.
24893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24894 Define.
24895
b73ed247
WN
248962013-09-11 Will Newton <will.newton@linaro.org>
24897
24898 [BZ #15857]
24899 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24900 does not overflow.
24901
55e17aad
WN
249022013-09-11 Will Newton <will.newton@linaro.org>
24903
24904 [BZ #15856]
24905 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24906 does not overflow.
24907
1159a193
WN
249082013-09-11 Will Newton <will.newton@linaro.org>
24909
24910 [BZ #15855]
24911 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24912 does not overflow.
24913
5905e7b3 249142013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24915
24916 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24917 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24918 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24919 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24920 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24921
cdfc721b
AM
249222013-09-10 Allan McRae <allan@archlinux.org>
24923
aa04af00
AM
24924 [BZ #15748]
24925 * manual/arith.texi (Parsing of Floats): Clarify
24926 cross-reference.
24927
cdfc721b
AM
24928 [BZ #15849]
24929 * manual/install.texi (Running make install): Mention
24930 --enable-pt-chown.
24931 * INSTALL: Regenerated.
24932
95e7cf29
MR
249332013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24934
24935 * csu/init-first.c (_init): Remove the !SHARED condition around
24936 FPU control word initialization.
24937 * elf/dl-support.c (_dl_fpu_control): New variable.
24938 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24939 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24940 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24941 * math/test-fpucw-static.c: New file.
24942 * math/test-fpucw-ieee.c: New file.
24943 * math/test-fpucw-ieee-static.c: New file.
24944 * math/Makefile (tests): Add `test-fpucw-ieee' and
24945 `$(tests-static)'.
24946 (tests-static): New variable.
24947 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24948 dependency to...
24949 [($(build-shared),yes)]
24950 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24951 ... this.
24952 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24953 New dependency.
24954
83e43bf0
AM
249552013-09-09 Allan McRae <allan@archlinux.org>
24956
a9f5ce09
AM
24957 [BZ #15939]
24958 * manual/string.texi (Collation Functions): Fix typo in
24959 strcoll example.
24960 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24961
34829bc2
AM
24962 [BZ #15893]
24963 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24964
3932737d
AM
24965 [BZ #15892]
24966 * libio/memstream.c (open_memstream): Fix memory leak.
24967 * libio/wmemstream.c (open_wmemstream): Likewise.
24968
83e43bf0
AM
24969 [BZ #15895]
24970 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24971
0c66b8e9
WN
249722013-09-09 Will Newton <will.newton@linaro.org>
24973
24974 * malloc/Makefile: Add tst-realloc to tests.
24975 * malloc/tst-realloc.c: New file.
24976
f6b00fd1
AM
249772013-09-09 Allan McRae <allan@archlinux.org>
24978
24979 [BZ #15844]
24980 * COPYING: Update from GNU website to fix FSF address.
24981 * COPYING.LIB: Likewise.
24982
eec55e16
DM
249832013-09-06 David S. Miller <davem@davemloft.net>
24984
24985 * po/zh_TW.po: Update Chinese (traditional) translation from
24986 translation project.
24987
1ecbb381
RS
249882013-09-06 Richard Sandiford <richard@codesourcery.com>
24989 Joseph Myers <joseph@codesourcery.com>
24990
24991 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24992 "localeinfo.h".
24993 (obstack_chunk_alloc): New macro.
24994 (obstack_chunk_free): Likewise.
24995 (record_offset): New function.
24996 (init_locale_data): Likewise.
24997 (align_locale_data): Likewise.
24998 (add_locale_empty): Likewise.
24999 (add_locale_raw_data): Likewise.
25000 (add_locale_raw_obstack): Likewise.
25001 (add_locale_string): Likewise.
25002 (add_locale_wstring): Likewise.
25003 (add_locale_uint32): Likewise.
25004 (add_locale_uint32_array): Likewise.
25005 (add_locale_char): Likewise.
25006 (start_locale_structure): Likewise.
25007 (end_locale_structure): Likewise.
25008 (start_locale_prelude): Likewise.
25009 (end_locale_prelude): Likewise.
25010 (write_locale_data): Take locale_file structure rather than an
25011 iovec.
25012 * locale/programs/locfile.h: Include "obstack.h".
25013 (struct locale_file): Change to store locale file contents instead
25014 of header.
25015 (init_locale_data): New prototype.
25016 (align_locale_data): Likewise.
25017 (add_locale_empty): Likewise.
25018 (add_locale_raw_data): Likewise.
25019 (add_locale_raw_obstack): Likewise.
25020 (add_locale_string): Likewise.
25021 (add_locale_wstring): Likewise.
25022 (add_locale_uint32): Likewise.
25023 (add_locale_uint32_array): Likewise.
25024 (add_locale_char): Likewise.
25025 (start_locale_structure): Likewise.
25026 (end_locale_structure): Likewise.
25027 (start_locale_prelude): Likewise.
25028 (end_locale_prelude): Likewise.
25029 (write_locale_data): Update prototype.
25030 * locale/programs/3level.h (struct TABLE): Remove result field.
25031 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25032 Use new locale_file interface.
25033 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25034 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25035 * locale/programs/ld-address.c (address_output): Use new
25036 locale_file interface.
25037 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25038 NO_ADD_LOCALE.
25039 (collate_finish): Don't call collseq_table_finalize.
25040 (collate_output): Use new locale_file interface.
25041 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25042 in file.
25043 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25044 (TABLE): Move defines earlier in file.
25045 (ELEMENT): Likewise.
25046 (DEFAULT): Likewise.
25047 (wctrans_table_add): Move macro and inline function earlier in
25048 file.
25049 (struct wctype_table): Move type earlier in file.
25050 (add_locale_wctype_table): New static prototype.
25051 (struct locale_ctype_t): Use logical types instead of struct iovec
25052 pointers for members.
25053 (ctype_output): Use new locale_file interface.
25054 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25055 new locale_file interface.
25056 (allocate_arrays): Update for use of new locale_file interface.
25057 * locale/programs/ld-identification.c (identification_output): Use
25058 new locale_file interface.
25059 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25060 * locale/programs/ld-messages.c (messages_output): Likewise.
25061 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25062 * locale/programs/ld-name.c (name_output): Likewise.
25063 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25064 * locale/programs/ld-paper.c (paper_output): Likewise.
25065 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25066 * locale/programs/ld-time.c (time_output): Likewise.
25067
e029e2e5
AZ
250682013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25069
25070 * benchtests/Makefile: Add memrchr benchmark.
25071 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25072 benchmark as memrchr.
25073 * benchtests/bench-memrchr-ifunc.c: New file.
25074 * benchtests/bench-memrchr.c: New file.
25075
bbf6e8e4
WN
250762013-09-06 Will Newton <will.newton@linaro.org>
25077
25078 * benchtests/Makefile (string-bench): Add memcpy.
25079
6c82a2f8
CD
250802013-09-05 Carlos O'Donell <carlos@redhat.com>
25081 Cong Wang <amwang@redhat.com>
25082
e732c5f0 25083 [BZ #15850]
6c82a2f8
CD
25084 * sysdeps/unix/sysv/linux/bits/in.h
25085 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25086 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25087 before __USE_KERNEL_IPV6_DEFS uses.
25088 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25089 IPPROTO_BEETPH.
25090 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25091 sockaddr_in6, or ipv6_mreq.
25092
5430fc65
AZ
250932013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25094
25095 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25096 memory access for final bytes in some large inputs.
25097 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25098
4660856c
AZ
250992013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25100
25101 * string/test-memrchr.c: New file.
25102 * string/test-memrchr-ifunc.c: New file.
25103 * string/Makefile: Add new memrchr testcase.
25104
bb8ea713
MF
251052013-09-05 Mike Frysinger <vapier@gentoo.org>
25106
25107 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25108 fanotify_init returns EPERM.
25109
b92a20b5
JM
251102013-09-04 Joseph Myers <joseph@codesourcery.com>
25111
25112 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25113 errors.
25114 (top level): Treat second token from macro or constant entries for
25115 allowed headers as allowed.
25116 * include/complex.h: Condition internal declarations on
25117 [!_ISOMAC].
25118 * include/fenv.h: Condition include of <stdbool.h> and internal
25119 declarations on [!_ISOMAC].
7447ccd9
CL
25120
251212013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25122
3e181dda 25123 [BZ #15923]
7447ccd9
CL
25124 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25125
3f2e46a4
JM
251262013-09-04 Joseph Myers <joseph@codesourcery.com>
25127
25128 * configure.in (--enable-versioning): Remove configure option.
25129 (libc_cv_asm_symver_directive): Remove configure test.
25130 (libc_cv_ld_version_script_option): Likewise.
25131 (VERSIONING): Remove variable and AC_SUBST.
25132 (DO_VERSIONING): Remove AC_DEFINE.
25133 * configure: Regenerated.
25134 * config.h.in (DO_VERSIONING): Remove macro.
25135 * Makerules [$(versioning) = yes]: Change conditionals to
25136 [$(build-shared) = yes].
25137 * config.make.in (versioning): Remove variable.
25138 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25139 [$(build-shared) = yes].
25140 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25141 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25142 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25143 [$(build-shared) = yes].
25144 * extra-lib.mk [$(versioning) = yes]: Likewise.
25145 * hurd/Makefile [$(versioning) = yes]: Likewise.
25146 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25147 [SHARED].
25148 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25149 [SHARED].
25150 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25151 [SHARED && !NO_HIDDEN].
25152 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25153 [SHARED].
25154 [SHARED && DO_VERSIONING]: Likewise..
25155 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25156 [$(build-shared) = yes].
25157 * manual/install.texi (--disable-versioning): Remove
25158 documentation.
25159 * INSTALL: Regenerated.
25160 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25161 to [SHARED].
25162 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25163 [$(build-shared) = yes].
25164 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25165 * sysdeps/i386/i686/multiarch/strstr-c.c
25166 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25167 [SHARED && !NO_HIDDEN].
25168 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25169 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25170 * sysdeps/powerpc/powerpc32/dl-machine.c
25171 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25172 * sysdeps/powerpc/powerpc32/sysdep.h
25173 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25174 to [SHARED && PIC && !NO_HIDDEN].
25175 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25176 conditional to [SHARED].
25177
44558701
WN
251782013-09-04 Will Newton <will.newton@linaro.org>
25179
25180 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25181 * benchtests/bench-string.h: Include bench-timing.h instead
25182 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25183 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25184 call to HP_TIMING_DIFF_INIT.
25185 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25186 instead of hp-timing.h macros.
25187 * benchtests/bench-memchr.c: Likewise.
25188 * benchtests/bench-memcmp.c: Likewise.
25189 * benchtests/bench-memcpy.c: Likewise.
25190 * benchtests/bench-memmem.c: Likewise.
25191 * benchtests/bench-memmove.c: Likewise.
25192 * benchtests/bench-memset.c: Likewise.
25193 * benchtests/bench-rawmemchr.c: Likewise.
25194 * benchtests/bench-strcasecmp.c: Likewise.
25195 * benchtests/bench-strcasestr.c: Likewise.
25196 * benchtests/bench-strcat.c: Likewise.
25197 * benchtests/bench-strchr.c: Likewise.
25198 * benchtests/bench-strcmp.c: Likewise.
25199 * benchtests/bench-strcpy.c: Likewise.
25200 * benchtests/bench-strcpy_chk.c: Likewise.
25201 * benchtests/bench-strlen.c: Likewise.
25202 * benchtests/bench-strncasecmp.c: Likewise.
25203 * benchtests/bench-strncat.c: Likewise.
25204 * benchtests/bench-strncmp.c: Likewise.
25205 * benchtests/bench-strncpy.c: Likewise.
25206 * benchtests/bench-strnlen.c: Likewise.
25207 * benchtests/bench-strpbrk.c: Likewise.
25208 * benchtests/bench-strrchr.c: Likewise.
25209 * benchtests/bench-strspn.c: Likewise.
25210 * benchtests/bench-strstr.c: Likewise.
25211
cae16d66
WN
252122013-09-04 Will Newton <will.newton@linaro.org>
25213
25214 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25215
ffa3cd7f
JM
252162013-09-03 Joseph Myers <joseph@codesourcery.com>
25217
25218 [BZ #15427]
25219 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25220 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25221 * math/libm-test.inc (lgamma_test_data): Add more tests.
25222 * sysdeps/i386/fpu/libm-test-ulps: Update.
25223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25224
8f02859f
OB
252252013-09-03 Ondřej Bílka <neleai@seznam.cz>
25226
25227 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25228 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25229 Add ifunc.
25230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25231 Add strcmp-sse2-unaligned
25232 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25233
18d43716
MF
252342013-09-02 Mike Frysinger <vapier@gentoo.org>
25235
25236 * Versions.def (libc): Add GLIBC_2.19.
25237
ac444012
MF
252382013-09-02 Mike Frysinger <vapier@gentoo.org>
25239
25240 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25241 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25242
b7835e32
JM
252432013-09-02 Joseph Myers <joseph@codesourcery.com>
25244
25245 [BZ #14155]
25246 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25247 intermediate calculations in recurrence.
25248 (__ieee754_ynf): Likewise.
25249 * math/libm-test.inc (jn_test_data): Do not allow spurious
25250 underflow exception. Add more tests.
25251 (yn_test_data): Add more tests.
25252 * sysdeps/i386/fpu/libm-test-ulps: Update.
25253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25254
8220f4f0
OB
252552013-09-02 Ondřej Bílka <neleai@seznam.cz>
25256
25257 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25258
f24a6d08
OB
252592013-08-30 Ondřej Bílka <neleai@seznam.cz>
25260
25261 * csu/init-first.c: Fix then/than typos.
25262 * locale/programs/ld-collate.c: Likewise.
25263 * locale/programs/linereader.h: Likewise.
25264 * manual/charset.texi: Likewise.
25265 * manual/filesys.texi: Likewise.
25266 * manual/stdio.texi: Likewise.
25267 * manual/string.texi: Likewise.
25268 * stdlib/fmtmsg.c: Likewise.
25269 * sysdeps/i386/stpncpy.S: Likewise.
25270 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25271 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25272 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25273 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25274
382466e0
OB
252752013-08-30 Ondřej Bílka <neleai@seznam.cz>
25276
25277 * elf/dl-open.c: Fix typos.
25278 * iconvdata/gbbig5.c: Likewise.
25279 * iconvdata/iso-2022-jp.c: Likewise.
25280 * iconv/gconv_int.h: Likewise.
25281 * iconv/loop.c: Likewise.
25282 * nis/rpcsvc/nis.h: Likewise.
25283 * resolv/ns_name.c: Likewise.
25284 * stdio-common/vfscanf.c: Likewise.
25285 * streams/stropts.h: Likewise.
25286 * sunrpc/rpc_thread.c: Likewise.
25287 * sysdeps/i386/strpbrk.S: Likewise.
25288 * sysdeps/ieee754/k_standard.c: Likewise.
25289 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25291 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25292 * sysdeps/mach/hurd/profil.c: Likewise.
25293 * sysdeps/s390/dl-procinfo.h: Likewise.
25294 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25295 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25296 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25297 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25298 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25299
0186c6e9
OB
253002013-08-30 Ondřej Bílka <neleai@seznam.cz>
25301
25302 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25304
d4e16af1
OB
253052013-08-29 Ondřej Bílka <neleai@seznam.cz>
25306
25307 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25308 aix specific files.
25309 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25310 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25311 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25312 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25313 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25314 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25315 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25316 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25317
88335980
TS
253182013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25319 Roland McGrath <roland@hack.frob.com>
25320
25321 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25322 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25323
ed479b02
ST
253242013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25325
25326 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25327 __executable_start symbol instead of _start.
25328
f1cc4c86
TS
253292013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25330
d821f07c
TS
25331 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25332 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25333 Move macros to...
25334 * sysdeps/gnu/ldsodefs.h: ... this new file.
25335
c54290cf
TS
25336 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25337 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25338 instead of ELFOSABI_LINUX.
25339
0007fc9b 25340 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25341 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25342 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25343 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25344 Likewise.
25345 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25346 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25347 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25348 Likewise.
25349 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25350 (ibm_extended_long_double): Add ieee_nan member.
25351 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25352 (do_test): New function.
25353
f1cc4c86
TS
25354 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25355 TEST_TRUNC.
25356 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25357 functions, renamed from truncdfsf_test, trunctfsf_test,
25358 trunctfdf_test.
25359 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25360 functions.
25361 (do_test): Run all these.
25362
6f65e668
OB
253632013-08-29 Ondřej Bílka <neleai@seznam.cz>
25364
25365 * argp/argp-help.c: Fix typos.
25366 * argp/argp-parse.c: Likewise.
25367 * debug/backtracesyms.c: Likewise.
25368 * elf/elf.h: Likewise.
25369 * malloc/malloc.c: Likewise.
25370 * nis/nis_print.c: Likewise.
25371 * resolv/res_comp.c: Likewise.
25372 * stdlib/stdlib.h: Likewise.
25373 * sunrpc/clnt_tcp.c: Likewise.
25374 * sunrpc/clnt_udp.c: Likewise.
25375 * sunrpc/clnt_unix.c: Likewise.
25376 * sysdeps/unix/bsd/ptsname.c: Likewise.
25377 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25378 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25380 Likewise.
25381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25382 Likewise.
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25384 Likewise.
6f65e668
OB
25385 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25386
3a309239
SP
253872013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25388
25389 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25391
3b813b29
MF
253922013-08-27 Mike Frysinger <vapier@gentoo.org>
25393
25394 [BZ #15897]
25395 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25396 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25397 ($(objpfx)bug-dl-leaf): New rule.
25398 ($(objpfx)bug-dl-leaf.so): Likewise.
25399 ($(objpfx)bug-dl-leaf.out): Likewise.
25400 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25401 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25402 * dlfcn/bug-dl-leaf.c: New test.
25403 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25404 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25405 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25406 (dlclose): Likewise.
25407 (dlmopen): Likewise.
25408
8cc3269f
RM
254092013-08-27 Roland McGrath <roland@hack.frob.com>
25410
7f9d0034
RM
25411 * include/netdb.h [!_ISOMAC]:
25412 Don't include <tls.h>.
25413 (h_errno, __libc_h_errno): Move declaration and macros out of
25414 [_LIBC_REENTRANT].
25415
fb431262
RM
25416 * include/resolv.h [_RESOLV_H_]:
25417 Don't include <tls.h>.
25418 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25419 * resolv/res_libc.c: Don't include <tls.h>.
25420 (_res): Use __attribute__ ((nocommon)) in place of
25421 __attribute__ ((section (".bss"))).
25422
bd81123a
RM
25423 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25424 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25425
c4e42566
RM
25426 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25427
f890a59b
RM
25428 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25429 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25430
25431 * resolv/res_mkquery.c: Include <sys/time.h>.
25432
5d1f0a09
RM
25433 * inet/ifreq.c: Moved to ...
25434 * sysdeps/unix/ifreq.c: ... here.
25435 * inet/ifreq.c: New file, true stub version.
25436
6fcf28b3
RM
25437 * socket/sa_len.c: New file.
25438 * socket/Makefile (aux): Add it.
25439 * sysdeps/unix/sysv/linux/Makefile
25440 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25441 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25442 and #include <socket/sa_len.c>.
25443 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25444 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25445
e041fb8b
RM
25446 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25447 * bits/socket.h: ... here.
25448
8cc3269f
RM
25449 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25450 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25451 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25452
5d228a43
AS
254532013-08-27 Andreas Schwab <schwab@suse.de>
25454
45b8accc
AS
25455 [BZ #15736]
25456 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25457 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25458 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25459 * string/test-strcasecmp.c (test_main): Run tests in several
25460 locales.
25461 * string/test-strncasecmp.c (test_main): Likewise.
25462
5d228a43
AS
25463 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25464 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25465 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25466 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25467 (__strncasecmp_ssse3) [PIC]: Likewise.
25468
59d112a4
RM
254692013-08-26 Roland McGrath <roland@hack.frob.com>
25470
53234cc3
RM
25471 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25472
59d112a4
RM
25473 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25474 instead of explicitly declaring xdecrypt.
25475 * nis/nss_nis/nis-publickey.c: Likewise.
25476
595aba70
SP
254772013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25478
25479 [BZ #15890]
25480 * nscd/aicache.c: Include res_hconf.h.
25481 (addhstaiX): Initialize res_hconf.
25482
ffabd393
AS
254832013-08-26 Andreas Schwab <schwab@suse.de>
25484
25485 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25486 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25487
e0a69f5c
SP
254882013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25489
25490 * nscd/aicache.c (addhstaiX): Fix indentation.
25491
8c12f01d
MF
254922013-08-25 Mike Frysinger <vapier@gentoo.org>
25493
25494 * configure.ac: Quote $build_pt_chown test.
25495 * configure: Regenerated.
25496
8fe89494
JM
254972013-08-23 Joseph Myers <joseph@codesourcery.com>
25498
25499 [BZ #15532]
25500 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25501 * math/s_cexpf.c (__cexpf): Likewise.
25502 * math/s_cexpl.c (__cexpl): Likewise.
25503 * math/libm-test.inc (cexp_test_data): Correct expected return
25504 value for NaN + i0. Add another test.
25505
75b181d6
DM
255062013-08-22 David S. Miller <davem@davemloft.net>
25507
25508 * po/ca.po: Update Catalan translation from translation project.
936241e4 25509 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25510
acd06bb1
JM
255112013-08-21 Joseph Myers <joseph@codesourcery.com>
25512
25513 [BZ #15797]
25514 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25515 is infinite, not alongside NaN test.
25516 * math/s_fdimf.c (__fdimf): Likewise.
25517 * math/s_fdiml.c (__fdiml): Likewise.
25518 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25519 errno is unchanged.
25520
c0c3f78a
OB
255212013-08-21 Ondřej Bílka <neleai@seznam.cz>
25522
25523 * argp/argp-help.c: Fix typos.
25524 * crypt/speeds.c: Likewise.
25525 * csu/check_fds.c: Likewise.
25526 * elf/dl-load.c: Likewise.
25527 * elf/dl-open.c: Likewise.
25528 * elf/reldep3.c: Likewise.
25529 * elf/reldep.c: Likewise.
25530 * elf/sprof.c: Likewise.
25531 * iconv/iconv_charmap.c: Likewise.
25532 * iconv/skeleton.c: Likewise.
25533 * iconv/strtab.c: Likewise.
25534 * io/lockf64.c: Likewise.
25535 * libio/libioP.h: Likewise.
25536 * resolv/gai_notify.c: Likewise.
25537 * resolv/ns_name.c: Likewise.
25538 * resolv/ns_samedomain.c: Likewise.
25539 * resolv/res_send.c: Likewise.
25540 * stdlib/random.c: Likewise.
25541 * sunrpc/rpc/xdr.h: Likewise.
25542 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25543 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25544 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25545 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25546 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25547 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25549 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25550 * sysdeps/mach/hurd/check_fds.c: Likewise.
25551 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25552 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25553 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25554 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25555 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25556 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25557 * sysdeps/pthread/aio_notify.c: Likewise.
25558 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25559 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25560 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25561 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25562 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25563
46ed1038
LD
255642013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25565
25566 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25567 version if bit_Slow_SSE4_2 is set.
25568 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25569 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25570
d400dcac
AZ
255712013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25572
25573 [BZ #15867]
25574 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25575 trampoline stack frame information.
25576 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25577 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25578 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25579 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25580 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25581 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25582 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25583 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25584 sa_flags value.
25585 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25586 interrupting a syscall and set with option SA_SIGINFO.
25587
42c8fdd8
JM
255882013-08-20 Joseph Myers <joseph@codesourcery.com>
25589
c980f2f4
JM
25590 [BZ #15531]
25591 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25592 argument is infinite.
25593 * math/s_cprojf.c (__cprojf): Likewise.
25594 * math/s_cprojl.c (__cprojl): Likewise.
25595 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25596 * math/libm-test.inc (cproj_test_data): Add more tests.
25597
0716c4fc
JM
25598 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25599
42c8fdd8
JM
25600 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25601 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25602 size. Use __ffs to determine corresponding shift.
25603
b31469d0
JM
256042013-08-20 Joseph Myers <joseph@codesourcery.com>
25605 Roland McGrath <roland@hack.frob.com>
25606
25607 * Makefile (INSTALL): Remove trailing blank lines from output of
25608 makeinfo.
25609
4e39af6e
AK
256102013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25611
25612 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25613 Align 32 bit compat elf_greg to 8 bytes.
25614
f315524e
AA
256152013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25616
25617 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25618
1326ba1a
SP
256192013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25620
25621 * string/strcoll_l.c (coll_seq): New structure.
25622 (get_next_seq_cached): New function.
25623 (get_next_seq): New function.
25624 (do_compare): New function.
25625 (STRCOLL): Use GNU style definition. Simplify implementation
25626 by using get_next_seq, get_next_seq_cached and do_compare.
25627
91ce4085
FW
256282013-08-16 Florian Weimer <fweimer@redhat.com>
25629
25630 [BZ #14699]
25631 CVE-2013-4237
25632 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25633 member.
25634 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25635 member.
25636 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25637 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25638 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25639 conditional.
25640 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25641 GETDENTS_64BIT_ALIGNED.
25642 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25643 * manual/filesys.texi (Reading/Closing Directory): Document
25644 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25645 strongly.
25646 * manual/conf.texi (Limits for Files): Add portability note to
25647 NAME_MAX, PATH_MAX.
25648 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25649
ca0a6bc4
AS
256502013-08-13 Andreas Schwab <schwab@suse.de>
25651
25652 [BZ #15749]
25653 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25654 of fabs.
25655 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25656 LDBL_MAX_EXP >= 16384]: Add tests for it.
25657
6c1fd795
DM
256582013-08-12 David S. Miller <davem@davemloft.net>
25659
25660 * version.h (RELEASE): Set to "development".
25661 (VERSION): Set to "2.18.90".
25662 * NEWS: Add 2.19 section.
25663
31ad488d
DM
256642013-08-03 David S. Miller <davem@davemloft.net>
25665
25666 * po/ko.po: Update Korean translation from translation project.
25667
db24e684
DM
256682013-08-01 David S. Miller <davem@davemloft.net>
25669
25670 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25671 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25672 Bilka.
25673
f723285b
DM
256742013-07-30 David S. Miller <davem@davemloft.net>
25675
25676 * po/fr.po: Update French translation from translation project.
25677
3cbc52db
DM
256782013-07-28 David S. Miller <davem@davemloft.net>
25679
30bbc0cc
DM
25680 * po/cs.po: Update Czech translation from translation project.
25681
3cbc52db
DM
25682 * po/sv.po: Update Swedish translation from translation project.
25683
d492e6d0
DM
256842013-07-27 David S. Miller <davem@davemloft.net>
25685
f1a7f492
DM
25686 * po/eo.po: Update Esperanto translation from translation project.
25687
90e62a4a
DM
25688 * po/vi.po: Update Vietnamese translation from translation project.
25689
d492e6d0
DM
25690 * po/de.po: Update German translation from translation project.
25691
d4baa62d
DM
256922013-07-26 David S. Miller <davem@davemloft.net>
25693
641aa7b4
DM
25694 * po/bg.po: Update Bulgarian translation from translation project.
25695
d4baa62d
DM
25696 * po/nl.po: Update Dutch translation from translation project.
25697 * po/pl.po: Update Polish translation from translation project.
25698 * po/ru.po: Update Russian translation from translation project.
25699
61a9dcb9
DM
257002013-07-24 David S. Miller <davem@davemloft.net>
25701
25702 * po/libc.pot: Update.
25703
7b1f8b58
AZ
257042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25705
25706 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25707 variable page size.
25708 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25709 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25710 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25711
a8fc7a03
AK
257122013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25713
25714 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25715
e4608715
CD
257162013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25717 Andreas Schwab <schwab@suse.de>
25718 Roland McGrath <roland@hack.frob.com>
25719 Joseph Myers <joseph@codesourcery.com>
25720 Carlos O'Donell <carlos@redhat.com>
25721
25722 [BZ #15755]
25723 * config.h.in: Define HAVE_PT_CHOWN.
25724 * config.make.in (build-pt-chown): New variable.
25725 * configure.in (--enable-pt_chown): New configure option.
25726 * configure: Regenerate.
25727 * login/Makefile: Include Makeconfig. Build pt_chown only if
25728 build-pt-chown is enabled.
25729 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25730 pt_chown to fix pty ownership.
25731 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25732 CLOSE_ALL_FDS.
25733 * manual/install.texi (Configuring and compiling): Mention
25734 --enable-pt_chown. Add @findex for grantpt.
25735 * INSTALL: Regenerate.
25736
da2d62df
DM
257372013-07-20 David S. Miller <davem@davemloft.net>
25738
25739 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25740 difference between 32-bit and 64-bit.
25741
d7e06450
CD
257422013-07-15 Carlos O'Donell <carlos@redhat.com>
25743
25744 [BZ #15711]
25745 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25746 Avoid system header dependency with -ffreestanding.
25747 ($(objpfx)bits/syscall%d): Likewise.
25748
f959cfd7
DM
257492013-07-13 David S. Miller <davem@davemloft.net>
25750
25751 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25752 underflows from atanl/atan2l due to bug 15319.
25753 (casinh_test_data): Likewise.
25754
c61f8513
DM
257552013-07-07 David S. Miller <davem@davemloft.net>
25756
25757 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25758
72c90ed0
JA
257592013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25760
25761 * sysdeps/i386/fpu/libm-test-ulps: Update.
25762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25763
52dfbe13
SP
257642013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25765
25766 * configure.in (--enable-lock-elision): Fix message text.
25767 * INSTALL: Regenerate.
25768 * configure: Regenerate.
25769
3f169543
AZ
257702013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25771
25772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25773
521c6785
AJ
257742013-07-03 Andreas Jaeger <aj@suse.de>
25775
25776 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25777 define.
25778 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25779 (ptrace_peeksiginfo_args): Add.
25780 (__ptrace_peeksiginfo_flags): Add.
25781 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25783 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25784
d2cc15cb
AM
257852013-07-03 Allan McRae <allan@archlinux.org>
25786
25787 * sysdeps/i386/fpu/libm-test-ulps: Update.
25788
3aaeeca7
DM
257892013-07-02 David S. Miller <davem@davemloft.net>
25790
25791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25792
5314ed1a
MT
257932013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25794
25795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25796
67338156
JM
257972013-07-02 Joseph Myers <joseph@codesourcery.com>
25798
25799 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25801
1717da59
AK
258022013-07-02 Andi Kleen <ak@linux.intel.com>
25803
25804 * config.h.in (ENABLE_LOCK_ELISION): Add.
25805 * configure.in (--enable-lock-elision): Add option.
25806 * manual/install.texi: Document --enable lock elision.
25807 * configure: Regenerate
25808 * INSTALL: Regenerate.
25809
1c81621c
L
258102013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25811
25812 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25813 SSE4.2 strcasecmp for libc.a.
25814 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25815
77f01ab5
JM
258162013-07-02 Joseph Myers <joseph@codesourcery.com>
25817
25818 [BZ #13304]
25819 * soft-fp/op-common.h (_FP_FMA): New macro.
25820 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25821 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25822 (_FP_MUL_MEAT_1_imm): ... here.
25823 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25824 (_FP_MUL_MEAT_1_wide): ... here.
25825 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25826 (_FP_MUL_MEAT_1_hard): ... here.
25827 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25828 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25829 (_FP_MUL_MEAT_2_wide): ... here.
25830 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25831 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25832 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25833 (_FP_MUL_MEAT_2_gmp): ... here.
25834 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25835 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25836 (_FP_MUL_MEAT_4_wide): ... here.
25837 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25838 (_FP_MUL_MEAT_4_gmp): ... here.
25839 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25840 (_FP_WFRACBITS_DW_S): Likewise.
25841 (_FP_WFRACXBITS_DW_S): Likewise.
25842 (_FP_HIGHBIT_DW_S): Likewise.
25843 (FP_FMA_S): Likewise.
25844 (_FP_FRAC_HIGH_DW_S): Likewise.
25845 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25846 (_FP_WFRACBITS_DW_D): Likewise.
25847 (_FP_WFRACXBITS_DW_D): Likewise.
25848 (_FP_HIGHBIT_DW_D): Likewise.
25849 (FP_FMA_D): Likewise.
25850 (_FP_FRAC_HIGH_DW_D): Likewise.
25851 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25852 (_FP_WFRACBITS_DW_E): Likewise.
25853 (_FP_WFRACXBITS_DW_E): Likewise.
25854 (_FP_HIGHBIT_DW_E): Likewise.
25855 (FP_FMA_E): Likewise.
25856 (_FP_FRAC_HIGH_DW_E): Likewise.
25857 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25858 (_FP_WFRACBITS_DW_Q): Likewise.
25859 (_FP_WFRACXBITS_DW_Q): Likewise.
25860 (_FP_HIGHBIT_DW_Q): Likewise.
25861 (FP_FMA_Q): Likewise.
25862 (_FP_FRAC_HIGH_DW_Q): Likewise.
25863 * soft-fp/fmasf4.c: New file.
25864 * soft-fp/fmadf4.c: Likewise.
25865 * soft-fp/fmatf4.c: Likewise.
25866
6308fd9a
LD
258672013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25868
25869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25870 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25871 Silvermont.
25872 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25873 macro.
25874 (index_Slow_SSE4_2): Likewise.
25875 (index_Prefer_PMINUB_for_stringop): Likewise.
25876 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25877 bit_Slow_SSE4_2 is set.
25878 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25879 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25880
89cd9569
RA
258812013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25882
25883 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25884 rtld_global._dl_hwcap2.
25885 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25886 POWER8.
25887 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25888 POWER8 feature descriptions defined in _dl_hwcap2.
25889 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25890 string handling for POWER8 feature bits.
25891 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25892 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25893 _dl_powerpc_cap_flags.
25894 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25895 * sysdeps/powerpc/rtld-global-offsets.sym
25896 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25897 _dl_hwcap2 in the rtld_global_ro structure.
25898
1ae8bfe0
RA
258992013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25900
25901 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25902 hardware capabilities in support of AT_HWCAP2.
25903 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25904 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25905 GLRO(dl_hwcap2).
25906 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25907 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25908 explicitly the unknown a_type display mechanism is used.
25909 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25910 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25911 struct member.
25912 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25913 to macro prototype for AT_HWCAP2 support.
25914 * sysdeps/i386/dl-procinfo.h: Likewise.
25915 * sysdeps/s390/dl-procinfo.h: Likewise.
25916 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25917 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25918 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25919 return -1 for unknown a_type display fallback.
25920 * sysdeps/sparc/dl-procinfo.h: Likewise.
25921 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25922 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25923
8fbec010
JM
259242013-06-28 Joseph Myers <joseph@codesourcery.com>
25925
25926 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25927 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25928
0432680e
PY
259292013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25930
25931 [BZ #12492]
25932 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25933 mprotect making __stack_prot writable.
25934
ce61a2ad
NF
259352013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25936 Joseph Myers <joseph@codesourcery.com>
25937
25938 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25939 as being properly aligned.
25940
f91f1c0f
MR
259412013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25942
3d0f5d0c
MR
25943 * dlfcn/modstatic5.c: New file.
25944 * dlfcn/tststatic5.c: New file.
25945 * dlfcn/Makefile (tests): Add tststatic5.
25946 (tests-static): Likewise.
25947 (modules-names): Add modstatic5.
25948 (tststatic5-ENV): New variable.
25949 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25950
f91f1c0f
MR
25951 [BZ #15022]
25952 * elf/dl-support.c (_dl_main_map): New variable.
25953 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25954 (_dl_nns, _dl_load_adds): Set to 1.
25955 (_dl_initial_searchlist): Refer to _dl_main_map.
25956 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25957 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25958 call to _dl_get_origin.
25959 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25960 around call_map.
25961 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25962 * dlfcn/modstatic3.c: New file.
25963 * dlfcn/tststatic3.c: New file.
25964 * dlfcn/tststatic4.c: New file.
25965 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25966 (tests-static): Likewise.
25967 (modules-names): Add modstatic3.
25968 (tststatic3-ENV, tststatic4-ENV): New variables.
25969 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25970 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25971
cbe7d24b
JM
259722013-06-26 Joseph Myers <joseph@codesourcery.com>
25973
25974 * configure.in (CC): Require GCC version 4.4 or later.
25975 * configure: Regenerated.
25976 * manual/install.texi (Tools for Compilation): Update GCC version
25977 requirement.
25978 * INSTALL: Regenerated.
25979
11b8a0e1
LD
259802013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25981
25982 [BZ #15674]
bb5bb87c
L
25983 * string/test-memcmp.c (check2): New.
25984 (main): Call check2.
25985
11b8a0e1
LD
25986 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25987
b0037103
MR
259882013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25989
25990 [BZ #15022]
25991 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25992 over to...
25993 (dl_open_worker) [!SHARED]: ... here.
25994
c18c701d
RA
259952013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25996
25997 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25998
1d17fa5f
RH
259992013-06-25 Richard Henderson <rth@redhat.com>
26000
26001 * locale/programs/locarchive.c: Include <libc-internal.h>
26002
8fcb833a
JM
260032013-06-25 Joseph Myers <joseph@codesourcery.com>
26004
26005 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26006 trailing whitespace removed.
26007
17db6e8d
MF
260082013-06-24 Mike Frysinger <vapier@gentoo.org>
26009
26010 [BZ #10283]
17db6e8d
MF
26011 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26012 * locale/programs/locarchive.c: Include libc-mmap.h.
26013 (prepare_address_space): Take two new outputs (the mmap base and len).
26014 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26015 values.
26016 (create_archive): Declare new mmap base and len values for
26017 prepare_address_space, and store the result in ah.
26018 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26019 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26020 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26021 Declare new mmap base and len values for
26022 prepare_address_space, and store the result in new_ah.
26023 (open_archive): Declare new mmap base and len values for
26024 prepare_address_space, and store the result in ah.
26025 (close_archive): If ah->mmap_base is not NULL, use that and
26026 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26027 * sysdeps/generic/libc-mmap.h: New file.
26028
d605071e
MF
260292013-06-24 Mike Frysinger <vapier@gentoo.org>
26030
26031 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26032 (ALIGN_UP): Likewise.
26033 (PTR_ALIGN_DOWN): Likewise.
26034 (PTR_ALIGN_UP): Likewise.
26035
2f063a6e
RA
260362013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26037
26038 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26039 entry mapped to PPC_PLATFORM_POWER8.
26040 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26041 POWER8.
26042 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26043 (_dl_string_platform): Add case for exporting platform position for
26044 POWER8.
26045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26046 search path to sysdeps/powerpc/powerpc32/power8 directory.
26047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26048 search path to sysdeps/powerpc/powerpc64/power8 directory.
26049 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26050 power7 directories.
26051 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26052 power7 directories.
26053
a31ee4b3
SP
260542013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26055
a74ca98f
SP
26056 * INSTALL: Regenerate.
26057
a31ee4b3
SP
26058 * nscd/connections.c (nscd_init): Fix comment.
26059
695c378f
JM
260602013-06-22 Joseph Myers <joseph@codesourcery.com>
26061
d8412221
JM
26062 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26063
695c378f
JM
26064 [BZ #15667]
26065 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26066 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26067
d1d54715
MR
260682013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26069
26070 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26071 DL_DST_REQ_STATIC.
26072 (DL_DST_REQ_STATIC): Remove macro.
26073
8fdda7af
JM
260742013-06-21 Joseph Myers <joseph@codesourcery.com>
26075
26076 [BZ #7006]
26077 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26078 with a shift of 0 bits.
26079
f3bc5e5a
MR
260802013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26081
26082 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26083 $(tststatic-ENV).
26084
be09e8c9
KK
260852013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26086
26087 [BZ #15655]
26088 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26089
85c2e611
AZ
260902013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26091
26092 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26093 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26094 accepts -fno-tree-loop-distribute-patterns.
26095 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26096 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26097 recursive call.
26098 * string/memset.c (memset): Likewise.
26099 * string/test-memmove.c (simple_memmove): Disable loop transformation
26100 to library calls.
26101 * string/test-memset.c (simple_memset): Likewise.
26102 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26103 * benchtests/bench-memset.c (simple_memset): Likewise.
26104 * configure: Regenerated.
26105
c91e0825
JM
261062013-06-20 Joseph Myers <joseph@codesourcery.com>
26107
b8c792af
JM
26108 * math/test-misc.c (main): Ignore fesetround failure when failures
26109 of subsequent rounding tests would be ignored.
26110
c91e0825
JM
26111 [BZ #15654]
26112 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26113 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26114 * math/fegetenv.c (__fegetenv): Return 0.
26115 * math/fegetexcept.c (fegetexcept): Return 0.
26116 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26117 FE_TONEAREST.
26118 * math/feholdexcpt.c (feholdexcept): Return 0.
26119 * math/fesetenv.c (__fesetenv): Return 0.
26120 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26121 argument FE_TONEAREST.
26122 * math/feupdateenv.c (__feupdateenv): Return 0.
26123 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26124
bfcacbde
RM
261252013-06-18 Roland McGrath <roland@hack.frob.com>
26126
26127 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26128 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26129 ($(objpfx)rtld-%.os rules): Use them.
26130
e55a9b25
AZ
261312013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26132
26133 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26134 fields.
26135
346d65b3
RM
261362013-06-17 Roland McGrath <roland@hack.frob.com>
26137
12086fb4
RM
26138 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26139 length of target pattern, then descending length of dependency pattern.
26140 * configure.in (AWK): Require gawk 3.1.2 or newer.
26141 * manual/install.texi (Tools for Compilation): Say that we do.
26142 * configure: Regenerated.
26143
346d65b3
RM
26144 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26145 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26146 * scripts/sysd-rules.awk: ... this new script.
26147 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26148 than a glob-style pattern.
26149
1a846317
JM
261502013-06-17 Joseph Myers <joseph@codesourcery.com>
26151
26152 * math/test-misc.c (main): Do not treat incorrectly rounded
26153 conversions as failure unless ROUNDING_TESTS passes.
26154
8fc75e6f
JM
261552013-06-15 Joseph Myers <joseph@codesourcery.com>
26156
3711a167
JM
26157 [BZ #15631]
26158 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26159 restore exception state around main square root computation, then
26160 check for inexactness explicitly.
26161
8fc75e6f
JM
26162 * math/libm-test.inc (fma_test_data): Add another test.
26163
61dd6208
SP
261642013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26165
adf23d2c
SP
26166 * manual/threads.texi (Non-POSIX Extensions): New document
26167 node. Document pthread_getattr_default_np and
26168 pthread_setattr_default_np.
26169
61dd6208
SP
26170 * Versions.def (libpthread): Add GLIBC_2.18.
26171 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26173 Likewise.
26174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26175 Likewise.
26176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26177 Likewise.
26178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26179 Likewise.
26180 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26181 Likewise.
26182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26183 Likewise.
26184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26185 Likewise.
26186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26187 Likewise.
26188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26189 Likewise.
26190
d086fc7b
LD
261912013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26192
26193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26194 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26195
747ef469
SP
261962013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26197 H.J. Lu <hjl.tools@gmail.com>
26198
26199 [BZ #15627]
26200 * sysdeps/x86_64/rtld-memset.c: Remove file.
26201 * sysdeps/x86_64/rtld-memset.S: New file.
26202
1b2feed2
JM
262032013-06-14 Joseph Myers <joseph@codesourcery.com>
26204
26205 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26206 (test_in_one_mode): Take arguments for whether the rounding mode
26207 is supported for each floating-point type.
26208 (do_test): Pass new arguments to test_in_one_mode using
26209 ROUNDING_TESTS.
26210
a58ad3f8
RM
262112013-06-13 Roland McGrath <roland@hack.frob.com>
26212
26213 * posix/tst-waitid.c (do_test): Distinguish different instances of
26214 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26215 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26216 before entering the kernel for waitpid.
26217
c204ab28
SP
262182013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26219
26220 * NEWS: Fix note on clock function precision. Text by Roland
26221 McGrath.
26222
f4a29fba
RM
262232013-06-13 Roland McGrath <roland@hack.frob.com>
26224
26225 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26226 it into place only when and if the sanity check passes.
26227
1f24b9ad
JM
262282013-06-13 Joseph Myers <joseph@codesourcery.com>
26229
26230 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26231 output for whether conversion result is exact. Take argument
26232 indicating whether type is IBM long double.
26233 (round_for_all): Change need_exact field to ibm_ld.
26234 * stdlib/tst-strtod-round.c (struct exactness): New type.
26235 (struct test): Change bool ld_ok field to struct exactness exact.
26236 (TEST): Update all definitions for change to field.
26237 (tests): Regenerate array contents.
26238 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26239 field value. Check for IBM long double here.
26240 (do_test): Update calls to test_in_one_mode.
26241
58206c68
SP
262422013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26243
26244 [BZ #12515]
26245 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26246 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26247
2d6f4c5b 262482013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26249
26250 [BZ #15605]
26251 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26252 generated by the compiler on loop optimizations.
26253 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26254 general definitions.
26255
94f2c076
JM
262562013-06-12 Joseph Myers <joseph@codesourcery.com>
26257
26258 * math/bug-nextafter.c: Include <math-tests.h>.
26259 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26260 the relevant type.
26261 * math/bug-nexttoward.c: Include <math-tests.h>.
26262 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26263 the relevant type.
26264 * math/test-misc.c: Include <math-tests.h>.
26265 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26266 the relevant type.
26267
e0e50a0a
AJ
262682013-06-12 Andreas Jaeger <aj@suse.de>
26269
26270 * po/ia.po: Update Interlingua translation from translation
26271 project.
26272
25061094
SP
262732013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26274
26275 * include/fenv.h: Include stdbool.h.
26276 (struct rm_ctx): New structure.
26277 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26278 Define macro.
26279 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26280 (SET_RESTORE_ROUNDF): Likewise.
26281 (SET_RESTORE_ROUNDL): Likewise.
26282 (SET_RESTORE_ROUND_NOEX): Likewise.
26283 (SET_RESTORE_ROUND_NOEXF): Likewise.
26284 (SET_RESTORE_ROUND_NOEXL): Likewise.
26285 (SET_RESTORE_ROUND_53BIT): Likewise.
26286 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26287 (libc_feresetround_noexf_ctx): Likewise.
26288 (libc_feresetround_noexl_ctx): Likewise.
26289 (libc_feholdsetround_53bit_ctx): Likewise.
26290 (libc_feresetround_53bit_ctx): Likewise.
26291 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26292 (libc_feholdexcept_setround_sse_ctx): New function.
26293 (libc_fesetenv_sse_ctx): Likewise.
26294 (libc_feupdateenv_sse_ctx): Likewise.
26295 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26296 (libc_feholdexcept_setround_387_ctx): Likewise.
26297 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26298 (libc_feholdsetround_387_prec_ctx): Likewise.
26299 (libc_feholdsetround_387_ctx): Likewise.
26300 (libc_feholdsetround_387_53bit_ctx): Likewise.
26301 (libc_feholdsetround_sse_ctx): Likewise.
26302 (libc_feresetround_sse_ctx): Likewise.
26303 (libc_feresetround_387_ctx): Likewise.
26304 (libc_feupdateenv_387_ctx): Likewise.
26305 (libc_feholdexcept_setroundf_ctx): Define macro.
26306 (libc_fesetenvf_ctx): Likewise.
26307 (libc_feupdateenvf_ctx): Likewise.
26308 (libc_feholdsetroundf_ctx): Likewise.
26309 (libc_feresetroundf_ctx): Likewise.
26310 (libc_feholdexcept_setround_ctx): Likewise.
26311 (libc_fesetenv_ctx): Likewise.
26312 (libc_feupdateenv_ctx): Likewise.
26313 (libc_feholdsetround_ctx): Likewise.
26314 (libc_feresetround_ctx): Likewise.
26315 (libc_feholdexcept_setroundl_ctx): Likewise.
26316 (libc_feupdateenvl_ctx): Likewise.
26317 (libc_feholdsetroundl_ctx): Likewise.
26318 (libc_feresetroundl_ctx): Likewise.
26319 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26320 (libc_feresetround_53bit_ctx): Likewise.
26321
59b30555
SP
263222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26323
26324 * locale/iso-639.def: Convert to UTF-8.
26325
f1d73d30
JM
263262013-06-11 Joseph Myers <joseph@codesourcery.com>
26327
26328 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26329 (EXCEPTION_TESTS_double): Likewise.
26330 (EXCEPTION_TESTS_long_double): Likewise.
26331 (EXCEPTION_TESTS): Likewise.
26332 * math/libm-test.inc (test_exceptions): Only test exceptions if
26333 EXCEPTION_TESTS (FLOAT).
26334
94aca5e7
SP
263352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26336
26337 * benchtests/Makefile (string-bench): Add strcpy_chk and
26338 stpcpy_chk.
26339 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26340 * benchtests/bench-stpcpy_chk.c: New file.
26341 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26342 * benchtests/bench-strcpy_chk.c: New file.
26343 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26344 code.
26345 (do_test): Likewise.
26346
fac0c5f2
RA
263472013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26348
26349 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26350 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26351 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26352 with tabs where appropriate.
26353 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26354 dl-procinfo.h.
26355 [PPC_PLATFORM_PPC440]: Likewise.
26356 [PPC_PLATFORM_PPC464]: Likewise.
26357 [PPC_PLATFORM_PPC476]: Likewise.
26358 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26359 ppc464, and ppc476 platform strings merging from ports/
26360 dl-procinfo.h.
26361
f22bc486
AS
263622013-06-11 Andreas Schwab <schwab@suse.de>
26363
26364 [BZ #14991]
26365 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26366 (from_ucs4_idx): Regenerate.
26367 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26368 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26369 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26370 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26371 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26372 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26373 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26374 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26375 from FROM_LOOP and TO_LOOP specific macros.
26376 (BODY): Handle combining characters.
26377 * iconvdata/BIG5HKSCS.irreversible: Update.
26378 * iconvdata/BIG5HKSCS.precomposed: New file.
26379 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26380 characters.
26381 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26382
c1f75dc3
SP
263832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26384
4eacded2
SP
26385 * include/sys/time.h: Fix indentation and add copyright header.
26386
fec799f8
SP
26387 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26388 (do_test): Likewise.
26389 * string/test-memchr.c (do_one_test): Likewise.
26390 (do_test): Likewise.
26391 * string/test-memcmp.c (do_one_test): Likewise.
26392 (do_test): Likewise.
26393 * string/test-memcpy.c (do_one_test): Likewise.
26394 (do_test): Likewise.
26395 * string/test-memmem.c (do_one_test): Likewise.
26396 (do_test): Likewise.
26397 (do_random_tests): Likewise.
26398 * string/test-memmove.c (do_one_test): Likewise.
26399 (do_test): Likewise.
26400 * string/test-memset.c (do_one_test): Likewise.
26401 (do_test): Likewise.
26402 * string/test-rawmemchr.c (do_one_test): Likewise.
26403 (do_test): Likewise.
26404 * string/test-strcasecmp.c (do_one_test): Likewise.
26405 (do_test): Likewise.
26406 * string/test-strcasestr.c (do_one_test): Likewise.
26407 (do_test): Likewise.
26408 * string/test-strcat.c (do_one_test): Likewise.
26409 (do_test): Likewise.
26410 * string/test-strchr.c (do_one_test): Likewise.
26411 (do_test): Likewise.
26412 * string/test-strcmp.c (do_one_test): Likewise.
26413 (do_test): Likewise.
26414 * string/test-strcpy.c (do_one_test): Likewise.
26415 (do_test): Likewise.
26416 * string/test-string.h: Likewise.
26417 (test_init): Likewise.
26418 * string/test-strlen.c (do_one_test): Likewise.
26419 (do_test): Likewise.
26420 * string/test-strncasecmp.c (do_one_test): Likewise.
26421 (do_test): Likewise.
26422 * string/test-strncat.c (do_one_test): Likewise.
26423 (do_test): Likewise.
26424 * string/test-strncmp.c (do_one_test): Likewise.
26425 (do_test_limit): Likewise.
26426 (do_test): Likewise.
26427 * string/test-strncpy.c (do_one_test): Likewise.
26428 (do_test): Likewise.
26429 * string/test-strnlen.c (do_one_test): Likewise.
26430 (do_test): Likewise.
26431 * string/test-strpbrk.c (do_one_test): Likewise.
26432 (do_test): Likewise.
26433 * string/test-strrchr.c (do_one_test): Likewise.
26434 (do_test): Likewise.
26435 * string/test-strspn.c (do_one_test): Likewise.
26436 (do_test): Likewise.
26437 * string/test-strstr.c (do_one_test): Likewise.
26438 (do_test): Likewise.
26439
97020474
SP
26440 * benchtests/Makefile (string-bench): Add string benchmarks.
26441 * benchtests/bench-bcopy-ifunc.c: New file.
26442 * benchtests/bench-bcopy.c: New file.
26443 * benchtests/bench-bzero-ifunc.c: New file.
26444 * benchtests/bench-bzero.c: New file.
26445 * benchtests/bench-memccpy-ifunc.c: New file.
26446 * benchtests/bench-memccpy.c: New file.
26447 * benchtests/bench-memchr-ifunc.c: New file.
26448 * benchtests/bench-memchr.c: New file.
26449 * benchtests/bench-memcmp-ifunc.c: New file.
26450 * benchtests/bench-memcmp.c: New file.
26451 * benchtests/bench-memmem-ifunc.c: New file.
26452 * benchtests/bench-memmem.c: New file.
26453 * benchtests/bench-memmove-ifunc.c: New file.
26454 * benchtests/bench-memmove.c: New file.
26455 * benchtests/bench-mempcpy-ifunc.c: New file.
26456 * benchtests/bench-mempcpy.c: New file.
26457 * benchtests/bench-memset-ifunc.c: New file.
26458 * benchtests/bench-memset.c: New file.
26459 * benchtests/bench-rawmemchr-ifunc.c: New file.
26460 * benchtests/bench-rawmemchr.c: New file.
26461 * benchtests/bench-stpcpy-ifunc.c: New file.
26462 * benchtests/bench-stpcpy.c: New file.
26463 * benchtests/bench-stpncpy-ifunc.c: New file.
26464 * benchtests/bench-stpncpy.c: New file.
26465 * benchtests/bench-strcasecmp-ifunc.c: New file.
26466 * benchtests/bench-strcasecmp.c: New file.
26467 * benchtests/bench-strcasestr-ifunc.c: New file.
26468 * benchtests/bench-strcasestr.c: New file.
26469 * benchtests/bench-strcat-ifunc.c: New file.
26470 * benchtests/bench-strcat.c: New file.
26471 * benchtests/bench-strchr-ifunc.c: New file.
26472 * benchtests/bench-strchr.c: New file.
26473 * benchtests/bench-strchrnul-ifunc.c: New file.
26474 * benchtests/bench-strchrnul.c: New file.
26475 * benchtests/bench-strcmp-ifunc.c: New file.
26476 * benchtests/bench-strcmp.c: New file.
26477 * benchtests/bench-strcpy-ifunc.c: New file.
26478 * benchtests/bench-strcpy.c: New file.
26479 * benchtests/bench-strcspn-ifunc.c: New file.
26480 * benchtests/bench-strcspn.c: New file.
26481 * benchtests/bench-strlen-ifunc.c: New file.
26482 * benchtests/bench-strlen.c: New file.
26483 * benchtests/bench-strncasecmp-ifunc.c: New file.
26484 * benchtests/bench-strncasecmp.c: New file.
26485 * benchtests/bench-strncat-ifunc.c: New file.
26486 * benchtests/bench-strncat.c: New file.
26487 * benchtests/bench-strncmp-ifunc.c: New file.
26488 * benchtests/bench-strncmp.c: New file.
26489 * benchtests/bench-strncpy-ifunc.c: New file.
26490 * benchtests/bench-strncpy.c: New file.
26491 * benchtests/bench-strnlen-ifunc.c: New file.
26492 * benchtests/bench-strnlen.c: New file.
26493 * benchtests/bench-strpbrk-ifunc.c: New file.
26494 * benchtests/bench-strpbrk.c: New file.
26495 * benchtests/bench-strrchr-ifunc.c: New file.
26496 * benchtests/bench-strrchr.c: New file.
26497 * benchtests/bench-strspn-ifunc.c: New file.
26498 * benchtests/bench-strspn.c: New file.
26499 * benchtests/bench-strstr-ifunc.c: New file.
26500 * benchtests/bench-strstr.c: New file.
26501
c1f75dc3
SP
26502 * benchtests/Makefile: Disable parallel execution of targets.
26503 (string-bench): Add memcpy.
26504 (benchset): New variable to store a list of benchmark sets.
26505 (bench-func): Renamed from bench.
26506 (bench-set): New target.
26507 (bench): Depend on bench-func and bench-set.
26508 * benchtests/README: Add section on benchmark sets.
26509 * benchtests/bench-memcpy-ifunc.c: New file.
26510 * benchtests/bench-memcpy.c: New file.
26511 * benchtests/bench-string.h: New file.
26512
50fd745b
AS
265132013-06-11 Andreas Schwab <schwab@suse.de>
26514
26515 [BZ #15577]
26516 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26517 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26518 values in the triple.
26519 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26520 terminator in the group key.
26521
3ee7e9fe
AJ
265222013-06-11 Andreas Jaeger <aj@suse.de>
26523
26524 * po/zh_TW.po: Update Chinese (traditional) translation from
26525 translation project.
26526
89fb6835
SP
265272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26528
26529 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26530 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26531 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26532 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26533 (clock_getcpuclockid): Likewise.
26534 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26535 Add weak_alias and libc_hidden_def.
26536 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26537 * rt/clock_gettime.c (clock_gettime): Rename to
26538 __clock_gettime. Add weak_alias and libc_hidden_def.
26539 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26540 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26541 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26542 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26543 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26544 Likewise.
26545 * rt/clock_settime.c (clock_settime): Rename to
26546 __clock_settime. Add weak_alias and libc_hidden_def.
26547 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26548
0efa6f8b
JM
265492013-06-10 Joseph Myers <joseph@codesourcery.com>
26550
b8c61b4b
JM
26551 * mach/err_boot.sub: Remove trailing whitespace.
26552 * mach/err_ipc.sub: Likewise.
26553 * mach/err_mach.sub: Likewise.
26554
0efa6f8b
JM
26555 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26556 (ROUNDING_TESTS_double): Likewise.
26557 (ROUNDING_TESTS_long_double): Likewise.
26558 (ROUNDING_TESTS): Likewise.
26559 * math/libm-test.inc: Include <math-tests.h>.
26560 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26561 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26562 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26563 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26564
50b818bf
SP
265652013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26566
26567 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26568 of assigning.
26569
60d2f8f3
JM
265702013-06-08 Joseph Myers <joseph@codesourcery.com>
26571
4902d2c3
JM
26572 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26573 otherwise empty TRANS lines.
26574 * sysdeps/gnu/errlist.c: Regenerated.
26575
60d2f8f3
JM
26576 * catgets/gencat.c (error_print): Use (void) in function
26577 definition.
26578 * crypt/crypt_util.c (__init_des): Likewise.
26579 * crypt/speeds.c (Stop): Likewise.
26580 (main): Likewise.
26581 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26582 * inet/ruserpass.c (token): Likewise.
26583 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26584 * intl/localealias.c (extend_alias_table): Likewise.
26585 * intl/plural-exp.c (init_germanic_plural): Likewise.
26586 * libio/fcloseall.c (__fcloseall): Likewise.
26587 * libio/genops.c (_IO_flush_all): Likewise.
26588 (_IO_flush_all_linebuffered): Likewise.
26589 (_IO_cleanup): Likewise.
26590 (_IO_iter_begin): Likewise.
26591 (_IO_iter_end): Likewise.
26592 (_IO_list_lock): Likewise.
26593 (_IO_list_unlock): Likewise.
26594 (_IO_list_resetlock): Likewise.
26595 * libio/getchar.c (getchar): Likewise.
26596 * libio/getchar_u.c (getchar_unlocked): Likewise.
26597 * libio/getwchar.c (getwchar): Likewise.
26598 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26599 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26600 * login/getpt.c (__getpt): Likewise.
26601 * login/tst-utmp.c (main): Likewise.
26602 * malloc/hooks.c (__malloc_check_init): Likewise.
26603 * malloc/malloc.c (__malloc_stats): Likewise.
26604 * malloc/mtrace.c (tr_break): Likewise.
26605 (mtrace): Likewise.
26606 (muntrace): Likewise.
26607 * misc/fstab.c (endfsent): Likewise.
26608 * misc/getclktck.c (__getclktck): Likewise.
26609 * misc/getdtsz.c (__getdtablesize): Likewise.
26610 * misc/gethostid.c (gethostid): Likewise.
26611 * misc/getpagesize.c (__getpagesize): Likewise.
26612 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26613 (__get_nprocs): Likewise.
26614 (__get_phys_pages): Likewise.
26615 (__get_avphys_pages): Likewise.
26616 * misc/getttyent.c (getttyent): Likewise.
26617 (setttyent): Likewise.
26618 (endttyent): Likewise.
26619 * misc/getusershell.c (getusershell): Likewise.
26620 (endusershell): Likewise.
26621 (setusershell): Likewise.
26622 (initshells): Likewise.
26623 * misc/hsearch.c (__hdestroy): Likewise.
26624 * misc/sync.c (sync): Likewise.
26625 * misc/syslog.c (closelog_internal): Likewise.
26626 (closelog): Likewise.
26627 * misc/ttyslot.c (ttyslot): Likewise.
26628 * misc/vhangup.c (vhangup): Likewise.
26629 * posix/fork.c (__fork): Likewise.
26630 * posix/getegid.c (__getegid): Likewise.
26631 * posix/geteuid.c (__geteuid): Likewise.
26632 * posix/getgid.c (__getgid): Likewise.
26633 * posix/getpid.c (__getpid): Likewise.
26634 * posix/getppid.c (__getppid): Likewise.
26635 * posix/getuid.c (__getuid): Likewise.
26636 * posix/pause.c (pause): Likewise.
26637 * posix/setpgrp.c (setpgrp): Likewise.
26638 * posix/setsid.c (__setsid): Likewise.
26639 * posix/test-vfork.c (noop): Likewise.
26640 * resolv/gethnamaddr.c (_endhtent): Likewise.
26641 (_gethtent): Likewise.
26642 (ht_endhostent): Likewise.
26643 (gethostent): Likewise.
26644 (dns_service): Likewise.
26645 * stdlib/drand48.c (drand48): Likewise.
26646 * stdlib/lrand48.c (lrand48): Likewise.
26647 * stdlib/mrand48.c (mrand48): Likewise.
26648 * stdlib/rand.c (rand): Likewise.
26649 * stdlib/random.c (__random): Likewise.
26650 * stdlib/setenv.c (clearenv): Likewise.
26651 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26652 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26653 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26654 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26655 (__get_nprocs): Likewise.
26656 (__get_phys_pages): Likewise.
26657 (__get_avphys_pages): Likewise.
26658 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26659 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26660 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26661 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26662 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26663 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26664 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26665 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26666 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26667 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26668 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26669 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26670 * sysdeps/posix/clock.c (clock): Likewise.
26671 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26672 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26673 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26674 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26675 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26676 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26677 (__get_nprocs_conf): Likewise.
26678 (__get_phys_pages): Likewise.
26679 (__get_avphys_pages): Likewise.
26680 * time/clock.c (clock): Likewise.
26681 * time/tzset.c (__tzname_max): Likewise.
26682
2e09a79a
JM
266832013-06-07 Joseph Myers <joseph@codesourcery.com>
26684
26685 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26686 (__bswap_32): Do not use "register".
26687 * crypt/crypt.c (_ufc_doit_r): Likewise.
26688 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26689 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26690 * gmon/gmon.c (__monstartup): Likewise.
26691 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26692 * hurd/hurdmalloc.c (more_memory): Likewise.
26693 (malloc): Likewise.
26694 (free): Likewise.
26695 (realloc): Likewise.
26696 (malloc_fork_prepare): Likewise.
26697 (malloc_fork_parent): Likewise.
26698 (malloc_fork_child): Likewise.
26699 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26700 (_svcauth_des): Likewise.
26701 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26702 * inet/inet_net.c (inet_network): Likewise.
26703 * inet/inet_netof.c (inet_netof): Likewise.
26704 * inet/rcmd.c (__validuser2_sa): Likewise.
26705 * io/fts.c (fts_open): Likewise.
26706 (fts_load): Likewise.
26707 (fts_close): Likewise.
26708 (fts_read): Likewise.
26709 (fts_children): Likewise.
26710 (fts_build): Likewise.
26711 (fts_stat): Likewise.
26712 (fts_sort): Likewise.
26713 (fts_alloc): Likewise.
26714 (fts_lfree): Likewise.
26715 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26716 (_IO_file_xsgetn): Likewise.
26717 (_IO_file_xsgetn_mmap): Likewise.
26718 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26719 (_IO_cookie_write): Likewise.
26720 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26721 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26722 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26723 * malloc/obstack.c (_obstack_begin): Likewise.
26724 (_obstack_begin_1): Likewise.
26725 (_obstack_newchunk): Likewise.
26726 (_obstack_allocated_p): Likewise.
26727 (obstack_free): Likewise.
26728 (_obstack_memory_used): Likewise.
26729 * misc/getttyent.c (getttynam): Likewise.
26730 (getttyent): Likewise.
26731 (skip): Likewise.
26732 (value): Likewise.
26733 * misc/getusershell.c (initshells): Likewise.
26734 * misc/syslog.c (__vsyslog_chk): Likewise.
26735 * misc/ttyslot.c (ttyslot): Likewise.
26736 * nis/nis_hash.c (__nis_hash): Likewise.
26737 * posix/fnmatch_loop.c (FCT): Likewise.
26738 * posix/getconf.c (print_all): Likewise.
26739 (main): Likewise.
26740 * posix/getopt.c (exchange): Likewise.
26741 * posix/glob.c (globfree): Likewise.
26742 (prefix_array): Likewise.
26743 (__glob_pattern_type): Likewise.
26744 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26745 (NS_GET32): Likewise.
26746 (NS_PUT16): Likewise.
26747 (NS_PUT32): Likewise.
26748 * resolv/gethnamaddr.c (getanswer): Likewise.
26749 (gethostbyname2): Likewise.
26750 (gethostbyaddr): Likewise.
26751 (_gethtent): Likewise.
26752 (_gethtbyname2): Likewise.
26753 (_gethtbyaddr): Likewise.
26754 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26755 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26756 * resolv/res_init.c (__res_vinit): Likewise.
26757 (net_mask): Likewise.
26758 * resolv/res_mkquery.c (outchar): Likewise.
26759 (PRINT): Likewise.
26760 * stdio-common/printf_fp.c (outchar): Likewise.
26761 (PRINT): Likewise.
26762 * stdio-common/printf_fphex.c (outchar): Likewise.
26763 (PRINT): Likewise.
26764 * stdio-common/printf_size.c (outchar): Likewise.
26765 (PRINT): Likewise.
26766 * stdio-common/test_rdwr.c (main): Likewise.
26767 * stdio-common/tfformat.c (matches): Likewise.
26768 * stdio-common/vfprintf.c (outchar): Likewise.
26769 (printf_unknown): Likewise.
26770 (buffered_vfprintf): Likewise.
26771 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26772 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26773 (ReadFile): Likewise.
26774 * stdlib/qsort.c (SWAP): Likewise.
26775 (_quicksort): Likewise.
26776 * stdlib/setenv.c (__add_to_environ): Likewise.
26777 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26778 * stdlib/strtol_l.c (__strtol_l): Likewise.
26779 * stdlib/tst-strtod.c (main): Likewise.
26780 * stdlib/tst-strtol.c (main): Likewise.
26781 * stdlib/tst-strtoll.c (main): Likewise.
26782 * string/bits/string2.h (__strcmp_cc): Likewise.
26783 (__strcmp_cg): Likewise.
26784 (__strcspn_c1): Likewise.
26785 (__strcspn_c2): Likewise.
26786 (__strcspn_c3): Likewise.
26787 (__strspn_c1): Likewise.
26788 (__strspn_c2): Likewise.
26789 (__strspn_c3): Likewise.
26790 (__strsep_1c): Likewise.
26791 (__strsep_2c): Likewise.
26792 (__strsep_3c): Likewise.
26793 * string/memccpy.c (__memccpy): Likewise.
26794 * string/stpcpy.c (__stpcpy): Likewise.
26795 * string/strcmp.c (strcmp): Likewise.
26796 * string/strrchr.c (strrchr): Likewise.
26797 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26798 Likewise.
26799 * sysdeps/mach/hurd/getcwd.c
26800 (_hurd_canonicalize_directory_name_internal): Likewise.
26801 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26802 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26803 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26804 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26805 Likewise, in both definitions.
26806 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26807 definitions.
26808 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26809 64] (__bswap_64): Likewise.
26810 * time/test_time.c (main): Likewise.
26811 * time/tzfile.c (__tzfile_read): Likewise.
26812 (__tzfile_compute): Likewise.
26813 * time/tzset.c (__tzset_parse_tz): Likewise.
26814 (tzset_internal): Likewise.
26815 (compute_change): Likewise.
26816 * wcsmbs/wcscat.c (__wcscat): Likewise.
26817 * wcsmbs/wcschr.c (wcschr): Likewise.
26818 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26819 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26820 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26821 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26822 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26823 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26824 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26825 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26826 * wcsmbs/wmemset.c (wmemset): Likewise.
26827
9e54314b
JM
268282013-06-06 Joseph Myers <joseph@codesourcery.com>
26829
26830 * scripts/config.guess: Update to version 2013-05-16.
26831 * scripts/config.sub: Update to version 2013-04-24.
26832 * scripts/install-sh: Update to version 2011-11-20.07.
26833 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26834 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26835
350635a5
OB
268362013-06-06 Ondřej Bílka <neleai@seznam.cz>
26837
26838 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26839 * elf/sln.c: Likewise.
26840 * hurd/hurd/ioctl.h: Likewise.
26841 * hurd/hurdmalloc.c: Likewise.
26842 * hurd/xattr.c: Likewise.
26843 * include/shlib-compat.h: Likewise.
26844 * inet/ruserpass.c: Likewise.
26845 * libio/iofgets_u.c: Likewise.
26846 * libio/iofgetws_u.c: Likewise.
26847 * locale/programs/ld-identification.c: Likewise.
26848 * locale/programs/ld-time.c: Likewise.
26849 * mach/msg-destroy.c: Likewise.
26850 * nss/nss_files/files-netgrp.c: Likewise.
26851 * resolv/res_data.c: Likewise.
26852 * soft-fp/op-1.h: Likewise.
26853 * soft-fp/op-2.h: Likewise.
26854 * soft-fp/op-4.h: Likewise.
26855 * soft-fp/op-common.h: Likewise.
26856 * stdio-common/printf_fphex.c: Likewise.
26857 * stdlib/strtod_l.c: Likewise.
26858 * sunrpc/rpc/clnt.h: Likewise.
26859 * sysdeps/generic/framestate.c: Likewise.
26860 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26861 * sysdeps/i386/bsd-setjmp.S: Likewise.
26862 * sysdeps/i386/__longjmp.S: Likewise.
26863 * sysdeps/i386/setjmp.S: Likewise.
26864 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26865 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26866 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26867 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26868 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26869 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26870 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26871 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26872 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26873 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26874 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26875 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26876 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26877 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26878 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26879 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26880 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26881 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26882 * sysdeps/ieee754/support.c: Likewise.
26883 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26884 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26885 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26886 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26887 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26888 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26889 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26890 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26891 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26892 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26893 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26894 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26895 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26896 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26897 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26898 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26899 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26901
44a988af
OB
269022013-06-05 Ondřej Bílka <neleai@seznam.cz>
26903
25506f09 26904 * posix/transbug.c: Remove executable mode.
44a988af 26905
9c84384c
JM
269062013-06-05 Joseph Myers <joseph@codesourcery.com>
26907
26908 * crypt/speeds.c: Remove trailing whitespace.
26909 * dlfcn/default.c: Likewise.
26910 * elf/ifuncdep2.c: Likewise.
26911 * elf/ifuncmain1.c: Likewise.
26912 * elf/ifuncmain1vis.c: Likewise.
26913 * elf/testobj.h: Likewise.
26914 * elf/tst-stackguard1.c: Likewise.
26915 * gmon/sys/gmon.h: Likewise.
26916 * hurd/hurdmsg.c: Likewise.
26917 * hurd/new-fd.c: Likewise.
26918 * hurd/ports-get.c: Likewise.
26919 * iconvdata/ibm1008_420.c: Likewise.
26920 * inet/tst-getni1.c: Likewise.
26921 * inet/tst-getni2.c: Likewise.
26922 * libio/ioungetc.c: Likewise.
26923 * libio/wfiledoalloc.c: Likewise.
26924 * manual/libm-err-tab.pl: Likewise.
26925 * math/w_dremf.c: Likewise.
26926 * misc/ftruncate.c: Likewise.
26927 * posix/bug-glob2.c: Likewise.
26928 * posix/tst-pcre.c: Likewise.
26929 * posix/wait4.c: Likewise.
26930 * resolv/README: Likewise.
26931 * resolv/res_debug.h: Likewise.
26932 * resolv/tst-inet_ntop.c: Likewise.
26933 * setjmp/bug269-setjmp.c: Likewise.
26934 * soft-fp/extended.h: Likewise.
26935 * soft-fp/op-1.h: Likewise.
26936 * soft-fp/op-2.h: Likewise.
26937 * soft-fp/op-4.h: Likewise.
26938 * soft-fp/op-8.h: Likewise.
26939 * soft-fp/testit.c: Likewise.
26940 * stdio-common/bug16.c: Likewise.
26941 * stdlib/random.c: Likewise.
26942 * sunrpc/rpcsvc/rquota.x: Likewise.
26943 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26944 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26945 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26946 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26947 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26948 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26949 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26950 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26951 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26952 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26953 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26954 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26955 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26956 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26957 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26958 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26959 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26960 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26961 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26962 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26963 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26964 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26965 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26966 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26967 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26968 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26969 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26970 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26971 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26972 * sysdeps/ieee754/s_lib_version.c: Likewise.
26973 * sysdeps/mach/hurd/check_fds.c: Likewise.
26974 * sysdeps/mach/hurd/getsockname.c: Likewise.
26975 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26976 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26977 * sysdeps/powerpc/bits/link.h: Likewise.
26978 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26979 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26980 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26981 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26982 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26983 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26984 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26985 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26986 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26987 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26988 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26989 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26990 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26991 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26992 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26993 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26994 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26995 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26996 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26997 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26998 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26999 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27000 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27001 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27002 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27003 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27004 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27005 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27006 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27007 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27008 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27009 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27010 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27011 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27012 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27013 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27014 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27015 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27016 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27017 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27018 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27019 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27020 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27021 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27022 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27023 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27024 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27025 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27026 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27027 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27028 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27029 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27030 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27031 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27032 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27033 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27034 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27035 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27036 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27037 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27038 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27039 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27040 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27041 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27042 * sysdeps/powerpc/sysdep.h: Likewise.
27043 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27044 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27045 * sysdeps/sh/dl-trampoline.S: Likewise.
27046 * sysdeps/sh/memset.S: Likewise.
27047 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27048 * sysdeps/sh/strlen.S: Likewise.
27049 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27050 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27051 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27052 * sysdeps/sparc/sparc32/rem.S: Likewise.
27053 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27054 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27055 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27056 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27057 * sysdeps/sparc/sparc32/urem.S: Likewise.
27058 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27059 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27060 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27061 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27062 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27063 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27064 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27065 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27066 * sysdeps/unix/bsd/times.c: Likewise.
27067 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27068 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27072 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27073 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27074 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27075 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27076 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27077 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27078 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27079 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27080 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27081 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27082 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27083 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27084 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27085 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27086 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27087 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27088 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27089 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27090 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27091 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27092 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27093 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27094 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27095 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27096 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27097 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27098 * sysdeps/x86_64/strcspn.S: Likewise.
27099
869378a5
RA
271002013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27101
27102 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27103 generated file. Regenerate properly from gen-translit.pl.
27104 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27105 locale/C-translit.h.
27106
840e2943
AS
271072013-06-05 Andreas Schwab <schwab@suse.de>
27108
27109 [BZ #15100]
27110 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27111 week as 6 instead of -1.
27112 * time/tst-strptime.c (day_tests): Add test case.
27113
4c60cb0c
SP
271142013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27115
27116 * sysdeps/generic/math_private.h
27117 (libc_feholdexcept_setround_53bit): Replace with
27118 libc_feholdsetround_53bit.
27119 (libc_feupdateenv_53bit): Replace with
27120 libc_feresetround_53bit.
27121 (SET_RESTORE_ROUND_53BIT): Adjust.
27122
d180203e
SP
271232013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27124
96df079a
SP
27125 * string/test-strchrnul.c: Add copyright header.
27126
d180203e
SP
27127 * posix/tst-getaddrinfo4.c: Increase test timeout.
27128
8b0ccb2d
CD
271292013-06-03 Carlos O'Donell <carlos@redhat.com>
27130
27131 [BZ #15536]
27132 * math/libm-test.inc (MAX_EXP): Remove
27133 (MIN_EXP): Define.
27134 (ulp): Use MIN_EXP - MANT_DIG.
27135 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27136
3b3c4d40
CD
271372013-05-31 Carlos O'Donell <carlos@redhat.com>
27138
27139 * po/be.po: Revert last change.
27140 * po/zh_CN.po: Likewise.
27141 * po/header.pot: Likewise.
27142
fab7ce3f
JM
271432013-05-31 Joseph Myers <joseph@codesourcery.com>
27144
27145 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27146 link-libc-deps to empty as target-specific variable.
27147 * Makerules (link-libc-args): New variable.
27148 (libc-for-link): Likewise.
27149 (link-libc-deps): Likewise.
27150 (lib%.so): Depend on $(link-libc-deps). Link with
27151 $(link-libc-args).
27152 (build-module): Link with $(link-libc-args).
27153 (build-module-asneeded): Likewise.
27154 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27155 list of objects.
27156 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27157 target-specific variable.
27158 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27159 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27160 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27161 libc.
27162 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27163 libc and ld.so.
27164 ($(objpfx)libpcprofile.so): Likewise.
27165 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27166 libc_nonshared.a.
27167 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27168 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27169 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27170 $(link-libc-deps).
27171 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27172 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27173 * login/Makefile ($(objpfx)libutil.so): Likewise.
27174 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27175 * math/Makefile ($(objpfx)libm.so): Likewise.
27176 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27177 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27178 variable instead of depending directly on libc.
27179 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27180 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27181 $(link-libc-deps).
27182 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27183 libc.
27184 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27185 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27186 ($(objpfx)libanl.so): Likewise.
27187 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27188 ld.so.
27189 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27190 $(link-libc-deps).
27191 * sysdeps/i386/fpu/Makefile: Remove file.
27192 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27193 ($(objpfx)libm.so): Remove dependency on ld.so.
27194
eca5920c
PF
271952013-05-30 Patsy Franklin <pfrankli@redhat.com>
27196
27197 [BZ # 15553]
27198 * nis/yp_xdr.c (XDRMAXNAME): Define.
27199 (XDRMAXRECORD): Define.
27200 (xdr_domainname): Use XDRMAXNAME.
27201 (xdr_mapname): Likewise.
27202 (xdr_peername): Likewise.
27203 (xdr_keydat): Use XDRMAXRECORD.
27204 (xdr_valdat): Likewise.
27205
272062013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27207
27208 [BZ #14256]
27209 * manual/errno.texi (ESTALE): Update to account for more than
27210 just NFS file systems.
27211 * sysdeps/gnu/errlist.c: Regenerated.
27212
b9375348
SP
272132013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27214
27215 [BZ #15465]
27216 * elf/Makefile (tests): Add tst-null-argv.
27217 (modules-names): Add tst-null-argv-lib.
27218 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27219 (tst-null-argv-ENV): Set environment for tst-null-argv.
27220 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27221 (RTLD_PROGNAME): New macro.
27222 * elf/tst-null-argv.c: New test case.
27223 * elf/tst-null-argv-lib.c: Library for test case.
27224 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27225 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27226 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27227 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27228 * elf/dl-init.c (call_init): Likewise.
27229 (_dl_init): Likewise.
27230 * elf/dl-load.c (print_search_path): Likewise.
27231 (_dl_map_object): Likewise.
27232 * elf/dl-lookup.c (do_lookup_x): Likewise.
27233 (add_dependency): Likewise.
27234 (_dl_lookup_symbol_x): Likewise.
27235 (_dl_debug_bindings): Likewise.
27236 * elf/dl-open.c (_dl_show_scope): Likewise.
27237 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27238 * elf/dl-version.c (match_symbol): Likewise.
27239 (_dl_check_map_versions): Likewise.
27240 * elf/rtld.c (dl_main): Likewise.
27241 (print_unresolved): Use RTLD_PROGNAME.
27242 (print_missing_version): Likewise.
27243 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27244 (elf_machine_rela): Likewise.
27245 * sysdeps/powerpc/powerpc32/dl-machine.c
27246 (__process_machine_rela): Likewise.
27247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27248 Likewise.
27249 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27250 Likewise.
27251 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27252 Likewise.
27253 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27255 Likewise.
27256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27257 Likewise.
27258 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27259
8a9f20c8
CD
272602013-05-28 Carlos O'Donell <carlos@redhat.com>
27261
27262 * po/be.po: Add descriptive title.
27263 * po/zh_CN.po: Likewise.
27264 * po/header.pot: Likewise.
27265
0e60d68e
MF
272662013-05-28 Mike Frysinger <vapier@gentoo.org>
27267
27268 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27269 error message.
27270 (enlarge_archive): Likewise.
27271
56b672e9
BN
272722013-05-28 Ben North <ben@redfrontdoor.org>
27273
27274 * manual/arith.texi (frexp): It is the magnitude of the return
27275 value which lies in [0.5, 1), not the return value itself.
27276
5e056687
AZ
272772013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27278
27279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27280
2b66ef5d
TS
272812013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27282
528c2405
TS
27283 * stdio-common/bug26.c (main): Correct fscanf template.
27284
07b4c13d
TS
27285 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27286 declare _dl_skip_args.
27287
ec9dd97c
TS
27288 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27289 Don't declare.
27290
2b66ef5d
TS
27291 * manual/platform.texi: Add missing @end deftypefun.
27292
4f8dfe27
JM
272932013-05-24 Joseph Myers <joseph@codesourcery.com>
27294
0323d086
JM
27295 [BZ #15529]
27296 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27297 bit of mantissa of 2^16382.
27298 * math/libm-test.inc (hypot_test_data): Add more tests.
27299
dd4259b9
JM
27300 * math/libm-test.inc: Add drem and pow10 to list of tested
27301 functions.
27302 (pow10_test): New function.
27303 (drem_test): Likewise.
27304 (drem_test_tonearest): Likewise.
27305 (drem_test_towardzero): Likewise.
27306 (drem_test_downward): Likewise.
27307 (drem_test_upward): Likewise.
27308 (main): Call the new functions.
27309
4f8dfe27
JM
27310 * math/libm-test.inc (finite_test_data): Remove.
27311 (finite_test): Run tests from isfinite_test_data.
27312 (gamma_test_data): Remove.
27313 (gamma_test): Run tests from lgamma_test_data.
27314 * sysdeps/i386/fpu/libm-test-ulps: Update.
27315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27316
d116b7c4
AZ
273172013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27318
27319 * manual/platform.texi: Add PowerPC PPR function set documentation.
27320 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27321 implementation.
27322
e96e3767
CD
273232013-05-24 Carlos O'Donell <carlos@redhat.com>
27324
27325 * math/libm-test.inc (MAX_EXP): Define.
27326 (ULPDIFF): Define.
27327 (ulp): New function.
27328 (check_float_internal): Use ULPDIFF.
27329 (cpow_test): Disable failing test.
27330 (check_ulp): Test ulp() implemetnation.
27331 (main): Call check_ulp before starting tests.
27332
b679a606
JM
273332013-05-24 Joseph Myers <joseph@codesourcery.com>
27334
e8bdba36
JM
27335 * math/gen-libm-test.pl (generate_testfile): Do not handle
27336 START_DATA and END_DATA.
27337 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27338 END_DATA.
27339 (acos_tonearest_test_data): Likewise.
27340 (acos_towardzero_test_data): Likewise.
27341 (acos_downward_test_data): Likewise.
27342 (acos_upward_test_data): Likewise.
27343 (acosh_test_data): Likewise.
27344 (asin_test_data): Likewise.
27345 (asin_tonearest_test_data): Likewise.
27346 (asin_towardzero_test_data): Likewise.
27347 (asin_downward_test_data): Likewise.
27348 (asin_upward_test_data): Likewise.
27349 (asinh_test_data): Likewise.
27350 (atan_test_data): Likewise.
27351 (atanh_test_data): Likewise.
27352 (atan2_test_data): Likewise.
27353 (cabs_test_data): Likewise.
27354 (cacos_test_data): Likewise.
27355 (cacosh_test_data): Likewise.
27356 (carg_test_data): Likewise.
27357 (casin_test_data): Likewise.
27358 (casinh_test_data): Likewise.
27359 (catan_test_data): Likewise.
27360 (catanh_test_data): Likewise.
27361 (cbrt_test_data): Likewise.
27362 (ccos_test_data): Likewise.
27363 (ccosh_test_data): Likewise.
27364 (ceil_test_data): Likewise.
27365 (cexp_test_data): Likewise.
27366 (cimag_test_data): Likewise.
27367 (clog_test_data): Likewise.
27368 (clog10_test_data): Likewise.
27369 (conj_test_data): Likewise.
27370 (copysign_test_data): Likewise.
27371 (cos_test_data): Likewise.
27372 (cos_tonearest_test_data): Likewise.
27373 (cos_towardzero_test_data): Likewise.
27374 (cos_downward_test_data): Likewise.
27375 (cos_upward_test_data): Likewise.
27376 (cosh_test_data): Likewise.
27377 (cosh_tonearest_test_data): Likewise.
27378 (cosh_towardzero_test_data): Likewise.
27379 (cosh_downward_test_data): Likewise.
27380 (cosh_upward_test_data): Likewise.
27381 (cpow_test_data): Likewise.
27382 (cproj_test_data): Likewise.
27383 (creal_test_data): Likewise.
27384 (csin_test_data): Likewise.
27385 (csinh_test_data): Likewise.
27386 (csqrt_test_data): Likewise.
27387 (ctan_test_data): Likewise.
27388 (ctan_tonearest_test_data): Likewise.
27389 (ctan_towardzero_test_data): Likewise.
27390 (ctan_downward_test_data): Likewise.
27391 (ctan_upward_test_data): Likewise.
27392 (ctanh_test_data): Likewise.
27393 (ctanh_tonearest_test_data): Likewise.
27394 (ctanh_towardzero_test_data): Likewise.
27395 (ctanh_downward_test_data): Likewise.
27396 (ctanh_upward_test_data): Likewise.
27397 (erf_test_data): Likewise.
27398 (erfc_test_data): Likewise.
27399 (exp_test_data): Likewise.
27400 (exp_tonearest_test_data): Likewise.
27401 (exp_towardzero_test_data): Likewise.
27402 (exp_downward_test_data): Likewise.
27403 (exp_upward_test_data): Likewise.
27404 (exp10_test_data): Likewise.
27405 (exp2_test_data): Likewise.
27406 (expm1_test_data): Likewise.
27407 (fabs_test_data): Likewise.
27408 (fdim_test_data): Likewise.
27409 (finite_test_data): Likewise.
27410 (floor_test_data): Likewise.
27411 (fma_test_data): Likewise.
27412 (fma_towardzero_test_data): Likewise.
27413 (fma_downward_test_data): Likewise.
27414 (fma_upward_test_data): Likewise.
27415 (fmax_test_data): Likewise.
27416 (fmin_test_data): Likewise.
27417 (fmod_test_data): Likewise.
27418 (fpclassify_test_data): Likewise.
27419 (frexp_test_data): Likewise.
27420 (gamma_test_data): Likewise.
27421 (hypot_test_data): Likewise.
27422 (ilogb_test_data): Likewise.
27423 (isfinite_test_data): Likewise.
27424 (isgreater_test_data): Likewise.
27425 (isgreaterequal_test_data): Likewise.
27426 (isinf_test_data): Likewise.
27427 (isless_test_data): Likewise.
27428 (islessequal_test_data): Likewise.
27429 (islessgreater_test_data): Likewise.
27430 (isnan_test_data): Likewise.
27431 (isnormal_test_data): Likewise.
27432 (issignaling_test_data): Likewise.
27433 (isunordered_test_data): Likewise.
27434 (j0_test_data): Likewise.
27435 (j1_test_data): Likewise.
27436 (jn_test_data): Likewise.
27437 (ldexp_test_data): Likewise.
27438 (lgamma_test_data): Likewise.
27439 (lrint_test_data): Likewise.
27440 (lrint_tonearest_test_data): Likewise.
27441 (lrint_towardzero_test_data): Likewise.
27442 (lrint_downward_test_data): Likewise.
27443 (lrint_upward_test_data): Likewise.
27444 (llrint_test_data): Likewise.
27445 (llrint_tonearest_test_data): Likewise.
27446 (llrint_towardzero_test_data): Likewise.
27447 (llrint_downward_test_data): Likewise.
27448 (llrint_upward_test_data): Likewise.
27449 (log_test_data): Likewise.
27450 (log10_test_data): Likewise.
27451 (log1p_test_data): Likewise.
27452 (log2_test_data): Likewise.
27453 (logb_test_data): Likewise.
27454 (logb_downward_test_data): Likewise.
27455 (lround_test_data): Likewise.
27456 (llround_test_data): Likewise.
27457 (modf_test_data): Likewise.
27458 (nearbyint_test_data): Likewise.
27459 (nextafter_test_data): Likewise.
27460 (nexttoward_test_data): Likewise.
27461 (pow_test_data): Likewise.
27462 (pow_tonearest_test_data): Likewise.
27463 (pow_towardzero_test_data): Likewise.
27464 (pow_downward_test_data): Likewise.
27465 (pow_upward_test_data): Likewise.
27466 (remainder_test_data): Likewise.
27467 (remainder_tonearest_test_data): Likewise.
27468 (remainder_towardzero_test_data): Likewise.
27469 (remainder_downward_test_data): Likewise.
27470 (remainder_upward_test_data): Likewise.
27471 (remquo_test_data): Likewise.
27472 (rint_test_data): Likewise.
27473 (rint_tonearest_test_data): Likewise.
27474 (rint_towardzero_test_data): Likewise.
27475 (rint_downward_test_data): Likewise.
27476 (rint_upward_test_data): Likewise.
27477 (round_test_data): Likewise.
27478 (scalb_test_data): Likewise.
27479 (scalbn_test_data): Likewise.
27480 (scalbln_test_data): Likewise.
27481 (signbit_test_data): Likewise.
27482 (sin_test_data): Likewise.
27483 (sin_tonearest_test_data): Likewise.
27484 (sin_towardzero_test_data): Likewise.
27485 (sin_downward_test_data): Likewise.
27486 (sin_upward_test_data): Likewise.
27487 (sincos_test_data): Likewise.
27488 (sinh_test_data): Likewise.
27489 (sinh_tonearest_test_data): Likewise.
27490 (sinh_towardzero_test_data): Likewise.
27491 (sinh_downward_test_data): Likewise.
27492 (sinh_upward_test_data): Likewise.
27493 (sqrt_test_data): Likewise.
27494 (tan_test_data): Likewise.
27495 (tan_tonearest_test_data): Likewise.
27496 (tan_towardzero_test_data): Likewise.
27497 (tan_downward_test_data): Likewise.
27498 (tan_upward_test_data): Likewise.
27499 (tanh_test_data): Likewise.
27500 (tgamma_test_data): Likewise.
27501 (trunc_test_data): Likewise.
27502 (y0_test_data): Likewise.
27503 (y1_test_data): Likewise.
27504 (yn_test_data): Likewise.
27505 (significand_test_data): Likewise.
27506
b679a606
JM
27507 * math/gen-libm-test.pl (@functions): Remove variable.
27508 (generate_testfile): Don't handle START and END lines.
27509 * math/libm-test.inc (START): New macro.
27510 (END): Likewise.
27511 (END_COMPLEX): Likewise.
27512 (acos_test): Use END macro without arguments.
27513 (acos_test_tonearest): Likewise.
27514 (acos_test_towardzero): Likewise.
27515 (acos_test_downward): Likewise.
27516 (acos_test_upward): Likewise.
27517 (acosh_test): Likewise.
27518 (asin_test): Likewise.
27519 (asin_test_tonearest): Likewise.
27520 (asin_test_towardzero): Likewise.
27521 (asin_test_downward): Likewise.
27522 (asin_test_upward): Likewise.
27523 (asinh_test): Likewise.
27524 (atan_test): Likewise.
27525 (atanh_test): Likewise.
27526 (atan2_test): Likewise.
27527 (cabs_test): Likewise.
27528 (cacos_test): Use END_COMPLEX macro without arguments.
27529 (cacosh_test): Likewise.
27530 (carg_test): Use END macro without arguments.
27531 (casin_test): Use END_COMPLEX macro without arguments.
27532 (casinh_test): Likewise.
27533 (catan_test): Likewise.
27534 (catanh_test): Likewise.
27535 (cbrt_test): Use END macro without arguments.
27536 (ccos_test): Use END_COMPLEX macro without arguments.
27537 (ccosh_test): Likewise.
27538 (ceil_test): Use END macro without arguments.
27539 (cexp_test): Use END_COMPLEX macro without arguments.
27540 (cimag_test): Use END macro without arguments.
27541 (clog_test): Use END_COMPLEX macro without arguments.
27542 (clog10_test): Likewise.
27543 (conj_test): Likewise.
27544 (copysign_test): Use END macro without arguments.
27545 (cos_test): Likewise.
27546 (cos_test_tonearest): Likewise.
27547 (cos_test_towardzero): Likewise.
27548 (cos_test_downward): Likewise.
27549 (cos_test_upward): Likewise.
27550 (cosh_test): Likewise.
27551 (cosh_test_tonearest): Likewise.
27552 (cosh_test_towardzero): Likewise.
27553 (cosh_test_downward): Likewise.
27554 (cosh_test_upward): Likewise.
27555 (cpow_test): Use END_COMPLEX macro without arguments.
27556 (cproj_test): Likewise.
27557 (creal_test): Use END macro without arguments.
27558 (csin_test): Use END_COMPLEX macro without arguments.
27559 (csinh_test): Likewise.
27560 (csqrt_test): Likewise.
27561 (ctan_test): Likewise.
27562 (ctan_test_tonearest): Likewise.
27563 (ctan_test_towardzero): Likewise.
27564 (ctan_test_downward): Likewise.
27565 (ctan_test_upward): Likewise.
27566 (ctanh_test): Likewise.
27567 (ctanh_test_tonearest): Likewise.
27568 (ctanh_test_towardzero): Likewise.
27569 (ctanh_test_downward): Likewise.
27570 (ctanh_test_upward): Likewise.
27571 (erf_test): Use END macro without arguments.
27572 (erfc_test): Likewise.
27573 (exp_test): Likewise.
27574 (exp_test_tonearest): Likewise.
27575 (exp_test_towardzero): Likewise.
27576 (exp_test_downward): Likewise.
27577 (exp_test_upward): Likewise.
27578 (exp10_test): Likewise.
27579 (exp2_test): Likewise.
27580 (expm1_test): Likewise.
27581 (fabs_test): Likewise.
27582 (fdim_test): Likewise.
27583 (finite_test): Likewise.
27584 (floor_test): Likewise.
27585 (fma_test): Likewise.
27586 (fma_test_towardzero): Likewise.
27587 (fma_test_downward): Likewise.
27588 (fma_test_upward): Likewise.
27589 (fmax_test): Likewise.
27590 (fmin_test): Likewise.
27591 (fmod_test): Likewise.
27592 (fpclassify_test): Likewise.
27593 (frexp_test): Likewise.
27594 (gamma_test): Likewise.
27595 (hypot_test): Likewise.
27596 (ilogb_test): Likewise.
27597 (isfinite_test): Likewise.
27598 (isgreater_test): Likewise.
27599 (isgreaterequal_test): Likewise.
27600 (isinf_test): Likewise.
27601 (isless_test): Likewise.
27602 (islessequal_test): Likewise.
27603 (islessgreater_test): Likewise.
27604 (isnan_test): Likewise.
27605 (isnormal_test): Likewise.
27606 (issignaling_test): Likewise.
27607 (isunordered_test): Likewise.
27608 (j0_test): Likewise.
27609 (j1_test): Likewise.
27610 (jn_test): Likewise.
27611 (ldexp_test): Likewise.
27612 (lgamma_test): Likewise.
27613 (lrint_test): Likewise.
27614 (lrint_test_tonearest): Likewise.
27615 (lrint_test_towardzero): Likewise.
27616 (lrint_test_downward): Likewise.
27617 (lrint_test_upward): Likewise.
27618 (llrint_test): Likewise.
27619 (llrint_test_tonearest): Likewise.
27620 (llrint_test_towardzero): Likewise.
27621 (llrint_test_downward): Likewise.
27622 (llrint_test_upward): Likewise.
27623 (log_test): Likewise.
27624 (log10_test): Likewise.
27625 (log1p_test): Likewise.
27626 (log2_test): Likewise.
27627 (logb_test): Likewise.
27628 (logb_test_downward): Likewise.
27629 (lround_test): Likewise.
27630 (llround_test): Likewise.
27631 (modf_test): Likewise.
27632 (nearbyint_test): Likewise.
27633 (nextafter_test): Likewise.
27634 (nexttoward_test): Likewise.
27635 (pow_test): Likewise.
27636 (pow_test_tonearest): Likewise.
27637 (pow_test_towardzero): Likewise.
27638 (pow_test_downward): Likewise.
27639 (pow_test_upward): Likewise.
27640 (remainder_test): Likewise.
27641 (remainder_test_tonearest): Likewise.
27642 (remainder_test_towardzero): Likewise.
27643 (remainder_test_downward): Likewise.
27644 (remainder_test_upward): Likewise.
27645 (remquo_test): Likewise.
27646 (rint_test): Likewise.
27647 (rint_test_tonearest): Likewise.
27648 (rint_test_towardzero): Likewise.
27649 (rint_test_downward): Likewise.
27650 (rint_test_upward): Likewise.
27651 (round_test): Likewise.
27652 (scalb_test): Likewise.
27653 (scalbn_test): Likewise.
27654 (scalbln_test): Likewise.
27655 (signbit_test): Likewise.
27656 (sin_test): Likewise.
27657 (sin_test_tonearest): Likewise.
27658 (sin_test_towardzero): Likewise.
27659 (sin_test_downward): Likewise.
27660 (sin_test_upward): Likewise.
27661 (sincos_test): Likewise.
27662 (sinh_test): Likewise.
27663 (sinh_test_tonearest): Likewise.
27664 (sinh_test_towardzero): Likewise.
27665 (sinh_test_downward): Likewise.
27666 (sinh_test_upward): Likewise.
27667 (sqrt_test): Likewise.
27668 (tan_test): Likewise.
27669 (tan_test_tonearest): Likewise.
27670 (tan_test_towardzero): Likewise.
27671 (tan_test_downward): Likewise.
27672 (tan_test_upward): Likewise.
27673 (tanh_test): Likewise.
27674 (tgamma_test): Likewise.
27675 (trunc_test): Likewise.
27676 (y0_test): Likewise.
27677 (y1_test): Likewise.
27678 (yn_test): Likewise.
27679 (significand_test): Likewise.
27680
bae143d2
OB
276812013-05-24 Ondřej Bílka <neleai@seznam.cz>
27682
27683 [BZ #15381]
27684 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27685
9323d39b
EM
276862013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27687
d4ea44a0 27688 [BZ #14894]
9323d39b
EM
27689 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27690 __ppc_mdoio and __ppc_mdoom.
27691 * manual/platform.texi: Document new functions __ppc_yield,
27692 __ppc_mdoio and __ppc_mdoom.
27693
13e23af7
CD
276942013-05-22 Carlos O'Donell <carlos@redhat.com>
27695
27696 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27697 (main): Mention "tls" pseudo-hwcap is legacy.
27698 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27699
351fe550
JM
277002013-05-22 Joseph Myers <joseph@codesourcery.com>
27701
27702 * math/gen-libm-test.pl (parse_args): Output only string of
27703 arguments as text for test name, not full call or descriptions of
27704 tests for extra outputs.
27705 (generate_testfile): Do not pass function name to parse_args.
27706 Generate this_func variable from START.
27707 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27708 field to arg_str.
27709 (struct test_ff_f_data): Likewise.
27710 (test_ff_f_data_nexttoward): Likewise.
27711 (struct test_fi_f_data): Likewise.
27712 (struct test_fl_f_data): Likewise.
27713 (struct test_if_f_data): Likewise.
27714 (struct test_fff_f_data): Likewise.
27715 (struct test_c_f_data): Likewise.
27716 (struct test_f_f1_data): Likewise. Remove field extra_name.
27717 (struct test_fF_f1_data): Likewise.
27718 (struct test_ffI_f1_data): Likewise.
27719 (struct test_c_c_data): Rename test_name field to arg_str.
27720 (struct test_cc_c_data): Likewise.
27721 (struct test_f_i_data): Likewise.
27722 (struct test_ff_i_data): Likewise.
27723 (struct test_f_l_data): Likewise.
27724 (struct test_f_L_data): Likewise.
27725 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27726 and extra2_name.
27727 (COMMON_TEST_SETUP): New macro.
27728 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27729 (COMMON_TEST_CLEANUP): Likewise.
27730 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27731 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27732 macros.
27733 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27734 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27735 macros.
27736 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27737 (RUN_TEST_fff_f): Take argument string. Call new setup and
27738 cleanup macros.
27739 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27740 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27741 macros.
27742 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27743 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27744 macros.
27745 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27746 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27747 cleanup macros.
27748 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27749 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27750 cleanup macros.
27751 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27752 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27753 cleanup macros.
27754 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27755 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27756 macros.
27757 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27758 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27759 macros.
27760 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27761 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27762 macros.
27763 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27764 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27765 cleanup macros.
27766 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27767 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27768 cleanup macros.
27769 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27770 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27771 macros.
27772 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27773 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27774 cleanup macros.
27775 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27776 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27777 macros.
27778 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27779 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27780 macros.
27781 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27782 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27783 cleanup macros.
27784 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27785
85118d4d
EBM
277862013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27787
27788 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27789 to _sifields.sigfault.
27790 (si_addr_lsb): Define new macro.
27791 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27792 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27793 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27794
7a44c18f
CD
277952013-05-03 Carlos O'Donell <carlos at redhat.com>
27796
27797 [BZ #15441]
27798 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27799 returns -1.
27800 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27801 null return -1.
27802 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27803 loading the domain.
27804
b50a7181
JM
278052013-05-22 Joseph Myers <joseph@codesourcery.com>
27806
27807 * math/gen-libm-test.pl (parse_args): Do not include expected
27808 result in test name.
27809 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27810 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27811 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27812 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27813 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27815
051063c8
SP
278162013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27817
3ce9e010
SP
27818 * benchtests/Makefile: Sort function entries.
27819
051063c8
SP
27820 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27821 tanh, asinh, acosh, atanh.
27822 * benchtests/acos-inputs: New file.
27823 * benchtests/acosh-inputs: New file.
27824 * benchtests/asin-inputs: New file.
27825 * benchtests/asinh-inputs: New file.
27826 * benchtests/atanh-inputs: New file.
27827 * benchtests/cosh-inputs: New file.
27828 * benchtests/log-inputs: New file.
27829 * benchtests/sinh-inputs: New file.
27830 * benchtests/tanh-inputs: New file.
27831
47c22455
DL
278322013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27833
27834 [BZ #15339]
27835 * posix/tst-getaddrinfo4.c: New test.
27836 * posix/Makefile (tests): Add it.
27837
3d04f5db
SP
278382013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27839
27840 [BZ #15339]
27841 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27842 when no services were used.
27843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27844 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27845
d5dd6189
AS
278462013-05-21 Andreas Schwab <schwab@suse.de>
27847
27848 [BZ #15014]
27849 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27850 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27851 successful.
27852 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27853 redundant variable declarations and reallocation of buffer when
27854 parsing as IPv6 address. Always set NSS status when called from
27855 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27856 buffer too small. Correct computation of needed size.
27857 * nss/Makefile (tests): Add test-digits-dots.
27858 * nss/test-digits-dots.c: New test.
27859
fef94eab
SP
278602013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27861
27862 * benchtests/Makefile: Remove instructions for adding
27863 benchmark tests.
27864 * benchtests/README: New file to explain how to execute and
27865 enhance the benchmark tests.
27866
e39adf43
AS
278672013-05-21 Andreas Schwab <schwab@suse.de>
27868
27869 [BZ #15493]
27870 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27871 * setjmp/tst-sigsetjmp.c: New test.
27872
b2b671b6
OB
278732013-05-20 Ondřej Bílka <neleai@seznam.cz>
27874
27875 * sysdeps/x86_64/memset.S (memset): New implementation.
27876 (__bzero): Likewise.
27877 (__memset_tail): New function.
27878
2d48b41c
OB
278792013-05-20 Ondřej Bílka <neleai@seznam.cz>
27880
27881 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27882 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27883 __memcpy_sse2_unaligned ifunc selection.
27884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27885 Add memcpy-sse2-unaligned.S.
27886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27887 Add: __memcpy_sse2_unaligned.
27888
f16cc3eb
JM
278892013-05-19 Joseph Myers <joseph@codesourcery.com>
27890
3e694268
JM
27891 [BZ #15490]
27892 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27893 math_force_eval before restoring floating-point envrionment.
27894 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27895 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27896 Likewise.
27897 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27898 <math_private.h>.
27899 (__nearbyintl): Use math_force_eval before restoring
27900 floating-point environment.
27901 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27902
db62a907
JM
27903 * math/gen-libm-test.pl (special_functions): Remove.
27904 (parse_args): Don't handle TEST_extra. Handle functions with no
27905 return value.
27906 * math/libm-test.inc (struct test_sincos_data): Replace with
27907 struct test_fFF_11_data.
27908 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27909 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27910 (sincos_test_data): Change element type to struct
27911 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27912 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27913 RUN_TEST_LOOP_sincos.
27914 * math/README.libm-test: Don't mention special handling of
27915 individual functions.
27916 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27917 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27918 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27919 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27920 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27922
f16cc3eb
JM
27923 * math/gen-libm-test.pl (get_variable): Remove function.
27924 (parse_args): Don't show pointer parameters to call in test
27925 names. Use "extra output N" in test names for extra outputs
27926 rather than naming variables.
27927
3779b5b6
JM
279282013-05-18 Joseph Myers <joseph@codesourcery.com>
27929
2ee094ff
JM
27930 [BZ #15488]
27931 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27932 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27933 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27934 double tests.
27935 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27936 disable.
27937 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27938 check_long_double.
27939
3779b5b6
JM
27940 * math/gen-libm-test.pl (@tests): Remove variable.
27941 ($count): Likewise.
27942 (new_test): Remove function.
27943 (show_exceptions): New function.
27944 (special_functions): Use show_exceptions instead of new_test.
27945 (parse_args): Likewise.
27946 (generate_testfile): Pass only function name in generated call to
27947 print_max_error or print_complex_max_error.
27948 (get_ulps): Do not handle complex tests specially.
27949 (output_test): Rename to ...
27950 (get_all_ulps_for_test): ... this. Return a string rather than
27951 printing to a file. Require ulps to be present.
27952 (output_ulps): Generate arrays rather than #defines.
27953 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27954 (struct ulp_data): New type.
27955 (BUILD_COMPLEX_ULP): Remove macro.
27956 (compare_ulp_data): New function.
27957 (find_ulps): Likewise.
27958 (find_test_ulps): Likewise.
27959 (find_function_ulps): Likewise.
27960 (find_complex_function_ulps): Likewise.
27961 (print_max_error): Determine allowed ulps using
27962 find_function_ulps.
27963 (print_complex_max_error): Determine allowed ulps using
27964 find_complex_function_ulps.
27965 (check_float_internal): Determine max ulps using find_test_ulps.
27966 (check_float): Do not take max_ulp parameter. Update call to
27967 check_float_internal.
27968 (check_complex): Likewise.
27969 (check_int): Do not take max_ulp parameter.
27970 (check_long): Likewise.
27971 (check_bool): Likewise.
27972 (check_longlong): Likewise.
27973 (struct test_f_f_data): Remove max_ulp field.
27974 (struct test_ff_f_data): Likewise.
27975 (struct test_ff_f_data_nexttoward): Likewise.
27976 (struct test_fi_f_data): Likewise.
27977 (struct test_fl_f_data): Likewise.
27978 (struct test_if_f_data): Likewise.
27979 (struct test_fff_f_data): Likewise.
27980 (struct test_c_f_data): Likewise.
27981 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27982 (struct test_fF_f1_data): Likewise.
27983 (struct test_ffI_f1_data): Likewise.
27984 (struct test_c_c_data): Remove max_ulp field.
27985 (struct test_cc_c_data): Likewise.
27986 (struct test_f_i_data): Likewise.
27987 (struct test_ff_i_data): Likewise.
27988 (struct test_f_l_data): Likewise.
27989 (struct test_f_L_data): Likewise.
27990 (struct test_sincos_data): Likewise.
27991 (RUN_TEST_f_f): Do not handle ulps.
27992 (RUN_TEST_LOOP_f_f): Likewise.
27993 (RUN_TEST_2_f): Likewise.
27994 (RUN_TEST_LOOP_2_f): Likewise.
27995 (RUN_TEST_fff_f): Likewise.
27996 (RUN_TEST_LOOP_fff_f): Likewise.
27997 (RUN_TEST_c_f): Likewise.
27998 (RUN_TEST_LOOP_c_f): Likewise.
27999 (RUN_TEST_f_f1): Likewise.
28000 (RUN_TEST_LOOP_f_f1): Likewise.
28001 (RUN_TEST_fF_f1): Likewise.
28002 (RUN_TEST_LOOP_fF_f1): Likewise.
28003 (RUN_TEST_fI_f1): Likewise.
28004 (RUN_TEST_LOOP_fI_f1): Likewise.
28005 (RUN_TEST_ffI_f1): Likewise.
28006 (RUN_TEST_LOOP_ffI_f1): Likewise.
28007 (RUN_TEST_c_c): Likewise.
28008 (RUN_TEST_LOOP_c_c): Likewise.
28009 (RUN_TEST_cc_c): Likewise.
28010 (RUN_TEST_LOOP_cc_c): Likewise.
28011 (RUN_TEST_f_i): Likewise.
28012 (RUN_TEST_LOOP_f_i): Likewise.
28013 (RUN_TEST_f_i_tg): Likewise.
28014 (RUN_TEST_LOOP_f_i_tg): Likewise.
28015 (RUN_TEST_ff_i_tg): Likewise.
28016 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28017 (RUN_TEST_f_b): Likewise.
28018 (RUN_TEST_LOOP_f_b): Likewise.
28019 (RUN_TEST_f_b_tg): Likewise.
28020 (RUN_TEST_LOOP_f_b_tg): Likewise.
28021 (RUN_TEST_f_l): Likewise.
28022 (RUN_TEST_LOOP_f_l): Likewise.
28023 (RUN_TEST_f_L): Likewise.
28024 (RUN_TEST_LOOP_f_L): Likewise.
28025 (RUN_TEST_sincos): Likewise.
28026 (RUN_TEST_LOOP_sincos): Likewise.
28027
8269107f
JM
280282013-05-17 Joseph Myers <joseph@codesourcery.com>
28029
bb38759d
JM
28030 [BZ #15480]
28031 [BZ #15485]
28032 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28033 main case of finite arguments, set rounding mode to FE_TONEAREST
28034 and discard exceptions.
28035 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28036 exceptions.
28037 (remainder_tonearest_test_data): New variable.
28038 (remainder_test_tonearest): New function.
28039 (remainder_towardzero_test_data): New variable.
28040 (remainder_test_towardzero): New function.
28041 (remainder_downward_test_data): New variable.
28042 (remainder_test_downward): New function.
28043 (remainder_upward_test_data): New variable.
28044 (remainder_test_upward): New function.
28045 (main): Call the new test functions.
28046
a00bdcf0
JM
28047 * math/libm-test.inc (struct test_f_f1_data): Remove field
28048 extra_init.
28049 (struct test_fF_f1_data): Likewise.
28050 (struct test_ffI_f1_data): Likewise.
28051 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28052 based on value of EXTRA_EXPECTED.
28053 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28054 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28055 EXTRA_VAR based on value of EXTRA_EXPECTED.
28056 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28057 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28058 EXTRA_VAR based on value of EXTRA_EXPECTED.
28059 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28060 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28061 EXTRA_VAR based on value of EXTRA_EXPECTED.
28062 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28063 * math/gen-libm-test.pl (parse_args): Don't output initializers
28064 for extra output values.
28065
de407f79
JM
28066 * math/libm-test.inc (check_int): Expect result to be exactly
28067 equal to expected value and do not handle ulps.
28068 (check_long): Likewise.
28069 (check_longlong): Likewise.
28070
8269107f
JM
28071 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28072 exceptions.
28073 (cimag_test_data): Likewise.
28074 (conj_test_data): Likewise.
28075 (copysign_test_data): Likewise.
28076 (cproj_test_data): Likewise.
28077 (creal_test_data): Likewise.
28078 (fabs_test_data): Likewise.
28079 (fdim_test_data): Likewise.
28080 (finite_test_data): Likewise.
28081 (floor_test_data): Likewise.
28082 (fmax_test_data): Likewise.
28083 (fmin_test_data): Likewise.
28084 (fmod_test_data): Likewise.
28085 (fpclassify_test_data): Likewise.
28086 (frexp_test_data): Likewise.
28087 (ilogb_test_data): Likewise.
28088 (isfinite_test_data): Likewise.
28089 (isgreater_test_data): Likewise.
28090 (isgreaterequal_test_data): Likewise.
28091 (isinf_test_data): Likewise.
28092 (isless_test_data): Likewise.
28093 (islessequal_test_data): Likewise.
28094 (islessgreater_test_data): Likewise.
28095 (isnan_test_data): Likewise.
28096 (isnormal_test_data): Likewise.
28097 (issignaling_test_data): Likewise.
28098 (isunordered_test_data): Likewise.
28099 (ldexp_test_data): Likewise.
28100 (lrint_test_data): Likewise.
28101 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28102 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28103 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28104 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28105 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28106 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28107 test input.
28108 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28109 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28110 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28111 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28112 that test input.
28113 (lrint_downward_test_data): Test for "inexact" exceptions.
28114 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28115 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28116 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28117 test input.
28118 (lrint_upward_test_data): Test for "inexact" exceptions.
28119 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28120 test input.
28121 (llrint_test_data): Test for "inexact" exceptions.
28122 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28123 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28124 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28125 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28126 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28127 (llrint_downward_test_data): Test for "inexact" exceptions.
28128 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28129 (llrint_upward_test_data): Test for "inexact" exceptions.
28130 (logb_test_data): Likewise.
28131 (logb_downward_test_data): Likewise.
28132 (nextafter_test_data): Likewise.
28133 (nexttoward_test_data): Likewise.
28134 (remainder_test_data): Likewise.
28135 (remquo_test_data): Likewise.
28136 (scalbn_test_data): Likewise.
28137 (scalbln_test_data): Likewise.
28138 (signbit_test_data): Likewise.
28139 (sqrt_test_data): Likewise.
28140 (significand_test_data): Likewise.
28141
48a18de1
SP
281422013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28143
28144 [BZ #15424]
28145 * benchtests/bench-modf.c (struct args): Mark arg0 as
28146 volatile.
28147 * scripts/bench.pl: Mark members of struct args as volatile.
28148
13d3b41a
AZ
281492013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28150
68191c1d 28151 [BZ # 15497]
13d3b41a
AZ
28152 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28153 negative infinity on POWER6 or lower.
28154 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28155
2848b105
MR
281562013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28157
28158 [BZ #15442]
28159 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28160 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28161 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28162 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28163 (_FP_SETQNAN): New macro.
28164 (_FP_SETQNAN_SEMIRAW): Likewise.
28165 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28166 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28167 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28168 (FP_EXTEND): Use _FP_FRAC_SNANP.
28169 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28170 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28171 into account.
28172 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28173 New macro.
28174 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28175 Likewise.
28176
323e5cb7
JM
281772013-05-16 Joseph Myers <joseph@codesourcery.com>
28178
c58b274f
JM
28179 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28180 with DIVIDE_BY_ZERO_EXCEPTION.
28181 (gamma_test_data): Likewise.
28182 (lgamma_test_data): Likewise.
28183 (log_test_data): Likewise.
28184 (log10_test_data): Likewise.
28185 (log2_test_data): Likewise.
28186 (tgamma_test_data): Likewise.
28187
0ab34904
JM
28188 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28189 (acos_test_tonearest): Likewise.
28190 (acos_test_towardzero): Likewise.
28191 (acos_test_downward): Likewise.
28192 (acos_test_upward): Likewise.
28193 (acosh_test): Likewise.
28194 (asin_test): Likewise.
28195 (asin_test_tonearest): Likewise.
28196 (asin_test_towardzero): Likewise.
28197 (asin_test_downward): Likewise.
28198 (asin_test_upward): Likewise.
28199 (asinh_test): Likewise.
28200 (atan_test): Likewise.
28201 (atanh_test): Likewise.
28202 (atan2_test): Likewise.
28203 (cabs_test): Likewise.
28204 (cacos_test): Likewise.
28205 (cacosh_test): Likewise.
28206 (casin_test): Likewise.
28207 (casinh_test): Likewise.
28208 (catan_test): Likewise.
28209 (catanh_test): Likewise.
28210 (cbrt_test): Likewise.
28211 (ccos_test): Likewise.
28212 (ccosh_test): Likewise.
28213 (cexp_test): Likewise.
28214 (clog_test): Likewise.
28215 (clog10_test): Likewise.
28216 (cos_test): Likewise.
28217 (cos_test_tonearest): Likewise.
28218 (cos_test_towardzero): Likewise.
28219 (cos_test_downward): Likewise.
28220 (cos_test_upward): Likewise.
28221 (cosh_test): Likewise.
28222 (cosh_test_tonearest): Likewise.
28223 (cosh_test_towardzero): Likewise.
28224 (cosh_test_downward): Likewise.
28225 (cosh_test_upward): Likewise.
28226 (cpow_test): Likewise.
28227 (csin_test): Likewise.
28228 (csinh_test): Likewise.
28229 (csqrt_test): Likewise.
28230 (ctan_test): Likewise.
28231 (ctan_test_tonearest): Likewise.
28232 (ctan_test_towardzero): Likewise.
28233 (ctan_test_downward): Likewise.
28234 (ctan_test_upward): Likewise.
28235 (ctanh_test): Likewise.
28236 (ctanh_test_tonearest): Likewise.
28237 (ctanh_test_towardzero): Likewise.
28238 (ctanh_test_downward): Likewise.
28239 (ctanh_test_upward): Likewise.
28240 (erf_test): Likewise.
28241 (erfc_test): Likewise.
28242 (exp_test): Likewise.
28243 (exp_test_tonearest): Likewise.
28244 (exp_test_towardzero): Likewise.
28245 (exp_test_downward): Likewise.
28246 (exp_test_upward): Likewise.
28247 (exp10_test): Likewise.
28248 (exp2_test): Likewise.
28249 (expm1_test): Likewise.
28250 (fmod_test): Likewise.
28251 (gamma_test): Likewise.
28252 (hypot_test): Likewise.
28253 (j0_test): Likewise.
28254 (j1_test): Likewise.
28255 (jn_test): Likewise.
28256 (lgamma_test): Likewise.
28257 (log_test): Likewise.
28258 (log10_test): Likewise.
28259 (log1p_test): Likewise.
28260 (log2_test): Likewise.
28261 (logb_test_downward): Likewise.
28262 (pow_test): Likewise.
28263 (pow_test_tonearest): Likewise.
28264 (pow_test_towardzero): Likewise.
28265 (pow_test_downward): Likewise.
28266 (pow_test_upward): Likewise.
28267 (remainder_test): Likewise.
28268 (remquo_test): Likewise.
28269 (sin_test): Likewise.
28270 (sin_test_tonearest): Likewise.
28271 (sin_test_towardzero): Likewise.
28272 (sin_test_downward): Likewise.
28273 (sin_test_upward): Likewise.
28274 (sincos_test): Likewise.
28275 (sinh_test): Likewise.
28276 (sinh_test_tonearest): Likewise.
28277 (sinh_test_towardzero): Likewise.
28278 (sinh_test_downward): Likewise.
28279 (sinh_test_upward): Likewise.
28280 (sqrt_test): Likewise.
28281 (tan_test): Likewise.
28282 (tan_test_tonearest): Likewise.
28283 (tan_test_towardzero): Likewise.
28284 (tan_test_downward): Likewise.
28285 (tan_test_upward): Likewise.
28286 (tanh_test): Likewise.
28287 (tgamma_test): Likewise.
28288 (y0_test): Likewise.
28289 (y1_test): Likewise.
28290 (yn_test): Likewise.
28291
323e5cb7
JM
28292 * math/gen-libm-test.pl (adjust_arg): Remove function.
28293 (special_function): Remove argument $in_func. Only handle
28294 generating output for tables of tests, not inside functions.
28295 (parse_args): Likewise.
28296 (generate_testfile): Remove variable $in_func. Update call to
28297 parse_args.
28298 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28299 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28300 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28301 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28302 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28303 (MAX_VALUE_INIT): Rename macro to max_value.
28304 (MIN_VALUE_INIT): Rename macro to min_value.
28305 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28306 (plus_zero): Remove variable.
28307 (minus_zero): Likewise.
28308 (plus_infty): Likewise.
28309 (minus_infty): Likewise.
28310 (qnan_value): Likewise.
28311 (max_value): Likewise.
28312 (min_value): Likewise.
28313 (min_subnorm_value): Likewise.
28314
e054f494
RA
283152013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28316
28317 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28318 uint64_t or uint32_t usage.
28319 * crypt/sha256-block.c: Likewise.
28320 * crypt/sha256-crypt.c: Likewise.
28321 * crypt/sha256.c: Likewise.
28322 * crypt/sha512-block.c: Likewise.
28323 * crypt/sha512-crypt.c: Likewise.
28324 * crypt/sha512.c: Likewise.
28325 * debug/backtrace-tst.c: Likewise.
28326 * debug/pcprofiledump.c: Likewise.
28327 * elf/cache.c: Likewise.
28328 * elf/dl-cache.c: Likewise.
28329 * elf/dl-misc.c: Likewise.
28330 * elf/dl-profile.c: Likewise.
28331 * elf/dl-support.c: Likewise.
28332 * elf/ldconfig.c: Likewise.
28333 * elf/sprof.c: Likewise.
28334 * iconv/dummy-repertoire.c: Likewise.
28335 * iconv/iconv_charmap.c: Likewise.
28336 * iconv/skeleton.c: Likewise.
28337 * iconvdata/8bit-generic.c: Likewise.
28338 * iconvdata/cp737.h: Likewise.
28339 * iconvdata/cp775.h: Likewise.
28340 * iconvdata/ibm1008.h: Likewise.
28341 * iconvdata/ibm1025.h: Likewise.
28342 * iconvdata/ibm1046.h: Likewise.
28343 * iconvdata/ibm1097.h: Likewise.
28344 * iconvdata/ibm1112.h: Likewise.
28345 * iconvdata/ibm1122.h: Likewise.
28346 * iconvdata/ibm1123.h: Likewise.
28347 * iconvdata/ibm1124.h: Likewise.
28348 * iconvdata/ibm1129.h: Likewise.
28349 * iconvdata/ibm1130.h: Likewise.
28350 * iconvdata/ibm1132.h: Likewise.
28351 * iconvdata/ibm1133.h: Likewise.
28352 * iconvdata/ibm1137.h: Likewise.
28353 * iconvdata/ibm1140.h: Likewise.
28354 * iconvdata/ibm1141.h: Likewise.
28355 * iconvdata/ibm1142.h: Likewise.
28356 * iconvdata/ibm1143.h: Likewise.
28357 * iconvdata/ibm1144.h: Likewise.
28358 * iconvdata/ibm1145.h: Likewise.
28359 * iconvdata/ibm1146.h: Likewise.
28360 * iconvdata/ibm1147.h: Likewise.
28361 * iconvdata/ibm1148.h: Likewise.
28362 * iconvdata/ibm1149.h: Likewise.
28363 * iconvdata/ibm1153.h: Likewise.
28364 * iconvdata/ibm1154.h: Likewise.
28365 * iconvdata/ibm1155.h: Likewise.
28366 * iconvdata/ibm1156.h: Likewise.
28367 * iconvdata/ibm1157.h: Likewise.
28368 * iconvdata/ibm1158.h: Likewise.
28369 * iconvdata/ibm1160.h: Likewise.
28370 * iconvdata/ibm1161.h: Likewise.
28371 * iconvdata/ibm1162.h: Likewise.
28372 * iconvdata/ibm1163.h: Likewise.
28373 * iconvdata/ibm1164.h: Likewise.
28374 * iconvdata/ibm1166.h: Likewise.
28375 * iconvdata/ibm1167.h: Likewise.
28376 * iconvdata/ibm12712.h: Likewise.
28377 * iconvdata/ibm1390.h: Likewise.
28378 * iconvdata/ibm1399.h: Likewise.
28379 * iconvdata/ibm16804.h: Likewise.
28380 * iconvdata/ibm4517.h: Likewise.
28381 * iconvdata/ibm4899.h: Likewise.
28382 * iconvdata/ibm4909.h: Likewise.
28383 * iconvdata/ibm4971.h: Likewise.
28384 * iconvdata/ibm5347.h: Likewise.
28385 * iconvdata/ibm803.h: Likewise.
28386 * iconvdata/ibm856.h: Likewise.
28387 * iconvdata/ibm901.h: Likewise.
28388 * iconvdata/ibm902.h: Likewise.
28389 * iconvdata/ibm9030.h: Likewise.
28390 * iconvdata/ibm9066.h: Likewise.
28391 * iconvdata/ibm921.h: Likewise.
28392 * iconvdata/ibm922.h: Likewise.
28393 * iconvdata/ibm9448.h: Likewise.
28394 * iconvdata/isiri-3342.h: Likewise.
28395 * iconvdata/jis0201.h: Likewise.
28396 * include/link.h: Likewise.
28397 * include/netdb.h: Likewise.
28398 * inet/check_native.c: Likewise.
28399 * inet/check_pf.c: Likewise.
28400 * inet/getipv4sourcefilter.c: Likewise.
28401 * inet/getnameinfo.c: Likewise.
28402 * inet/getsourcefilter.c: Likewise.
28403 * inet/htonl.c: Likewise.
28404 * inet/setipv4sourcefilter.c: Likewise.
28405 * inet/setsourcefilter.c: Likewise.
28406 * inet/test-inet6_opt.c: Likewise.
28407 * inet/tst-network.c: Likewise.
28408 * locale/C-collate.c: Likewise.
28409 * locale/C-ctype.c: Likewise.
28410 * locale/C-time.c: Likewise.
28411 * locale/C-translit.h: Likewise.
28412 * locale/loadarchive.c: Likewise.
28413 * locale/programs/3level.h: Likewise.
28414 * locale/programs/charmap.c: Likewise.
28415 * locale/programs/charmap.h: Likewise.
28416 * locale/programs/ld-address.c: Likewise.
28417 * locale/programs/ld-collate.c: Likewise.
28418 * locale/programs/ld-ctype.c: Likewise.
28419 * locale/programs/ld-identification.c: Likewise.
28420 * locale/programs/ld-measurement.c: Likewise.
28421 * locale/programs/ld-messages.c: Likewise.
28422 * locale/programs/ld-monetary.c: Likewise.
28423 * locale/programs/ld-name.c: Likewise.
28424 * locale/programs/ld-numeric.c: Likewise.
28425 * locale/programs/ld-paper.c: Likewise.
28426 * locale/programs/ld-telephone.c: Likewise.
28427 * locale/programs/ld-time.c: Likewise.
28428 * locale/programs/linereader.c: Likewise.
28429 * locale/programs/locale.c: Likewise.
28430 * locale/programs/locarchive.c: Likewise.
28431 * locale/programs/locfile.h: Likewise.
28432 * locale/programs/repertoire.c: Likewise.
28433 * locale/programs/simple-hash.c: Likewise.
28434 * locale/programs/simple-hash.h: Likewise.
28435 * malloc/memusage.c: Likewise.
28436 * malloc/memusagestat.c: Likewise.
28437 * nis/nis_defaults.c: Likewise.
28438 * nis/nis_hash.c: Likewise.
28439 * nis/nis_print.c: Likewise.
28440 * nis/nis_xdr.c: Likewise.
28441 * nscd/connections.c: Likewise.
28442 * nscd/hstcache.c: Likewise.
28443 * nscd/nscd_gethst_r.c: Likewise.
28444 * nscd/nscd_getserv_r.c: Likewise.
28445 * nscd/nscd_helper.c: Likewise.
28446 * nscd/servicescache.c: Likewise.
28447 * nss/makedb.c: Likewise.
28448 * nss/nss_db/db-XXX.c: Likewise.
28449 * nss/nss_db/db-initgroups.c: Likewise.
28450 * nss/nss_db/db-netgrp.c: Likewise.
28451 * nss/nss_files/files-network.c: Likewise.
28452 * nss/nss_files/files-parse.c: Likewise.
28453 * posix/bug-regex5.c: Likewise.
28454 * posix/fnmatch_loop.c: Likewise.
28455 * posix/regcomp.c: Likewise.
28456 * posix/regexec.c: Likewise.
28457 * posix/tst-rfc3484-2.c: Likewise.
28458 * posix/tst-rfc3484-3.c: Likewise.
28459 * posix/tst-rfc3484.c: Likewise.
28460 * resolv/nss_dns/dns-canon.c: Likewise.
28461 * resolv/nss_dns/dns-network.c: Likewise.
28462 * resolv/res_init.c: Likewise.
28463 * resolv/res_mkquery.c: Likewise.
28464 * resolv/tst-aton.c: Likewise.
28465 * stdlib/cxa_atexit.c: Likewise.
28466 * stdlib/cxa_finalize.c: Likewise.
28467 * stdlib/gen-fpioconst.c: Likewise.
28468 * stdlib/strtol_l.c: Likewise.
28469 * string/tst-endian.c: Likewise.
28470 * sunrpc/auth_des.c: Likewise.
28471 * sunrpc/clnt_udp.c: Likewise.
28472 * sunrpc/rtime.c: Likewise.
28473 * sunrpc/svcauth_des.c: Likewise.
28474 * sunrpc/xdr.c: Likewise.
28475 * sunrpc/xdr_intXX_t.c: Likewise.
28476 * sunrpc/xdr_rec.c: Likewise.
28477 * sysdeps/generic/ldconfig.h: Likewise.
28478 * sysdeps/generic/ldsodefs.h: Likewise.
28479 * sysdeps/generic/memusage.h: Likewise.
28480 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28483 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28484 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28489 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28490 * sysdeps/posix/getaddrinfo.c: Likewise.
28491 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28492 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28493 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28494 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28495 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28496 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28497 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28498 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28499 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28500 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28501 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28502 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28503 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28504 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28505 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28506 * sysdeps/x86_64/dl-tls.h: Likewise.
28507 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28508 * time/alt_digit.c: Likewise.
28509 * time/era.c: Likewise.
28510 * wcsmbs/tst-c16c32-1.c: Likewise.
28511
8c75f674
JM
285122013-05-16 Joseph Myers <joseph@codesourcery.com>
28513
28514 * math/libm-test.inc (struct test_sincos_data): New type.
28515 (RUN_TEST_LOOP_sincos): New macro.
28516 (sincos_test_data): New variable.
28517 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28518
e6e49e59
RH
285192013-05-16 Richard Henderson <rth@redhat.com>
28520
28521 * math/atest-exp2.c (LIMB64): New macro.
28522 (CONSTSZ): New macro.
28523 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28524 (hexdig): Move ...
28525 (print_mpn_fp): ... to function scope.
28526 (read_mpn_hex): Remove.
28527 (get_log2): Remove.
28528 (exp2_mpn): Use mp_log2.
28529 (main): Use mp_exp1.
28530
15c7c18d
JM
285312013-05-16 Joseph Myers <joseph@codesourcery.com>
28532
105a07df
JM
28533 * math/libm-test.inc: Remove comment about not testing "inexact"
28534 exceptions.
28535 (INEXACT_EXCEPTION): New macro.
28536 (NO_INEXACT_EXCEPTION): Likewise.
28537 (INVALID_EXCEPTION_OK): Update value.
28538 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28539 (OVERFLOW_EXCEPTION_OK): Likewise.
28540 (UNDERFLOW_EXCEPTION_OK): Likewise.
28541 (IGNORE_ZERO_INF_SIGN): Likewise.
28542 (ERRNO_UNCHANGED): Likewise.
28543 (ERRNO_EDOM): Likewise.
28544 (ERRNO_ERANGE): Likewise.
28545 (test_exceptions): Handle testing "inexact" exceptions.
28546 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28547 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28548 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28549 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28550 INEXACT_EXCEPTION.
28551 (rint_towardzero_test_data): Likewise.
28552 (rint_downward_test_data): Likewise.
28553 (rint_upward_test_data): Likewise.
28554
e9eee333
JM
28555 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28556 with OVERFLOW_EXCEPTION.
28557 (exp10_test_data): Likewise.
28558 (exp2_test_data): Likewise.
28559 (expm1_test_data): Likewise.
28560 (lgamma_test_data): Likewise.
28561 (pow_test_data): Likewise.
28562 (tgamma_test_data): Likewise.
28563 (yn_test_data): Remove duplicate test of overflow.
28564
1c38ff73
JM
28565 * math/libm-test.inc (struct test_cc_c_data): New type.
28566 (RUN_TEST_LOOP_cc_c): New macro.
28567 (cpow_test_data): New variable.
28568 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28569
15c7c18d
JM
28570 * math/libm-test.inc (struct test_f_L_data): New type.
28571 (RUN_TEST_LOOP_f_L): New macro.
28572 (llrint_test_data): New variable.
28573 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28574 (llrint_tonearest_test_data): New variable.
28575 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28576 (llrint_towardzero_test_data): New variable.
28577 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28578 (llrint_downward_test_data): New variable.
28579 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28580 (llrint_upward_test_data): New variable.
28581 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28582 (llround_test_data): New variable.
28583 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28584
f137ff13
PC
285852013-05-13 Peter Collingbourne <pcc@google.com>
28586
28587 * math/atest-exp2.c (get_log2): Remove const attribute.
28588
3608cb24
JM
285892013-05-15 Joseph Myers <joseph@codesourcery.com>
28590
28591 * math/libm-test.inc (struct test_f_l_data): New type.
28592 (RUN_TEST_LOOP_f_l): New macro.
28593 (lrint_test_data): New variable.
28594 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28595 (lrint_tonearest_test_data): New variable.
28596 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28597 (lrint_towardzero_test_data): New variable.
28598 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28599 (lrint_downward_test_data): New variable.
28600 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28601 (lrint_upward_test_data): New variable.
28602 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28603 (lround_test_data): New variable.
28604 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28605
39b1f617
PC
286062013-05-15 Peter Collingbourne <pcc@google.com>
28607
1deff3dc
PC
28608 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28609 (EXTRACT_WORDS64) Use where appropriate.
28610 (INSERT_WORDS64) Likewise.
28611
791f3ba0
PC
28612 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28613 constraints with x constraints.
28614 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28615
39b1f617
PC
28616 * malloc/obstack.c (_obstack_compat): Add initializer.
28617
12fba011
EM
286182013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28619
28620 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28621 si_trapno and add si_addr_lsb to _sifields.sigfault.
28622 (si_trapno): Remove macro.
28623 (si_addr_lsb): Define new macro.
28624 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28625
d369f531
JM
286262013-05-15 Joseph Myers <joseph@codesourcery.com>
28627
b861c6c4
JM
28628 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28629 instead of TEST_f_l.
28630 (llrint_test_tonearest): Likewise.
28631 (llrint_test_towardzero): Likewise.
28632 (llrint_test_downward): Likewise.
28633 (llrint_test_upward): Likewise.
28634 (llround_test): Likewise.
28635
7abeee12
JM
28636 * math/libm-test.inc (struct test_f_i_data): Add comment.
28637 (RUN_TEST_LOOP_f_b): New macro.
28638 (RUN_TEST_LOOP_f_b_tg): Likewise.
28639 (finite_test_data): New variable.
28640 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28641 (isfinite_test_data): New variable.
28642 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28643 (isinf_test_data): New variable.
28644 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28645 (isnan_test_data): New variable.
28646 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28647 (isnormal_test_data): New variable.
28648 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28649 (issignaling_test_data): New variable.
28650 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28651 (signbit_test_data): New variable.
28652 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28653
cbe8c4d3
JM
28654 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28655 with INVALID_EXCEPTION.
28656 (acosh_test_data): Likewise.
28657 (asin_test_data): Likewise.
28658 (atanh_test_data): Likewise.
28659 (fmod_test_data): Likewise.
28660 (log_test_data): Likewise.
28661 (log10_test_data): Likewise.
28662 (log2_test_data): Likewise.
28663 (pow_test_data): Likewise.
28664 (sqrt_test_data): Likewise.
28665 (y0_test_data): Likewise.
28666 (y1_test_data): Likewise.
28667 (yn_test_data): Likewise.
28668
5575c0e5
JM
28669 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28670 function contents.
28671
d369f531
JM
28672 * math/libm-test.inc (struct test_ff_i_data): New type.
28673 (RUN_TEST_LOOP_ff_i_tg): New macro.
28674 (isgreater_test_data): New variable.
28675 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28676 (isgreaterequal_test_data): New variable.
28677 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28678 (isless_test_data): New variable.
28679 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28680 (islessequal_test_data): New variable.
28681 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28682 (islessgreater_test_data): New variable.
28683 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28684 (isunordered_test_data): New variable.
28685 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28686
781fd748
DM
286872013-05-14 David S. Miller <davem@davemloft.net>
28688
28689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28690
87aa21df
JM
286912013-05-14 Joseph Myers <joseph@codesourcery.com>
28692
5e908270
JM
28693 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28694
f71172e5
JM
28695 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28696 extra_test to int.
28697 (struct test_f_i_data): Change type of max_ulp to int.
28698
8cfa635a
JM
28699 * math/libm-test.inc (test_ffI_f1_data): New type.
28700 (RUN_TEST_LOOP_ffI_f1): New macro.
28701 (remquo_test_data): New variable.
28702 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28703
2bcb36b2
JM
28704 * setjmp/tst-setjmp-fp.c: New file.
28705 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28706 (link-libm): New variable.
28707 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28708
acbd839a
JM
28709 * math/libm-test.inc (struct test_f_i_data): New type.
28710 (RUN_TEST_LOOP_f_i): New macro.
28711 (RUN_TEST_LOOP_f_i_tg): Likewise.
28712 (fpclassify_test_data): New variable.
28713 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28714 (ilogb_test_data): New variable.
28715 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28716
e414d745
JM
28717 * math/libm-test.inc (scalbln_test): Correct function name in END
28718 call.
28719
d9c2a0fd
JM
28720 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28721 (RUN_TEST_LOOP_fI_f1): New macro.
28722 (frexp_test_data): New variable.
28723 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28724
9dc9095d
JM
28725 * math/libm-test.inc (struct test_fF_f1_data): New type.
28726 (RUN_TEST_LOOP_fF_f1): New macro.
28727 (modf_test_data): New variable.
28728 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28729
87aa21df
JM
28730 * math/libm-test.inc (struct test_f_f1_data): New type.
28731 (RUN_TEST_LOOP_f_f1): New macro.
28732 (gamma_test_data): New variable.
28733 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28734 (lgamma_test_data): New variable.
28735 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28736
141af660
CD
287372013-05-13 Carlos O'Donell <carlos@redhat.com>
28738
28739 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28740 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28741 (main): Comment "tls" pseudo-hwcap.
28742
6d33265c
JM
287432013-05-13 Joseph Myers <joseph@codesourcery.com>
28744
68fc074c
JM
28745 * math/libm-test.inc (struct test_fl_f_data): New type.
28746 (RUN_TEST_LOOP_fl_f): New variable.
28747 (scalbln_test_data): New variable.
28748 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28749
243216e1
JM
28750 * math/libm-test.inc (struct test_fi_f_data): New type.
28751 (RUN_TEST_LOOP_fi_f): New macro.
28752 (ldexp_test_data): New variable.
28753 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28754 (scalbn_test_data): New variable.
28755 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28756
6a1992e2
JM
28757 * math/libm-test.inc (struct test_c_f_data): New type.
28758 (RUN_TEST_LOOP_c_f): New macro.
28759 (cabs_test_data): New variable.
28760 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28761 (carg_test_data): New variable.
28762 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28763 (cimag_test_data): New variable.
28764 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28765 (creal_test_data): New variable.
28766 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28767
0e400df5
JM
28768 * math/libm-test.inc (struct test_if_f_data): New type.
28769 (RUN_TEST_LOOP_if_f): New macro.
28770 (jn_test_data): New variable.
28771 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28772 (yn_test_data): New variable.
28773 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28774
6d33265c
JM
28775 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28776
f98ece5f
AZ
287772013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28778
28779 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28780 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28781
0f7d347b
SP
287822013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28783
43fe811b
SP
28784 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28785 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28786 (bench-deps): Add bench-timing.h.
28787 * benchtests-bench-skeleton.c: Include bench-timing.h.
28788 (main): Use TIMING_* macros instead of clock_gettime.
28789 * benchtests/bench-timing.h: New file.
28790
0f7d347b
SP
28791 [BZ #14582]
28792 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28793 Renamed from _LIB_VERSION.
28794 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28795
601a3a5f
JM
287962013-05-12 Joseph Myers <joseph@codesourcery.com>
28797
4f184d30
JM
28798 * math/libm-test.inc (struct test_fff_f_data): New type.
28799 (RUN_TEST_LOOP_fff_f): New macro.
28800 (fma_test_data): New variable.
28801 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28802 (fma_towardzero_test_data): New variable.
28803 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28804 (fma_downward_test_data): New variable.
28805 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28806 (fma_upward_test_data): New variable.
28807 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28808
08198877
JM
28809 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28810 (struct test_c_c_data): New type.
28811 (RUN_TEST_LOOP_c_c): New macro.
28812 (cacos_test_data): New variable.
28813 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28814 (cacosh_test_data): New variable.
28815 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28816 (casin_test_data): New variable.
28817 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28818 (casinh_test_data): New variable.
28819 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28820 (catan_test_data): New variable.
28821 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28822 (catanh_test_data): New variable.
28823 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28824 (ccos_test_data): New variable.
28825 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28826 (ccosh_test_data): New variable.
28827 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28828 (cexp_test_data): New variable.
28829 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28830 (clog_test_data): New variable.
28831 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28832 (clog10_test_data): New variable.
28833 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28834 (conj_test_data): New variable.
28835 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28836 (cproj_test_data): New variable.
28837 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28838 (csin_test_data): New variable.
28839 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28840 (csinh_test_data): New variable.
28841 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28842 (csqrt_test_data): New variable.
28843 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28844 (ctan_test_data): New variable.
28845 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28846 (ctan_tonearest_test_data): New variable.
28847 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28848 (ctan_towardzero_test_data): New variable.
28849 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28850 (ctan_downward_test_data): New variable.
28851 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28852 (ctan_upward_test_data): New variable.
28853 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28854 (ctanh_test_data): New variable.
28855 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28856 (ctanh_tonearest_test_data): New variable.
28857 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28858 (ctanh_towardzero_test_data): New variable.
28859 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28860 (ctanh_downward_test_data): New variable.
28861 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28862 (ctanh_upward_test_data): New variable.
28863 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28864 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28865 of BUILD_COMPLEX.
28866
601a3a5f
JM
28867 * math/libm-test.inc (struct test_ff_f_data): New type.
28868 (struct test_ff_f_data_nexttoward): Likewise.
28869 (RUN_TEST_LOOP_2_f): New macro.
28870 (RUN_TEST_LOOP_ff_f): Likewise.
28871 (atan2_test_data): New variable.
28872 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28873 (copysign_test_data): New variable.
28874 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28875 (fdim_test_data): New variable.
28876 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28877 (fmax_test_data): New variable.
28878 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28879 (fmin_test_data): New variable.
28880 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28881 (fmod_test_data): New variable.
28882 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28883 (hypot_test_data): New variable.
28884 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28885 (nextafter_test_data): New variable.
28886 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28887 (nexttoward_test_data): New variable.
28888 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28889 (pow_test_data): New variable.
28890 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28891 (pow_tonearest_test_data): New variable.
28892 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28893 (pow_towardzero_test_data): New variable.
28894 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28895 (pow_downward_test_data): New variable.
28896 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28897 (pow_upward_test_data): New variable.
28898 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28899 (remainder_test_data): New variable.
28900 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28901 (scalb_test_data): New variable.
28902 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28903 * sysdeps/i386/fpu/libm-test-ulps: Update.
28904
74c57478
JM
289052013-05-11 Joseph Myers <joseph@codesourcery.com>
28906
8329e4da
JM
28907 * math/libm-test.inc (fma_test): Use max_value instead of local
28908 variable fltmax.
28909 (nextafter_test): Likewise.
28910
74c57478
JM
28911 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28912 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28913 (acos_downward_test_data): New variable.
28914 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28915 (acos_upward_test_data): New variable.
28916 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28917 (acosh_test_data): New variable.
28918 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28919 (asin_test_data): New variable.
28920 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28921 (asin_tonearest_test_data): New variable.
28922 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28923 (asin_towardzero_test_data): New variable.
28924 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28925 (asin_downward_test_data): New variable.
28926 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28927 (asin_upward_test_data): New variable.
28928 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28929 (asinh_test_data): New variable.
28930 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28931 (atan_test_data): New variable.
28932 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28933 (atanh_test_data): New variable.
28934 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28935 (cbrt_test_data): New variable.
28936 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28937 (ceil_test_data): New variable.
28938 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28939 (cos_test_data): New variable.
28940 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28941 (cos_tonearest_test_data): New variable.
28942 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28943 (cos_towardzero_test_data): New variable.
28944 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28945 (cos_downward_test_data): New variable.
28946 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28947 (cos_upward_test_data): New variable.
28948 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28949 (cosh_test_data): New variable.
28950 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28951 (cosh_tonearest_test_data): New variable.
28952 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28953 (cosh_towardzero_test_data): New variable.
28954 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28955 (cosh_downward_test_data): New variable.
28956 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28957 (cosh_upward_test_data): New variable.
28958 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28959 (erf_test_data): New variable.
28960 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28961 (erfc_test_data): New variable.
28962 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28963 (exp_test_data): New variable.
28964 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28965 (exp_tonearest_test_data): New variable.
28966 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28967 (exp_towardzero_test_data): New variable.
28968 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28969 (exp_downward_test_data): New variable.
28970 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28971 (exp_upward_test_data): New variable.
28972 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28973 (exp10_test_data): New variable.
28974 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28975 (exp2_test_data): New variable.
28976 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28977 (expm1_test_data): New variable.
28978 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28979 (fabs_test_data): New variable.
28980 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28981 (floor_test_data): New variable.
28982 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28983 (j0_test_data): New variable.
28984 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28985 (j1_test_data): New variable.
28986 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28987 (log_test_data): New variable.
28988 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28989 (log10_test_data): New variable.
28990 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28991 (log1p_test_data): New variable.
28992 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28993 (log2_test_data): New variable.
28994 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28995 (logb_test_data): New variable.
28996 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28997 (logb_downward_test_data): New variable.
28998 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28999 (nearbyint_test_data): New variable.
29000 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29001 (rint_test_data): New variable.
29002 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29003 (rint_tonearest_test_data): New variable.
29004 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29005 (rint_towardzero_test_data): New variable.
29006 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29007 (rint_downward_test_data): New variable.
29008 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29009 (rint_upward_test_data): New variable.
29010 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29011 (round_test_data): New variable.
29012 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29013 (sin_test_data): New variable.
29014 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29015 (sin_tonearest_test_data): New variable.
29016 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29017 (sin_towardzero_test_data): New variable.
29018 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29019 (sin_downward_test_data): New variable.
29020 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29021 (sin_upward_test_data): New variable.
29022 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29023 (sinh_test_data): New variable.
29024 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29025 (sinh_tonearest_test_data): New variable.
29026 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29027 (sinh_towardzero_test_data): New variable.
29028 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29029 (sinh_downward_test_data): New variable.
29030 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29031 (sinh_upward_test_data): New variable.
29032 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29033 (sqrt_test_data): New variable.
29034 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29035 (tan_test_data): New variable.
29036 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29037 (tan_tonearest_test_data): New variable.
29038 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29039 (tan_towardzero_test_data): New variable.
29040 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29041 (tan_downward_test_data): New variable.
29042 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29043 (tan_upward_test_data): New variable.
29044 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29045 (tanh_test_data): New variable.
29046 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29047 (tgamma_test_data): New variable.
29048 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29049 (trunc_test_data): New variable.
29050 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29051 (y0_test_data): New variable.
29052 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29053 (y1_test_data): New variable.
29054 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29055 (significand_test_data): New variable.
29056 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29057
7187d844
CG
290582013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29059
29060 [BZ #12387]
29061 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29062
f63fae73
PT
290632013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29064
29065 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29066
8a67a4b3
AJ
290672013-05-10 Andreas Jaeger <aj@suse.de>
29068
29069 [BZ #15448]
29070 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29071 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29072
51df539d
JM
290732013-05-10 Joseph Myers <joseph@codesourcery.com>
29074
29075 * math/gen-libm-test.pl (adjust_arg): New function.
29076 (special_functions): Handle generating output in both functions
29077 and arrays.
29078 (parse_args): Likewise.
29079 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29080 $in_func argument to parse_args.
29081 * math/libm-test.inc (struct test_f_f_data): New type.
29082 (IF_ROUND_INIT_): New macro.
29083 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29084 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29085 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29086 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29087 (ROUND_RESTORE_): Likewise.
29088 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29089 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29090 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29091 (ROUND_RESTORE_FE_UPWARD): Likewise.
29092 (RUN_TEST_LOOP_f_f): New macro.
29093 (acos_test_data): New variable.
29094 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29095 (acos_tonearest_test_data): New variable.
29096 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29097
5c637fe5
SP
290982013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29099
29100 * benchtests/bench-skeleton.c (startup): Fix coding style.
29101
ab2b9461
JM
291022013-05-10 Joseph Myers <joseph@codesourcery.com>
29103
29104 [BZ #6809]
29105 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29106 negative infinity argument.
29107 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29108 negative infinity argument.
29109 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29110 negative infinity argument.
29111 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29112 domain errors.
29113
4c0fe6fe
FW
291142013-05-10 Florian Weimer <fweimer@redhat.com>
29115
29116 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29117 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29118 * iconv/iconv_prog.c (main): Likewise.
29119 * locale/programs/charmap-dir.c (charmap_readdir)
29120 (fopen_uncompressed): Likewise.
29121 * locale/programs/locfile.c (siblings_uncached)
29122 (write_locale_data): Use lstat64 instead of lstat.
29123 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29124 stat.
29125
a3375d29
AJ
291262013-05-10 Andreas Jaeger <aj@suse.de>
29127
29128 [BZ #15395]
29129 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29130 localization.
29131 Include <locale.h>.
29132
36129722
CD
291332013-05-09 Carlos O'Donell <carlos@redhat.com>
29134
29135 * elf/dl-close.c (_dl_close_worker): Add comments.
29136
faa7f811
JM
291372013-05-09 Joseph Myers <joseph@codesourcery.com>
29138
ed41ffef
JM
29139 [BZ #15359]
29140 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29141 high part of pi/2.
29142 (__ieee754_rem_pio2l): Update comments.
29143
d0213cd0
JM
29144 [BZ #15429]
29145 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29146 high part of pi/2.
29147 (__ieee754_rem_pio2l): Update comments.
29148
0d3e777a
JM
29149 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29150 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29151
24f56066
JM
29152 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29153 M_PI_4l.
29154
faa7f811
JM
29155 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29156 (M_PI_34_LOG10El): Likewise.
29157 (M_PI2_LOG10El): Likewise.
29158 (M_PI4_LOG10El): Likewise.
29159 (M_PI_LOG10El): Likewise.
29160
e9a5e0fd
AZ
291612013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29162
29163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29164
d8cd06db
JM
291652013-05-08 Joseph Myers <joseph@codesourcery.com>
29166
a0d9f9d7
JM
29167 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29168 (MINUS_ZERO_INIT): Likewise.
29169 (PLUS_INFTY_INIT): Likewise.
29170 (MINUS_INFTY_INIT): Likewise.
29171 (QNAN_VALUE_INIT): Likewise.
29172 (MAX_VALUE_INIT): Likewise.
29173 (MIN_VALUE_INIT): Likewise.
29174 (MIN_SUBNORM_VALUE_INIT): Likewise.
29175 (plus_zero): Initialize with PLUS_ZERO_INIT.
29176 (minus_zero): Initialize with MINUS_ZERO_INIT.
29177 (plus_infty): Initialize with PLUS_INFTY_INIT.
29178 (minus_infty): Initialize with MINUS_INFTY_INIT.
29179 (qnan_value): Initialize with QNAN_VALUE_INIT.
29180 (max_value): Initialize with MAX_VALUE_INIT.
29181 (min_value): Initialize with MIN_VALUE_INIT.
29182 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29183
ae08db3b
JM
29184 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29185 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29186 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29187 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29188
f44bf14a
JM
29189 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29190 (RUN_TEST_2_f): Likewise.
29191 (RUN_TEST_ff_f): Likewise.
29192 (RUN_TEST_fi_f): Likewise.
29193 (RUN_TEST_fl_f): Likewise.
29194 (RUN_TEST_fff_f): Likewise.
29195 (RUN_TEST_c_f): Likewise.
29196 (RUN_TEST_f_f1): Likewise.
29197 (RUN_TEST_fF_f1): Likewise.
29198 (RUN_TEST_fI_f1): Likewise.
29199 (RUN_TEST_ffI_f1): Likewise.
29200 (RUN_TEST_c_c): Likewise.
29201 (RUN_TEST_cc_c): Likewise.
29202 (RUN_TEST_f_i): Likewise.
29203 (RUN_TEST_f_i_tg): Likewise.
29204 (RUN_TEST_ff_i_tg): Likewise.
29205 (RUN_TEST_f_b): Likewise.
29206 (RUN_TEST_f_b_tg): Likewise.
29207 (RUN_TEST_f_l): Likewise.
29208 (RUN_TEST_f_L): Likewise.
29209 (RUN_TEST_sincos): Likewise.
29210 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29211 whether to show exceptions. Do not include ");\n" in return
29212 value.
29213 (special_functions): Output call to RUN_TEST_sincos instead of
29214 check_float calls. Update calls to new_test.
29215 (parse_args): Output call to single RUN_TEST_* macro instead of
29216 check_* calls and other assignments. Update calls to new_test.
29217
d8cd06db
JM
29218 [BZ #2546]
29219 [BZ #2560]
29220 [BZ #5159]
29221 [BZ #15426]
29222 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29223 input to result for tgamma overflow.
29224 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29225 (gamma_coeff): New variable.
29226 (NCOEFF): New macro.
29227 (gamma_positive): New function.
29228 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29229 underflow here. Use gamma_positive instead of exp (lgamma) for
29230 other arguments.
29231 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29232 (gamma_coeff): New variable.
29233 (NCOEFF): New macro.
29234 (gammaf_positive): New function.
29235 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29236 underflow here. Use gamma_positive instead of exp (lgamma) for
29237 other arguments.
29238 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29239 (gamma_coeff): New variable.
29240 (NCOEFF): New macro.
29241 (gammal_positive): New function.
29242 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29243 underflow here. Use gamma_positive instead of exp (lgamma) for
29244 other arguments.
29245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29246 (gamma_coeff): New variable.
29247 (NCOEFF): New macro.
29248 (gammal_positive): New function.
29249 (__ieee754_gammal_r): Handle positive infinity, overflow and
29250 underflow here. Handle NaN the same as positive infinity. Remove
29251 check x < 0xffffffff for negative integers. Use gamma_positive
29252 instead of exp (lgamma) for other arguments.
29253 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29254 (gamma_coeff): New variable.
29255 (NCOEFF): New macro.
29256 (gammal_positive): New function.
29257 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29258 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29262 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29263 * sysdeps/generic/math_private.h (__gamma_productf): New
29264 prototype.
29265 (__gamma_product): Likewise.
29266 (__gamma_productl): Likewise.
29267 * math/Makefile (libm-calls): Add gamma_product.
29268 * math/libm-test.inc (tgamma_test): Add more tests.
29269 * sysdeps/i386/fpu/libm-test-ulps: Update.
29270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29271
bb7cf681
OB
292722013-05-08 Ondřej Bílka <neleai@seznam.cz>
29273
29274 * benchtests/bench-skeleton.c (main): Preheat CPU.
29275
ba853947
AJ
292762013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29277
29278 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29279
8347c74c
RM
292802013-05-07 Roland McGrath <roland@hack.frob.com>
29281
29282 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29283 and _dl_skip_args_internal.
29284
e8dd4791
CD
292852013-05-07 Carlos O'Donell <carlos@redhat.com>
29286
29287 * manual/message.texi (Message Translation): Talk about users.
29288 Message to key mapping impacts design.
29289
c7405830
RM
292902013-05-06 Roland McGrath <roland@hack.frob.com>
29291
a9173057
RM
29292 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29293
976e2f03
RM
29294 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29295
9723ffc5
RM
29296 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29297 * sysdeps/wordsize-64/glob64.c: ... here.
29298
962e6658
RM
29299 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29300 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29301 New macros.
29302
ee586a6d
RM
29303 * debug/getlogin_r_chk.c: Moved to ...
29304 * login/getlogin_r_chk.c: ... here.
29305 * debug/Makefile (routines): Move getlogin_r_chk to ...
29306 * login/Makefile (routines): ... here.
29307 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29308 * login/Versions (libc: GLIBC_2.4): ... here.
29309
355f9165
RM
29310 * io/poll.c (__poll): Renamed from poll.
29311 Add libc_hidden_def.
29312 (poll): Define as weak alias.
29313
bd9ffde6
RM
29314 * debug/ptsname_r_chk.c: Moved to ...
29315 * login/ptsname_r_chk.c: ... here.
29316 * debug/Makefile (routines): Move ptsname_r_chk to ...
29317 * login/Makefile (routines): ... here.
29318 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29319 * login/Versions (libc: GLIBC_2.4): ... here.
29320
8fb16a04
RM
29321 * posix/getlogin.c: Moved to ...
29322 * login/getlogin.c: ... here.
29323 * posix/getlogin_r.c: Moved to ...
29324 * login/getlogin_r.c: ... here.
29325 * posix/getlogin_r.c: Moved to ...
29326 * login/getlogin_r.c: ... here.
29327 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29328 * login/Makefile (routines): ... here.
29329 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29330 * login/Versions (libc: GLIBC_2.0): ... here.
29331
b99b892f
RM
29332 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29333 (setrlimit): Define as weak alias.
29334
c7405830
RM
29335 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29336 Call __ names for open, ftruncate, and close.
29337 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29338 (truncate): Define as weak alias.
29339
5bf96de5
JM
293402013-05-06 Joseph Myers <joseph@codesourcery.com>
29341
9ea3513c
JM
29342 * math/gen-libm-test.pl (parse_args): Initialize x before each
29343 test of frexp, modf and remquo.
29344
5bf96de5
JM
29345 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29346 test signgam value.
29347
16e616a7
AZ
293482013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29349
29350 [BZ #15418]
29351 [BZ #15419]
29352 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29353 internal tests.
29354 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29355
d5e82754
RM
293562013-05-06 Roland McGrath <roland@hack.frob.com>
29357
29358 * elf/dl-writev.h: New file.
29359 * elf/dl-misc.c: Include it.
29360 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29361 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29362
a7548d41
JM
293632013-05-04 Joseph Myers <joseph@codesourcery.com>
29364
b7dab1e4
JM
29365 * math/libm-test.inc (noXFails): Remove variable.
29366 (noXPasses): Likewise.
29367 (BUILD_COMPLEX_INT): Remove macro.
29368 (print_screen): Remove xfail argument.
29369 (print_screen_max_error): Likewise.
29370 (update_stats): Likewise.
29371 (print_max_error): Likewise. Update calls to other affected
29372 functions.
29373 (print_complex_max_error): Likewise.
29374 (test_single_exception): Update calls to print_screen.
29375 (test_single_errno): Likewise.
29376 (check_float_internal): Remove xfail argument. Update calls to
29377 other affected functions.
29378 (check_float): Likewise.
29379 (check_complex): Likewise.
29380 (check_int): Likewise.
29381 (check_long): Likewise.
29382 (check_bool): Likewise.
29383 (check_longlong): Likewise.
29384 (main): Don't print noXFails and noXPasses.
29385 * math/gen-libm-test.pl (top level): Don't mention expected
29386 failure handling in comment.
29387 (new_test): Don't handle expected failures.
29388 (parse_args): Don't mention expected failure handling in comment.
29389 (generate_testfile): Don't handle expected failures.
29390 (parse_ulps): Likewise.
29391 (print_ulps_file): Likewise.
29392 (get_failure): Remove function.
29393 (output_test): Don't handle expected failures.
29394 * make/README.libm-test: Don't mention expected failure handling.
29395
a7548d41
JM
29396 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29397 (minus_zero): Likewise.
29398 (plus_infty): Likewise.
29399 (minus_infty): Likewise.
29400 (qnan_value): Likewise.
29401 (max_value): Likewise.
29402 (min_value): Likewise.
29403 (min_subnorm_value): Likewise.
29404 (initialize): Do not initialize those variables dynamically.
29405
60bfd54c
RM
294062013-05-03 Roland McGrath <roland@hack.frob.com>
29407
cc0e6ed8
RM
29408 * io/open.c (__open_2): Moved to ...
29409 * io/open_2.c: ... this new file.
29410 * io/open64.c (__open64_2): Moved to ...
29411 * io/open64_2.c: ... this new file.
29412 * io/openat.c (__openat_2): Moved to ...
29413 * io/openat_2.c: ... this new file.
29414 * io/openat64.c (__openat64_2): Moved to ...
29415 * io/openat64_2.c: ... this new file.
29416 * io/Makefile (routines): Add them.
29417 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29418 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29419 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29420 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29421 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29422 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29423 (__openat64): Add hidden_ver.
29424 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29425 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29426
60bfd54c
RM
29427 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29428 Separately conditionalize setting of GLRO(dl_sysinfo) so
29429 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29430 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29431
83e7640f
AZ
294322013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29433
29434 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29435 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29436 definition.
29437 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29438 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29439 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29440 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29441 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29442
d5dc2af3
JM
294432013-05-03 Joseph Myers <joseph@codesourcery.com>
29444
c31a5b1e
JM
29445 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29446 test signgam value.
29447
d5dc2af3
JM
29448 * math/libm-test.inc (hypot_test): Do not use
29449 IGNORE_ZERO_INF_SIGN.
29450
164fd39d
AJ
294512013-05-03 Andreas Jaeger <aj@suse.de>
29452
29453 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29454 Linux 3.9.
29455 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29456 (PF_MAX): Adjust for VSOCK change.
29457
8237f48c
AZ
294582013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29459
29460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29461
9df02941
CD
294622013-05-02 Carlos O'Donell <carlos@redhat.com>
29463
29464 [BZ #15264]
29465 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29466 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29467 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29468
d422395e
DM
294692013-05-02 David S. Miller <davem@davemloft.net>
29470
29471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29472
a07c5731
OB
294732013-05-01 Ondřej Bílka <neleai@seznam.cz>
29474
29475 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29476
1324e37f
RM
294772013-05-01 Roland McGrath <roland@hack.frob.com>
29478
29479 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29480
0695940b
RS
294812013-05-01 Richard Smith <richard@metafoo.co.uk>
29482
bb5f27ad 29483 [BZ #14952]
0695940b
RS
29484 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29485 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29486 Use __attribute__ ((__gnu_inline__)).
29487 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29488 Don't use __attribute__ ((__gnu_inline__)).
29489
10de07f5
JM
294902013-05-01 Joseph Myers <joseph@codesourcery.com>
29491
29492 [BZ #15423]
29493 * math/s_catan.c (__catan): Handle small real or imaginary part of
29494 input specially to avoid spurious underflow.
29495 * math/s_catanf.c (__catanf): Likewise.
29496 * math/s_catanh.c (__catanh): Likewise.
29497 * math/s_catanhf.c (__catanhf): Likewise.
29498 * math/s_catanhl.c (__catanhl): Likewise.
29499 * math/s_catanl.c (__catanl): Likewise.
29500 * math/libm-test.inc (catan_test): Add more tests.
29501 (catanh_test): Likewise.
29502 * sysdeps/i386/fpu/libm-test-ulps: Update.
29503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29504
cb4d5414
AZ
295052013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29506
29507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29508
caf84319
JM
295092013-04-30 Joseph Myers <joseph@codesourcery.com>
29510
29511 [BZ #15416]
29512 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29513 accurately for denominator in atan2.
29514 * math/s_catanf.c (__catanf): Likewise.
29515 * math/s_catanh.c (__catanh): Likewise.
29516 * math/s_catanhf.c (__catanhf): Likewise.
29517 * math/s_catanhl.c (__catanhl): Likewise.
29518 * math/s_catanl.c (__catanl): Likewise.
29519 * math/libm-test.inc (catan_test): Add more tests.
29520 (catanh_test): Likewise.
29521 * sysdeps/i386/fpu/libm-test-ulps: Update.
29522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29523
d569c6ee
SP
295242013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29525
6dbe713d
SP
29526 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29527
f0ee064b
SP
29528 * benchtests/Makefile (bench): Remove slow benchmarks.
29529 * benchtests/atan-inputs: Add slow benchmark inputs.
29530 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29531 (BENCH_FUNC): Accept variant offset.
29532 (VARIANT): Define.
29533 * benchtests/bench-skeleton.c (main): Run benchmark for each
29534 variant.
29535 * benchtests/cos-inputs: Add slow benchmark inputs.
29536 * benchtests/exp-inputs: Likewise.
29537 * benchtests/pow-inputs: Likewise.
29538 * benchtests/sin-inputs: Likewise.
29539 * benchtests/slowatan-inputs: Remove.
29540 * benchtests/slowatan.c: Remove.
29541 * benchtests/slowcos-inputs: Remove.
29542 * benchtests/slowcos.c: Remove.
29543 * benchtests/slowexp-inputs: Remove.
29544 * benchtests/slowexp.c: Remove.
29545 * benchtests/slowpow-inputs: Remove.
29546 * benchtests/slowpow.c: Remove.
29547 * benchtests/slowsin-inputs: Remove.
29548 * benchtests/slowsin.c: Remove.
29549 * benchtests/slowtan-inputs: Remove.
29550 * benchtests/slowtan.c: Remove.
29551 * benchtests/tan-inputs: Add slow benchmark inputs.
29552 * scripts/bench.pl: Parse comments and directives.
29553
d569c6ee
SP
29554 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29555 in CPPFLAGS.
29556 ($(objpfx)bench-%.c): Remove *-ITER.
29557 * benchtests/bench-modf.c: Remove definition of ITER.
29558 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29559 (main): Loop for DURATION seconds instead of fixed number of
29560 iterations.
29561 * scripts/bench.pl: Don't expect iterations in parameters.
29562
a6a242fe
RM
295632013-04-29 Roland McGrath <roland@hack.frob.com>
29564
29565 * io/fchdir.c (__fchdir): Renamed from fchdir.
29566 (fchdir): Define as weak alias.
29567
f2da7793
JM
295682013-04-29 Joseph Myers <joseph@codesourcery.com>
29569
29570 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29571 (ERRNO_EDOM): Likewise.
29572 (ERRNO_ERANGE): Likewise.
29573 (noErrnoTests): New variable.
29574 (init_max_error): Set errno to 0.
29575 (test_single_errno): New function.
29576 (test_errno): Likewise.
29577 (check_float_internal): Call test_errno. Set errno to 0.
29578 (check_complex): Refer to errno tests in comment.
29579 (check_int): Call test_errno. Set errno to 0.
29580 (check_long): Likewise.
29581 (check_bool): Likewise.
29582 (check_longlong): Likewise.
29583 (cos_test): Use ERRNO_* flags for errno tests instead of
29584 check_int.
29585 (expm1_test): Likewise.
29586 (fmod_test): Likewise.
29587 (ilogb_test): Likewise.
29588 (lgamma_test): Likewise.
29589 (pow_test): Likewise.
29590 (remainder_test): Likewise.
29591 (sin_test): Likewise.
29592 (tan_test): Likewise.
29593 (yn_test): Likewise.
29594 (initialize): Set errno to 0.
29595 (main): Print number of errno tests.
29596 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29597
b1a36ceb
AJ
295982013-04-29 Andreas Jaeger <aj@suse.de>
29599
c3ed8088
AJ
29600 [BZ #15084]
29601 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29602 and RES_USEVC.
29603
f1a24198
AJ
29604 [BZ #15085]
29605 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29606 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29607 unimplemented.
29608
9ce3b2cb
AJ
29609 [BZ #15380]
29610 * stdlib/random.c (__initstate): Return NULL if
29611 __initstate fails.
29612
f1a24198 29613 [BZ #15086]
b1a36ceb
AJ
29614 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29615 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29616 RES_SNGLKUPREOP.
29617
7e7b6f36
AZ
296182013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29619
29620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29621
4d14f449
JM
296222013-04-29 Joseph Myers <joseph@codesourcery.com>
29623
29624 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29625 of individual tests.
29626 (casin_test): Likewise.
29627 (casinh_test): Likewise.
29628
5b4217d7
JM
296292013-04-27 Joseph Myers <joseph@codesourcery.com>
29630
29631 [BZ #15409]
29632 * math/s_catan.c (__catan): Handle arguments with large real or
29633 imaginary part separately without squaring.
29634 * math/s_catanf.c (__catanf): Likewise.
29635 * math/s_catanh.c (__catanh): Likewise.
29636 * math/s_catanhf.c (__catanhf): Likewise.
29637 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29638 and redefine.
29639 (__catanhl): Handle arguments with large real or imaginary part
29640 separately without squaring.
29641 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29642 and redefine.
29643 (__catanl): Handle arguments with large real or imaginary part
29644 separately without squaring.
29645 * math/libm-test.inc (catan_test): Add more tests.
29646 (catanh_test): Likewise.
29647 * sysdeps/i386/fpu/libm-test-ulps: Update.
29648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29649
4220c3ef
AJ
296502013-04-27 Andreas Jaeger <aj@suse.de>
29651
29652 [BZ #15007]
29653 * stdlib/stdlib.h: Update guards for qecvt.
29654 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29655 <stdlib.h>.
29656
4721b2d1
AM
296572013-04-27 Allan McRae <allan@archlinux.org>
29658
29659 * sysdeps/i386/fpu/libm-test-ulps: Update.
29660
f0302940
JM
296612013-04-26 Joseph Myers <joseph@codesourcery.com>
29662
9457fd95
JM
29663 [BZ #15406]
29664 * math/s_catan.c: Include <float.h>.
29665 (__catan): Ensure underflow exception occurs for underflowed
29666 result.
29667 * math/s_catanf.c: Include <float.h>.
29668 (__catanf): Ensure underflow exception occurs for underflowed
29669 result.
29670 * math/s_catanh.c: Include <float.h>.
29671 (__catanh): Ensure underflow exception occurs for underflowed
29672 result.
29673 * math/s_catanhf.c: Include <float.h>.
29674 (__catanhf): Ensure underflow exception occurs for underflowed
29675 result.
29676 * math/s_catanhl.c: Include <float.h>.
29677 (__catanhl): Ensure underflow exception occurs for underflowed
29678 result.
29679 * math/s_catanl.c: Include <float.h>.
29680 (__catanl): Ensure underflow exception occurs for underflowed
29681 result.
29682 * math/libm-test.inc (catan_test): Add more tests.
29683 (catanh_test): Likewise.
29684
f0302940
JM
29685 [BZ #15405]
29686 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29687 underflowed result.
29688 * math/s_ccoshf.c (__ccoshf): Likewise.
29689 * math/s_ccoshl.c (__ccoshl): Likewise.
29690 * math/s_csin.c (__csin): Likewise.
29691 * math/s_csinf.c (__csinf): Likewise.
29692 * math/s_csinh.c (__csinh): Likewise.
29693 * math/s_csinhf.c (__csinhf): Likewise.
29694 * math/s_csinhl.c (__csinhl): Likewise.
29695 * math/s_csinl.c (__csinl): Likewise.
29696 * math/libm-test.inc (ccos_test): Add more tests.
29697 (ccosh_test): Likewise.
29698 (csin_test): Likewise.
29699 (csinh_test): Likewise.
29700
aa630f59
AZ
297012013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29702
29703 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29704 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29705 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29706 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29707 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29708 powerpc/power5+/fpu folders.
29709 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29710
29711
1b835983
MT
297122013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29713
29714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29715
73709b26
JM
297162013-04-25 Joseph Myers <joseph@codesourcery.com>
29717
29718 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29719 additions to variable.
29720 [$(config-machine) = x86_64] (modules-names): Likewise.
29721 ($(objpfx)tst-audit3): Remove dependency.
29722 ($(objpfx)tst-audit3.out): Likewise.
29723 ($(objpfx)tst-audit4): Likewise.
29724 ($(objpfx)tst-audit4.out): Likewise.
29725 ($(objpfx)tst-audit5): Likewise.
29726 ($(objpfx)tst-audit5.out): Likewise.
29727 ($(objpfx)tst-audit6): Likewise.
29728 ($(objpfx)tst-audit6.out): Likewise.
29729 ($(objpfx)tst-audit7): Likewise.
29730 ($(objpfx)tst-audit7.out): Likewise.
29731 (tst-audit3-ENV): Remove variable.
29732 (tst-audit4-ENV): Likewise.
29733 (tst-audit5-ENV): Likewise.
29734 (tst-audit6-ENV): Likewise.
29735 (tst-audit7-ENV): Likewise.
29736 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29737 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29738 addition to variable.
29739 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29740 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29741 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29742 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29743 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29744 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29745 tst-audit3, tst-audit4 and tst-audit5.
29746 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29747 tst-audit6 and tst-audit7.
29748 [$(subdir) = elf] (modules-names): Add audit modules for those
29749 tests.
29750 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29751 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29752 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29753 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29754 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29755 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29756 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29757 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29758 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29759 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29760 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29761 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29762 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29763 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29764 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29765 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29766 Likewise.
29767 [$(subdir) = elf && $(config-cflags-avx) = yes]
29768 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29769 [$(subdir) = elf && $(config-cflags-avx) = yes]
29770 (CFLAGS-tst-auditmod4a.c): Likewise.
29771 [$(subdir) = elf && $(config-cflags-avx) = yes]
29772 (CFLAGS-tst-auditmod4b.c): Likewise.
29773 [$(subdir) = elf && $(config-cflags-avx) = yes]
29774 (CFLAGS-tst-auditmod6b.c): Likewise.
29775 [$(subdir) = elf && $(config-cflags-avx) = yes]
29776 (CFLAGS-tst-auditmod6c.c): Likewise.
29777 [$(subdir) = elf && $(config-cflags-avx) = yes]
29778 (CFLAGS-tst-auditmod7b.c): Likewise.
29779 * elf/tst-audit3.c: Move to ...
29780 * sysdeps/x86_64/tst-audit3.c: ... here.
29781 * elf/tst-audit4.c: Move to ...
29782 * sysdeps/x86_64/tst-audit4.c: ... here.
29783 * elf/tst-audit5.c: Move to ...
29784 * sysdeps/x86_64/tst-audit5.c: ... here.
29785 * elf/tst-audit6.c: Move to ...
29786 * sysdeps/x86_64/tst-audit6.c: ... here.
29787 * elf/tst-audit7.c: Move to ...
29788 * sysdeps/x86_64/tst-audit7.c: ... here.
29789 * elf/tst-auditmod3a.c: Move to ...
29790 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29791 * elf/tst-auditmod3b.c: Move to ...
29792 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29793 * elf/tst-auditmod4a.c: Move to ...
29794 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29795 * elf/tst-auditmod4b.c: Move to ...
29796 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29797 * elf/tst-auditmod5a.c: Move to ...
29798 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29799 * elf/tst-auditmod5b.c: Move to ...
29800 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29801 * elf/tst-auditmod6a.c: Move to ...
29802 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29803 * elf/tst-auditmod6b.c: Move to ...
29804 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29805 * elf/tst-auditmod6c.c: Move to ...
29806 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29807 * elf/tst-auditmod7a.c: Move to ...
29808 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29809 * elf/tst-auditmod7b.c: Move to ...
29810 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29811
1ef74943
PP
298122013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29813
29814 [BZ #15366]
29815 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29816 define unconditionally.
29817 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29818 define unconditionally.
29819 (INT8_C, INT16_C, etc.): Likewise.
29820
93fd48c5
MR
298212013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29822
ae9552cf
MR
29823 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29824 __ehdr_start with hidden visibility.
29825
93fd48c5
MR
29826 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29827
418601aa
CD
298282013-04-24 Carlos O'Donell <carlos@redhat.com>
29829
29830 * math/libm-test.inc (cos_test): Use accurate hex constants.
29831 (sincost_test): Likewise.
29832
2f38fbfe
JM
298332013-04-24 Joseph Myers <joseph@codesourcery.com>
29834
5e221800
JM
29835 * math/libm-test.inc (catan_test): Add more tests.
29836 (catanh_test): Likewise.
29837
77f143fd
JM
29838 * math/s_catanf.c (__catanf): Use suffixed floating-point
29839 constants.
29840 * math/s_catanhf.c (__catanhf): Likewise.
29841 * math/s_catanhl.c (__catanhl): Likewise.
29842 * math/s_catanl.c (__catanl): Likewise.
29843
2f38fbfe
JM
29844 [BZ #15394]
29845 * math/s_catan.c (__catan): Calculate imaginary part of result
29846 with log1p not log unless computing log of number close to 0.
29847 * math/s_catanf.c (__catanf): Likewise.
29848 * math/s_catanl.c (__catanl): Likewise.
29849 * math/s_catanh.c (__catanh): Calculate real part of result with
29850 log1p not log unless computing log of number close to 0.
29851 * math/s_catanhf.c (__catanhf): Likewise.
29852 * math/s_catanhl.c (__catanhl): Likewise.
29853 * math/libm-test.inc (catan_test): Add more tests.
29854 (catanh_test): Likewise.
29855 * sysdeps/i386/fpu/libm-test-ulps: Update.
29856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29857
45d69176
SP
298582013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29859
29860 * benchtests/Makefile: Mention files in which fast and slow
29861 paths of math functions are implemented.
29862
87f51853
RM
298632013-04-23 Roland McGrath <roland@hack.frob.com>
29864
29865 * sysdeps/posix/timespec_get.c: New file.
29866
3c026539
AZ
298672013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29868
29869 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29870 POWER.
29871 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29872 for POWER.
29873 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29874 powerpc/power5/fpu folders.
29875 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29876 * benchtests/Makefile: Add modf testcase.
29877 * benchtests/bench-modf.c: New file: Benchmark test for mo
29878
ff491d14
SP
298792013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29880
29881 [BZ #14888]
29882 * time/Makefile (tests): Add tst-strptime-whitespace.
29883 * time/strptime_l.c (get_number): Use ISSPACE.
29884 (__strptime_internal): Likewise.
29885 * time/tst-strptime-whitespace.c: New test case.
29886
7ed3f4e8
AS
298872013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29888
29889 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29890 member.
29891 (_nss_files_init): Set it here.
29892
5c95f7b6
HC
298932013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29894
29895 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29896 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29897 unsigned.
29898
d34c9158
JBG
298992013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29900
29901 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29902
2169712d
SP
299032013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29904
29905 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29906 size just once.
29907
29c5de99
DM
299082013-04-21 David S. Miller <davem@davemloft.net>
29909
29910 * po/ru.po: Update Russion translation from translation project.
29911
ccdad15d
AC
299122013-04-17 Adam Conrad <adconrad@0c3.net>
29913
29914 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29915 and setfsgid.
29916
0f122b8d
CD
299172013-04-17 Carlos O'Donell <carlos@redhat.com>
29918
5c5b07da 29919 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29920 * configure: Regenerate.
5c5b07da 29921 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29922 Add example to error message.
29923 * sysdeps/i386/configure: Regenerate.
29924
037714dd
SP
299252013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29926
29927 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29928 slowtan.
29929 * benchtests/cos-inputs: New file.
29930 * benchtests/slowcos-inputs: New file.
29931 * benchtests/slowcos.c: New file.
29932 * benchtests/slowtan-inputs: New file.
29933 * benchtests/slowtan.c: New file.
29934 * benchtests/tan-inputs: New file.
29935
e913141d
RM
299362013-04-16 Roland McGrath <roland@hack.frob.com>
29937
29938 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29939 considered kosher.
29940
a2964074
SP
299412013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29942
4856bcd2
SP
29943 * benchtests/Makefile: Include cppflags-iterator.mk to add
29944 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29945
a2964074
SP
29946 * Makefile.in (bench-clean): New target.
29947 * benchtests/Makefile (bench-clean): Likewise.
29948
9fbf9aca
DH
299492013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29950
29951 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29952
207d1e2a
TS
299532013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29954
29955 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29956
306dfba9
AS
299572013-04-15 Andreas Schwab <schwab@suse.de>
29958
29959 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29960 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29961 * nscd/pwdcache.c (cache_addpw): Likewise.
29962 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29963 more than recsize.
29964
206a6699
SP
299652013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29966
29967 * benchtests/Makefile (bench): Write all output to
29968 bench-out.tmp together.
29969
0582f6b3
AS
299702013-04-15 Andreas Schwab <schwab@suse.de>
29971
29972 * nscd/nscd.c (main): Don't fork again after closing files.
29973
acb4325f
SP
299742013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29975
5cb26d0a
SP
29976 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29977
acb4325f
SP
29978 * benchtests/Rules (bench-deps): Collect dependencies into a
29979 single variable. Add Makefile to dependencies.
29980 ($(objpfx)bench-%.c): Depend on bench-deps.
29981
47792506
RM
299822013-04-12 Roland McGrath <roland@hack.frob.com>
29983 Xavier Roche <roche+kml2@exalead.com>
29984
29985 [BZ #15361]
29986 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29987 just that it's a file descriptor.
29988 * manual/llio.texi (Synchronizing AIO Operations): Update description
29989 for EBADF error from aio_fsync.
29990
8fc1bee5
SP
299912013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29992
29993 * Rules (bench): Move target definition...
29994 * benchtests/Makefile: ... here.
29995
aba5e333
CD
299962013-04-11 Carlos O'Donell <carlos@redhat.com>
29997
29998 * math/libm-test.inc (cos_test): Fix PI/2 test.
29999 (sincos_test): Likewise.
30000 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30001 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30002
273cdee8
AS
300032013-04-11 Andreas Schwab <schwab@suse.de>
30004
6ecec3b6
AS
30005 [BZ #13988]
30006 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30007 accept exponent character only when digits were seen.
30008 * stdio-common/Makefile (tests): Add bug26.
30009 * stdio-common/bug26.c: New file.
30010
273cdee8
AS
30011 [BZ #14293]
30012 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30013 non-freeable.
30014
8da491f5
SP
300152013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30016
01dc6df9
SP
30017 * Makeconfig (rtld-prefix): Define built linker prefix.
30018 * Rules (run-bench): Use it.
30019 * math/Makefile (run-regen-ulps): Likewise.
30020
8da491f5
SP
30021 * Rules (bench): Remove eval.
30022
abe7f530
SP
300232013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30024 Roland McGrath <roland@hack.frob.com>
30025 Ondrej Bilka <neleai@seznam.cz>
30026
30027 [BZ #15346]
30028 * time/getdate.c: Include ctype.h and alloca.h.
30029 (__getdate_r): Trim leading and trailing spaces of input.
30030 * time/tst-getdate.c (tests): Add tests with leading and
30031 trailing spaces.
30032
61c23e62
RM
300332013-04-08 Roland McGrath <roland@hack.frob.com>
30034
30035 [BZ #14280]
30036 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30037 when computing value.
30038
7208a313
CD
300392013-04-06 Carlos O'Donell <carlos@redhat.com>
30040
085b2d41
CD
30041 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30042 Use testrun.sh to run libm tests.
30043
7208a313
CD
30044 [BZ #15309]
30045 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30046
872c0acd
MM
300472013-04-06 Marko Myllynen <myllynen@redhat.com>
30048
30049 [BZ #15264]
30050 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30051
26510bdd
CD
300522013-04-06 Carlos O'Donell <carlos@redhat.com>
30053
30054 * Makefile.in (regen-ulps): New target.
30055 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30056 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30057 [ifneq (no,$(PERL)] (regen-ulps): New target.
30058 [ifeq (no,$(PERL)] (regen-ulps): New target.
30059 * math/libm-test.inc (ulps_file_name): Define.
30060 (output_dir): New variable.
30061 (options): Add "output-dir" option.
30062 (parse_opt): Handle 'o' case.
30063 (main): If output_dir is non-NULL use it as a prefix
30064 otherwise use "".
30065 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30066
a01f19c8
CD
300672013-04-06 Carlos O'Donell <carlos@redhat.com>
30068
30069 [BZ #10060, #10062]
30070 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30071 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30072 fail configure if __sync_val_compare_and_swap is not inlined.
30073 * sysdeps/i386/configure: Regenerate.
30074 * configure.in: Build for i686 when configured for i386.
30075 * configure: Regenerate.
30076 * README: Remove i386 reference.
30077
b7a329a5
CD
300782013-04-06 Carlos O'Donell <carlos@redhat.com>
30079
30080 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30082
bf0f50df
TS
300832013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30084
ee091edf
TS
30085 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30086 (lmsnanval): New variables.
30087 (F): Add conversion tests.
30088 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30089 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30090
a8b792d6
TS
30091 * stdio-common/tstdiomisc.c (F): Properly collect individual
30092 tests' results.
30093
a1cbf437
TS
30094 [BZ #14686, #15336]
30095 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30096 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30097 Instead, use input NaN values or generate a qNaN by arithmetic
30098 operation. Also fix bugs to comply with the standard.
30099 * math/libm-test.inc (remainder_test): Add more tests.
30100
8b43a0c9
TS
30101 [BZ #15335, #15342]
30102 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30104 input NaN values or generate a qNaN by arithmetic operation.
30105
d91da4ce
TS
30106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30107 unreachable code.
30108
bf0f50df
TS
30109 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30110 definitions.
30111
05e166c8
JM
301122013-04-03 Joseph Myers <joseph@codesourcery.com>
30113
30114 [BZ #14478]
30115 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30116 underflowed result.
30117 * math/s_cexpf.c (__cexpf): Likewise.
30118 * math/s_cexpl.c (__cexpl): Likewise.
30119 * math/libm-test.inc (cexp_test): Add more tests.
30120
1cef1b19
AS
301212013-04-03 Andreas Schwab <schwab@suse.de>
30122
30123 [BZ #15330]
30124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30125 order arrays from heap if bigger than alloca cutoff.
30126
74d87055
TS
301272013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30128
30129 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30130 (SNAN_TESTS_double): Refer to GCC PR56831.
30131 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30132 GCC PR56828.
30133
d755bba4
SP
301342013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30135
90d5d5bb
SP
30136 * Rules (bench): Move bench.out after the run is complete.
30137
73e0cd5d
SP
30138 * Rules (bench): Echo currently running benchmark.
30139
64aabd4b
SP
30140 * benchtests/Makefile (bench): Add atan and slowatan.
30141 * benchtests/atan-inputs: New file.
30142 * benchtests/slowatan-inputs: New file.
30143 * benchtests/slowatan.c: New file.
30144
c871eccd
SP
30145 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30146 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30147 its value.
30148
d755bba4
SP
30149 [BZ #15305]
30150 * sysdeps/unix/sysv/linux/kernel-features.h
30151 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30152 __ASSUME_XFS_RESTRICTED_CHOWN.
30153 * sysdeps/unix/sysv/linux/pathconf.c
30154 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30155 Save and restore errno.
30156
52ce4860
JM
301572013-04-02 Joseph Myers <joseph@codesourcery.com>
30158
30159 [BZ #15327]
30160 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30161 arguments using __kernel_casinh.
30162 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30163 arguments using __kernel_casinhf.
30164 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30165 arguments using __kernel_casinhl.
30166 * math/libm-test.inc (cacosh_test): Add more tests.
30167 * sysdeps/i386/fpu/libm-test-ulps: Update.
30168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30169
81f311c2
SP
301702013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30171
e7906a47
SP
30172 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30174
92e3664b
SP
30175 * bench/Makefile (bench): Add sin and slowsin.
30176 * benchtests/sin-inputs: New file.
30177 * benchtests/slowsin-inputs: New file.
30178 * benchtests/slowsin.c: New file.
30179
81f311c2
SP
30180 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30181 (bench): Add slowexp and slowpow.
30182 (exp-ITER): Increase iterations.
30183 (pow-ITER): Likewise.
30184 * benchtests/exp-inputs: Change input.
30185 * benchtests/pow-inputs: Likewise.
30186 * benchtests/slowexp-inputs: New file.
30187 * benchtests/slowexp.c: New file.
30188 * benchtests/slowpow-inputs: New file.
30189 * benchtests/slowpow.c: New file.
30190
ab0f1aa9
AZ
301912013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30192
30193 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30194 instructions.
30195 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30196 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30197 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30198 * benchtests/Makefile: Add rint benchtest.
30199 * benchtests/rint-inputs: Input for rint benchtest.
30200
57267616
TS
302012013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30202
30203 * Versions.def (libm): Add GLIBC_2.18.
30204 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30205 hidden libm prototypes.
30206 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30207 * math/Makefile (libm-calls): Add s_issignaling.
30208 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30209 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30210 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30211 declaration.
30212 * math/math.h [__USE_GNU] (issignaling): New macro.
30213 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30214 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30215 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30216 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30217 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30218 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30219 * manual/arith.texi (issignaling): New section.
30220 * manual/libm-err-tab.pl (@all_functions): Update comment.
30221 * math/gen-libm-test.pl (parse_args): Apply special handling for
30222 issignaling.
30223 * math/libm-test.inc (print_float, issignaling_test): New
30224 functions.
30225 (check_float_internal): Add issignaling checks.
30226 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30227 default definition.
30228 * sysdeps/powerpc/math-tests.h: New file.
30229 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30230 tests.
30231 * math/test-snan.c (TEST_FUNC): Likewise.
30232
6142896d
DM
302332013-03-30 David S. Miller <davem@davemloft.net>
30234
30235 * po/de.po: Update from translation team.
30236
ccc8cadf
JM
302372013-03-30 Joseph Myers <joseph@codesourcery.com>
30238
30239 [BZ #10357]
30240 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30241 imaginary part less than 1.0 and real part less than 0.5
30242 specially.
30243 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30244 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30245 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30246 (cacos_test): Add more tests.
30247 (casin_test): Likewise.
30248 (casinh_test): Likewise.
30249 * sysdeps/i386/fpu/libm-test-ulps: Update.
30250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30251
0f6a8d4b
SP
302522013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30253
0d1029de
SP
30254 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30255 ONE with its value.
30256
c2d94018
SP
30257 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30258 (__pow_mp): Replace ONE and MONE with their values.
30259 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30261 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30262 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30263 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30264 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30265
27ec37f1
SP
30266 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30267
a64d7e0e
SP
30268 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30269 (__pow_mp): Replace ZERO and MZERO with their values.
30270 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30271 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30272 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30273 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30274 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30275 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30276 (__sqr): Likewise.
30277
d26dd3eb
SP
30278 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30279
0f6a8d4b
SP
30280 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30281
e57b0c61
RM
302822013-03-28 Roland McGrath <roland@hack.frob.com>
30283
30284 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30285 Declare with __attribute__ ((weak)).
30286 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30287 Call __call_tls_dtors only if it's not NULL.
30288
356b3480
RM
302892013-03-28 Roland McGrath <roland@hack.frob.com>
30290
288f7d79
RM
30291 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30292 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30293 magic __ehdr_start linker symbol if it's defined.
30294 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30295 them up here if it was already done.
30296
dc0a0263
RM
30297 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30298 (_dl_aux_init): Use const in cast when setting it.
30299 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30300 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30301 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30302
3d3436ae
RM
30303 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30304 Declare them here.
30305 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30306 * csu/libc-tls.c: Nor here.
30307 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30308
356b3480
RM
30309 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30310 (__libc_message): Never call vsyslog.
30311
b0f1246a
AM
303122013-03-28 Alan Modra <amodra@gmail.com>
30313
30314 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30315 Define as empty.
30316 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30317 Likewise.
30318
fbbe2b9a
AZ
303192013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30320
30321 [BZ #15214]
30322 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30323 underflow.
30324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30325
1728ab37
SP
303262013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30327
7a86be6e
SP
30328 [BZ #15304]
30329 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30330 Don't add gid passed as argument.
30331
1728ab37
SP
30332 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30333
3a7182a1
JM
303342013-03-27 Joseph Myers <joseph@codesourcery.com>
30335
30336 [BZ #15307]
30337 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30338 imaginary part between 1.0 and 1.5 and real part less than 0.5
30339 specially.
30340 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30341 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30342 * math/libm-test.inc (cacos_test): Add more tests.
30343 (casin_test): Likewise.
30344 (casinh_test): Likewise.
30345 * sysdeps/i386/fpu/libm-test-ulps: Update.
30346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30347
6f2e90e7
SP
303482013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30349
5739f705
SP
30350 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30351 constants.
30352 (norm): Likewise.
30353 (denorm): Likewise.
30354 (__dbl_mp): Likewise.
30355 (add_magnitudes): Likewise.
30356 (sub_magnitudes): Likewise.
30357 (__add): Likewise.
30358 (__sub): Likewise.
30359 (__mul): Likewise.
30360 (__sqr): Likewise.
30361 (__inv): Likewise.
30362 (__dvd): Likewise.
30363
e375e83d
SP
30364 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30365 commented code.
30366 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30367 (__dubcos): Likewise.
30368 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30369 (__ieee754_acos): Likewise.
30370 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30371 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30372 (__exp1): Likewise.
30373 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30374 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30375 (log1): Likewise.
30376 (my_log2): Likewise.
30377 (checkint): Likewise.
30378 * sysdeps/ieee754/dbl-64/e_remainder.c
30379 (__ieee754_remainder): Likewise.
30380 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30381 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30382 (bsloww): Likewise.
30383 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30384
6f2e90e7
SP
30385 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30386 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30387 MANTISSA_STORE_T to store computations on mantissa. Use
30388 macros for rounding and division.
30389 (denorm): Likewise.
30390 (__dbl_mp): Likewise.
30391 (add_magnitudes): Likewise.
30392 (sub_magnitudes): Likewise.
30393 (__mul): Likewise.
30394 (__sqr): Likewise.
30395 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30396 powers of two in terms of TWOPOW macro.
30397 (mp_no): Make type of mantissa as MANTISSA_T.
30398 [!RADIXI]: Define RADIXI.
30399 [!TWO52]: Define TWO52.
30400 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30401
fce14d4e
AZ
304022013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30403
30404 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30405 llroundl symbol when building for PPC32.
30406
9ad027fb
MW
304072013-03-24 Mark H Weaver <mhw@netris.org>
30408
30409 * manual/arith.texi (Normalization Functions): Fix prototypes for
30410 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30411
e42a38dd
AZ
304122013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30413
30414 [BZ #13889]
30415 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30416 high value to check if expl overflow.
30417 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30418 to check for underflow and overflow.
30419 * math/libm-test.inc: Add exp test.
30420
2e0fb521
DL
304212013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30422
30423 [BZ #11120]
30424 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30425 with NOT_IN_libc.
30426
b5784d95
AZ
304272013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30428
30429 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30430 symbol.
30431
5aa4a1a1
TS
304322013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30433
bdef0be7
TS
30434 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30435 wrap blocks consisting of several statements.
30436
5aa4a1a1
TS
30437 * sysdeps/generic/math-tests.h: New file.
30438 * sysdeps/i386/fpu/math-tests.h: Likewise.
30439 * math/test-snan.c: Include it.
30440 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30441
98c48fe5
JM
304422013-03-21 Joseph Myers <joseph@codesourcery.com>
30443
30444 [BZ #15285]
30445 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30446 (__ieee754_j0l): Do not improve calculations using cos of twice
30447 input for inputs above LDBL_MAX / 2.0L.
30448 (__ieee754_y0l): Likewise.
30449 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30450 (__ieee754_j1l): Do not improve calculations using cos of twice
30451 input for inputs above LDBL_MAX / 2.0L.
30452 (__ieee754_y1l): Likewise.
30453 * math/libm-test.inc (j0_test): Add another test.
30454 (j1_test): Likewise.
30455 (y0_test): Likewise.
30456 (y1_test): Likewise.
30457 * sysdeps/i386/fpu/libm-test-ulps: Update.
30458
3775a8bc
SP
304592013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30460
30461 * Rules ($(objpfx)bench-%.c): Include code from a C source
30462 file.
30463
0a1b2ae6
JM
304642013-03-21 Joseph Myers <joseph@codesourcery.com>
30465
30466 [BZ #15287]
30467 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30468 imaginary part 1.0 and real part less than 0.5 specially.
30469 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30470 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30471 * math/libm-test.inc (cacos_test): Add more tests.
30472 (casin_test): Likewise.
30473 (casinh_test): Likewise.
30474 * sysdeps/i386/fpu/libm-test-ulps: Update.
30475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30476
b33d4ce4
SP
304772013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30478
30479 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30480 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30481
bef0b507
JM
304822013-03-20 Joseph Myers <joseph@codesourcery.com>
30483
30484 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30485 * config.make.in (config-cflags-sse4): Remove variable.
30486 (config-cflags-avx): Likewise.
30487 (config-cflags-sse2avx): Likewise.
30488 (config-cflags-novzeroupper): Likewise.
30489 (config-asflags-i686): Likewise.
30490 (have-mfma4): Likewise.
30491 (have-as-vis3): Likewise.
30492 (MIG): Likewise.
30493 * configure.in (MIG): Do not AC_SUBST.
30494 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30495 (libc_cv_cc_sse4): Do not AC_SUBST.
30496 (libc_cv_cc_avx): Likewise.
30497 (libc_cv_cc_sse2avx): Likewise.
30498 (libc_cv_cc_novzeroupper): Likewise.
30499 (libc_cv_cc_fma4): Likewise.
30500 (libc_cv_as_i686): Likewise.
30501 (libc_cv_sparc_as_vis3): Likewise.
30502 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30503 LIBC_CONFIG_VAR.
30504 (config-asflags-i686): Likewise.
30505 (config-cflags-avx): Likewise.
30506 (config-cflags-sse2avx): Likewise.
30507 (have-mfma4): Likewise.
30508 (config-cflags-novzeroupper): Likewise.
30509 * sysdeps/mach/configure.in (MIG): Likewise.
30510 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30511 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30512 LIBC_CONFIG_VAR.
30513 (config-cflags-avx): Likewise.
30514 (config-cflags-sse2avx): Likewise.
30515 (have-mfma4): Likewise.
30516 (config-cflags-novzeroupper): Likewise.
30517 * configure: Regenerated.
30518 * sysdeps/i386/configure: Likewise.
30519 * sysdeps/mach/configure: Likewise.
30520 * sysdeps/sparc/configure: Likewise.
30521 * sysdeps/x86_64/configure: Likewise.
30522
912cc4b3
RM
305232013-03-20 Roland McGrath <roland@hack.frob.com>
30524
30525 [BZ #14812]
30526 * locale/programs/localedef.c (options): Put N_ translation marker
30527 on argument names, not just descriptions.
30528
04eed2b0
MS
305292013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30530
30531 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30532
a065ceff
OB
305332013-03-20 Ondřej Bílka <neleai@seznam.cz>
30534
9bb2a810 30535 [BZ #14176]
a065ceff
OB
30536 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30537
a600e5ce
RM
305382013-03-19 Roland McGrath <roland@hack.frob.com>
30539
30540 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30541 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30542 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30543 [!BEFORE_ABORT] (before_abort): New function.
30544 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30545 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30546 (writev_for_fatal): New function.
30547 (WRITEV_FOR_FATAL): New macro; call that.
30548 (backtrace_and_maps): New function.
30549 (BEFORE_ABORT): New macro; call that.
30550 (struct str_list): Type removed.
30551 (__libc_message, __libc_fatal): Functions removed.
30552 Include <sysdeps/posix/libc_fatal.c> instead.
30553
6b18bea6
JM
305542013-03-19 Joseph Myers <joseph@codesourcery.com>
30555
30556 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30557 constants.
30558 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30559 double constants.
30560
aaa8cb4b
AS
305612013-03-19 Andreas Schwab <schwab@suse.de>
30562
44673770
AS
30563 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30564 * sysdeps/gnu/configure: Regenerate.
30565
aaa8cb4b
AS
30566 * configure.in: Substitute libc_cv_rtlddir.
30567 * configure: Regenerate.
30568 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30569 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30570 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30571 * elf/Makefile (install-others, CFLAGS-interp.c)
30572 (ldso_install, common-ldd-rewrite): Likewise.
30573 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30574 $(inst_slibdir)/$(rtld-installed-name).
30575 * scripts/rellns-sh: Add -p option.
30576 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30577 for source.
30578
d3cfc668
SP
305792013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30580
30581 * manual/nptl.texi: Renamed to ...
30582 * manual/threads.texi: ... this.
30583 * manual/Makefile (chapters): Update.
30584
0e2b9cdd
RM
305852013-03-18 Roland McGrath <roland@hack.frob.com>
30586
30587 [BZ #14812]
30588 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30589 on argument names, not just descriptions.
0e2b9cdd
RM
30590 * malloc/memusagestat.c (options): Likewise.
30591 * nss/getent.c (options): Likewise.
63270c24
RM
30592
305932013-03-18 Benno Schulenberg <bensberg@justemail.net>
30594
30595 [BZ #14812]
30596 * iconv/iconv_prog.c (options): Put N_ translation marker
30597 on argument names, not just descriptions.
30598 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30599
b2e1393c
OB
306002013-03-18 Ondrej Bilka <neleai@seznam.cz>
30601
30602 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30603 implementation which is faster on all x86_64 architectures.
30604 Tested on AMD, Intel Nehalem, SNB, IVB.
30605 * sysdeps/x86_64/strnlen.S: Likewise.
30606
30607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30608 Remove all multiarch strlen and strnlen versions.
30609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30610 Remove strlen and strnlen related parts.
30611
30612 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30613 Inline strlen part.
30614 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30615
30616 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30617 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30618 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30619 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30620 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30621 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30622
ec4ff04d
CD
306232013-03-17 Carlos O'Donell <carlos@redhat.com>
30624
30625 * manual/memory.texi (Malloc Tunable Parameters):
30626 Sort parameters alphabetically. Add comments for missing entries.
30627
cd18e90a
DM
306282013-03-17 David S. Miller <davem@davemloft.net>
30629
30630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30631
2a185d32
JM
306322013-03-16 Joseph Myers <joseph@codesourcery.com>
30633
d2f9799e
JM
30634 [BZ #15283]
30635 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30636 for arguments at most half maximum finite value.
30637 * math/libm-test.inc (j0_test): Add more tests.
30638 (j1_test): Likewise.
30639 (y0_test): Likewise.
30640 (y1_test): Likewise.
30641 * sysdeps/i386/fpu/libm-test-ulps: Update.
30642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30643
2a185d32
JM
30644 [BZ #14155]
30645 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30646 1 / x and functions P and Q for arguments above 0x1p256L.
30647 (__ieee754_y0l): Likewise.
30648 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30649 (__ieee754_y1l): Likewise.
30650 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30651 (j1_test): Likewise.
30652 (y0_test): Likewise.
30653 (y1_test): Likewise.
30654
6cbec759
TS
306552013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30656
30657 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30658 variable.
30659
bc16e260
RM
306602013-03-15 Roland McGrath <roland@hack.frob.com>
30661
aefc9b8c
RM
30662 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30663 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30664 zero since it's initialized to EXEC_PAGESIZE.
30665
bc16e260
RM
30666 * sysdeps/unix/sysv/linux/ldsodefs.h
30667 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30668 * sysdeps/generic/ldsodefs.h: ... here.
30669
a57da955
TS
306702013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30671
af00a34d
TS
30672 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30673
495ded2c
TS
30674 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30675 math/test-snan.c.
30676 * math/test-snan.c: Renamed from
30677 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30678 * math/Makefile (tests): Add test-snan.
30679 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30680 test-powerpc-snan.
30681
777b0332
TS
30682 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30683 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30684 functions.
30685 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30686 __builtin_nan family of functions.
30687 * math/libm-test.inc (initialize): Initialize qnan_value with
30688 __builtin_nan family of functions.
30689 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30690 Remove variables.
30691 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30692 Remove functions.
30693 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30694 storage class. Initialize qNaN_var and sNaN_var with
30695 __builtin_nan and __builtin_nans families of functions,
30696 respectively.
30697
64d063b8
TS
30698 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30699 (sqrt_test): Remove duplicate test with qNaN input.
30700 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30701 (round_test, signbit_test, significand_test): Note missing +/-Inf
30702 as well as qNaN tests.
30703
67e971f1
TS
30704 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30705 qNaN_var. Fix a few strings, too.
30706 * math/libm-test.inc (nan_value): Rename to qnan_value.
30707 * math/gen-libm-test.pl (%beautify): Adjust to that.
30708 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30709 * math/test-misc.c (main): Likewise.
30710 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30711 to __qnan_bytes, and __qnan_union, respectively.
30712 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30713 Likewise.
30714 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30715 and lqnanval, respectively.
30716 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30717 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30718 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30719 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30720
64487e12
TS
30721 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30722 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30723 doubles.
30724
e015e27b
TS
30725 * math/test-misc.c (main): Fix copy'n'pastos.
30726 * misc/tst-efgcvt.c (special): Likewise.
30727
a57da955
TS
30728 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30729 Remove declarations.
30730
1e380345
SP
307312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30732
30733 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30734 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30735 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30736 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30737
ef26eece
AZ
307382013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30739
30740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30741 macro to return vdso values correctly in IFUNC implementations.
30742 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30743 Optimization by using IFUNC.
30744
8cfdb7e0
SP
307452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30746 Richard Henderson <rth@redhat.com>
30747 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30748
30749 * Makefile.in (bench): New target.
30750 * NEWS: Mention the benchmark framework.
30751 * Rules (bench): Likewise.
30752 (binaries-bench): Generate binaries for functions to
30753 benchmark.
30754 * benchtests/Makefile: New makefile for benchmark tests.
30755 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30756 programs.
30757 * benchtests/exp-inputs: New input file for EXP function.
30758 * benchtests/pow-inputs: New input file for POW function.
30759 * scripts/bench.pl: New script to generate source files for
30760 benchmark programs.
30761
bcda9880
SP
307622013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30763
d22ca8cd
SP
30764 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30765 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30766 computations on mantissa. Use macros for rounding and
30767 division.
30768 (denorm): Likewise.
30769 (__dbl_mp): Likewise.
30770 (add_magnitudes): Likewise.
30771 (sub_magnitudes): Likewise.
30772 (__mul): Likewise.
30773 (__sqr): Likewise.
30774 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30775 powers of two in terms of TWOPOW macro.
30776 (mp_no): Make type of mantissa as MANTISSA_T.
30777 [!RADIXI]: Define RADIXI.
30778 [!TWO52]: Define TWO52.
30779 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30780
bcda9880
SP
30781 * manual/nptl.texi (cindex): Modify threads to pthreads.
30782
06d5adfb
JM
307832013-03-15 Joseph Myers <joseph@codesourcery.com>
30784
30785 * sysdeps/x86_64/preconfigure: Regenerated.
30786
41c7328e
JM
307872013-03-14 Joseph Myers <joseph@codesourcery.com>
30788
30789 [BZ #14155]
30790 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30791 0x1p28 and above.
30792 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30793 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30794 0x1p28 and above.
30795 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30796 * math/libm-test.inc (j0_test): Do not allow one spurious
30797 underflow exception.
30798 (y1_test): Likewise.
30799
e25cfa60
SP
308002013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30801
0409959c
SP
30802 * manual/Makefile (chapters): Add nptl.
30803 * manual/debug.texi (Debugging Support): Add link to Threads
30804 chapter.
30805 * manual/nptl.texi: New file.
30806
e25cfa60
SP
30807 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30808
58a1335e
PB
308092013-03-14 Petr Baudis <pasky@ucw.cz>
30810
30811 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30812 for non-NULL pointer before the memory validity test. Pointed
30813 out by Holger Brunck <holger.brunck@keymile.com>.
30814
9dc7c64f
AS
308152013-03-13 Andreas Schwab <schwab@suse.de>
30816
30817 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30818 instead of .os.
30819
54206aa6
JM
308202013-03-13 Joseph Myers <joseph@codesourcery.com>
30821
30822 * timezone/zic.c: Update from tzcode 2013b.
30823
e98cdb38
CD
308242013-03-12 Carlos O'Donell <carlos@redhat.com>
30825
30826 * manual/install.texi (Configuring and compiling):
30827 Mention i686 and i586.
30828 * INSTALL: Regenerate.
30829
9967e003
RM
308302013-03-12 Roland McGrath <roland@hack.frob.com>
30831
30832 * sysdeps/init_array/elf-init.c: New file.
30833 * csu/elf-init.c
30834 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30835 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30836
30837 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30838 __gmon_start__ as global, but as static with a .preinit_array pointer.
30839 * sysdeps/init_array/gmon-start.c: New file. Use that.
30840 * sysdeps/init_array/crti.S: New file, empty except for comments.
30841 * sysdeps/init_array/crtn.S: Likewise.
30842
e6b5a293 308432013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30844
30845 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30846 definining bcopy.
80f844c9
OB
30847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30848 Remove Prefer_SSE_for_memop.
30849 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30850 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30851 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30853 memset-x86-64.
80f844c9 30854 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30855 Remove bzero, memset ifunc support.
80f844c9
OB
30856 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30857 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30858 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30859 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30860
fb6b0fcb
AS
308612013-03-11 Andreas Schwab <schwab@suse.de>
30862
30863 [BZ #15234]
30864 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30865 by SHLIB_COMPAT.
30866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30867 (GLIBC_2.16): Remove pthread_atfork.
30868
3e6bd4b1
PP
308692013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30870
30871 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30872 (ptestcases.h): Likewise.
30873
222d7f00
RM
308742013-03-08 Roland McGrath <roland@hack.frob.com>
30875
30876 * Makeconfig ($(common-objpfx)config.status): Depend on
30877 sysdeps/*/preconfigure{,.in} too.
30878
1ba4f030
JM
308792013-03-08 Joseph Myers <joseph@codesourcery.com>
30880
a222d91a
JM
30881 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30882 (__free_hook): Use void * instead of __malloc_ptr_t.
30883 (__malloc_hook): Likewise.
30884 (__realloc_hook): Likewise.
30885 (__memalign_hook): Likewise.
30886 (__after_morecore_hook): Likewise.
30887 * malloc/arena.c (save_malloc_hook): Likewise.
30888 (save_free_hook): Likewise.
30889 * malloc/hooks.c (malloc_hook_ini): Likewise.
30890 (realloc_hook_ini): Likewise.
30891 (memalign_hook_ini): Likewise.
30892 * malloc/malloc.c (malloc_hook_ini): Likewise.
30893 (realloc_hook_ini): Likewise.
30894 (memalign_hook_ini): Likewise.
30895 (__free_hook): Likewise.
30896 (__malloc_hook): Likewise.
30897 (__realloc_hook): Likewise.
30898 (__memalign_hook): Likewise.
30899 (__libc_malloc): Likewise.
30900 (__libc_free): Likewise.
30901 (__libc_realloc): Likewise.
30902 (__libc_memalign): Likewise.
30903 (__libc_valloc): Likewise.
30904 (__libc_pvalloc): Likewise.
30905 (__libc_calloc): Likewise.
30906 (__posix_memalign): Likewise.
30907 * malloc/morecore.c (__sbrk): Likewise.
30908 (__default_morecore): Likewise.
30909
5cc45e10
JM
30910 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30911
dd54b864
JM
30912 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30913 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30914 __malloc_ptrdiff_t.
30915
1ba4f030
JM
30916 * malloc/malloc.h (__malloc_size_t): Remove macro.
30917 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30918 __malloc_size_t.
30919 (old_memalign_hook): Likewise.
30920 (old_realloc_hook): Likewise.
30921 (struct hdr): Likewise.
30922 (flood): Likewise.
30923 (mallochook): Likewise.
30924 (memalignhook): Likewise.
30925 (reallochook): Likewise.
30926 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30927 (tr_old_realloc_hook): Likewise.
30928 (tr_old_memalign_hook): Likewise.
30929 (tr_mallochook): Likewise.
30930 (tr_reallochook): Likewise.
30931 (tr_memalignhook): Likewise.
30932
edf66e57
AZ
309332013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30934
30935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30936 default_ldbl_pack and using as default implementation.
30937 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30938 implementation.
30939 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30940 redundant definition.
30941 (ldbl_insert_mantissa): Likewise.
30942 (ldbl_canonicalize): Likewise.
30943 (ldbl_nearbyint): Likewise.
30944 (ldbl_pack): Rename to ldbl_pack_ppc.
30945 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30946 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30947 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30948
6d9145d8
SP
309492013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30950
30951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30952 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30953 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30954 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30956 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30957 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30958 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30959
4dd4e157
AJ
309602013-03-07 Andreas Jaeger <aj@suse.de>
30961
30962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30963 bits/mman-linux.h.
30964
adbb8027
SP
309652013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30966
ce544b5b
SP
30967 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30968 Include mpa.h and declare __MPEXP.
30969 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30970 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30971 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30972 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30973 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30974 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30975 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30976
4cc149fd
SP
30977 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30978 (__slowpow): Use long double EXPL and LOGL functions to
30979 compute POW.
30980 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30981 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30982 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30983 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30984 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30985 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30986
e6ebd4a7
SP
30987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30988 intermediate variable to calculate exponent.
30989 (__sqr): Likewise.
30990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30991 Likewise.
30992 (__sqr): Likewise.
30993
82a9811d
SP
30994 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30995 [!NO__SQR]: Define __sqr.
30996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30997 and NO__SQR. Remove all code except __mul and __sqr. Include
30998 sysdeps/ieee754/dbl-64/mpa.c.
30999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31000
adbb8027
SP
31001 [BZ #12723]
31002 * posix/Makefile (tests): Add tst-pathconf.
31003 * posix/tst-pathconf.c: New test case.
31004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31005 _PC_PIPE_BUF.
31006 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31007
39120df9
PF
310082013-03-06 Patsy Franklin <pfrankli@redhat.com>
31009
31010 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31011
67525cb8
AJ
310122013-03-06 Andreas Jaeger <aj@suse.de>
31013
664a9ce4
AJ
31014 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31015 definition via __MAP_ANONYMOUS.
31016
8e39047d
AJ
31017 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31018 it's not part of Linux headers.
31019
67525cb8
AJ
31020 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31021 (MAP_HUGE_MASK): Define.
31022
31023 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31024 Define.
31025 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31026 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31027 Define.
31028 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31029 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31030 Define.
31031 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31033 Define.
31034 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31035
31036 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31037 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31038 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31039 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31040 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31041 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31042
31043 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31044 Handle f2fs.
31045
31046 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31047 Handle f2fs and efivarfs.
31048
31049 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31050 f2fs.
31051
31052 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31053 (EFIVARFS_MAGIC): Add.
31054 (F2FS_LINK_MAX): Add.
31055
e1b42695
PP
310562013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31057
31058 * stdio-common/vfprintf.c: Replace __builtin_expect with
31059 __glibc_unlikely.
31060
2d67d91a
JM
310612013-03-06 Joseph Myers <joseph@codesourcery.com>
31062
31063 [BZ #13550]
31064 * sysdeps/generic/bp-sym.h: Remove file.
31065 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31066 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31067 <bp-sym.h> and <bp-asm.h>.
31068 (__longjmp): Don't use BP_SYM.
31069 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31070 and <bp-asm.h>.
31071 (memcpy): Don't use BP_SYM.
31072 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31073 <bp-sym.h> and <bp-asm.h>.
31074 (memcpy): Don't use BP_SYM.
31075 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31076 <bp-asm.h>.
31077 (memcpy): Don't use BP_SYM.
31078 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31079 <bp-asm.h>.
31080 (memset): Don't use BP_SYM.
31081 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31082 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31083 (__bzero): Don't use BP_SYM.
31084 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31085 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31086 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31087 <bp-sym.h> and <bp-asm.h>.
31088 (memcmp): Don't use BP_SYM. Remove comment about bounded
31089 pointers.
31090 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31091 <bp-sym.h> and <bp-asm.h>.
31092 (memcpy): Don't use BP_SYM.
31093 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31094 <bp-sym.h> and <bp-asm.h>.
31095 (memset): Don't use BP_SYM.
31096 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31097 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31098 (__bzero): Don't use BP_SYM.
31099 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31100 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31101 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31102 <bp-sym.h> and <bp-asm.h>.
31103 (strncmp): Don't use BP_SYM. Remove comment about bounded
31104 pointers.
31105 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31106 <bp-sym.h> and <bp-asm.h>.
31107 (memcpy): Don't use BP_SYM.
31108 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31109 <bp-sym.h> and <bp-asm.h>.
31110 (memset): Don't use BP_SYM.
31111 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31112 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31113 (__bzero): Don't use BP_SYM.
31114 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31115 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31116 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31117 <bp-sym.h> and <bp-asm.h>.
31118 (__memchr): Don't use BP_SYM.
31119 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31120 <bp-sym.h> and <bp-asm.h>.
31121 (memcmp): Don't use BP_SYM. Remove comment about bounded
31122 pointers.
31123 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31124 <bp-sym.h> and <bp-asm.h>.
31125 (memcpy): Don't use BP_SYM.
31126 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31127 <bp-sym.h> and <bp-asm.h>.
31128 (__mempcpy): Don't use BP_SYM.
31129 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31130 <bp-sym.h> and <bp-asm.h>.
31131 (__memrchr): Don't use BP_SYM.
31132 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31133 <bp-sym.h> and <bp-asm.h>.
31134 (memset): Don't use BP_SYM.
31135 (__bzero): Likewise.
31136 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31137 <bp-sym.h> and <bp-asm.h>.
31138 (__rawmemchr): Don't use BP_SYM.
31139 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31140 <bp-sym.h> and <bp-asm.h>.
31141 (__STRCMP): Don't use BP_SYM.
31142 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31143 <bp-sym.h> and <bp-asm.h>.
31144 (strchr): Don't use BP_SYM.
31145 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31146 <bp-sym.h> and <bp-asm.h>.
31147 (__strchrnul): Don't use BP_SYM.
31148 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31149 <bp-sym.h> and <bp-asm.h>.
31150 (strlen): Don't use BP_SYM.
31151 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31152 <bp-sym.h> and <bp-asm.h>.
31153 (strncmp): Don't use BP_SYM. Remove comment about bounded
31154 pointers.
31155 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31156 <bp-sym.h> and <bp-asm.h>.
31157 (__strnlen): Don't use BP_SYM.
31158 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31159 <bp-sym.h> and <bp-asm.h>.
31160 (__GI__setjmp): Don't use BP_SYM.
31161 (_setjmp): Likewise.
31162 (__sigsetjmp): Likewise.
31163 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31164 (L(start_addresses)): Don't use BP_SYM.
31165 (_start): Likewise.
31166 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31167 <bp-asm.h>.
31168 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31169 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31170 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31171 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31172 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31173 <bp-asm.h>.
31174 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31175 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31176 about bounded pointers.
31177 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31178 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31179 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31180 <bp-asm.h>.
31181 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31182 about bounded pointers. Remove GKM FIXME comments.
31183 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31184 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31185 <bp-asm.h>.
31186 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31187 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31188 Remove GKM FIXME comments.
31189 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31190 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31191 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31192 <bp-asm.h>.
31193 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31194 about bounded pointers. Remove GKM FIXME comment.
31195 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31196 and <bp-asm.h>.
31197 (strncmp): Don't use BP_SYM. Remove comment about bounded
31198 pointers.
31199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31200 <bp-sym.h> and <bp-asm.h>.
31201 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31203 <bp-sym.h> and <bp-asm.h>.
31204 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31205 comment.
31206
cdcf361f
PP
312072013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31208
31209 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31210 call free(NULL).
31211
3c4a2b15
DM
312122013-03-05 David S. Miller <davem@davemloft.net>
31213
31214 * po/es.po: Update from translation team.
31215
cdcf361f 312162013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31217
31218 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31219 <bits/mman-linux.h>.
31220 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31221 is fine.
31222 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31223 <bits/mman-linux.h> to end of file.
31224 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31225 is fine.
31226 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31227 <bits/mman-linux.h> to end of file.
31228 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31229 is fine.
31230 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31231 <bits/mman-linux.h> to end of file.
31232
31233 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31234 (MCL_CURRENT, MCL_FUTURE): Define here.
31235
5f67c04f
AK
312362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31237
8a4473cc 31238 [BZ #15232]
5f67c04f
AK
31239 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31240 attribute_hidden.
31241 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31242
c3e94a95
AK
312432013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31244
31245 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31246 fourth parameter needed for rt_sigprocmask syscall.
31247 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31248 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31249 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31250 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31251 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31252 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31253
cfb6382a
JM
312542013-03-04 Joseph Myers <joseph@codesourcery.com>
31255
31256 [BZ #13550]
31257 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31258 comment about bounded pointers.
31259 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31260 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31261
539d8e01
AJ
312622013-03-04 Andreas Jaeger <aj@suse.de>
31263
31264 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31265 common definitions.
31266
31267 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31268 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31269 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31270 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31271 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31272 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31273
2e167a70 312742013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31275
31276 [BZ #15055]
31277 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31278 __ieee754_sqrl instead of __sqrl.
31279
68508633
JM
312802013-03-01 Joseph Myers <joseph@codesourcery.com>
31281
31282 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31283 * sysdeps/powerpc/fpu_control.h: ... here.
31284 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31285 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31286 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31287 * sysdeps/powerpc/bits/mathinline.h: ... here.
31288
7775448e
RM
312892013-03-01 Roland McGrath <roland@hack.frob.com>
31290
31291 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31292 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31293 to just [NEED_DL_SYSINFO_DSO].
31294 * elf/dl-support.c: Likewise.
31295 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31296 * elf/rtld.c (dl_main): Likewise.
31297 * elf/setup-vdso.h (setup_vdso): Likewise.
31298 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31299 * sysdeps/unix/sysv/linux/dl-sysdep.c
31300 (_dl_discover_osversion): Likewise.
31301
4e9b5995
CD
313022013-03-01 Carlos O'Donell <carlos@redhat.com>
31303
31304 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31305 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31306
e23872c8
SP
313072013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31308
e5c74c63
SP
31309 * NEWS: Mention libm performance improvements and non-x86 PI
31310 futex support.
31311
e23872c8
SP
31312 * csu/libc-start.c (__pthread_initialize_minimal): Change
31313 function arguments.
31314 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31315
b5510883
JM
313162013-02-28 Joseph Myers <joseph@codesourcery.com>
31317
31318 [BZ #13550]
31319 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31320 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31321 <bp-sym.h> and <bp-asm.h>.
31322 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31323 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31324 and <bp-asm.h>.
31325 (memcpy): Don't use BP_SYM.
31326 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31327 <bp-asm.h>.
31328 (__mpn_add_n): Don't use BP_SYM.
31329 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31330 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31331 and <bp-asm.h>.
31332 (__mpn_addmul_1): Don't use BP_SYM.
31333 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31334 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31335 <bp-sym.h>.
31336 (_setjmp): Don't use BP_SYM.
31337 (__novmx_setjmp): Likewise.
31338 (__GI__setjmp): Likewise.
31339 (__vmx_setjmp): Likewise.
31340 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31341 <bp-sym.h>.
31342 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31343 (__bzero): Don't use BP_SYM.
31344 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31345 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31346 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31347 <bp-sym.h> and <bp-asm.h>.
31348 (memcpy): Don't use BP_SYM.
31349 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31350 <bp-sym.h> and <bp-asm.h>.
31351 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31352 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31353 <bp-sym.h> and <bp-asm.h>.
31354 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31355 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31356 <bp-asm.h>.
31357 (__mpn_lshift): Don't use BP_SYM.
31358 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31359 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31360 <bp-asm.h>.
31361 (memset): Don't use BP_SYM.
31362 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31363 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31364 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31365 <bp-asm.h>.
31366 (__mpn_mul_1): Don't use BP_SYM.
31367 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31368 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31369 <bp-sym.h> and <bp-asm.h>.
31370 (memcmp): Don't use BP_SYM.
31371 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31372 <bp-sym.h> and <bp-asm.h>.
31373 (memcpy): Don't use BP_SYM.
31374 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31375 <bp-sym.h> and <bp-asm.h>.
31376 (memset): Don't use BP_SYM.
31377 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31378 <bp-sym.h> and <bp-asm.h>.
31379 (strncmp): Don't use BP_SYM.
31380 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31381 <bp-sym.h> and <bp-asm.h>.
31382 (memcpy): Don't use BP_SYM.
31383 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31384 <bp-sym.h> and <bp-asm.h>.
31385 (memset): Don't use BP_SYM.
31386 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31387 <bp-sym.h> and <bp-asm.h>.
31388 (__memchr): Don't use BP_SYM.
31389 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31390 <bp-sym.h> and <bp-asm.h>.
31391 (memcmp): Don't use BP_SYM.
31392 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31393 <bp-sym.h> and <bp-asm.h>.
31394 (memcpy): Don't use BP_SYM.
31395 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31396 <bp-sym.h> and <bp-asm.h>.
31397 (__mempcpy): Don't use BP_SYM.
31398 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31399 <bp-sym.h> and <bp-asm.h>.
31400 (__memrchr): Don't use BP_SYM.
31401 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31402 <bp-sym.h> and <bp-asm.h>.
31403 (memset): Don't use BP_SYM.
31404 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31405 <bp-sym.h> and <bp-asm.h>.
31406 (__rawmemchr): Don't use BP_SYM.
31407 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31408 <bp-sym.h> and <bp-asm.h>.
31409 (__STRCMP): Don't use BP_SYM.
31410 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31411 <bp-sym.h> and <bp-asm.h>.
31412 (strchr): Don't use BP_SYM.
31413 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31414 <bp-sym.h> and <bp-asm.h>.
31415 (__strchrnul): Don't use BP_SYM.
31416 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31417 <bp-sym.h> and <bp-asm.h>.
31418 (strlen): Don't use BP_SYM.
31419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31420 <bp-sym.h> and <bp-asm.h>.
31421 (strncmp): Don't use BP_SYM.
31422 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31423 <bp-sym.h> and <bp-asm.h>.
31424 (__strnlen): Don't use BP_SYM.
31425 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31426 <bp-asm.h>.
31427 (__mpn_rshift): Don't use BP_SYM.
31428 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31429 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31430 <bp-sym.h> and <bp-asm.h>.
31431 (__sigsetjmp): Don't use BP_SYM.
31432 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31433 (L(start_addresses)): Don't use BP_SYM.
31434 (_start): Likewise.
31435 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31436 <bp-asm.h>.
31437 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31438 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31439 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31440 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31441 <bp-asm.h>.
31442 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31443 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31444 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31445 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31446 <bp-asm.h>.
31447 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31448 comments.
31449 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31450 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31451 <bp-asm.h>.
31452 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31453 FIXME comments.
31454 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31455 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31456 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31457 <bp-asm.h>.
31458 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31459 comment.
31460 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31461 and <bp-asm.h>.
31462 (strncmp): Don't use BP_SYM,
31463 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31464 <bp-asm.h>.
31465 (__mpn_sub_n): Don't use BP_SYM.
31466 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31467 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31468 and <bp-asm.h>.
31469 (__mpn_submul_1): Don't use BP_SYM.
31470 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31472 <bp-sym.h> and <bp-asm.h>.
31473 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31475 <bp-sym.h> and <bp-asm.h>.
31476 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31477 comment.
31478
8d19fe64
SP
314792013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31480
31481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31482 Use ZK to minimize writes to Z.
31483 (sub_magnitudes): Simplify code a bit.
31484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31485 Use ZK to minimize writes to Z.
31486 (sub_magnitudes): Simplify code a bit.
31487
85bd816a
RM
314882013-02-27 Roland McGrath <roland@hack.frob.com>
31489
31490 * csu/gmon-start.c: Add special exception to license text.
31491
b5977bf2
RH
314922013-02-27 Richard Henderson <rth@redhat.com>
31493
31494 * scripts/config.guess: Update from config.git.
31495 * scripts/config.sub: Likewise.
31496
11d6e2f2
SP
314972013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31498
09c14ed2
SP
31499 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31500
a688864e
SP
31501 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31502
6295157a
SP
31503 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31504
b8de2202
SP
31505 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31506
11d6e2f2
SP
31507 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31508
7e80ddb8
RM
315092013-02-26 Roland McGrath <roland@hack.frob.com>
31510
31511 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31512 [$(build-shared = yes].
7e80ddb8 31513
7da6d9ed
SP
315142013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31515
45f05884
SP
31516 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31517 (__mul): Reduce iterations for calculating mantissa.
31518
2236d359
SP
31519 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31520 MPTWO.
31521 (__mpranred): Likewise.
31522
7da6d9ed
SP
31523 [BZ #15160]
31524 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31525 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31526
b7688c42
PE
315272013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31528
31529 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31530 Define __attribute__.
31531
53a5c423
SP
315322013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31533
31534 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31535 unused.
31536 * posix/regex_internal.h (__attribute): Remove.
31537 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31538 (re_string_context_at): Likewise.
31539 (bitset_not): Use __attribute__ and mark function as possibly
31540 unused.
31541 (bitset_merge): Likewise.
31542 (bitset_mask): Likewise.
31543 (re_string_char_size_at): Likewise.
31544 (re_string_wchar_at): Likewise.
31545 (re_string_elem_size_at): Likewise.
31546
60f5a8b5
SP
315472013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31548
2a983a2e
SP
31549 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31550 code.
31551 (cc32): Likewise.
31552
e69804d1
SP
31553 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31554 (__acr): Likewise.
31555 (__cpy): Likewise.
31556 (norm): Likewise.
31557 (denorm): Likewise.
31558 (__dbl_mp): Likewise.
31559 (add_magnitudes): Likewise.
31560 (sub_magnitudes): Likewise.
31561 (__mul): Likewise.
31562 (__inv): Likewise.
31563
2f22a1e8
SP
31564 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31565 style.
31566
8930ddc7
SP
31567 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31568 style.
31569
dc60cb11
SP
31570 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31571 code.
31572
60f5a8b5
SP
31573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31574 up changes with default code.
31575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31576 Likewise.
31577
b4d1fd33
AM
315782013-02-24 Allan McRae <allan@archlinux.org>
31579
faf6f8bc
AM
31580 * manual/socket.texi (The Internet Namespace): Order menu items
31581 to match that in the file.
31582
b4d1fd33
AM
31583 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31584 node listing of the info page menu.
31585
2366713d
JM
315862013-02-21 Joseph Myers <joseph@codesourcery.com>
31587
31588 [BZ #13550]
31589 * sysdeps/i386/bp-asm.h: Remove file.
31590 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31591 (PARMS): Do not use macros from bp-asm.h.
31592 (S1): Likewise.
31593 (S2): Likewise.
31594 (SIZE): Likewise.
31595 (__mpn_add_n): Do not use BP_SYM
31596 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31597 "bp-asm.h".
31598 (PARMS): Do not use macros from bp-asm.h.
31599 (S1): Likewise.
31600 (SIZE): Likewise.
31601 (__mpn_addmul_1): Do not use BP_SYM
31602 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31603 "bp-asm.h".
31604 (PARMS): Do not use macros from bp-asm.h.
31605 (SIGMSK): Likewise.
31606 (_setjmp): Likewise. Do not use BP_SYM.
31607 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31608 "bp-asm.h".
31609 (PARMS): Do not use macros from bp-asm.h.
31610 (SIGMSK): Likewise.
31611 (setjmp): Likewise. Do not use BP_SYM.
31612 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31613 "bp-asm.h".
31614 (PARMS): Do not use macros from bp-asm.h.
31615 (__frexp): Do not use BP_SYM.
31616 (frexp): Likewise.
31617 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31618 "bp-asm.h".
31619 (PARMS): Do not use macros from bp-asm.h.
31620 (__frexpf): Do not use BP_SYM.
31621 (frexpf): Likewise.
31622 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31623 "bp-asm.h".
31624 (PARMS): Do not use macros from bp-asm.h.
31625 (__frexpl): Do not use BP_SYM.
31626 (frexpl): Likewise.
31627 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31628 "bp-asm.h".
31629 (PARMS): Do not use macros from bp-asm.h.
31630 (__remquo): Do not use BP_SYM.
31631 (remquo): Likewise.
31632 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31633 "bp-asm.h".
31634 (PARMS): Do not use macros from bp-asm.h.
31635 (__remquof): Do not use BP_SYM.
31636 (remquof): Likewise.
31637 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31638 "bp-asm.h".
31639 (PARMS): Do not use macros from bp-asm.h.
31640 (__remquol): Do not use BP_SYM.
31641 (remquol): Likewise.
31642 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31643 "bp-asm.h".
31644 (PARMS): Do not use macros from bp-asm.h.
31645 (DEST): Likewise.
31646 (SRC): Likewise.
31647 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31648 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31649 "bp-asm.h".
31650 (PARMS): Do not use macros from bp-asm.h.
31651 (strlen): Do not use BP_SYM.
31652 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31653 "bp-asm.h".
31654 (PARMS): Do not use macros from bp-asm.h.
31655 (S1): Likewise.
31656 (S2): Likewise.
31657 (SIZE): Likewise.
31658 (__mpn_add_n): Do not use BP_SYM.
31659 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31660 "bp-asm.h".
31661 (PARMS): Do not use macros from bp-asm.h.
31662 (S1): Likewise.
31663 (SIZE): Likewise.
31664 (__mpn_addmul_1): Do not use BP_SYM.
31665 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31666 weak_alias.
31667 (bzero): Likewise.
31668 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31669 "bp-asm.h".
31670 (PARMS): Do not use macros from bp-asm.h.
31671 (S): Likewise.
31672 (SIZE): Likewise.
31673 (__mpn_lshift): Do not use BP_SYM.
31674 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31675 "bp-asm.h".
31676 (PARMS): Do not use macros from bp-asm.h.
31677 (DEST): Likewise.
31678 (SRC): Likewise.
31679 (LEN): Likewise.
31680 (memcpy): Likewise. Do not use BP_SYM.
31681 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31682 libc_hidden_def and weak_alias.
31683 (mempcpy): Do not use BP_SYM in weak_alias.
31684 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31685 "bp-asm.h".
31686 (PARMS): Do not use macros from bp-asm.h.
31687 (DEST): Likewise.
31688 (LEN): Likewise.
31689 [!BZERO_P] (CHR): Likewise.
31690 (memset): Likewise. Do not use BP_SYM.
31691 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31692 "bp-asm.h".
31693 (PARMS): Do not use macros from bp-asm.h.
31694 (S1): Likewise.
31695 (SIZE): Likewise.
31696 (__mpn_mul_1): Do not use BP_SYM.
31697 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31698 "bp-asm.h".
31699 (PARMS): Do not use macros from bp-asm.h.
31700 (S): Likewise.
31701 (SIZE): Likewise.
31702 (__mpn_rshift): Do not use BP_SYM.
31703 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31704 "bp-asm.h".
31705 (PARMS): Do not use macros from bp-asm.h.
31706 (STR): Likewise.
31707 (CHR): Likewise.
31708 (strchr): Likewise. Do not use BP_SYM.
31709 (index): Do not use BP_SYM in weak_alias.
31710 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31711 "bp-asm.h".
31712 (PARMS): Do not use macros from bp-asm.h.
31713 (DEST): Likewise.
31714 (SRC): Likewise.
31715 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31716 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31717 "bp-asm.h".
31718 (PARMS): Do not use macros from bp-asm.h.
31719 (strlen): Do not use BP_SYM.
31720 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31721 "bp-asm.h".
31722 (PARMS): Do not use macros from bp-asm.h.
31723 (S1): Likewise.
31724 (S2): Likewise.
31725 (SIZE): Likewise.
31726 (__mpn_sub_n): Do not use BP_SYM.
31727 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31728 "bp-asm.h".
31729 (PARMS): Do not use macros from bp-asm.h.
31730 (S1): Likewise.
31731 (SIZE): Likewise.
31732 (__mpn_submul_1): Do not use BP_SYM.
31733 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31734 "bp-asm.h".
31735 (PARMS): Do not use macros from bp-asm.h.
31736 (S1): Likewise.
31737 (S2): Likewise.
31738 (SIZE): Likewise.
31739 (__mpn_add_n): Do not use BP_SYM.
31740 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31741 weak_alias.
31742 (bzero): Likewise.
31743 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31744 "bp-asm.h".
31745 (PARMS): Do not use macros from bp-asm.h.
31746 (BLK2): Likewise.
31747 (LEN): Likewise.
31748 (memcmp): Do not use BP_SYM.
31749 (bcmp): Do not use BP_SYM in weak_alias.
31750 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31751 "bp-asm.h".
31752 (PARMS): Do not use macros from bp-asm.h.
31753 (DEST): Likewise.
31754 (SRC): Likewise.
31755 (LEN): Likewise.
31756 (memcpy): Likewise. Do not use BP_SYM.
31757 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31758 "bp-asm.h".
31759 (PARMS): Do not use macros from bp-asm.h.
31760 (DEST): Likewise.
31761 (SRC): Likewise.
31762 (LEN): Likewise.
31763 (memmove): Likewise. Do not use BP_SYM.
31764 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31765 "bp-asm.h".
31766 (PARMS): Do not use macros from bp-asm.h.
31767 (DEST): Likewise.
31768 (SRC): Likewise.
31769 (LEN): Likewise.
31770 (__mempcpy): Likewise. Do not use BP_SYM.
31771 (mempcpy): Do not use BP_SYM in weak_alias.
31772 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31773 "bp-asm.h".
31774 (PARMS): Do not use macros from bp-asm.h.
31775 (DEST): Likewise.
31776 (LEN): Likewise.
31777 [!BZERO_P] (CHR): Likewise.
31778 (memset): Likewise. Do not use BP_SYM.
31779 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31780 "bp-asm.h".
31781 (PARMS): Do not use macros from bp-asm.h.
31782 (STR2): Likewise.
31783 (strcmp): Do not use BP_SYM.
31784 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31785 "bp-asm.h".
31786 (PARMS): Do not use macros from bp-asm.h.
31787 (STR): Likewise.
31788 (DELIM): Likewise.
31789 [USE_AS_STRTOK_R] (SAVE): Likewise.
31790 (FUNCTION): Likewise. Do not use BP_SYM.
31791 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31792 aliases.
31793 (strtok_r): Likewise.
31794 (__GI___strtok_r): Likewise.
31795 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31796 (PARMS): Do not use macros from bp-asm.h.
31797 (S): Likewise.
31798 (SIZE): Likewise.
31799 (__mpn_lshift): Do not use BP_SYM.
31800 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31801 (PARMS): Do not use macros from bp-asm.h.
31802 (STR): Likewise.
31803 (CHR): Likewise.
31804 (__memchr): Do not use BP_SYM.
31805 (memchr): Do not use BP_SYM in weak_alias.
31806 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31807 (PARMS): Do not use macros from bp-asm.h.
31808 (BLK2): Likewise.
31809 (LEN): Likewise.
31810 (memcmp): Do not use BP_SYM.
31811 (bcmp): Do not use BP_SYM in weak_alias.
31812 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31813 (PARMS): Do not use macros from bp-asm.h.
31814 (S1): Likewise.
31815 (SIZE): Likewise.
31816 (__mpn_mul_1): Do not use BP_SYM.
31817 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31818 "bp-asm.h".
31819 (PARMS): Do not use macros from bp-asm.h.
31820 (STR): Likewise.
31821 (CHR): Likewise.
31822 (__rawmemchr): Do not use BP_SYM.
31823 (rawmemchr): Do not use BP_SYM in weak_alias.
31824 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31825 (PARMS): Do not use macros from bp-asm.h.
31826 (S): Likewise.
31827 (SIZE): Likewise.
31828 (__mpn_rshift): Do not use BP_SYM.
31829 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31830 (PARMS): Do not use macros from bp-asm.h.
31831 (SIGMSK): Likewise.
31832 (__sigsetjmp): Likewise. Do not use BP_SYM.
31833 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31834 (_start): Do not use BP_SYM.
31835 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31836 (PARMS): Do not use macros from bp-asm.h.
31837 (DEST): Likewise.
31838 (SRC): Likewise.
31839 (__stpcpy): Likewise. Do not use BP_SYM.
31840 (stpcpy): Do not use BP_SYM in weak_alias.
31841 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31842 "bp-asm.h".
31843 (PARMS): Do not use macros from bp-asm.h.
31844 (DEST): Likewise.
31845 (SRC): Likewise.
31846 (LEN): Likewise.
31847 (__stpncpy): Likewise. Do not use BP_SYM.
31848 (stpncpy): Do not use BP_SYM in weak_alias.
31849 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31850 (PARMS): Do not use macros from bp-asm.h.
31851 (STR): Likewise.
31852 (CHR): Likewise.
31853 (strchr): Likewise. Do not use BP_SYM.
31854 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31855 "bp-asm.h".
31856 (PARMS): Do not use macros from bp-asm.h.
31857 (STR): Likewise.
31858 (CHR): Likewise.
31859 (__strchrnul): Likewise. Do not use BP_SYM.
31860 (strchrnul): Do not use BP_SYM in weak_alias.
31861 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31862 "bp-asm.h".
31863 (PARMS): Do not use macros from bp-asm.h.
31864 (STOP): Likewise.
31865 (strcspn): Do not use BP_SYM.
31866 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31867 "bp-asm.h".
31868 (PARMS): Do not use macros from bp-asm.h.
31869 (STR): Likewise.
31870 (STOP): Likewise.
31871 (strpbrk): Likewise. Do not use BP_SYM.
31872 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31873 "bp-asm.h".
31874 (PARMS): Do not use macros from bp-asm.h.
31875 (STR): Likewise.
31876 (CHR): Likewise.
31877 (strrchr): Likewise. Do not use BP_SYM.
31878 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31879 (PARMS): Do not use macros from bp-asm.h.
31880 (SKIP): Likewise.
31881 (strspn): Do not use BP_SYM.
31882 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31883 (PARMS): Do not use macros from bp-asm.h.
31884 (STR): Likewise.
31885 (DELIM): Likewise.
31886 (SAVE): Likewise.
31887 (FUNCTION): Likewise. Do not use BP_SYM.
31888 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31889 aliases.
31890 (strtok_r): Likewise.
31891 (__GI___strtok_r): Likewise.
31892 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31893 (PARMS): Do not use macros from bp-asm.h.
31894 (S1): Likewise.
31895 (S2): Likewise.
31896 (SIZE): Likewise.
31897 (__mpn_sub_n): Do not use BP_SYM.
31898 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31899 "bp-asm.h".
31900 (PARMS): Do not use macros from bp-asm.h.
31901 (S1): Likewise.
31902 (SIZE): Likewise.
31903 (__mpn_submul_1): Do not use BP_SYM.
31904 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31905 <bp-sym.h>.
31906 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31907 and <bp-asm.h>.
31908 (PARMS): Do not use macros from bp-asm.h.
31909 (FLAGS): Likewise.
31910 (PTID): Likewise.
31911 (TLS): Likewise.
31912 (CTID): Likewise.
31913 (__clone): Do not use BP_SYM.
31914 (clone): Do not use BP_SYM in weak_alias.
31915 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31916 and <bp-asm.h>.
31917 (PARMS): Do not use macros from bp-asm.h.
31918 (LEN): Likewise.
31919 (__mmap64): Do not use BP_SYM.
31920 (mmap64): Do not use BP_SYM in weak_alias.
31921 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31922 <bp-sym.h> and <bp-asm.h>.
31923 (PARMS): Do not use macros from bp-asm.h.
31924 (__posix_fadvise64_l64): Do not use BP_SYM.
31925 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31926 (PARMS): Do not use macros from bp-asm.h.
31927 (NSOPS): Likewise.
31928 (semtimedop): Do not use BP_SYM.
31929 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31930 and <bp-asm.h>.
31931
582a3cff
AM
319322013-02-21 Allan McRae <allan@archlinux.org>
31933
31934 * manual/message.texi (Charset conversion in gettext):
31935 Move @end statement to beginning of line.
31936
bab8a695
SP
319372013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31938
80945231
SP
31939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31940 static.
31941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31942 Likewise.
31943
bab8a695
SP
31944 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31945 (denorm): Likewise.
31946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31948
e21d7aa7
AK
319492013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31950
31951 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31952 tail-call to the resolved function if pltexit isn't needed.
31953
4c7a4263
SP
319542013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31955
31956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31957 or Y being zero as being unlikely.
31958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31959 Likewise.
31960
41f49342
CD
319612013-02-20 Carlos O'Donell <carlos@redhat.com>
31962
31963 * manual/nss.texi (System Databases and Name Service Switch):
31964 Remove frobnicate @pxref.
31965
50022a93
TS
319662013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31967
31968 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31969 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31970
08cbd996
PM
319712013-02-20 Petr Machata <pmachata@redhat.com>
31972
31973 * elf/elf.h (R_ARM_TARGET1): New macro.
31974 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31975 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31976 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31977 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31978 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31979 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31980 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31981 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31982 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31983 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31984 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31985 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31986 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31987 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31988 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31989 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31990 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31991 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31992 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31993 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31994 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31995 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31996 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31997 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31998 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31999 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32000 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32001 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32002 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32003 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32004 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32005 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32006 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32007 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32008 (R_ARM_THM_GOT_BREL12): Likewise.
32009 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32010 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32011 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32012 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32013 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32014 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32015 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32016 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32017 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32018
c7b275d6
TS
320192013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32020
32021 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32022 __attribute_used__ to __attribute__ ((unused)).
32023
20cd7fb3
SP
320242013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32025
32026 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32027 powerpc mpa.c.
32028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32029 comment formatting.
32030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32031
92945b52
JM
320322013-02-19 Joseph Myers <joseph@codesourcery.com>
32033
32034 [BZ #13550]
32035 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32036 Remove macro.
32037 (ENTER): Remove both macro definitions.
32038 (LEAVE): Likewise.
32039 (CHECK_BOUNDS_LOW): Likewise.
32040 (CHECK_BOUNDS_HIGH): Likewise.
32041 (CHECK_BOUNDS_BOTH): Likewise.
32042 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32043 (RETURN_BOUNDED_POINTER): Likewise.
32044 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32045 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32046 (POP_ERRNO_LOCATION_RETURN): Likewise.
32047 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32048 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32049 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32050 macros.
32051 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32052 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32053 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32054 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32055 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32056 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32057 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32058 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32059 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32060 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32061 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32062 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32063 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32064 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32065 removed macros.
32066 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32067 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32068 macros.
32069 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32070 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32071 * sysdeps/i386/i586/memset.S (memset): Likewise.
32072 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32073 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32074 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32075 macros.
32076 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32077 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32078 Change uses of L(2) to L(out).
32079 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32080 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32081 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32082 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32083 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32084 removed macros.
32085 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32086 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32087 macros.
32088 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32089 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32090 (RETURN): Do not use macro LEAVE.
32091 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32092 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32093 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32094 * sysdeps/i386/i686/memset.S (memset): Likewise.
32095 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32096 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32097 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32098 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32099 Likewise.
32100 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32101 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32102 L(1_2) and L(1_3) into L(1).
32103 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32104 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32105 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32106 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32107 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32108 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32109 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32110 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32111 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32112 macros.
32113 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32114 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32115 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32116 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32117 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32118 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32119 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32120 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32121 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32122 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32123 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32124 * sysdeps/i386/strspn.S (strspn): Likewise.
32125 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32126 conditional code.
32127 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32128 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32129 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32130 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32131 L(1_3) into L(1_1).
32132 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32133 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32134 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32135 macros.
32136 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32137
2389741a
JJ
321382013-02-19 Jakub Jelinek <jakub@redhat.com>
32139
32140 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32141 macro.
32142
2016b3cd
SP
321432013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32144
e4f22324
SP
32145 * math/atest-exp.c (exp_mpn): Remove ROUND.
32146 * math/atest-exp2.c (exp_mpn): Likewise.
32147 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32148
2016b3cd
SP
32149 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32150 * stdlib/tst-tls-atexit-lib.c: Likewise.
32151 * stdlib/tst-tls-atexit.c: Likewise.
32152
4be9b544
MF
321532013-02-18 Mike Frysinger <vapier@gentoo.org>
32154
32155 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32156 and __attribute_alloc_size__.
32157
2f62b9ee
MF
321582013-02-18 Mike Frysinger <vapier@gentoo.org>
32159
32160 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32161 __attribute_alloc_size__.
32162 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32163 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32164
6ff444c4
MF
321652013-02-18 Mike Frysinger <vapier@gentoo.org>
32166
32167 * include/programs/xmalloc.h: New file.
32168 * catgets/gencat.c: Include it.
32169 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32170 * elf/pldd.c: Likewise.
32171 * iconv/iconv_charmap.c: Likewise.
32172 * iconv/iconvconfig.c: Likewise.
32173 * iconv/strtab.c: Likewise.
32174 * locale/programs/locale.c: Likewise.
32175 * locale/programs/localedef.h: Likewise.
32176 * locale/programs/simple-hash.c: Likewise.
32177 * nscd/nscd.h: Likewise.
32178 * nss/makedb.c: Likewise.
32179 * sysdeps/generic/ldconfig.h: Likewise.
32180
be179c8a
SP
321812013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32182
ba384f6e
SP
32183 * Versions.def: Add GLIBC_2.18.
32184 * include/link.h (struct link_map): New member l_tls_dtor_count.
32185 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32186 (__call_tls_dtors): Likewise.
32187 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32188 __cxa_thread_atexit_impl.
32189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32190 Likewise.
32191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32192 Likewise.
32193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32194 Likewise.
32195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32196 Likewise.
32197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32199 Likewise.
32200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32201 Likewise.
32202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32204 Likewise.
32205 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32206 (tests): Add test case tst-tls-atexit.
32207 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32208 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32209 (GLIBC_PRIVATE): Add __call_tls_dtors.
32210 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32211 for libstdc++.
32212 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32213 * stdlib/tst-tls-atexit.c: New test case.
32214 * stdlib/tst-tls-atexit-lib.c: New test case.
32215
ffaa74cf 32216 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32217
be179c8a
SP
32218 * elf/Versions (ld): Add _dl_find_dso_for_object.
32219 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32220 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32221 (dl_open_worker): Use _dl_find_dso_for_object.
32222 * elf/dl-sym.c (do_sym): Likewise.
32223 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32224
f78b5caa
AK
322252013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32226
32227 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32228 Syntactic changes only.
32229 (_dl_runtime_profile): Do a tail-call to the resolved function.
32230
29691210
JM
322312013-02-17 Joseph Myers <joseph@codesourcery.com>
32232
32233 [BZ #13550]
32234 * sysdeps/x86_64/bp-asm.h: Remove file.
32235 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32236 <bp-sym.h> and <bp-asm.h>.
32237 (__clone): Do not use BP_SYM.
32238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32239 <bp-sym.h> and <bp-asm.h>.
32240 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32241 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32242 "bp-asm.h".
32243 (_setjmp): Do not use BP_SYM.
32244 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32245 "bp-asm.h".
32246 (setjmp): Do not use BP_SYM.
32247 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32248 libc_hidden_def.
32249 (mempcpy): Do not use BP_SYM in weak_alias.
32250 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32251 "bp-asm.h".
32252 (strchr): Do not use BP_SYM.
32253 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32254 "bp-asm.h".
32255 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32256 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32257 (_start): Do not use BP_SYM.
32258 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32259 "bp-asm.h".
32260 (strcat): Do not use BP_SYM.
32261 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32262 "bp-asm.h".
32263 (STRCMP): Do not use BP_SYM.
32264 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32265 "bp-asm.h".
32266 (STRCPY): Do not use BP_SYM.
32267 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32268 "bp-asm.h".
32269 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32270 "bp-asm.h".
32271 (FUNCTION): Do not use BP_SYM.
32272 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32273 weak_alias.
32274 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32275
f238fd19
AJ
322762013-02-17 Andreas Jaeger <aj@suse.de>
32277
32278 * time/Versions: Sort entries.
32279 * string/Versions: Likewise.
32280 * resolv/Versions: Likewise.
32281 * posix/Versions: Likewise.
32282 * iconv/Versions: Likewise.
32283 * elf/Versions: Likewise.
32284 * wcsmbs/Versions: Likewise.
32285
bd07f23c 322862013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32287
22af19f9
SP
32288 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32289 loop termination condition.
32290
4709fe76
SP
32291 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32292 variable to calculate EZ.
32293 (__sqr): Likewise.
2d0e0f29
SP
32294
32295 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32296 the lower precision input.
32297
daaa7713
JM
322982013-02-15 Joseph Myers <joseph@codesourcery.com>
32299
32300 [BZ #13550]
32301 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32302 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32303 (run-via-rtld-prefix): Do not handle %-bp tests.
32304 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32305 (all-object-suffixes): Remove .ob.
32306 (bppfx): Remove variable.
32307 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32308 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32309 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32310 [$(build-bounded) = yes] (libtype.ob): Likewise.
32311 * Makerules (elide-routines.ob): Remove variable.
32312 (do-tests-clean): Do not handle *-bp.out.
32313 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32314 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32315 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32316 (tests): Do not include $(tests-bp.out).
32317 (xtests): Do not include $(xtests-bp.out).
32318 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32319 [$(build-bounded) = yes] ($(addprefix
32320 $(objpfx),$(binaries-bounded))): Remove rule.
32321 ($(objpfx)%-bp.out): Remove rule.
32322 * config.make.in (build-bounded): Remove variable.
32323 * crypt/Makefile [$(build-bounded) = yes]
32324 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32325 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32326 append to variable.
32327 [$(build-bounded) = yes] (install-lib): Likewise.
32328 [$(build-bounded) = yes] (generated): Likewise.
32329 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32330 Remove rule.
32331 * intl/Makefile [$(build-bounded) = yes]
32332 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32333 * math/Makefile [$(build-bounded) = yes]
32334 ($(tests:%=$(objpfx)%-bp): Likewise.
32335 * misc/Makefile [$(build-bounded) = yes]
32336 ($(objpfx)tst-tsearch-bp): Likewise.
32337 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32338 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32339 Remove dependency.
32340 * string/Makefile (o-objects.ob): Remove variable.
32341 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32342 (CFLAGS-.ob): Remove variable.
32343 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32344 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32345 both definitions of variable.
32346 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32347 (ASFLAGS-.ob): Remove variable.
32348
e97ed6dd
JM
323492013-02-14 Joseph Myers <joseph@codesourcery.com>
32350
2bdd4ca6
JM
32351 [BZ #13550]
32352 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32353 Remove __BOUNDED_POINTERS__ from condition.
32354 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32355 * string/bits/string2.h [!__NO_STRING_INLINES &&
32356 !__BOUNDED_POINTERS__]: Likewise.
32357 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32358 Likewise.
32359 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32360 Remove conditional code.
32361 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32362 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32363 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32364 condition.
32365
e97ed6dd
JM
32366 [BZ #13550]
32367 * csu/libc-start.c: Do not include <bp-sym.h>.
32368 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32369 * elf/dl-open.c: Do not include <bp-sym.h>.
32370 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32371 * math/fegetenv.c: Do not include <bp-sym.h>.
32372 (fegetenv): Do not use BP_SYM in versioned symbols.
32373 * nptl/sysdeps/pthread/bits/libc-lockP.h
32374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32375 <bp-sym.h>.
32376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32377 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32379 (__pthread_mutex_destroy): Likewise.
32380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32381 (__pthread_mutex_lock): Likewise.
32382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32383 (__pthread_mutex_trylock): Likewise.
32384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32385 (__pthread_mutex_unlock): Likewise.
32386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32387 (__pthread_mutexattr_init): Likewise.
32388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32389 (__pthread_mutexattr_destroy): Likewise.
32390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32391 (__pthread_mutexattr_settype): Likewise.
32392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32393 (__pthread_rwlock_init): Likewise.
32394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32395 (__pthread_rwlock_destroy): Likewise.
32396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32397 (__pthread_rwlock_rdlock): Likewise.
32398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32399 (__pthread_rwlock_tryrdlock): Likewise.
32400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32401 (__pthread_rwlock_wrlock): Likewise.
32402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32403 (__pthread_rwlock_trywrlock): Likewise.
32404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32405 (__pthread_rwlock_unlock): Likewise.
32406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32407 (__pthread_key_create): Likewise.
32408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32409 (__pthread_setspecific): Likewise.
32410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32411 (__pthread_getspecific): Likewise.
32412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32413 Likewise.
32414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32415 (_pthread_cleanup_push_defer): Likewise.
32416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32417 (_pthread_cleanup_pop_restore): Likewise.
32418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32419 (pthread_setcancelstate): Likewise.
32420 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32421 <bp-sym.h>.
32422 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32423 (memchr): Do not use BP_SYM in weak_alias.
32424 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32425 (fegetenv): Do not use BP_SYM in versioned symbols.
32426 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32427 (fesetenv): Do not use BP_SYM in versioned symbols.
32428 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32429 (feupdateenv): Do not use BP_SYM in versioned symbols.
32430 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32431 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32432 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32433 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32434 (open64): Do not use BP_SYM in weak_alias.
32435 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32436 (fegetenv): Do not use BP_SYM in versioned symbols.
32437 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32438 (fesetenv): Do not use BP_SYM in versioned symbols.
32439 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32440 (feupdateenv): Do not use BP_SYM in versioned symbols.
32441 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32442 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32443 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32444 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32445 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32446 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32447 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32448 <bp-sym.h>.
32449 (__libc_start_main): Do not use BP_SYM.
32450
d6752ccd
SP
324512013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32452
cb57ce60
SP
32453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32454 redundant return line.
32455 (norm): Likewise.
32456 (denorm): Likewise.
32457 (dbl_mp): Likewise.
32458 (sub_magnitudes): Likewise.
32459 (__add): Likewise.
32460 (__sub): Likewise.
32461 (__mul): Likewise.
32462 (__inv): Likewise.
32463 (__dvd): Likewise.
32464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32465 (norm): Likewise.
32466 (denorm): Likewise.
32467 (dbl_mp): Likewise.
32468 (sub_magnitudes): Likewise.
32469 (__add): Likewise.
32470 (__sub): Likewise.
32471 (__mul): Likewise.
32472 (__inv): Likewise.
32473 (__dvd): Likewise.
32474
f414520d
SP
32475 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32476 instead of __mul.
32477 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32478 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32479 (cc32): Likewise.
32480
d6752ccd
SP
32481 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32482 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32484 of __mul for squares.
32485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32486 function
32487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32488 Likewise.
32489 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32490 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32491
70d9946a
JM
324922013-02-13 Joseph Myers <joseph@codesourcery.com>
32493
32494 [BZ #13550]
32495 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32496 code.
32497 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32498 prototype or function definition. Rename ubp_* variables and
32499 parameters. Remove argv definitions conditional on
32500 [__BOUNDED_POINTERS__].
32501 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32502 * elf/dl-runtime.c (_dl_fixup): Likewise.
32503 * include/set-hooks.h (RUN_HOOK): Likewise.
32504 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32505 definition.
32506 * string/strcpy.c (strcpy): Do not use __unbounded.
32507 * sysdeps/generic/frame.h (struct layout): Likewise.
32508 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32509 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32510 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32511 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32512 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32513 (__backtrace): Likewise.
32514 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32515 use __ptrvalue.
32516 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32517 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32518 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32519 Likewise.
32520 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32521 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32522 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32523 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32524 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32525 Do not use __unbounded.
32526 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32527 Rename __unboundedrlimits parameter to rlimits in prototype.
32528 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32529 Do not use __unbounded.
32530 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32531 not use __ptrvalue.
32532 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32533 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32534 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32535 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32536 __ptrvalue or __unbounded.
32537 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32538 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32539 use __unbounded.
32540 (__new_msgctl): Do not use __ptrvalue.
32541 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32542 __unbounded.
32543 (__libc_msgrcv): Do not use __ptrvalue.
32544 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32545 startup_info): Do not use __unbounded.
32546 (__libc_start_main): Likewise. Rename ubp_* variables and
32547 parameters. Remove argv definitions conditional on
32548 [__BOUNDED_POINTERS__].
32549 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32550 __ptrvalue.
32551 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32552 use __unbounded.
32553 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32554 or __ptrvalue.
32555 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32556 use __unbounded.
32557 (__new_shmctl): Do not use __ptrvalue.
32558 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32559 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32560 Likewise.
32561 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32563 (__libc_sigaction): Likewise.
32564 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32565 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32566 Likewise.
32567 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32568
cc7834d6
OB
325692013-02-13 Ondřej Bílka <neleai@seznam.cz>
32570
ffb1ec7b 32571 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32572
32573 * string/mempcpy.c: Implement by calling memcpy.
32574
bdf02814
SP
325752013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32576
c2af38aa
SP
32577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32578
4e92d59e
SP
32579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32580 evaluation.
32581
909279a5
SP
32582 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32583 values in the mantissa.
32584
bdf02814
SP
32585 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32586 minimize writes to Z.
32587 (sub_magnitudes): Simplify code a bit.
32588
cd525923
RM
325892013-02-12 Roland McGrath <roland@hack.frob.com>
32590
32591 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32592 from the message. The linker prefixes all warnings with that already.
32593
7e2f0d2d
AS
325942013-02-12 Andreas Schwab <schwab@suse.de>
32595
a445af0b
AS
32596 [BZ #15078]
32597 * posix/regexec.c (extend_buffers): Add parameter min_len.
32598 (check_matching): Pass minimum needed length.
32599 (clean_state_log_if_needed): Likewise.
32600 (get_subexp): Likewise.
32601 * posix/Makefile (tests): Add bug-regex34.
32602 (bug-regex34-ENV): Define.
32603 * posix/bug-regex34.c: New file.
32604
7e2f0d2d
AS
32605 [BZ #11561]
32606 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32607 elements compare against the byte sequence of it, not its name.
32608 * posix/Makefile (tests): Add bug-regex35.
32609 (bug-regex35-ENV): Define.
32610 * posix/bug-regex35.c: New file.
32611
a175b684
TV
326122013-02-11 Tom de Vries <tom@codesourcery.com>
32613
32614 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32615 comment.
32616 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32617 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32618 (CHECK_EOL): Add undef.
32619
310998fe 326202013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32621
32622 * bits/stdlib-bsearch.h: New file.
32623 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32624 * stdlib/stdlib.h: Likewise.
41eda41d 32625
8ded91fb
RM
326262013-02-11 Roland McGrath <roland@hack.frob.com>
32627
32628 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32629 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32630 declaration.
32631 * manual/search.texi (Array Search Function): Add missing const in
32632 lfind prototype.
32633 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32634 declaration to use rlim_t.
32635 (Basic Scheduling Functions): Remove erroneous const from
32636 sched_getparam prototype. Remove erroneous * from
32637 sched_get_priority_max and sched_get_priority_min prototypes.
32638 (Resource Usage): Fix summary @comment on vtimes to refer to
32639 sys/vtimes.h rather than vtimes.h.
32640 Add missing *s in vtimes prototype.
32641 (Limits on Resources): Fix ulimit prototype to return long int.
32642 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32643 prototypes to use long int rather than double.
32644 (BSD Random): Fix initstate and setstate to use char *, not void *.
32645 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32646 prototype to make second argument 'struct aiocb64 *const[]'.
32647 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32648 (Status of AIO Operations): Remove erroneous const in aio_return and
32649 aio_return64 prototypes.
32650 (Synchronizing I/O): Fix sync prototype to return void.
32651 * manual/startup.texi (Suboptions): Remove an erroneous const in
32652 getsubopt prototype.
32653 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32654 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32655 use size_t rather than int.
32656 (Scanning All Users): Likewise for getpwent_r.
32657 (Setting Groups): Add missing const to setgroups prototype.
32658 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32659 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32660 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32661 'const void *' rather than 'const char *'.
32662 (Host Address Functions): Likewise for inet_ntop.
32663 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32664 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32665 ssize_t for return value.
32666 (Sending Data): Likewise for send, sendto, sendmsg.
32667 (Socket Option Functions): Add a missing const in setsockopt prototype.
32668 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32669 use wchar_t for the argument.
32670 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32671 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32672 take no arguments.
32673 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32674 double/float/long double for second argument.
32675 Fix return types of significand, significandf, significandl.
32676 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32677 argument in fchmod prototype.
32678 (File Owner): Use uid_t and gid_t in fchown prototype.
32679 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32680 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32681 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32682 use 'const struct dirent **' as argument types to CMP function pointer
32683 argument.
32684 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32685 (File Times): Fix summary magic @comment for struct utimbuf and utime
32686 to refer to utime.h, not time.h.
32687 * manual/string.texi (Argz Functions): Add missing const in
32688 argz_extract and argz_next prototypes.
32689 (Finding Tokens in a String): Likewise for basename.
32690 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32691 (Copying and Concatenation): Fix typo in wmemmove prototype.
32692 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32693 (Signal Stack): Remove erroneous const in sigstack prototype.
32694 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32695 prototype.
32696 (Simple Calendar Time): Likewise for stime.
32697 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32698 prototype.
32699 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32700 say sys/sysctl.h instead.
32701 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32702 and vsyslog prototypes.
32703
fe77fe6d
TV
327042013-02-11 Tom de Vries <tom@codesourcery.com>
32705
32706 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32707 Remove.
32708
3a09b620
RM
327092013-02-11 Roland McGrath <roland@hack.frob.com>
32710
32711 * misc/sys/mman.h: Fix typo in mremap comment.
32712
550a0b89
RM
327132013-02-08 Roland McGrath <roland@hack.frob.com>
32714
32715 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32716 the '\0' terminator.
32717
a2da1673
JM
327182013-02-08 Joseph Myers <joseph@codesourcery.com>
32719
32720 [BZ #13550]
32721 * debug/segfault.c: Don't include <bp-checks.h>.
32722 * sysdeps/generic/bp-checks.h: Remove file.
32723 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32724 (__GETDENTS): Don't use CHECK_N.
32725 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32726 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32727 (__getgroups): Don't use CHECK_N.
32728 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32729 (setgroups): Don't use CHECK_N.
32730 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32731 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32732 (__libc_msgrcv): Don't use CHECK_N.
32733 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32734 (__libc_msgsnd): Don't use CHECK_N.
32735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32736 <bp-checks.h>.
32737 (__libc_pread): Don't use CHECK_N.
32738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32739 include <bp-checks.h>.
32740 (__libc_pread64): Don't use CHECK_N.
32741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32742 include <bp-checks.h>.
32743 (__libc_pwrite): Don't use CHECK_N.
32744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32745 include <bp-checks.h>.
32746 (__libc_pwrite64): Don't use CHECK_N.
32747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32748 <bp-checks.h>.
32749 (__libc_pread): Don't use CHECK_N.
32750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32751 include <bp-checks.h>.
32752 (__libc_pread64): Don't use CHECK_N.
32753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32754 include <bp-checks.h>.
32755 (__libc_pwrite): Don't use CHECK_N.
32756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32757 include <bp-checks.h>.
32758 (__libc_pwrite64): Don't use CHECK_N.
32759 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32760 (do_pread): Don't use CHECK_N.
32761 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32762 (do_pread64): Don't use CHECK_N.
32763 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32764 (do_pwrite): Don't use CHECK_N.
32765 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32766 (do_pwrite64): Don't use CHECK_N.
32767 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32768 (__libc_readv): Don't use CHECK_N.
32769 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32770 (semop): Don't use CHECK_N.
32771 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32772 <bp-checks.h>.
32773 (semtimedop): Don't use CHECK_N.
32774 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32775 (__libc_pread): Don't use CHECK_N.
32776 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32777 <bp-checks.h>.
32778 (__libc_pread64): Don't use CHECK_N.
32779 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32780 <bp-checks.h>.
32781 (__libc_pwrite): Don't use CHECK_N.
32782 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32783 <bp-checks.h>.
32784 (__libc_pwrite64): Don't use CHECK_N.
32785 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32786 <bp-checks.h>.
32787 (__libc_msgrcv): Don't use CHECK_N.
32788 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32789 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32790 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32791 (__libc_writev): Don't use CHECK_N.
32792
b84660a8
RM
327932013-02-08 Roland McGrath <roland@hack.frob.com>
32794
7f3e75f8
RM
32795 * string/strcpy.c: Removed unused variable.
32796
b84660a8
RM
32797 * Makeconfig (+sysdep-includes): Define with := rather than =.
32798 Use an existing include/ subdir of each sysdeps dir before it.
32799
471514d3
CD
328002013-02-08 Carlos O'Donell <carlos@redhat.com>
32801
32802 * nscd/connection.c (register_traced_file): Comment function.
32803 [HAVE_INOTIFY] (union __inev): Define.
32804 [HAVE_INOTIFY] (inotify_check_files): New function.
32805 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32806 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32807 clear_db_cache.
32808 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32809
b2d3c3be
CD
328102013-02-08 Carlos O'Donell <carlos@redhat.com>
32811
32812 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32813 loaded if not already and that a failure is permanent.
32814
b39949d2
CD
328152013-02-08 Carlos O'Donell <carlos@redhat.com>
32816
ddacd1db 32817 [BZ #15006]
b39949d2
CD
32818 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32819 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32820
b2c9eff4
JM
328212013-02-08 Joseph Myers <joseph@codesourcery.com>
32822
f3aae3f3
JM
32823 [BZ #13550]
32824 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32825 (CHECK_1_NULL_OK): Likewise.
32826 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32827 (__fxstat): Do not use CHECK_1.
32828 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32829 <bp-checks.h>.
32830 (___fxstat64): Do not use CHECK_1.
32831 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32832 <bp-checks.h>.
32833 (__fxstatat): Do not use CHECK_1.
32834 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32835 <bp-checks.h>.
32836 (__fxstatat64): Do not use CHECK_1.
32837 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32838 <bp-checks.h>.
32839 (__fxstat): Do not use CHECK_1.
32840 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32841 <bp-checks.h>.
32842 (__fxstatat): Do not use CHECK_1.
32843 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32844 <bp-checks.h>.
32845 (__getresgid): Do not use CHECK_1.
32846 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32847 <bp-checks.h>.
32848 (__getresuid): Do not use CHECK_1.
32849 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32850 <bp-checks.h>.
32851 (__lxstat): Do not use CHECK_1.
32852 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32853 <bp-checks.h>.
32854 (__old_msgctl): Do not use CHECK_1.
32855 (__new_msgctl): Likewise.
32856 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32857 <bp-checks.h>.
32858 (__new_setrlimit): Do not use CHECK_1.
32859 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32860 <bp-checks.h>.
32861 (__old_shmctl): Do not use CHECK_1.
32862 (__new_shmctl): Likewise.
32863 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32864 <bp-checks.h>.
32865 (__xstat): Do not use CHECK_1.
32866 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32867 (__lxstat): Do not use CHECK_1.
32868 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32869 <bp-checks.h>.
32870 (___lxstat64): Do not use CHECK_1.
32871 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32872 (__old_msgctl): Do not use CHECK_1.
32873 (__new_msgctl): Likewise.
32874 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32875 <bp-checks.h>.
32876 (__gettimeofday): Do not use CHECK_1.
32877 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32878 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32879 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32880 <bp-checks.h>.
32881 (__gettimeofday): Do not use CHECK_1.
32882 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32883 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32884 (__new_shmctl): Do not use CHECK_1.
32885 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32886 <bp-checks.h>.
32887 (do_sigtimedwait): Do not use CHECK_1.
32888 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32889 <bp-checks.h>.
32890 (do_sigwaitinfo): Do not use CHECK_1.
32891 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32892 <bp-checks.h>.
32893 (msgctl): Do not use CHECK_1.
32894 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32895 <bp-checks.h>.
32896 (shmctl): Do not use CHECK_1.
32897 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32898 (ustat): Do not use CHECK_1.
32899 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32900 <bp-checks.h>.
32901 (__fxstat): Do not use CHECK_1.
32902 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32903 <bp-checks.h>.
32904 (__fxstatat): Do not use CHECK_1.
32905 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32906 <bp-checks.h>.
32907 (__lxstat): Do not use CHECK_1.
32908 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32909 <bp-checks.h>.
32910 (__xstat): Do not use CHECK_1.
32911 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32912 (__xstat): Do not use CHECK_1.
32913 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32914 (___xstat64): Do not use CHECK_1.
32915
b2c9eff4
JM
32916 [BZ #13550]
32917 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32918 definitions.
32919 (CHECK_BOUNDS_HIGH): Likewise.
32920 * string/strcpy.c: Do not include <bp-checks.h>.
32921 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32922
f1d70dad
RM
329232013-02-07 Roland McGrath <roland@hack.frob.com>
32924
32925 * nscd/nscd-client.h (__nscd_drop_map_ref):
32926 Add __attribute__ ((unused)).
32927 * nis/nss-nisplus.h (niserr2nss): Likewise.
32928
32929 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32930 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32931
32932 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32933 Remove inline keyword.
32934 * include/rounding-mode.h (round_away): Likewise.
32935 * libio/wfileops.c (adjust_wide_data): Likewise.
32936 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32937 (__m128i_strloadu_tolower): Likewise.
32938 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32939 (__m128i_strloadu_tolower): Likewise.
32940 * time/mktime.c (ydhms_diff): Likewise.
32941 * locale/elem-hash.h (elem_hash): Likewise.
32942 * locale/setlocale.c (setdata): Likewise.
32943 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32944 (re_string_wchar_at): Likewise.
32945 (bitset_not, bitset_merge, bitset_mask): Likewise.
32946 [!(__GNUC__ > 3)] (inline): Remove macro.
32947 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32948 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32949 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32950 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32951 * string/memcmp.c (memcmp_bytes): Likewise.
32952 * locale/programs/locarchive.c (compute_hashval): Likewise.
32953 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32954 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32955 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32956 * nss/getent.c (print_rpc, print_protocols): Likewise.
32957 (print_passwd, print_group, print_aliases): Likewise.
32958 * nis/nss-nisplus.h (niserr2nss): Likewise.
32959 * nscd/connections.c (restart_p): Likewise.
32960 Change return type to bool.
32961
eab55bfb
RM
329622013-02-05 Roland McGrath <roland@hack.frob.com>
32963
7bd642f5
RM
32964 * Makeconfig (all-Depend-files): Add existing
32965 $(sorted-subdirs:=/Depend) files.
32966 (all-subdirs): Remove nss.
32967 * sysdeps/unix/inet/Subdirs: Add it here instead.
32968 * hesiod/Depend: New file.
32969
573c29b2
RM
32970 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32971 instead of calling alloca.
32972
b2e25af0
RM
32973 * io/lseek.c (__lseek): Rename to __libc_lseek.
32974 Define __lseek as an alias.
32975
eab55bfb
RM
32976 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32977
9a0d1941
CD
329782013-02-04 Carlos O'Donell <carlos@redhat.com>
32979
32980 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32981 else clause and remove check for non-standard endianness.
32982
b83bbec4
DM
329832013-02-04 David S. Miller <davem@davemloft.net>
32984
32985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32986
6277fdab
JM
329872013-02-04 Joseph Myers <joseph@codesourcery.com>
32988
32989 [BZ #13550]
32990 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32991 (__ubp_memchr): Remove prototype.
32992 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32993 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32994 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32995 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32996 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32997 Remove alias.
32998 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32999 (__ubp_memchr): Likewise.
33000 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33001 (__ubp_memchr): Likewise.
33002 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33003 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33004 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33005 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33006 CHECK_STRING.
33007 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33008 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33009 (__getcwd): Do not use CHECK_STRING.
33010 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33011 <bp-checks.h>.
33012 (__real_chown): Do not use CHECK_STRING.
33013 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33014 <bp-checks.h>.
33015 (fchownat): Do not use CHECK_STRING.
33016 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33017 CHECK_STRING.
33018 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33019 <bp-checks.h>.
33020 (__lchown): Do not use CHECK_STRING.
33021 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33022 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33023 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33024 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33026 include <bp-checks.h>.
33027 (truncate64): Do not use CHECK_STRING.
33028 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33029 <bp-checks.h>.
33030 (__real_chown): Do not use CHECK_STRING.
33031 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33032 <bp-checks.h>.
33033 (__lchown): Do not use CHECK_STRING.
33034 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33035 <bp-checks.h>.
33036 (__chown): Do not use CHECK_STRING.
33037 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33038 <bp-checks.h>.
33039 (truncate64): Do not use CHECK_STRING.
33040 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33041 Likewise.
33042 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33043 (__xmknod): Do not use CHECK_STRING.
33044 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33045 <bp-checks.h>.
33046 (__xmknodat): Do not use CHECK_STRING.
33047 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33048 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33049
903ae060
AS
330502013-02-04 Andreas Schwab <schwab@suse.de>
33051
33052 [BZ #14142]
33053 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33054 * include/netdb.h: Likewise for h_errno.
33055 * elf/tst-stackguard1.c: Include <tls.h>.
33056
542f9466
JK
330572013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33058
33059 * elf/link.h (struct link_map): Extend the l_addr comment.
33060 * include/link.h (struct link_map): Likewise.
33061
e782a927
JM
330622013-02-01 Joseph Myers <joseph@codesourcery.com>
33063
33064 [BZ #13550]
33065 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33066 (BOUNDED_1): Remove macro.
33067 * debug/backtrace.c: Don't include <bp-checks.h>.
33068 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33069 (__backtrace): Likewise.
33070 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33071 <bp-checks.h>.
33072 (__backtrace): Don't use BOUNDED_1.
33073 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33074 <bp-checks.h>.
33075 (__backtrace): Don't use BOUNDED_1.
33076 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33077 (__backtrace): Don't use BOUNDED_1.
33078 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33079 (shmat): Don't use BOUNDED_N.
33080
8cf28c5e
JM
330812013-01-31 Joseph Myers <joseph@codesourcery.com>
33082
3a7ac8a0
JM
33083 [BZ #13550]
33084 * sysdeps/generic/bp-start.h: Remove file.
33085 * csu/libc-start.c: Don't include <bp-start.h>.
33086 (LIBC_START_MAIN): Set up __environ directly instead of using
33087 INIT_ARGV_and_ENVIRON.
33088 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33089 <bp-start.h>.
33090
f3499f95
JM
33091 [BZ #13550]
33092 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33093 definitions.
33094 (CHECK_FCNTL): Likewise.
33095 (CHECK_N_PAGES): Likewise.
33096
32a45bea
JM
33097 [BZ #13550]
33098 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33099 definitions.
33100 (CHECK_SIGSET_NULL_OK): Likewise.
33101 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33102 <bp-checks.h>.
33103 (sigpending): Don't use CHECK_SIGSET.
33104 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33105 <bp-checks.h>.
33106 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33107 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33108 <bp-checks.h>.
33109 (do_sigsuspend): Don't use CHECK_SIGSET.
33110 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33111 use CHECK_SIGSET.
33112 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33113 (do_sigwait): Don't use CHECK_SIGSET.
33114 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33115 use CHECK_SIGSET.
33116 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33117 include <bp-checks.h>.
33118 (sigpending): Don't use CHECK_SIGSET.
33119 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33120 include <bp-checks.h>.
33121 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33122 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33123 <bp-checks.h>.
33124 (sigpending): Don't use CHECK_SIGSET.
33125 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33126 <bp-checks.h>.
33127 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33128
2e8a5c8c
JM
33129 [BZ #13550]
33130 * sysdeps/generic/bp-semctl.h: Remove file.
33131 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33132 <bp-checks.h> and <bp-semctl.h>.
33133 (__old_semctl): Don't use CHECK_SEMCTL.
33134 (__new_semctl): Likewise.
33135 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33136 and <bp-semctl.h>.
33137 (__old_semctl): Don't use CHECK_SEMCTL.
33138 (__new_semctl): Likewise.
33139 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33140 <bp-checks.h> and <bp-semctl.h>.
33141 (__old_semctl): Don't use CHECK_SEMCTL.
33142 (__new_semctl): Likewise.
33143 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33144 <bp-checks.h> and <bp-semctl.h>.
33145 (semctl): Don't use CHECK_SEMCTL.
33146
c2d54929
JM
33147 [BZ #13550]
33148 * Makerules (elide-bp-thunks): Remove variable.
33149 (elide-routines.oS): Don't use $(elide-bp-thunks).
33150 (elide-routines.os): Likewise.
33151 (elide-routines.o): Likewise.
33152 (elide-routines.op): Likewise.
33153 (elide-routines.og): Likewise.
33154 (objects): Don't use $(bp-thunks).
33155 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33156 include.
33157 (common-generated): Do not add s-proto-bp.d.
33158 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33159 (int): Likewise.
33160 (typ): Likewise.
33161 Do not generate makefile rules for bounded-pointer thunks.
33162 * sysdeps/generic/bp-thunks.h: Remove file.
33163 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33164 * sysdeps/unix/s-proto-bp.S: Likewise.
33165
8cf28c5e
JM
33166 [BZ #15062]
33167 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33168 parts of result separately when argument is not close to line from
33169 -i to i and one part of argument is small.
33170 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33171 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33172 * math/libm-test.inc (cacos_test): Add more tests.
33173 (casin_test): Likewise.
33174 (casinh_test): Likewise.
33175 * sysdeps/i386/fpu/libm-test-ulps: Update.
33176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33177
c4e33b8d
DM
331782013-01-31 David S. Miller <davem@davemloft.net>
33179
33180 * po/de.po: Update from translation team.
33181
3b60b421
MK
331822013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33183
33184 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33185
bb931195
TS
331862013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33187
b5a5da23
TS
33188 * configure.in (_AC_PROG_CC_C89): New definition.
33189 * configure: Regenerate.
33190
bb931195
TS
33191 * configure.in (AC_PROG_CPP): New definition.
33192 * configure: Regenerate.
33193
8c53a12c
JM
331942013-01-23 Joseph Myers <joseph@codesourcery.com>
33195
33196 * debug/tst-backtrace.h: New file.
33197 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33198 (ret): Remove variable.
33199 (x): Likewise.
33200 (FAIL): Remove macro.
33201 (NO_INLINE): Likewise.
33202 (fn1): Use match function instead of strstr.
33203 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33204 (ret): Remove variable.
33205 (x): Likewise.
33206 (FAIL): Remove macro.
33207 (NO_INLINE): Likewise.
33208 (fn): Use match function instead of strstr.
33209 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33210 (ret): Remove variable.
33211 (x): Likewise.
33212 (FAIL): Remove macro.
33213 (NO_INLINE): Likewise.
33214 (handle_signal): Use match function instead of strstr.
33215 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33216 (ret): Remove variable.
33217 (x): Likewise.
33218 (FAIL): Remove macro.
33219 (NO_INLINE): Likewise.
33220 (handle_signal): Use match function instead of strstr.
33221
4858fa2a
RM
332222013-01-23 Roland McGrath <roland@hack.frob.com>
33223
33224 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33225
bae8e7f5
DM
332262013-01-23 David S. Miller <davem@davemloft.net>
33227
33228 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33229 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33230 argument of CAS if possible.
33231 * sysdeps/sparc/sparc64/bits/atomic.h
33232 (__arch_compare_and_exchange_val_32_acq): Likewise.
33233 (__arch_compare_and_exchange_val_64_acq): Likewise.
33234
9cbbc4ae
PT
332352013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33236
33237 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33238 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33239 Include <limits.h>.
67b3f58c 33240 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33241
5655a0b5
AC
332422013-01-23 Adam Conrad <adconrad@0c3.net>
33243
33244 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33245 (LDFLAGS-tst-array5): Likewise.
33246
052aff95
JM
332472013-01-23 Joseph Myers <joseph@codesourcery.com>
33248
33249 [BZ #15036]
33250 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33251 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33252 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33253 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33254
7c1e01aa
DM
332552013-01-21 David S. Miller <davem@davemloft.net>
33256
33257 * sysdeps/sparc/backtrace.c: New file.
33258 * sysdeps/sparc/sparc32/backtrace.h: New file.
33259 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33260 * sysdeps/sparc/sparc64/backtrace.h: New file.
33261 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33262 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33263 -funwind-tables.
33264
ab087e0a
AS
332652013-01-21 Andreas Schwab <schwab@suse.de>
33266
33267 [BZ #15020]
33268 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33269 closed its stdout.
33270
ed689c2f
AS
332712013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33272
33273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33274 "mpa2.h".
33275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33276
31d470ac
JM
332772013-01-18 Joseph Myers <joseph@codesourcery.com>
33278 Mark Mitchell <mark@codesourcery.com>
33279 Tom de Vries <tom@codesourcery.com>
33280 Paul Pluzhnikov <ppluzhnikov@google.com>
33281
33282 * debug/tst-backtrace2.c: New file.
33283 * debug/tst-backtrace3.c: Likewise.
33284 * debug/tst-backtrace4.c: Likewise.
33285 * debug/tst-backtrace5.c: Likewise.
33286 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33287 (CFLAGS-tst-backtrace3.c): Likewise.
33288 (CFLAGS-tst-backtrace4.c): Likewise.
33289 (CFLAGS-tst-backtrace5.c): Likewise.
33290 (LDFLAGS-tst-backtrace2): Likewise.
33291 (LDFLAGS-tst-backtrace3): Likewise.
33292 (LDFLAGS-tst-backtrace4): Likewise.
33293 (LDFLAGS-tst-backtrace5): Likewise.
33294 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33295 tst-backtrace4 and tst-backtrace5.
33296
90567f30 332972013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33298 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33299
33300 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33301 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33302 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33303 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33305 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33306 "+r" and remove output regs list as redundant. Add explicit inline
33307 asm to specify register of return val to work around compiler codegen
33308 bug. Remove (int) cast on return value. Add return type parameter to
33309 use in macro so that this macro does not truncate return value for
33310 64-bit values.
33311 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33312 pass to INTERNAL_VSYSCALL_NCS.
33313 (INLINE_VSYSCALL): Add 'long int' as return type to
33314 INTERNAL_VSYSCALL_NCS macro invocation.
33315 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33316 INTERNAL_VSYSCALL_NCS macro invocation.
33317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33318
d3b9ea61
SP
333192013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33320
0b57daeb
SP
33321 [BZ #14496]
33322 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33323 Fix application of SIMD FP exception mask.
33324
caa99d06
SP
33325 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33326 mp_no from a power of two.
33327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33328 __mpexp_twomm1. Use __pow_mp.
33329
d3b9ea61
SP
33330 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33331 multiplication.
33332
1dbaee3c
DM
333332013-01-17 David S. Miller <davem@davemloft.net>
33334
33335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33336
728d7b43
JM
333372013-01-17 Joseph Myers <joseph@codesourcery.com>
33338
33339 [BZ #15023]
33340 * include/complex.h: Condition contents on [!_COMPLEX_H].
33341 (__kernel_casinhf): New prototype.
33342 (__kernel_casinh): Likewise.
33343 (__kernel_casinhl): Likewise.
33344 * math/Makefile (libm_calls): Add k_casinh.
33345 * math/k_casinh.c: New file.
33346 * math/k_casinhf.c: Likewise.
33347 * math/k_casinhl.c: Likewise.
33348 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33349 finite nonzero arguments.
33350 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33351 finite nonzero arguments.
33352 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33353 finite nonzero arguments.
33354 * math/s_casinh.c: Do not include <float.h>.
33355 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33356 * math/s_casinhf.c: Do not include <float.h>.
33357 (__casinhf): Move code for finite nonzero arguments to
33358 k_casinhf.c.
33359 * math/s_casinhl.c: Do not include <float.h>.
33360 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33361 redefine.
33362 (__casinhl): Move code for finite nonzero arguments to
33363 k_casinhl.c.
33364 * math/libm-test.inc (cacos_test): Add more tests.
33365 * sysdeps/i386/fpu/libm-test-ulps: Update.
33366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33367
2a26ef3a
PT
333682013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33369
33370 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33371 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33372 [!HAVE_MREMAP]: Remove [defined linux] case.
33373 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33374
a897655d
SP
333752013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33376
33377 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33378
881ebe89 333792013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33380
33381 * elf/elf.h (R_386_SIZE32): New relocation.
33382 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33383 R_386_SIZE32.
33384 (elf_machine_rela): Likewise.
33385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33386 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33387
59981e9b
JM
333882013-01-17 Joseph Myers <joseph@codesourcery.com>
33389
33390 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33391 (FP_FAST_FMA): Do not define.
33392 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33393 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33394 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33395 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33396 !_SOFT_FLOAT]: Likewise.
33397 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33398 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33399 value.
33400 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33401 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33402 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33403 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33404 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33405 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33406 file.
33407
cfa8054f
AS
334082013-01-16 Andreas Schwab <schwab@suse.de>
33409
33410 [BZ #14327]
33411 * include/stdlib.h (__mktemp): Add declaration.
33412 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33413 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33414
dd930cc5
SP
334152013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33416
881ebe89
SP
33417 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33418 definitions.
33419 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33420 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33421 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33422 definitions here.
33423 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33424 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33425 definitions.
33426 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33427 and ONE.
33428 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33429 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33430 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33431 definitions.
33432 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33433 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33434 definitions.
33435 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33436
dd930cc5
SP
33437 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33438
c19a9f89
DM
334392013-01-15 David S. Miller <davem@davemloft.net>
33440
1aa61767
DM
33441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33442 trunc{,f} to libm-sysdep_routes.
33443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33445 file.
33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33448 file.
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33450 file.
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33453 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33454 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33455 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33456 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33457 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33458 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33459
c42d5e98
DM
33460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33461 nearbyint{,f} to libm-sysdep_routes.
33462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33464 New file.
33465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33466 file.
33467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33468 New file.
33469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33470 file.
33471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33473 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33474 file.
33475 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33476 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33477 file.
33478 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33479 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33480 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33481
c19a9f89
DM
33482 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33483 libc_feholdexcept and libc_fesetenv.
33484
357679d2
MF
334852013-01-15 Mike Frysinger <vapier@gentoo.org>
33486
33487 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33488
65a82e3d
DM
334892013-01-14 David S. Miller <davem@davemloft.net>
33490
8b954ab9
DM
33491 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33492 (SPARC_ASM_VIS2_IFUNC): Likewise.
33493 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33495 use of 'siam' instruction.
33496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33497 Likewise.
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33499 Likewise.
33500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33501 Likewise.
33502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33507 file.
33508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33509 file.
33510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33511 file.
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33513 file.
33514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33519 new VIS2 routines.
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33523 Likewise.
33524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33529 routines to libm-sysdep_routines.
33530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33531
65a82e3d
DM
33532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33533 fdim/fdimf to libm-sysdep_routines.
33534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33535 file.
33536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33538 file.
33539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33542 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33543 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33544 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33545 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33546
e34ab705
SP
335472013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33548
2a91b573
SP
33549 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33550 to optimize copies.
33551
1066a534
SP
33552 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33555
e34ab705
SP
33556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33557 local variable MPTWO.
33558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33559 Likewise.
33560
aba5e596
MF
335612013-01-13 Mike Frysinger <vapier@gentoo.org>
33562
33563 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33564 GLOB_NOESCAPE.
33565
e557e9e5
MF
335662013-01-13 Mike Frysinger <vapier@gentoo.org>
33567
33568 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33569
0428cec9
MF
335702013-01-13 Mike Frysinger <vapier@gentoo.org>
33571
33572 * manual/pattern.texi (glob_t): Document gl_flags.
33573 (glob64_t): Likewise.
33574
8794a964
DM
335752013-01-11 David S. Miller <davem@davemloft.net>
33576
66438c3f
RM
33577 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33578 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33579 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33580 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33581 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33582 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33583 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33584 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33585 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33586 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33587 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33588 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33589 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33590
4ae4244d
DM
33591 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33592 sparc V9 rather than using V8 code.
33593 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33594 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33595
8794a964
DM
33596 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33597 Move to...
33598 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33599 Here.
33600
6270516e
RM
336012013-01-11 Roland McGrath <roland@hack.frob.com>
33602
33603 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33604 not in the main loop.
33605 * configure: Regenerated.
33606
6a57d931
JM
336072013-01-11 Joseph Myers <joseph@codesourcery.com>
33608
33609 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33610 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33611 to just #else.
33612 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33613 [!__GLIBC_HAVE_LONG_LONG] case.
33614 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33615 condition to just #else.
33616 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33617 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33618 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33619 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33620 unconditional.
33621 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33622 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33623 #elif condition to just #else.
33624 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33625 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33626 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33627 #elif condition to just #else.
33628
0e8529e9
SE
336292013-01-11 Steve Ellcey <sellcey@mips.com>
33630
33631 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33632 (EF_MIPS_ARCH_64): Fix value.
33633 (EF_MIPS_ARCH_32R2): New.
33634 (EF_MIPS_ARCH_64R2): New.
33635
740b3dbe
L
336362013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33637
33638 * Makeconfig (+link-pie-before-libc): New.
33639 (+link-pie-after-libc): Likewise.
33640 (+link-pie-tests): Likewise.
33641 (+link-pie): Rewritten.
33642 (link-before-libc): Remove $(config-LDFLAGS).
33643 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33644 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33645 (config-LDFLAGS): Renamed to ...
33646 (rtld-LDFLAGS): This.
33647 (rtld-tests-LDFLAGS): New macro.
33648 (link-libc-rpath-link): Likewise.
33649 (link-libc-tests-rpath-link): Likewise.
33650 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33651 (link-libc): Prepand $(link-libc-rpath-link).
33652 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33653 (test-program-prefix): New macro.
33654 (test-via-rtld-prefix): Likewise.
33655 (test-program-cmd): Likewise.
33656 (host-test-program-cmd): Likewise.
33657 * Makefile ($(common-objpfx)testrun.sh): Replace
33658 $(run-program-prefix) with $(test-program-prefix).
33659 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33660 $(rtld-LDFLAGS).
33661 ($(common-objpfx)shlib.lds): Likewise.
33662 (build-module-helper): Likewise.
33663 ($(common-objpfx)format.lds): Likewise.
33664 * Rules (binaries-pie-tests): New.
33665 (binaries-pie-notests): Likewise.
33666 (binaries-pie): Rewritten.
33667 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33668 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33669 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33670 (make-test-out): Replace $(host-built-program-cmd) with
33671 $(host-test-program-cmd).
33672 * config.make.in (build-hardcoded-path-in-tests): New variable.
33673 * configure.in (--enable-hardcoded-path-in-tests): New configure
33674 option.
33675 (hardcoded_path_in_tests): New AC_SUBST.
33676 * configure: Regenerated.
33677 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33678 $(built-program-cmd) with $(test-program-cmd).
33679 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33680 (test_program_cmd): This.
33681 * elf/Makefile ($(objpfx)order.out): Run test with
33682 $(test-program-prefix).
33683 ($(objpfx)order2.out): Likewise.
33684 ($(objpfx)tst-initorder.out): Likewise.
33685 ($(objpfx)tst-initorder2.out): Likewise.
33686 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33687 $(test-program-cmd).
33688 ($(objpfx)tst-array1-static.out): Likewise.
33689 ($(objpfx)tst-array2.out): Likewise.
33690 ($(objpfx)tst-array3.out): Likewise.
33691 ($(objpfx)tst-array4.out): Likewise.
33692 ($(objpfx)tst-array5.out): Likewise.
33693 ($(objpfx)tst-array5-static.out): Likewise.
33694 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33695 $(test-program-cmd).
33696 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33697 $(run-program-prefix) with $(test-program-prefix).
33698 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33699 (test_program_prefix): This.
33700 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33701 $(run-program-prefix) with $(test-program-prefix).
33702 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33703 (test_program_prefix): This.
33704 * iconvdata/tst-tables.sh: Likewise.
33705 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33706 $(run-program-prefix) with $(test-program-prefix).
33707 ($(objpfx)tst-translit.out): Likewise.
33708 ($(objpfx)tst-gettext2.out): Likewise.
33709 ($(objpfx)tst-gettext4.out): Likewise.
33710 ($(objpfx)tst-gettext6.out): Likewise.
33711 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33712 (test_program_prefix): This.
33713 * intl/tst-gettext2.sh: Likewise.
33714 * intl/tst-gettext4.sh Likewise.
33715 * intl/tst-gettext6.sh: Likewise.
33716 * intl/tst-translit.sh: Likewise.
33717 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33718 with $(test-program-cmd).
33719 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33720 $(run-program-prefix) with $(test-program-prefix).
33721 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33722 (test_program_prefix): This.
33723 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33724 $(run-program-prefix) with $(test-program-prefix).
33725 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33726 (test_program_prefix): This.
33727 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33728 * posix/Makefile ($(objpfx)globtest.out): Replace
33729 $(run-via-rtld-prefix) and $(test-wrapper) with
33730 $(test-program-prefix) and $(test-via-rtld-prefix).
33731 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33732 $(test-program-prefix).
33733 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33734 $(host-test-program-cmd).
33735 (tst-spawn-ARGS): Likewise.
33736 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33737 $(test-program-prefix).
33738 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33739 (test_via_rtld_prefix): This.
33740 (test_wrapper): Renamed to ...
33741 (test_program_prefix): This.
33742 (run_program_prefix): Replaced by test_program_prefix.
33743 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33744 (test_program_prefix): This.
33745 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33746 with $(host-test-program-cmd).
33747 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33748 $(run-program-prefix) with $(test-program-prefix).
33749 ($(objpfx)tst-printf.out): Likewise.
33750 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33751 $(test-program-cmd).
33752 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33753 (test_program_prefix): This.
33754 * stdio-common/tst-unbputc.sh: Likewise.
33755 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33756 $(run-program-prefix) with $(test-program-prefix).
33757 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33758 (test_program_prefix): This.
33759 * string/Makefile ($(objpfx)tst-svc.out): Replace
33760 $(built-program-cmd) with $(test-program-cmd).
33761
c6fe55cf
AJ
337622013-01-11 Andreas Jaeger <aj@suse.de>
33763
33764 [BZ #15003]
33765 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33766 value. Sync with Linux 3.7.
33767
9e6919c8
DM
337682013-01-10 David S. Miller <davem@davemloft.net>
33769
33770 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33771 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33772 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33773
1c9f1a02
RM
337742013-01-10 Roland McGrath <roland@hack.frob.com>
33775
33776 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33777 never set.
33778 * configure: Regenerated.
33779
b9de2dde
DM
337802013-01-10 David S. Miller <davem@davemloft.net>
33781
33782 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33783 sparc V9 rather than using V8 code.
33784 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33785 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33786
e7f68ef4
RM
337872013-01-10 Roland McGrath <roland@hack.frob.com>
33788
33789 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33790 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33791 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33792 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33793 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33794 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33795 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33796 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33797 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33798 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33799 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33800 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33801 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33802 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33803 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33804 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33805 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33806 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33807 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33808 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33809 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33810 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33811 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33812 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33813 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33814 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33815 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33816
5a47cc9c
DM
338172013-01-10 David S. Miller <davem@davemloft.net>
33818
33819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33820
4cf8f209
L
338212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33822
33823 * posix/Makefile (tests-static): New variable.
33824 (tests): Add $(tests-static).
33825 (tst-exec-static-ARGS): New variable.
33826 (tst-spawn-static-ARGS): Likewise.
33827 * posix/tst-exec-static.c: New file.
33828 * posix/tst-spawn-static.c: Likewise.
33829 * posix/tst-exec.c: Support run directly.
33830 * posix/tst-spawn.c: Likewise.
33831
fed0faa1
JM
338322013-01-10 Joseph Myers <joseph@codesourcery.com>
33833
828beb13
JM
33834 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33835 long.
33836 * math/bits/mathcalls.h (llrint): Likewise.
33837 (llround): Likewise.
33838 * stdlib/stdlib.h (struct drand48_data): Likewise.
33839 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33840 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33841 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33842 Likewise.
33843 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33844 Likewise.
33845 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33846 (elf_greg_t): Likewise.
33847 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33848 (__jmp_buf): Likewise.
33849 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33850 definitions.
33851 (llrint): Likewise, for all definitions.
33852 (llrintl): Likewise.
33853
fed0faa1
JM
33854 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33855 Remove [__GNUC__] condition.
33856 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33857 condition to just [__USE_ISOC99].
33858 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33859
1a20cb20
L
338602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33861
33862 [BZ #14200]
33863 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33864 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33865 defined.
33866 (_POSIX_V6_ILP32_OFF32): Likewise.
33867 (_XBS5_ILP32_OFF32): Likewise.
33868 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33869 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33870
751b85f7
SP
338712013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33872
7490eb81
SP
33873 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33874
751b85f7
SP
33875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33876 doubles __mpexp_twomm1. Adjust usage.
33877 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33878 Remove.
33879
988197f0
AS
338802013-01-10 Andreas Schwab <schwab@suse.de>
33881
33882 [BZ #14964]
33883 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33884 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33885
e83d7298
DM
338862013-01-09 David S. Miller <davem@davemloft.net>
33887
034ed64b 33888 [BZ #15003]
57f41c40
AS
33889 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33890 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33891 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33892 (TCP_FASTOPEN): Define.
e83d7298
DM
33893 (tcp_repair_opt): New structure.
33894 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33895 enum values.
57f41c40
AS
33896 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33897 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33898 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33899 (tcp_cookie_transactions): New structure.
33900
d5e0b9bd
AB
339012013-01-09 Anton Blanchard <anton@samba.org>
33902
33903 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33904 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33905 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33906 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33907
0c07e3ea
JM
339082013-01-09 Joseph Myers <joseph@codesourcery.com>
33909
33910 * include/features.h (__USE_ANSI): Remove.
33911
232f7002
RM
339122013-01-09 Roland McGrath <roland@hack.frob.com>
33913
ad98e30c
RM
33914 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33915
232f7002
RM
33916 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33917
950c99ca
SP
339182013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33919
b5792741
SP
33920 * sysdeps/s390/fpu/libm-test-ulps: Update.
33921
47cf2278
SP
33922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33923
950c99ca
SP
33924 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33925 (__acr): Likewise.
33926 (__cpy): Likewise.
33927 (norm): Likewise.
33928 (denorm): Likewise.
33929 (__mp_dbl): Likewise.
33930 (__dbl_mp): Likewise.
33931 (add_magnitudes): Likewise.
33932 (sub_magnitudes): Likewise.
33933 (__add): Likewise.
33934 (__sub): Likewise.
33935 (__mul): Likewise.
33936 (__inv): Likewise.
33937 (__dvd): Likewise.
33938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33939 (__acr): Likewise.
33940 (__cpy): Likewise.
33941 (norm): Likewise.
33942 (denorm): Likewise.
33943 (__mp_dbl): Likewise.
33944 (__dbl_mp): Likewise.
33945 (add_magnitudes): Likewise.
33946 (sub_magnitudes): Likewise.
33947 (__add): Likewise.
33948 (__sub): Likewise.
33949 (__mul): Likewise.
33950 (__inv): Likewise.
33951 (__dvd): Likewise.
33952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33953 (__acr): Likewise.
33954 (__cpy): Likewise.
33955 (norm): Likewise.
33956 (denorm): Likewise.
33957 (__mp_dbl): Likewise.
33958 (__dbl_mp): Likewise.
33959 (add_magnitudes): Likewise.
33960 (sub_magnitudes): Likewise.
33961 (__add): Likewise.
33962 (__sub): Likewise.
33963 (__mul): Likewise.
33964 (__inv): Likewise.
33965 (__dvd): Likewise.
33966
eede9df9
JM
339672013-01-08 Joseph Myers <joseph@codesourcery.com>
33968
33969 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33970 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33971 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33972 2 && __USE_EXTERN_INLINES]: Likewise.
33973
c40ea3d9
AJ
339742013-01-08 Andreas Jaeger <aj@suse.de>
33975
33976 [BZ# 14985]
33977 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33978 Remove.
33979 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33980 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33981
2ccdea26
AB
339822013-01-07 Anton Blanchard <anton@samba.org>
33983
33984 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33985 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33986 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33987 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33988 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33989 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33990 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33991 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33993 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33994 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33995 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33996 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33997 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33998 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33999 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34000 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34001 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34002 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34003 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34004 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34005 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34006 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34007 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34008 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34009 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34010 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34011 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34013 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34014 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34016 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34017 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34018 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34019 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34020 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34021 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34022 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34023 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34024 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34025 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34026 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34027
a9708fed
JM
340282013-01-07 Joseph Myers <joseph@codesourcery.com>
34029
375607b9
JM
34030 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34031 (__MALLOC_PMT): Likewise.
34032 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34033 [__GNUC__], only on [_LIBC].
34034 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34035 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34036 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34037 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34038 forward declaration.
34039 (realloc_hook_ini): Likewise.
34040 (memalign_hook_ini): Likewise.
34041 (__libc_memalign): Do not use __MALLOC_PMT in variable
34042 declaration.
34043 (__libc_valloc): Likewise.
34044 (__libc_pvalloc): Likewise.
34045 (__libc_calloc): Likewise.
34046 (__posix_memalign): Likewise.
34047
a9708fed
JM
34048 [BZ #14996]
34049 * math/s_casinh.c: Include <float.h>.
34050 (__casinh): Do not do computation with squaring and square root
34051 for large arguments.
34052 * math/s_casinhf.c: Include <float.h>.
34053 (__casinhf): Do not do computation with squaring and square root
34054 for large arguments.
34055 * math/s_casinhl.c: Include <float.h>.
34056 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34057 (__casinhl): Do not do computation with squaring and square root
34058 for large arguments.
34059 * math/libm-test.inc (casin_test): Add more tests.
34060 (casinh_test): Likewise.
34061 * sysdeps/i386/fpu/libm-test-ulps: Update.
34062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34063
afec409a
L
340642013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34065
34066 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34067 (__x86_64_raw_data_cache_size): Likewise.
34068 (__x86_64_data_cache_size_half): Likewise.
34069 (__x86_64_raw_data_cache_size_half): Likewise.
34070 (__x86_64_shared_cache_size): Likewise.
34071 (__x86_64_raw_shared_cache_size): Likewise.
34072 (__x86_64_shared_cache_size_half): Likewise.
34073 (__x86_64_raw_shared_cache_size_half): Likewise.
34074 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34075 to ...
34076 (__x86_data_cache_size): This.
34077 (__x86_64_raw_data_cache_size): Renamed to ...
34078 (__x86_raw_data_cache_size): This.
34079 (__x86_64_data_cache_size_half): Renamed to ...
34080 (__x86_data_cache_size_half): This.
34081 (__x86_64_raw_data_cache_size_half): Renamed to ...
34082 (__x86_raw_data_cache_size_half): This.
34083 (__x86_64_shared_cache_size): Renamed to ...
34084 (__x86_shared_cache_size): This.
34085 (__x86_64_raw_shared_cache_size): Renamed to ...
34086 (__x86_raw_shared_cache_size): This.
34087 (__x86_64_shared_cache_size_half): Renamed to ...
34088 (__x86_shared_cache_size_half): This.
34089 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34090 (__x86_raw_shared_cache_size_half): This.
34091 * sysdeps/x86_64/memcpy.S: Updated.
34092 * sysdeps/x86_64/memset.S: Likewise.
34093 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34094 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34096
0b3986d0
DM
340972013-01-04 David S. Miller <davem@davemloft.net>
34098
34099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34100
e47686e9
AS
341012013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34102
d643bac1
AS
34103 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34104 1 to avoid redefinition warning.
34105 (__USE_GNU): Don't define.
34106 (init_signaling_nan): Protoize.
34107
e47686e9
AS
34108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34109
b18decba
SP
341102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34111
fffb407f
SP
34112 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34114 (__cpymn): Likewise.
34115 (norm): Remove commented code.
34116 (denorm): Likewise.
34117 (__mp_dbl): Likewise.
34118 (__inv): Likewise.
34119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34120 (__cpymn): Likewise.
34121 (norm): Remove commented code.
34122 (denorm): Likewise.
34123 (__mp_dbl): Likewise.
34124 (__inv): Likewise.
34125
b18decba
SP
34126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34127 mp_no value for 1.0 and 2.0.
34128 (norm): Use RADIXI instead of radixi.d.
34129 (denorm): Likewise.
34130 (__mul): Use 0.0 instead of zero.d.
34131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34132 mp_no value for 1.0 and 2.0.
34133 (norm): Use RADIXI instead of radixi.d.
34134 (denorm): Likewise.
34135 (__mul): Use 0.0 instead of zero.d.
34136
cdc1c96f
JM
341372013-01-04 Joseph Myers <joseph@codesourcery.com>
34138
34139 [BZ #14994]
34140 * math/s_casinh.c (__casinh): Reduce finite argument to first
34141 quadrant then set signs of results at the end.
34142 * math/s_casinhf.c (__casinhf): Likewise.
34143 * math/s_casinhl.c (__casinhl): Likewise.
34144 * math/libm-test.inc (casin_test): Add more tests.
34145 (casinh_test): Likewise.
34146 * sysdeps/i386/fpu/libm-test-ulps: Update.
34147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34148
302913e1
SP
341492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34150
6420d207
SP
34151 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34152
a9e48ab4
SP
34153 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34154
b7837264
SP
34155 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34156 declarations.
34157 (denorm): Likewise.
34158 (__mp_dbl): Likewise.
34159 (__inv): Likewise.
34160
f8af25d2
SP
34161 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34162 and adjust the header comment.
34163
302913e1
SP
34164 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34165 variable name from declaration.
34166
5d7dd1ca
L
341672013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34168
34169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34170 Initialize COMMON_CPUID_INDEX_7 element.
34171 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34172 (CPUID_RTM): Likewise.
34173 (HAS_RTM): Likewise.
34174 (COMMON_CPUID_INDEX_7): New enum.
34175
2f5f40f4
AS
341762013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34177
34178 [BZ #14981]
34179 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34180 size is zero, record memory as freed.
34181
4056f4a0
AJ
341822013-01-03 Andreas Jaeger <aj@suse.de>
34183
34184 * po/ia.po: Add new Interlingua translation.
34185
ab15736f 341862012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34187
34188 * locale/programs/localedef.c: Fix description of '--posix' flag.
34189
568035b7
JM
341902013-01-02 Joseph Myers <joseph@codesourcery.com>
34191
e6898b8d
JM
34192 * NEWS: Update dates in second copyright notice.
34193 * README: Update copyright dates in example.
34194 * manual/libc.texinfo: Update copyright dates.
34195 * scripts/test-installation.pl: Update copyright date in --version
34196 output.
34197
0e2f9562
JM
34198 * hurd/ctty-input.c: Fix copyright notice formatting.
34199 * hurd/ctty-output.c: Likewise.
34200 * hurd/dtable.c: Likewise.
34201 * hurd/hurd-raise.c: Likewise.
34202 * hurd/hurdprio.c: Likewise.
34203 * hurd/msgportdemux.c: Likewise.
34204 * misc/sys/file.h: Likewise.
34205 * misc/sys/ioctl.h: Likewise.
34206 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34207 * sysdeps/mach/hurd/chdir.c: Likewise.
34208 * sysdeps/mach/hurd/fchdir.c: Likewise.
34209 * sysdeps/mach/hurd/rename.c: Likewise.
34210 * sysdeps/mach/hurd/rmdir.c: Likewise.
34211 * sysdeps/mach/hurd/seekdir.c: Likewise.
34212 * sysdeps/mach/hurd/setsid.c: Likewise.
34213 * sysdeps/posix/wait3.c: Likewise.
34214
568035b7
JM
34215 * All files with FSF copyright notices: Update copyright dates
34216 using scripts/update-copyrights.
34217 * intl/plural.c: Regenerated.
34218 * locale/programs/charmap-kw.h: Likewise.
34219 * locale/programs/locfile-kw.h: Likewise.
34220
da08f647
SP
342212013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34222
0f5477af
SP
34223 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34224 four values.
34225
44e0d4c2
SP
34226 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34227 calculation loop and add branch prediction.
34228
4d55b4e5
SP
34229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34230 check access beyond bounds of m1np.
34231
da08f647
SP
34232 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34233 MPTWO.
34234 (__inv): Remove local variable MPTWO to use the global
34235 constant.
34236 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34237 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34238 variable MPTWO.
34239 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34240 MP3HALFS static const.
34241
8e051029
DM
342422013-01-01 David S. Miller <davem@davemloft.net>
34243
34244 * po/ca.po: Update from translation team.
34245
f4cf5f2d
JM
342462013-01-01 Joseph Myers <joseph@codesourcery.com>
34247
34248 * scripts/update-copyrights: New file.
34249 * Makeconfig: Reformat copyright notice.
34250 * ctype/ctype.h: Likewise.
34251 * debug/swprintf_chk.c: Likewise.
34252 * elf/dl-cache.c: Likewise.
34253 * elf/dl-debug.c: Likewise.
34254 * elf/dl-object.c: Likewise.
34255 * grp/initgroups.c: Likewise.
34256 * hurd/Makefile: Likewise.
34257 * hurd/hurd/signal.h: Likewise.
34258 * hurd/hurdfault.c: Likewise.
34259 * hurd/hurdioctl.c: Likewise.
34260 * hurd/hurdlookup.c: Likewise.
34261 * hurd/intr-msg.c: Likewise.
34262 * iconv/gconv_open.c: Likewise.
34263 * libio/swprintf.c: Likewise.
34264 * locale/lc-ctype.c: Likewise.
34265 * locale/nl_langinfo.c: Likewise.
34266 * mach/Machrules: Likewise.
34267 * mach/Makefile: Likewise.
34268 * malloc/obstack.h: Likewise.
34269 * manual/Makefile: Likewise.
34270 * manual/tsort.awk: Likewise.
34271 * misc/bits/stab.def: Likewise.
34272 * nis/nis_print_group_entry.c: Likewise.
34273 * nis/nis_table.c: Likewise.
34274 * nis/nss_compat/compat-pwd.c: Likewise.
34275 * nis/nss_compat/compat-spwd.c: Likewise.
34276 * po/Makefile: Likewise.
34277 * posix/fnmatch.c: Likewise.
34278 * posix/regex.h: Likewise.
34279 * resolv/Makefile: Likewise.
34280 * resolv/nss_dns/dns-network.c: Likewise.
34281 * resolv/res_hconf.c: Likewise.
34282 * scripts/gen-sorted.awk: Likewise.
34283 * soft-fp/soft-fp.h: Likewise.
34284 * stdio-common/printf.h: Likewise.
34285 * stdlib/monetary.h: Likewise.
34286 * stdlib/random.c: Likewise.
34287 * stdlib/random_r.c: Likewise.
34288 * sysdeps/generic/Makefile: Likewise.
34289 * sysdeps/gnu/Makefile: Likewise.
34290 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34291 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34292 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34293 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34294 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34297 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34299 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34300 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34301 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34302 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34303 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34304 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34306 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34307 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34308 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34309 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34310 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34311 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34312 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34313 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34314 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34315 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34316 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34317 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34318 * sysdeps/mach/hurd/errnos.awk: Likewise.
34319 * sysdeps/mach/hurd/fork.c: Likewise.
34320 * sysdeps/mach/hurd/getcwd.c: Likewise.
34321 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34322 * sysdeps/mach/hurd/mmap.c: Likewise.
34323 * sysdeps/mach/hurd/utimes.c: Likewise.
34324 * sysdeps/mach/hurd/xmknod.c: Likewise.
34325 * sysdeps/posix/profil.c: Likewise.
34326 * sysdeps/posix/readdir_r.c: Likewise.
34327 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34328 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34329 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34330 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34332 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34333 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34334 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34336 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34337 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34338 * sysdeps/pthread/lio_listio.c: Likewise.
34339 * sysdeps/sparc/dl-procinfo.h: Likewise.
34340 * sysdeps/unix/i386/sysdep.S: Likewise.
34341 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34342 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34343 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34344 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34346 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34347 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34348 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34349 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34350 * sysdeps/wordsize-32/divdi3.c: Likewise.
34351 * time/sys/time.h: Likewise.
34352 * wcsmbs/Makefile: Likewise.
34353
0549fbba
DM
343542013-01-01 David S. Miller <davem@davemloft.net>
34355
a141f1a7
DM
34356 * po/fr.po: Update from translation team.
34357
0549fbba
DM
34358 * catgets/gencat.c: Update copyright year.
34359 * csu/version.c: Likewise.
34360 * debug/catchsegv.sh: Likewise.
34361 * debug/pcprofiledump.c: Likewise.
34362 * debug/xtrace.sh: Likewise.
34363 * elf/ldconfig.c: Likewise.
34364 * elf/ldd.bash.in: Likewise.
34365 * elf/pldd.c: Likewise.
34366 * elf/sotruss.ksh: Likewise.
34367 * elf/sprof.c: Likewise.
34368 * iconv/iconv_prog.c: Likewise.
34369 * iconv/iconvconfig.c: Likewise.
34370 * locale/programs/locale.c: Likewise.
34371 * locale/programs/localedef.c: Likewise.
34372 * login/programs/pt_chown.c: Likewise.
34373 * malloc/memusage.sh: Likewise.
34374 * malloc/memusagestat.c: Likewise.
34375 * malloc/mtrace.pl: Likewise.
34376 * nscd/nscd.c: Likewise.
34377 * nss/getent.c: Likewise.
34378 * nss/makedb.c: Likewise.
34379 * posix/getconf.c: Likewise.
34380
18ea052c
SP
343812012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34382
34383 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34384 numbers.
34385
9c89fca6
MF
343862012-12-30 Mike Frysinger <vapier@gentoo.org>
34387
34388 * math/bits/mathcalls.h (modf): Use __nonnull.
34389
085ec079
SP
343902012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34391
34392 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34393 (split): Use macro CN instead of the bare value.
34394 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34395 could be used.
34396 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34397 instead of the bare value.
34398 (power1): Likewise.
34399
6d9f97e1
SP
344002012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34401
d63f73be
SP
34402 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34403 __ATAN_TWOM.
34404 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34405
6d9f97e1
SP
34406 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34407 their values.
34408 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34409 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34410 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34411 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34412
4c4febf5
AJ
344132012-12-28 Andreas Jaeger <aj@suse.de>
34414
af5843ef
AJ
34415 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34416 values are from Linux 3.7.
34417
4c4febf5
AJ
34418 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34419 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34420
99136f82
SP
344212012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34422
2f216c3c 34423 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34424 TRUE case.
34425
99136f82
SP
34426 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34427 (norm): Likewise.
34428 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34429 variables with preprocessor constants.
34430 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34431 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34432 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34433
7fffbdff
BH
344342012-12-27 Bruno Haible <bruno@clisp.org>
34435
34436 [BZ #14317]
34437 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34438 only if needed.
34439
b76eb5f0
SP
344402012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34441
31a7fe5c
SP
34442 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34443 and use variable directly.
34444 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34445
b76eb5f0
SP
34446 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34447 MPONE.
34448 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34449 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34450 variable MPONE.
34451 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34452 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34453 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34454 include directive. Remove local variable MPONE.
34455 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34456 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34457 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34458
2c8bfe7d
DM
344592012-12-25 David S. Miller <davem@davemloft.net>
34460
34461 * version.h (RELEASE): Set to "development".
34462 (VERSION): Set to "2.17.90".
34463 * NEWS: Add 2.18 section.
34464
147d03b0
DM
344652012-12-21 David S. Miller <davem@davemloft.net>
34466
34467 * po/hr.po: Update from translation team.
34468
a8ebb2b9
AK
344692012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34470
34471 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34472
95b4f1b6
SE
344732012-12-19 Steve Ellcey <sellcey@mips.com>
34474
b2d94007 34475 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34476
cedb2a90
MS
344772012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34478
34479 * manual/contrib.texi (Contributors): Spelling correction.
34480
bbf527d6
DM
344812012-12-15 David S. Miller <davem@davemloft.net>
34482
34483 * po/ru.po: Update from translation team.
34484
bc38c906
DM
344852012-12-13 David S. Miller <davem@davemloft.net>
34486
85429b1a
DM
34487 * NEWS: Mention IFUNC testsuite enhancements.
34488
d283e353
DM
34489 * po/pl.po: Update from translation team.
34490 * po/bg.po: Likewise.
34491
bc38c906
DM
34492 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34493 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34494
a181b0d7
DM
344952012-12-11 David S. Miller <davem@davemloft.net>
34496
4641d57e
DM
34497 * po/sv.po: Update from translation team.
34498
f7bc6495
DM
34499 * po/vi.po: Update from translation team.
34500
6fc9048f
DM
34501 * po/cs.po: Update from translation team.
34502
a181b0d7
DM
34503 * po/de.po: Update from translation team.
34504 * po/eo.po: Likewise.
34505 * po/nl.po: Likewise.
34506
f70bfe80
SP
345072012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34508
3c8b4190
SP
34509 [BZ #14246]
34510 * manual/argp.texi (Argp Helper Functions): Move node to follow
34511 Argp Parsing State.
34512
f70bfe80
SP
34513 [BZ #14872]
34514 * manual/conf.texi (Limits on File System Capacity): Mention if
34515 terminating null is included in the max size.
34516
188f0adf
AJ
345172012-12-10 Andreas Jaeger <aj@suse.de>
34518
34519 * po/cs.po: Update from translation team.
34520
56e7d3ad
SP
345212012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34522
34523 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34524 void pointer and cast to uintptr_t.
34525 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34526 path.
34527 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34528 * sysdeps/s390/s390-64/memset.S: Likewise.
34529
76f2d2ea 345302012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34531
34532 [BZ #14833]
34533 * menual/message.texi (Message Translation): Fix typos.
34534 (Helper programs for gettext): Likewise.
34535
67cbf9a2
AS
345362012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34537
34538 [BZ #14898]
34539 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34540 Change to -1.
34541
682d0e9a
DM
345422012-12-07 David S. Miller <davem@davemloft.net>
34543
34544 * po/libc.pot: Update.
34545
573cd484
RH
345462012-12-07 Richard Henderson <rth@redhat.com>
34547
7e9da188 34548 [BZ #10114]
573cd484
RH
34549 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34550 normal/normal case to before the switch.
34551 (_FP_DIV): Likewise.
34552
e933a943
MF
345532012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34554 Mike Frysinger <vapier@gentoo.org>
34555
34556 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34557 check for __NR_fadvise64_64.
34558
82123268
CM
345592012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34560
34561 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34562 0, not just to plain "0" as a statement.
34563 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34564 with cw.
34565
d9814526
JM
345662012-12-06 Joseph Myers <joseph@codesourcery.com>
34567
34568 * NEWS: Use sourceware.org in Bugzilla URL.
34569
7728c574
SP
345702012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34571
f16946dd
SP
34572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34573 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34574
5704bbcb
SP
34575 * stdio-common/tst-put-error.c (do_test): Add newline to the
34576 padded test to ensure flush.
34577
17aa0516
JL
345782012-12-05 Jeff Law <law@redhat.com>
34579
34580 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34581
363313b5
JM
345822012-12-05 Joseph Myers <joseph@codesourcery.com>
34583
effbd42a
JM
34584 * README: Don't refer to ports add-on as distributed separately.
34585 Mention AArch64 in list of systems supported in the ports add-on.
34586
87600365
JM
34587 * LICENSES: Add more non-FSF copyright and license notices.
34588
a0d7066a
JM
34589 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34590 ((unused)).
34591
66ca5a5b
JM
34592 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34593
363313b5
JM
34594 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34595 10000 as width of padded output.
34596
b37984ad
JM
345972012-12-04 Joseph Myers <joseph@codesourcery.com>
34598
9003570a
JM
34599 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34600
b37984ad
JM
34601 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34602 variable LX with __attribute__ ((unused)).
34603 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34604 Likewise.
34605 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34607 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34608 with __attribute__ ((unused)).
34609
c8df52ec
DM
346102012-12-04 David S. Miller <davem@abraco.davemloft.net>
34611
34612 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34613
b3b099af
JM
346142012-12-04 Joseph Myers <joseph@codesourcery.com>
34615
c33aa6e3
JM
34616 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34617 (CFLAGS-nldbl-acos.c): New variable.
34618 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34619 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34620 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34621 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34622 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34623 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34624 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34625 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34626 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34627 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34628 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34629 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34630 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34631 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34632 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34633 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34634 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34635 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34636 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34637 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34638 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34639 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34640 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34641 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34642 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34643 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34644 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34645 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34646 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34647 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34648 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34649 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34650 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34651 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34652 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34653 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34654 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34655 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34656 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34657 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34658 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34659 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34660 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34661 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34662 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34663 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34664 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34665 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34666 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34667 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34668 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34669 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34670 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34671 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34672 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34673 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34674 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34675 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34676 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34677 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34678 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34679 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34680 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34681 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34682 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34683 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34684 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34685 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34686 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34687 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34688 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34689 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34690 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34691 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34692 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34693 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34694 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34695 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34696 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34697 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34698 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34699 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34700 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34701 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34702 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34703 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34704 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34705 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34706 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34707 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34708 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34709 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34710 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34711 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34712 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34713 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34714 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34715
20f0018d
JM
34716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34717 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34718
b3b099af
JM
34719 [BZ #14914]
34720 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34721 whole low double instead of just low 47 bits when splitting values
34722 into two parts.
34723
029264d1
AM
347242012-12-03 Allan McRae <allan@archlinux.org>
34725
34726 * manual/stdio.texi (Predefined Printf Handlers): Remove
34727 @hsep and @vsep usage.
34728
c9d6789e
MF
347292012-12-03 Mike Frysinger <vapier@gentoo.org>
34730
34731 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34732 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34733
4b7634a5
JL
347342012-12-03 Jeff Law <law@redhat.com>
34735
34736 * time/sys/time.h (settimeofday): Do not mark TV argument
34737 as __nonnull.
34738
eb6cbd24
MF
347392012-12-01 Mike Frysinger <vapier@gentoo.org>
34740
34741 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34742 when currently writing and seek to current position when not.
34743 * libio/Makefile (tests): Remove bug-fclose1.
34744 * libio/bug-fclose1.c: Delete.
34745
f638872a
JM
347462012-12-01 Joseph Myers <joseph@codesourcery.com>
34747
34748 * manual/arith.texi (feenableexcept): Fix typo.
34749 (fedisableexcept): Likewise.
34750
48085d14
RM
347512012-11-30 Roland McGrath <roland@hack.frob.com>
34752
34753 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34754 second, differently-typed declaration, rather than a cast.
34755
1a538b9f
SP
347562012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34757
34758 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34759 * include/rpc/svc.h: ... here.
34760
d07f2ff1 347612012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34762
34763 [BZ #13013]
34764 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34765 depending n and resplen2 to catch cases where answer
34766 equals answerp2.
34767
c93ec1f0
CD
347682012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34769
34770 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34771 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34772
37db69de
MF
347732012-11-29 Mike Frysinger <vapier@gentoo.org>
34774
34775 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34776
e10c4e4f
RM
347772012-11-29 Roland McGrath <roland@hack.frob.com>
34778
34779 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34780
2af1b328
JL
347812012-11-28 Jeff Law <law@redhat.com>
34782
34783 [BZ #13761]
34784 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34785 dataset_temporary. Track alloca usage into alloca_used.
34786 If dataset is large allocate and release it via malloc/free.
34787
111db5b1
FW
347882012-06-04 Florian Weimer <fweimer@redhat.com>
34789
f06cc227 34790 [BZ #14197]
111db5b1
FW
34791 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34792
dd694abd
DM
347932012-11-28 David S. Miller <davem@davemloft.net>
34794
34795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34796
9984dd01
JM
347972012-11-28 Joseph Myers <joseph@codesourcery.com>
34798
34799 [BZ #14803]
34800 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34801 of pi/2 rounded to nearest to 64 bits.
34802 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34803 nearest to 64 bits.
34804 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34805 bits.
34806
14bc93a9
JL
348072012-11-28 Jeff Law <law@redhat.com>
34808 Martin Osvald <mosvald@redhat.com>
34809
34810 [BZ #14889]
34811 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34812 * sunrpc/svc.c: Include time.h.
34813 (__svc_accept_failed): New function.
34814 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34815 any reason other than EINTR, call __svc_accept_failed.
34816 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34817 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34818
e3c6aa3a
AS
348192012-11-28 Andreas Schwab <schwab@suse.de>
34820
34821 * scripts/abilist.awk: Also handle indirect functions in .opd
34822 section.
34823
1bead169
JM
348242012-11-28 Joseph Myers <joseph@codesourcery.com>
34825
34826 [BZ #13881]
34827 * sysdeps/x86/fpu/powl_helper.c: New file.
34828 * sysdeps/x86/fpu/Makefile: Likewise.
34829 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34830 (p3): New object.
34831 (__ieee754_powl): Use __powl_helper for finite arguments except
34832 integer exponents below 8.
34833 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34834 (p3): New object.
34835 (__ieee754_powl): Use __powl_helper for finite arguments except
34836 integer exponents below 8.
34837 * math/libm-test.inc (pow_test): Add more tests and enable some
34838 previously disabled tests.
34839 * sysdeps/i386/fpu/libm-test-ulps: Update.
34840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34841
0817d63d
SP
348422012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34843 Carlos O'Donell <carlos_odonell@mentor.com>
34844
34845 * nss/makedb.c (is_prime): Assert that input is odd and greater
34846 than 4. Note that fact in a comment too.
34847 (next_prime): Add 4 to input.
34848
de2fd463
SP
348492012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34850
34851 [BZ #11741]
34852 * libio/Makefile (tests): Add test case tst-fwrite-error.
34853 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34854 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34855 * libio/tst-fwrite-error.c: New test case.
34856
c515fb51
L
348572012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34858
34859 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34860 before casting to void *.
34861 * include/libc-internal.h (__pointer_type): New macro.
34862 (__integer_if_pointer_type_sub): Likewise.
34863 (__integer_if_pointer_type): Likewise.
34864 (cast_to_integer): Likewise.
34865 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34866 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34867 before casting to atomic64_t.
34868 (atomic_exchange_acq): Likewise.
34869 (__arch_exchange_and_add_body): Likewise.
34870 (__arch_add_body): Likewise.
34871 (atomic_add_negative): Likewise.
34872 (atomic_add_zero): Likewise.
34873
4cf77aa9
JM
348742012-11-26 Joseph Myers <joseph@codesourcery.com>
34875
34876 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34877 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34878 (add_fdes): Likewise.
34879 (linear_search_fdes): Likewise.
34880 (binary_search_unencoded_fdes): Likewise.
34881
d260b3b4
AS
348822012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34883
34884 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34885
67060746
AC
348862012-11-24 Adam Conrad <adconrad@0c3.net>
34887
34888 * configure.in: Autodetect C++ header directories.
34889 * configure: Regenerated.
34890
800938a1
MF
348912012-11-23 Mike Frysinger <vapier@gentoo.org>
34892
34893 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34894
4e6e34e6
AS
348952012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34896
34897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34898
7c7feb47
JM
348992012-11-22 Joseph Myers <joseph@codesourcery.com>
34900
7184dcdf
JM
34901 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34902 LDBL_MANT_DIG == 106]: Disable some tests.
34903 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34904 Likewise.
34905 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34906 Likewise.
34907
0a42601f
JM
34908 [BZ #14871]
34909 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34910 input for small inputs. Return +/- pi/2 for large inputs.
34911 * math/libm-test.inc (atan_test): Add more tests.
34912
79c9b9fe
JM
34913 * sysdeps/generic/unwind-dw2-fde-glibc.c
34914 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34915 __attribute__ ((unused)).
34916
c60d3bf2
JM
34917 [BZ #14645]
34918 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34919 x * y if x and y are nonzero and z is zero.
34920
ef1e0867
JM
34921 [BZ #14811]
34922 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34923 nonzero exponents with absolute value below 0x1p-117 to +/-
34924 0x1p-117.
34925
1468ded3
JM
34926 [BZ #14869]
34927 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34928 up arguments below 2**-450, not just those below 2**-500.
34929 * math/libm-test.inc (hypot_test): Add another test.
34930
8e27e3cc
JM
34931 [BZ #14868]
34932 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34933 Return a+b for ratio over 2**120, not 2**60.
34934 * math/libm-test.inc (hypot_test): Add another test.
34935
c9c0279b
JM
34936 * math/libm-test.inc (clog_test): Use
34937 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34938 (clog10_test): Likewise.
34939
7c7feb47
JM
34940 [BZ #6778]
34941 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34942
fff1530e
AS
349432012-11-22 Andreas Schwab <schwab@suse.de>
34944
34945 * sysdeps/i386/fpu/libm-test-ulps: Update.
34946
94558d30
PT
349472012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34948
34949 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34950 printf output with newline.
34951
7e1be741
L
349522012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34953
6bfea974
L
34954 [BZ #14865]
34955 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34956 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34957 -z nodlopen, -z initfirst and -z execstack support.
34958 * configure: Regenerated.
34959
7e1be741
L
34960 * elf/elf.h (DF_1_NODIRECT): New macro.
34961 (DF_1_IGNMULDEF): Likewise.
34962 (DF_1_NOKSYMS): Likewise.
34963 (DF_1_NOHDR): Likewise.
34964 (DF_1_EDITED): Likewise.
34965 (DF_1_NORELOC): Likewise.
34966 (DF_1_SYMINTPOSE): Likewise.
34967 (DF_1_GLOBAUDIT): Likewise.
34968 (DF_1_SINGLETON): Likewise.
34969 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34970 DT_1_SUPPORTED_MASK bits.
34971 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34972
105ce2ce
CD
349732012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34974
34975 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34976
123be9de
TS
349772012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34978
d072f3f7
TS
34979 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34980 macro.
34981
123be9de
TS
34982 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34983 (sendmmsg): Move declarations...
34984 * socket/sys/socket.h: ... here.
34985 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34986 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34987 include it from...
34988 * socket/recvmmsg.c: ... this new file.
34989 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34990 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34991 definition of __sendmmsg hidden.
34992 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34993 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34994 Move ENOSYS stub into and include it from...
34995 * socket/sendmmsg.c: ... this new file.
34996 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34997 (sysdep_routines): Move recvmmsg and sendmmsg...
34998 * socket/Makefile (routines): ... here.
34999 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35000 (GLIBC_PRIVATE): Add __sendmmsg.
35001 * include/sys/socket.h (__sendmmsg): Add declarations.
35002 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35003 sendmmsg.
35004
cf9a5d18
JM
350052012-11-20 Joseph Myers <joseph@codesourcery.com>
35006
35007 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35008 variable I1 with __attribute__ ((unused)).
35009 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35010
ecd4caf9
JM
350112012-11-19 Joseph Myers <joseph@codesourcery.com>
35012
be14d48f
JM
35013 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35014 DUMMY variables with __attribute__ ((unused)).
35015
ecd4caf9
JM
35016 * bits/byteswap.h: Include <bits/types.h>.
35017 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35018
986cab95
PT
350192012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35020
35021 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35022 string_t. Do not manually set errno.
35023 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35024 length with __strnlen. Make sure to both set errno and return it on
35025 failure.
35026
6d33cc9d
DM
350272012-11-19 David S. Miller <davem@davemloft.net>
35028
35029 With help from Joseph Myers.
35030 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35031 very large arguments properly.
35032 * math/libm-test.inc (atan_test): New tests.
35033 (atan2_test): New tests.
35034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35036
ee663277
JM
350372012-11-19 Joseph Myers <joseph@codesourcery.com>
35038
877f2d8e
JM
35039 [BZ #14856]
35040 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35041 Define to 3.
35042
116fc08a
JM
35043 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35044 [POSIX] (EADDRNOTAVAIL): Likewise.
35045 [POSIX] (EAFNOSUPPORT): Likewise.
35046 [POSIX] (EALREADY): Likewise.
35047 [POSIX] (ECONNABORTED): Likewise.
35048 [POSIX] (ECONNREFUSED): Likewise.
35049 [POSIX] (ECONNRESET): Likewise.
35050 [POSIX] (EDESTADDRREQ): Likewise.
35051 [POSIX] (EDQUOT): Likewise.
35052 [POSIX] (EHOSTUNREACH): Likewise.
35053 [POSIX] (EIDRM): Likewise.
35054 [POSIX] (EISCONN): Likewise.
35055 [POSIX] (ELOOP): Likewise.
35056 [POSIX] (EMULTIHOP): Likewise.
35057 [POSIX] (ENETDOWN): Likewise.
35058 [POSIX] (ENETUNREACH): Likewise.
35059 [POSIX] (ENOBUFS): Likewise.
35060 [POSIX] (ENODATA): Likewise.
35061 [POSIX] (ENOLINK): Likewise.
35062 [POSIX] (ENOMSG): Likewise.
35063 [POSIX] (ENOPROTOOPT): Likewise.
35064 [POSIX] (ENOSR): Likewise.
35065 [POSIX] (ENOSTR): Likewise.
35066 [POSIX] (ENOTCONN): Likewise.
35067 [POSIX] (ENOTSOCK): Likewise.
35068 [POSIX] (EOPNOTSUPP): Likewise.
35069 [POSIX] (EOVERFLOW): Likewise.
35070 [POSIX] (EPROTO): Likewise.
35071 [POSIX] (EPROTONOSUPPORT): Likewise.
35072 [POSIX] (EPROTOTYPE): Likewise.
35073 [POSIX] (ESTALE): Likewise.
35074 [POSIX] (ETIME): Likewise.
35075 [POSIX] (ETXTBSY): Likewise.
35076 [POSIX] (EWOULDBLOCK): Likewise.
35077 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35078 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35079 [POSIX] (SEEK_CUR): Likewise.
35080 [POSIX] (SEEK_END): Likewise.
35081 [POSIX || UNIX98] (mode_t): Do not require.
35082 [POSIX] (off_t): Likewise.
35083 [POSIX] (pid_t): Likewise.
35084 [POSIX] (sys/stat.h): Do not allow header.
35085 [POSIX] (unistd.h): Likewise.
35086 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35087 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35088 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35089 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35090 require.
35091 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35092 sigevent): Specify elements.
35093 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35094 entry.
35095 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35096 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35097
a483863f
JM
35098 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35099 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35100 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35101 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35102 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35103 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35104 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35105 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35106 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35107 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35108 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35109 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35110 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35111 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35112 Likewise.
35113 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35114 Likewise.
35115 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35116 Likewise.
35117 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35118 Likewise.
35119 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35120 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35121 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35122 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35123 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35124 Specify lower bound on value.
35125 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35126 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35127 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35128 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35129 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35130 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35131 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35132 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35133 value.
35134 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35135 as optional.
35136 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35137 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35138 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35139 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35140 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35141 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35142 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35143 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35144 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35145 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35146 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35147 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35148 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35149 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35150 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35151 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35152 entry.
35153 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35154 optional.
35155 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35156 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35157 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35158 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35159 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35160 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35161 Likewise.
35162 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35163 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35164 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35165 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35166 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35167 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35168 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35169 as optional.
35170 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35171 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35172 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35173 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35174 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35175 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35176 specify as optional.
35177 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35178 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35179 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35180 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35181 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35182 [XPG3] (NL_LANGMAX): Likewise.
35183 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35184 [POSIX || XPG3] (NL_NMAX): Likewise.
35185 [POSIX || XPG3] (NL_SETMAX): Likewise.
35186 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35187 [XPG3] (NZERO): Likewise.
35188 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35189 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35190 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35191 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35192 (REG_ERANGE): Expect.
35193 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35194 optional-constant.
35195 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35196 Use (void) in prototype.
35197 [POSIX] (*_t): Allow.
35198 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35199 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35200 (WRDE_BADVAL): Expect.
35201
5ba924e3
JM
35202 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35203 expect.
35204 [XPG3 || XPG4] (O_RSYNC): Likewise.
35205 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35206 Likewise.
35207 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35208 [XPG3 || XPG4] (sigqueue): Likewise.
35209 [XPG3 || XPG4] (sigtimedwait): Likewise.
35210 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35211 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35212 [XPG3 || XPG4] (vsnprintf): Likewise.
35213 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35214 Likewise.
35215 [XPG3 || XPG4] (blksize_t): Likewise.
35216 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35217 Likewise.
35218 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35219 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35220 [XPG3 || XPG4] (struct itimerspec): Likewise.
35221 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35222 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35223 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35224 [XPG3 || XPG4] (clockid_t): Likewise.
35225 [XPG3 || XPG4] (timer_t): Likewise.
35226 [XPG3 || XPG4] (clock_getres): Likewise.
35227 [XPG3 || XPG4] (clock_gettime): Likewise.
35228 [XPG3 || XPG4] (clock_settime): Likewise.
35229 [XPG3 || XPG4] (nanosleep): Likewise.
35230 [XPG3 || XPG4] (timer_create): Likewise.
35231 [XPG3 || XPG4] (timer_delete): Likewise.
35232 [XPG3 || XPG4] (timer_gettime): Likewise.
35233 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35234 [XPG3 || XPG4] (timer_settime): Likewise.
35235 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35236 [XPG3 || XPG4] (getlogin_r): Likewise.
35237 [XPG3 || XPG4] (pread): Likewise.
35238 [XPG3 || XPG4] (pthread_atfork): Likewise.
35239 [XPG3 || XPG4] (pwrite): Likewise.
35240
ee663277
JM
35241 [BZ #14835]
35242 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35243 <bits/siginfo.h>.
35244
942caa16
PT
352452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35246
e19af380
PT
35247 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35248 finalizing MALLSTREAM.
35249
942caa16
PT
35250 * sysdeps/mach/hurd/syncfs.c: New file.
35251
cfde9b46
SP
352522012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35253
35254 [BZ #14719]
35255 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35256 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35257 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35258 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35259 (_nss_dns_gethostbyname4_r): Likewise.
35260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35261 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35262
f6da27e5
PH
352632012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35264
35265 [BZ #13763]
35266 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35267
6665d4a2
SM
352682012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35269
1f51ee92
SM
35270 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35271 * elf/cache.c (print_entry): Print ",AArch64" for
35272 FLAG_AARCH64_LIB64
35273
6665d4a2
SM
35274 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35275 * elf/cache.c (print_entry): Print ",hard-float" for
35276 FLAG_ARM_LIBHF.
35277
05b227bd
DM
352782012-11-18 David S. Miller <davem@davemloft.net>
35279
35280 With help from Joseph Myers.
35281 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35282 cutoff to 2**-13.
35283 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35284 cutoff to 2**-25.
35285 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35286 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35287 small.
35288 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35289 * math/libm-test.inc (y0_test): New tests.
35290 (y1_test): New tests.
35291 * sysdeps/i386/fpu/libm-test-ulps: Update.
35292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35294
786b0b67
AS
352952012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35296
35297 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35298 64-bit targets.
35299 * configure: Regenerated.
35300
8e18b86d
DM
353012012-11-17 David S. Miller <davem@davemloft.net>
35302
35303 [BZ #14811]
35304 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35305 nonzero exponents with absolute value below 0x1p-128 to +/-
35306 0x1p-128.
35307
531f1ae0
JM
353082012-11-17 Joseph Myers <joseph@codesourcery.com>
35309
12df29e2
JM
35310 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35311
150dc1a0
JM
35312 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35313
531f1ae0
JM
35314 * posix/getconf-speclist.c: New file.
35315 * posix/posix-envs.def: Likewise.
35316 * posix/confstr.c (START_ENV_GROUP): New macro.
35317 (END_ENV_GROUP): Likewise.
35318 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35319 (KNOWN_PRESENT_ENV_STRING): Likewise.
35320 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35321 (UNKNOWN_ENVIRONMENT): Likewise.
35322 (confstr): Include posix-envs.def instead of handling
35323 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35324 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35325 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35326 (END_ENV_GROUP): Likewise.
35327 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35328 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35329 (UNKNOWN_ENVIRONMENT): Likewise.
35330 (__sysconf): Include posix-envs.def instead of handling associated
35331 cases directly here.
35332 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35333 preprocessing getconf-speclist.c rather than running getconf or
35334 generating empty file.
35335
a93f9cbc
PT
353362012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35337
35338 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35339
d64d9f87
AL
353402012-11-16 Andrej Lajovic <natrij@gmail.com>
35341
35342 [BZ #14672]
35343 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35344
447885eb
DM
353452012-11-16 David S. Miller <davem@davemloft.net>
35346
35347 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35348 smaller than LDBL_EPSILON/2.0L, just return xm1.
35349
bcbf9830
L
353502012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35351
35352 * elf/tst-array1.c (init): Set constructor priority to 1000.
35353 (fini): Set destructor priority to 1000.
35354 * elf/tst-array2dep.c: Likewise.
35355
2b766585
SP
353562012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35357
35358 [BZ #11741]
35359 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35360 (_IO_new_file_xsputn): Also return EOF if none of the input
35361 data was written when overflow failed.
35362 * libio/iopadn.c (_IO_padn): Likewise.
35363 * libio/iowpadn.c (_IO_wpadn): Likewise.
35364 * stdio-common/tst-put-error.c: Add copyright notice.
35365 (do_test): Add case for printing padded string.
35366 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35367 _IO_padn returned error.
35368 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35369 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35370 return EOF.
35371
b1848fde
SP
353722012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35373
35374 * libio/libioP.h: Add comment note that the references to C++
35375 bits are now obsolete.
35376
2fd89785
MS
353772012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35378
35379 * math/libm-test.inc (check_complex): Use asprintf.
35380
e3ea5409
JM
353812012-11-14 Joseph Myers <joseph@codesourcery.com>
35382
35383 * debug/pcprofiledump.c (print_version): Update copyright year.
35384 * malloc/memusagestat.c (print_version): Likewise.
35385
2e64d265
L
353862012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35387
35388 [BZ #14831]
35389 * elf/Makefile (tests): Add tst-audit8.
35390 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35391 ($(objpfx)tst-audit8.out): New target.
35392 (tst-audit8-ENV): New variable.
35393 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35394 audit if l_reloc_result is NULL.
35395 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35396 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35397 * elf/tst-audit8.c: New file.
35398
c485e4d2
MS
353992012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35400
35401 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35402 * misc/Makefile (CFLAGS-select.c): Define.
35403 * posix/Makefile (CFLAGS-pause.c): Define.
35404
3a0d900a
DM
354052012-11-13 David S. Miller <davem@davemloft.net>
35406
35407 * crypt/Makefile: Move test targets after toplevel Rules
35408 inclusion. Grab any necessary sysdep routines when linking.
35409 * crypt/md5.c (md5_process_block): Remove define, we will always
35410 name it __md5_process_block.
35411 (md5_finish_ctx): Update md5_process_block call.
35412 (md5_stream): Likewise.
35413 (md5_process_bytes): Likewise.
35414 (md5_process_block): Rename to __md5_process_block and move to ...
35415 * crypt/md5-block.c: ... here.
35416 * crypt/sha256.c (sha256_process_block): Move to ...
35417 * crypt/sha256-block.c: ... here.
35418 * crypt/sha512.c (sha512_process_block): Move to ...
35419 * crypt/sha512-block.c: ... here.
35420 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35421 path.
35422 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35423 * sysdeps/sparc/sparc64/multiarch/Makefile
35424 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35425 crypt subdir.
35426 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35427 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35428 multiarch changes.
35429 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35430 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35431 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35432 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35433 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35434 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35435 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35436 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35437 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35438 file.
35439 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35440 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35441 file.
35442 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35443
8ca89318
JM
354442012-11-13 Joseph Myers <joseph@codesourcery.com>
35445
e27d476a
JM
35446 * timezone/tzselect.ksh: Update from tzcode git revision
35447 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35448 * timezone/zdump.c: Likewise.
35449 * timezone/zic.c: Likewise.
35450 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35451 in TZVERSION setting, not $(PKGVERSION).
35452 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35453 REPORT_BUGS_TO settings.
35454
8ca89318
JM
35455 [BZ #14838]
35456 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35457 macro.
35458
47594329
MS
354592012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35460
35461 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35462 detection to immediately after _FP_ROUND().
35463 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35464 bits are 0.
35465
640ac3f1
DM
354662012-11-11 David S. Miller <davem@davemloft.net>
35467
35468 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35469 inttypes.h
35470 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35471 __close rather than their public counterparts.
35472
3d2577bb
JM
354732012-11-10 Joseph Myers <joseph@codesourcery.com>
35474
35475 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35476 file.
35477 [UNIX98] (sem_timedwait): Do not expect.
35478 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35479 [XPG4 || UNIX98] (sockatmark): Do not expect.
35480 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35481 (clock_getcpuclockid): Do not expect.
35482 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35483 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35484 Do not expect.
35485 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35486 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35487 [UNIX98] (vwscanf): Likewise.
35488 [UNIX98] (vswscanf): Likewise.
35489
fb1ae1ee
JM
354902012-11-09 Joseph Myers <joseph@codesourcery.com>
35491
9ec6f8bd
JM
35492 * timezone/version.h: Remove file.
35493 * timezone/README: Do not refer to version.h.
35494 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35495 $(objpfx)version.h.
35496 ($(objpfx)zdump.o): Likewise.
c3f81911 35497 ($(objpfx)version.h): New target.
9ec6f8bd 35498
0aa8f8a1
JM
35499 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35500 2012i.
35501 * timezone/README: Don't mention modification to tzselect.ksh.
35502 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35503 work on unmodified tzselect.ksh. Substitute version numbers in
35504 tzselect.ksh.
35505
4e87147f
JM
35506 * Makefile (format-me): Remove.
35507 (INSTALL): Adjust indentation. Use commands directly instead of
35508 using $(format-me).
35509
8b748aed
JM
35510 * aclocal.m4 (ACX_PKGVERSION): New macro.
35511 (ACX_BUGURL): Likewise.
35512 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35513 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35514 (REPORT_BUGS_TO): Likewise.
35515 * configure: Regenerated.
35516 * config.h.in (PKGVERSION): New macro.
35517 (REPORT_BUGS_TO): Likewise.
35518 * config.make.in (PKGVERSION): New variable.
35519 (PKGVERSION_TEXI): Likewise.
35520 (REPORT_BUGS_TO): Likewise.
35521 (REPORT_BUGS_TEXI): Likewise.
35522 * Makefile (format-me): Use -I$(common-objpfx)manual.
35523 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35524 ($(common-objpfx)manual/%): New target.
35525 (manual/%): Remove target.
35526 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35527 (print_version): Use PKGVERSION.
35528 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35529 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35530 and REPORT_BUGS_TO.
35531 ($(objpfx)xtrace): Likewise.
35532 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35533 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35534 (print_version): Use PKGVERSION.
35535 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35536 (do_version): Use PKGVERSION.
35537 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35538 REPORT_BUGS_TO.
35539 (common-ldd-rewrite): Likewise.
35540 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35541 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35542 (print_version): Use PKGVERSION.
35543 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35544 * elf/pldd.c (argp_program_bug_address): Remove variable.
35545 (more_help): New function.
35546 (argp): Use more_help.
35547 (print_version): Use PKGVERSION.
35548 * elf/sln.c (main): Use PKGVERSION.
35549 (usage): Use REPORT_BUGS_TO.
35550 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35551 (top level): Use PKGVERSION.
35552 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35553 (print_version): Use PKGVERSION.
35554 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35555 (print_version): Use PKGVERSION.
35556 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35557 (print_version): Use PKGVERSION.
35558 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35559 (print_version): Use PKGVERSION.
35560 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35561 (print_version): Use PKGVERSION.
35562 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35563 (print_version): Use PKGVERSION.
35564 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35565 and BUGURL.
35566 ($(objpfx)memusage): Likewise.
35567 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35568 (do_version): Use PKGVERSION.
35569 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35570 (print_version): Use PKGVERSION.
35571 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35572 ($PKGVERSION): New variable.
35573 ($REPORT_BUGS_TO): Likewise.
35574 (usage): Use $REPORT_BUGS_TO.
35575 (top level): Use $PKGVERSION.
35576 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35577 ($(objpfx)pkgvers.texi): New rule.
35578 ($(objpfx)stamp-pkgvers): Likewise.
35579 * manual/install.texi: Include pkgvers.texi.
35580 (--with-pkgversion): Document new configure option.
35581 (--with-bugurl): Likewise.
35582 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35583 than necessarily for this particular distribution. Use
35584 REPORT_BUGS_TO for where to report bugs.
35585 * INSTALL: Regenerated.
35586 * manual/libc.texinfo: Include pkgvers.texi.
35587 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35588 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35589 (print_version): Use PKGVERSION.
35590 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35591 (print_version): Use PKGVERSION.
35592 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35593 (print_version): Use PKGVERSION.
35594 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35595 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35596 macro.
35597 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35598 (print_version): Use PKGVERSION.
35599 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35600 (print_version): Use PKGVERSION.
35601 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35602 and PKGVERSION.
35603
92e4b6a9
JM
35604 * timezone/checktab.awk: Update from tzcode 2012i.
35605 * timezone/ialloc.c: Likewise.
35606 * timezone/private.h: Likewise.
35607 * timezone/scheck.c: Likewise.
35608 * timezone/tzfile.h: Likewise.
35609 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35610 (TZVERSION): Hardcode tzcode version number.
35611 * timezone/zdump.c: Update from tzcode 2012i.
35612 * timezone/zic.c: Likewise.
35613 * timezone/version.h: New file.
35614 * timezone/README: Describe version.h. Update upstream location.
35615
9bde902c
JM
35616 [BZ #14824]
35617 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35618 (mktemp): Enable declaration.
35619 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35620 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35621 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35622 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35623 Likewise.
35624 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35625 Likewise.
35626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35627 Likewise.
35628 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35629 Likewise.
35630 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35631 Likewise.
35632 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35633 Likewise.
35634
fb1ae1ee
JM
35635 [BZ #14821]
35636 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35637 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35638 for copies of such integer values.
35639 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35640 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35641
2c1adbcb
AJ
356422012-11-09 Andreas Jaeger <aj@suse.de>
35643
35644 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35645 definitions and declarations that are provided by
35646 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35647
d0f8457e
AK
356482012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35649
3a235abb 35650 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35651 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35652 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35653 definition.
35654
57241e26
MS
356552012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35656
35657 * elf/elf.h: Update comment before AArch64 relocations.
35658
60e8270d
DM
356592012-11-07 David S. Miller <davem@davemloft.net>
35660
35661 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35662 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35663 (__start_context): Declare.
35664 (__makecontext_ret): Delete.
35665 (__makecontext): Hook up __start_context instead of
35666 __makecontext_ret.
35667 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35668 (sysdep_routines): Add __start_context when in stdlib.
35669
0fbb0fbc
JM
356702012-11-07 Joseph Myers <joseph@codesourcery.com>
35671
35672 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35673 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35674 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35675 hardcoded "nm".
35676 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35677 (READELF): New variable. Use it instead of hardcoded "readelf".
35678
eb48db7e
L
356792012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35680
35681 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35682 * sysdeps/x86/Makefile: Here.
35683 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35684 * sysdeps/x86/tst-xmmymm.sh: This.
35685
05bcf62a
JM
356862012-11-07 Joseph Myers <joseph@codesourcery.com>
35687
c4b6cf53
JM
35688 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35689 expectations.
35690 [UNIX98] (pthread_barrier_t): Do not expect.
35691 [UNIX98] (pthread_barrierattr_t): Likewise.
35692 [UNIX98] (pthread_spinlock_t): Likewise.
35693 [UNIX98] (pthread_barrier_destroy): Likewise.
35694 [UNIX98] (pthread_barrier_init): Likewise.
35695 [UNIX98] (pthread_barrier_wait): Likewise.
35696 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35697 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35698 [UNIX98] (pthread_barrierattr_init): Likewise.
35699 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35700 [UNIX98] (pthread_getcpuclockid): Likewise.
35701 [UNIX98] (pthread_mutex_timedlock): Likewise.
35702 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35703 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35704 [UNIX98] (pthread_sigmask): Likewise.
35705 [UNIX98] (pthread_spin_destroy): Likewise.
35706 [UNIX98] (pthread_spin_init): Likewise.
35707 [UNIX98] (pthread_spin_lock): Likewise.
35708 [UNIX98] (pthread_spin_trylock): Likewise.
35709 [UNIX98] (pthread_spin_unlock): Likewise.
35710 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35711 Do not expect.
35712 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35713 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35714 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35715 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35716 [XPG3 || XPG4] (pthread_key_t): Likewise.
35717 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35718 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35719 [XPG3 || XPG4] (pthread_once_t): Likewise.
35720 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35721 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35722 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35723 [XPG3 || XPG4] (pthread_t): Likewise.
35724
cbe6e120
JM
35725 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35726 not expect.
35727 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35728
1b126443
JM
35729 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35730 Change function return type to int.
35731
b961a573
JM
35732 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35733 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35734 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35735 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35736 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35737 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35738 [!POSIX] (posix_madvise): Likewise.
35739 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35740 && !UNIX98].
35741 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35742 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35743 (mode_t): Likewise.
35744 (posix_mem_offset): Likewise.
35745 (posix_typed_mem_get_info): Likewise.
35746 (posix_typed_mem_open): Likewise.
35747
9e188909
JM
35748 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35749 Change condition to [XOPEN2K8].
35750
05bcf62a
JM
35751 * conform/conformtest.pl: Preprocess allow-header data with -x c
35752 instead of from stdin.
35753 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35754 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35755 [C99-based standards] (cerfc): Likewise.
35756 [C99-based standards] (cexp2): Likewise.
35757 [C99-based standards] (cexpm1): Likewise.
35758 [C99-based standards] (clog10): Likewise.
35759 [C99-based standards] (clog1p): Likewise.
35760 [C99-based standards] (clog2): Likewise.
35761 [C99-based standards] (clgamma): Likewise.
35762 [C99-based standards] (ctgamma): Likewise.
35763 [C99-based standards] (cerff): Likewise.
35764 [C99-based standards] (cerfcf): Likewise.
35765 [C99-based standards] (cexp2f): Likewise.
35766 [C99-based standards] (cexpm1f): Likewise.
35767 [C99-based standards] (clog10f): Likewise.
35768 [C99-based standards] (clog1pf): Likewise.
35769 [C99-based standards] (clog2f): Likewise.
35770 [C99-based standards] (clgammaf): Likewise.
35771 [C99-based standards] (ctgammaf): Likewise.
35772 [C99-based standards] (cerfl): Likewise.
35773 [C99-based standards] (cerfcl): Likewise.
35774 [C99-based standards] (cexp2l): Likewise.
35775 [C99-based standards] (cexpm1l): Likewise.
35776 [C99-based standards] (clog10l): Likewise.
35777 [C99-based standards] (clog1pl): Likewise.
35778 [C99-based standards] (clog2l): Likewise.
35779 [C99-based standards] (clgammal): Likewise.
35780 [C99-based standards] (ctgammal): Likewise.
35781 * conform/data/inttypes.h-data [C99-based standards]: Include
35782 stdint.h-data. Remove all expectations for stdint.h contents.
35783 [C99-based standards] (PRI*): Do not allow.
35784 [C99-based standards] (SCN*): Likewise.
35785 [C99-based standards] (*_t): Likewise.
35786 [C99-based-standards] (PRId8): Expect macro.
35787 [C99-based-standards] (PRIi8): Likewise.
35788 [C99-based-standards] (PRIo8): Likewise.
35789 [C99-based-standards] (PRIu8): Likewise.
35790 [C99-based-standards] (PRIx8): Likewise.
35791 [C99-based-standards] (PRIX8): Likewise.
35792 [C99-based-standards] (SCNd8): Likewise.
35793 [C99-based-standards] (SCNi8): Likewise.
35794 [C99-based-standards] (SCNo8): Likewise.
35795 [C99-based-standards] (SCNu8): Likewise.
35796 [C99-based-standards] (SCNx8): Likewise.
35797 [C99-based-standards] (PRIdLEAST8): Likewise.
35798 [C99-based-standards] (PRIiLEAST8): Likewise.
35799 [C99-based-standards] (PRIoLEAST8): Likewise.
35800 [C99-based-standards] (PRIuLEAST8): Likewise.
35801 [C99-based-standards] (PRIxLEAST8): Likewise.
35802 [C99-based-standards] (PRIXLEAST8): Likewise.
35803 [C99-based-standards] (SCNdLEAST8): Likewise.
35804 [C99-based-standards] (SCNiLEAST8): Likewise.
35805 [C99-based-standards] (SCNoLEAST8): Likewise.
35806 [C99-based-standards] (SCNuLEAST8): Likewise.
35807 [C99-based-standards] (SCNxLEAST8): Likewise.
35808 [C99-based-standards] (PRIdFAST8): Likewise.
35809 [C99-based-standards] (PRIiFAST8): Likewise.
35810 [C99-based-standards] (PRIoFAST8): Likewise.
35811 [C99-based-standards] (PRIuFAST8): Likewise.
35812 [C99-based-standards] (PRIxFAST8): Likewise.
35813 [C99-based-standards] (PRIXFAST8): Likewise.
35814 [C99-based-standards] (SCNdFAST8): Likewise.
35815 [C99-based-standards] (SCNiFAST8): Likewise.
35816 [C99-based-standards] (SCNoFAST8): Likewise.
35817 [C99-based-standards] (SCNuFAST8): Likewise.
35818 [C99-based-standards] (SCNxFAST8): Likewise.
35819 [C99-based-standards] (PRId16): Likewise.
35820 [C99-based-standards] (PRIi16): Likewise.
35821 [C99-based-standards] (PRIo16): Likewise.
35822 [C99-based-standards] (PRIu16): Likewise.
35823 [C99-based-standards] (PRIx16): Likewise.
35824 [C99-based-standards] (PRIX16): Likewise.
35825 [C99-based-standards] (SCNd16): Likewise.
35826 [C99-based-standards] (SCNi16): Likewise.
35827 [C99-based-standards] (SCNo16): Likewise.
35828 [C99-based-standards] (SCNu16): Likewise.
35829 [C99-based-standards] (SCNx16): Likewise.
35830 [C99-based-standards] (PRIdLEAST16): Likewise.
35831 [C99-based-standards] (PRIiLEAST16): Likewise.
35832 [C99-based-standards] (PRIoLEAST16): Likewise.
35833 [C99-based-standards] (PRIuLEAST16): Likewise.
35834 [C99-based-standards] (PRIxLEAST16): Likewise.
35835 [C99-based-standards] (PRIXLEAST16): Likewise.
35836 [C99-based-standards] (SCNdLEAST16): Likewise.
35837 [C99-based-standards] (SCNiLEAST16): Likewise.
35838 [C99-based-standards] (SCNoLEAST16): Likewise.
35839 [C99-based-standards] (SCNuLEAST16): Likewise.
35840 [C99-based-standards] (SCNxLEAST16): Likewise.
35841 [C99-based-standards] (PRIdFAST16): Likewise.
35842 [C99-based-standards] (PRIiFAST16): Likewise.
35843 [C99-based-standards] (PRIoFAST16): Likewise.
35844 [C99-based-standards] (PRIuFAST16): Likewise.
35845 [C99-based-standards] (PRIxFAST16): Likewise.
35846 [C99-based-standards] (PRIXFAST16): Likewise.
35847 [C99-based-standards] (SCNdFAST16): Likewise.
35848 [C99-based-standards] (SCNiFAST16): Likewise.
35849 [C99-based-standards] (SCNoFAST16): Likewise.
35850 [C99-based-standards] (SCNuFAST16): Likewise.
35851 [C99-based-standards] (SCNxFAST16): Likewise.
35852 [C99-based-standards] (PRId32): Likewise.
35853 [C99-based-standards] (PRIi32): Likewise.
35854 [C99-based-standards] (PRIo32): Likewise.
35855 [C99-based-standards] (PRIu32): Likewise.
35856 [C99-based-standards] (PRIx32): Likewise.
35857 [C99-based-standards] (PRIX32): Likewise.
35858 [C99-based-standards] (SCNd32): Likewise.
35859 [C99-based-standards] (SCNi32): Likewise.
35860 [C99-based-standards] (SCNo32): Likewise.
35861 [C99-based-standards] (SCNu32): Likewise.
35862 [C99-based-standards] (SCNx32): Likewise.
35863 [C99-based-standards] (PRIdLEAST32): Likewise.
35864 [C99-based-standards] (PRIiLEAST32): Likewise.
35865 [C99-based-standards] (PRIoLEAST32): Likewise.
35866 [C99-based-standards] (PRIuLEAST32): Likewise.
35867 [C99-based-standards] (PRIxLEAST32): Likewise.
35868 [C99-based-standards] (PRIXLEAST32): Likewise.
35869 [C99-based-standards] (SCNdLEAST32): Likewise.
35870 [C99-based-standards] (SCNiLEAST32): Likewise.
35871 [C99-based-standards] (SCNoLEAST32): Likewise.
35872 [C99-based-standards] (SCNuLEAST32): Likewise.
35873 [C99-based-standards] (SCNxLEAST32): Likewise.
35874 [C99-based-standards] (PRIdFAST32): Likewise.
35875 [C99-based-standards] (PRIiFAST32): Likewise.
35876 [C99-based-standards] (PRIoFAST32): Likewise.
35877 [C99-based-standards] (PRIuFAST32): Likewise.
35878 [C99-based-standards] (PRIxFAST32): Likewise.
35879 [C99-based-standards] (PRIXFAST32): Likewise.
35880 [C99-based-standards] (SCNdFAST32): Likewise.
35881 [C99-based-standards] (SCNiFAST32): Likewise.
35882 [C99-based-standards] (SCNoFAST32): Likewise.
35883 [C99-based-standards] (SCNuFAST32): Likewise.
35884 [C99-based-standards] (SCNxFAST32): Likewise.
35885 [C99-based-standards] (PRId64): Likewise.
35886 [C99-based-standards] (PRIi64): Likewise.
35887 [C99-based-standards] (PRIo64): Likewise.
35888 [C99-based-standards] (PRIu64): Likewise.
35889 [C99-based-standards] (PRIx64): Likewise.
35890 [C99-based-standards] (PRIX64): Likewise.
35891 [C99-based-standards] (SCNd64): Likewise.
35892 [C99-based-standards] (SCNi64): Likewise.
35893 [C99-based-standards] (SCNo64): Likewise.
35894 [C99-based-standards] (SCNu64): Likewise.
35895 [C99-based-standards] (SCNx64): Likewise.
35896 [C99-based-standards] (PRIdLEAST64): Likewise.
35897 [C99-based-standards] (PRIiLEAST64): Likewise.
35898 [C99-based-standards] (PRIoLEAST64): Likewise.
35899 [C99-based-standards] (PRIuLEAST64): Likewise.
35900 [C99-based-standards] (PRIxLEAST64): Likewise.
35901 [C99-based-standards] (PRIXLEAST64): Likewise.
35902 [C99-based-standards] (SCNdLEAST64): Likewise.
35903 [C99-based-standards] (SCNiLEAST64): Likewise.
35904 [C99-based-standards] (SCNoLEAST64): Likewise.
35905 [C99-based-standards] (SCNuLEAST64): Likewise.
35906 [C99-based-standards] (SCNxLEAST64): Likewise.
35907 [C99-based-standards] (PRIdFAST64): Likewise.
35908 [C99-based-standards] (PRIiFAST64): Likewise.
35909 [C99-based-standards] (PRIoFAST64): Likewise.
35910 [C99-based-standards] (PRIuFAST64): Likewise.
35911 [C99-based-standards] (PRIxFAST64): Likewise.
35912 [C99-based-standards] (PRIXFAST64): Likewise.
35913 [C99-based-standards] (SCNdFAST64): Likewise.
35914 [C99-based-standards] (SCNiFAST64): Likewise.
35915 [C99-based-standards] (SCNoFAST64): Likewise.
35916 [C99-based-standards] (SCNuFAST64): Likewise.
35917 [C99-based-standards] (SCNxFAST64): Likewise.
35918 [C99-based-standards] (PRIdMAX): Likewise.
35919 [C99-based-standards] (PRIiMAX): Likewise.
35920 [C99-based-standards] (PRIoMAX): Likewise.
35921 [C99-based-standards] (PRIuMAX): Likewise.
35922 [C99-based-standards] (PRIxMAX): Likewise.
35923 [C99-based-standards] (PRIXMAX): Likewise.
35924 [C99-based-standards] (SCNdMAX): Likewise.
35925 [C99-based-standards] (SCNiMAX): Likewise.
35926 [C99-based-standards] (SCNoMAX): Likewise.
35927 [C99-based-standards] (SCNuMAX): Likewise.
35928 [C99-based-standards] (SCNxMAX): Likewise.
35929 [C99-based-standards] (PRIdPTR): Likewise.
35930 [C99-based-standards] (PRIiPTR): Likewise.
35931 [C99-based-standards] (PRIoPTR): Likewise.
35932 [C99-based-standards] (PRIuPTR): Likewise.
35933 [C99-based-standards] (PRIxPTR): Likewise.
35934 [C99-based-standards] (PRIXPTR): Likewise.
35935 [C99-based-standards] (SCNdPTR): Likewise.
35936 [C99-based-standards] (SCNiPTR): Likewise.
35937 [C99-based-standards] (SCNoPTR): Likewise.
35938 [C99-based-standards] (SCNuPTR): Likewise.
35939 [C99-based-standards] (SCNxPTR): Likewise.
35940 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35941 allow.
35942 * conform/data/stdint.h-data: Update comments to clarify
35943 requirements.
35944 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35945 type.
35946 [C99-based standards] (INT8_MAX): Likewise.
35947 [C99-based standards] (INT16_MIN): Likewise.
35948 [C99-based standards] (INT16_MAX): Likewise.
35949 [C99-based standards] (INT32_MIN): Likewise.
35950 [C99-based standards] (INT32_MAX): Likewise.
35951 [C99-based standards] (INT64_MIN): Likewise.
35952 [C99-based standards] (INT64_MAX): Likewise.
35953 [C99-based standards] (UINT8_MAX): Likewise.
35954 [C99-based standards] (UINT16_MAX): Likewise.
35955 [C99-based standards] (UINT32_MAX): Likewise.
35956 [C99-based standards] (UINT64_MAX): Likewise.
35957 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35958 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35959 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35960 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35961 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35962 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35963 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35964 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35965 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35966 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35967 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35968 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35969 [C99-based standards] (INT_FAST8_MIN): Likewise.
35970 [C99-based standards] (INT_FAST8_MAX): Likewise.
35971 [C99-based standards] (INT_FAST16_MIN): Likewise.
35972 [C99-based standards] (INT_FAST16_MAX): Likewise.
35973 [C99-based standards] (INT_FAST32_MIN): Likewise.
35974 [C99-based standards] (INT_FAST32_MAX): Likewise.
35975 [C99-based standards] (INT_FAST64_MIN): Likewise.
35976 [C99-based standards] (INT_FAST64_MAX): Likewise.
35977 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35978 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35979 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35980 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35981 [C99-based standards] (INTPTR_MIN): Likewise.
35982 [C99-based standards] (INTPTR_MAX): Likewise.
35983 [C99-based standards] (UINTPTR_MAX): Likewise.
35984 [C99-based standards] (INTMAX_MIN): Likewise.
35985 [C99-based standards] (INTMAX_MAX): Likewise.
35986 [C99-based standards] (UINTMAX_MAX): Likewise.
35987 [C99-based standards] (PTRDIFF_MIN): Likewise.
35988 [C99-based standards] (PTRDIFF_MAX): Likewise.
35989 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35990 [C99-based standards] (SIZE_MAX): Likewise.
35991 [C99-based standards] (WCHAR_MAX): Likewise.
35992 [C99-based standards] (WINT_MAX): Likewise.
35993 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35994 constraint on value.
35995 [C99-based standards] (WCHAR_MIN): Likewise.
35996 [C99-based standards] (WINT_MIN): Likewise.
35997 [C99-based standards] (*_t): Allow.
35998 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35999 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36000 Include math.h-data and complex.h-data. Remove all expectations
36001 of math.h and complex.h contents.
36002 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36003 at end of line.
36004 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36005 (struct tm): Expect tag.
36006 [C99-based-standards] (wcstof): Expect function.
36007 [C99-based-standards] (wcstold): Likewise.
36008 [C99-based-standards] (wcstoll): Likewise.
36009 [C99-based-standards] (wcstoull): Likewise.
36010 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36011 macro-int-constant. Specify type.
36012 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36013 constraint on value.
36014 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36015 Specify type.
36016 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36017 Specify value.
36018 [ISO C standards]: Do not allow headers.
36019 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36020 wcs[abcdefghijklmnopqrstuvwxyz]*.
36021 [ISO C standards] (*_t): Do not allow.
36022 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36023 Expect function.
36024 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36025 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36026 Specify type.
36027 [ISO C standards]: Do not allow headers.
36028 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36029 is[abcdefghijklmnopqrstuvwxyz]*.
36030 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36031 to[abcdefghijklmnopqrstuvwxyz]*.
36032 [ISO C standards] (*_t): Do not allow.
36033 * conform/data/stdalign.h-data: New file.
36034 * conform/data/stdbool.h-data: Likewise.
36035 * conform/data/stdnoreturn.h-data: Likewise.
36036
7514feb8
RM
360372012-11-07 Roland McGrath <roland@hack.frob.com>
36038
36039 [BZ #14815]
36040 * manual/filesys.texi (Directory Entries): Typo fix.
36041 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36042
19b2ecfc
MS
360432012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36044
36045 * elf/elf.h (EM_AARCH64): New macro.
36046 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36047 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36048 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36049 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36050 (R_AARCH64_TLSDESC): Likewise.
36051 (NT_ARM_TLS): Likewise.
36052 (NT_ARM_HW_BREAK): Likewise.
36053 (NT_ARM_HW_WATCH): Likewise.
36054
60e235ee
JM
360552012-11-07 Joseph Myers <joseph@codesourcery.com>
36056
36057 [BZ #14811]
36058 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36059 (__ieee754_powl): Saturate nonzero exponents with absolute value
36060 below 0x1p-79 to +/- 0x1p-79.
36061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36062 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36063 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36064 nonzero exponents with absolute value below 0x1p-32 to +/-
36065 0x1p-32.
36066 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36067 (__ieee754_powl): Saturate nonzero exponents with absolute value
36068 below 0x1p-79 to +/- 0x1p-79.
36069 * math/libm-test.inc (pow_test): Add more tests.
36070
0ab234b7
AK
360712012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36072
36073 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36074 _dl_s390_cap_flags with kernel. Increase string length.
36075 (_dl_s390_platforms): Add z196 and zEC12.
36076
45832f74
JM
360772012-11-07 Joseph Myers <joseph@codesourcery.com>
36078
36079 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36080 Change XOPEN21K to XOPEN2K.
36081
19218757
MK
360822012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36083
36084 * string/memmove.c: Use memcpy when possible.
36085
c5f45721
AJ
360862012-11-06 Andreas Jaeger <aj@suse.de>
36087
36088 * po/eo.po: Update from translation team.
36089
82477c28
JM
360902012-11-06 Joseph Myers <joseph@codesourcery.com>
36091
36092 [BZ #14793]
36093 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36094 exponent and small x and y exponents, scale x or y up. Increase
36095 by 2 the exponent used in scaling up.
36096 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36097 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36098 * math/libm-test.inc (fma_test): Add more tests.
36099 (fma_test_towardzero): Likewise.
36100 (fma_test_downward): Likewise.
36101 (fma_test_upward): Likewise.
36102
99252c8c
JM
361032012-11-05 Joseph Myers <joseph@codesourcery.com>
36104
acfa885f
JM
36105 [BZ #14805]
36106 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36107 fenv_t *.
36108
99252c8c
JM
36109 [BZ #14801]
36110 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36111 namespace for names of struct fields.
36112 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36113 fenv_t fields.
36114 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36115 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36116
d6d98dea
ST
361172012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36118
36119 [BZ #3665]
36120 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36121
e10bb107
TS
361222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36123
36124 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36125 PTR_DEMANGLE.
36126
36127 [BZ #5246]
36128 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36129 PTR_DEMANGLE.
36130
a0c2940d
JM
361312012-11-04 Joseph Myers <joseph@codesourcery.com>
36132
36133 [BZ #14797]
36134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36135 definitely overflow as x * y not x * y + z.
36136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36137 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36138 * math/libm-test.inc (fma_test): Add more tests.
36139 (fma_test_towardzero): Likewise.
36140 (fma_test_downward): Likewise.
36141 (fma_test_upward): Likewise.
36142
b830319d
TS
361432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36144
36145 [BZ #157]
36146
36147 * include/stub-tag.h: Remove file.
36148 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36149 '#include' of it.
36150 * manual/maint.texi (Porting): Don't reference it.
36151 * Makerules ($(objpfx)stubs): Likewise.
36152 * dirent/closedir.c: Don't include <stub-tag.h>.
36153 * dirent/dirfd.c: Likewise.
36154 * dirent/fdopendir.c: Likewise.
36155 * dirent/getdents.c: Likewise.
36156 * dirent/getdents64.c: Likewise.
36157 * dirent/opendir.c: Likewise.
36158 * dirent/readdir.c: Likewise.
36159 * dirent/readdir64.c: Likewise.
36160 * dirent/readdir64_r.c: Likewise.
36161 * dirent/readdir_r.c: Likewise.
36162 * dirent/rewinddir.c: Likewise.
36163 * dirent/seekdir.c: Likewise.
36164 * dirent/telldir.c: Likewise.
36165 * gmon/profil.c: Likewise.
36166 * grp/setgroups.c: Likewise.
36167 * inet/if_index.c: Likewise.
36168 * io/access.c: Likewise.
36169 * io/chdir.c: Likewise.
36170 * io/chmod.c: Likewise.
36171 * io/chown.c: Likewise.
36172 * io/close.c: Likewise.
36173 * io/dup.c: Likewise.
36174 * io/dup2.c: Likewise.
36175 * io/dup3.c: Likewise.
36176 * io/euidaccess.c: Likewise.
36177 * io/faccessat.c: Likewise.
36178 * io/fchdir.c: Likewise.
36179 * io/fchmod.c: Likewise.
36180 * io/fchmodat.c: Likewise.
36181 * io/fchown.c: Likewise.
36182 * io/fchownat.c: Likewise.
36183 * io/fcntl.c: Likewise.
36184 * io/flock.c: Likewise.
36185 * io/fstatfs.c: Likewise.
36186 * io/fstatfs64.c: Likewise.
36187 * io/fstatvfs.c: Likewise.
36188 * io/fstatvfs64.c: Likewise.
36189 * io/futimens.c: Likewise.
36190 * io/fxstat.c: Likewise.
36191 * io/fxstat64.c: Likewise.
36192 * io/fxstatat.c: Likewise.
36193 * io/fxstatat64.c: Likewise.
36194 * io/getcwd.c: Likewise.
36195 * io/isatty.c: Likewise.
36196 * io/lchmod.c: Likewise.
36197 * io/lchown.c: Likewise.
36198 * io/link.c: Likewise.
36199 * io/linkat.c: Likewise.
36200 * io/lseek.c: Likewise.
36201 * io/lseek64.c: Likewise.
36202 * io/lxstat64.c: Likewise.
36203 * io/mkdir.c: Likewise.
36204 * io/mkdirat.c: Likewise.
36205 * io/mkfifo.c: Likewise.
36206 * io/mkfifoat.c: Likewise.
36207 * io/open.c: Likewise.
36208 * io/open64.c: Likewise.
36209 * io/openat.c: Likewise.
36210 * io/openat64.c: Likewise.
36211 * io/pipe.c: Likewise.
36212 * io/pipe2.c: Likewise.
36213 * io/poll.c: Likewise.
36214 * io/posix_fadvise.c: Likewise.
36215 * io/posix_fadvise64.c: Likewise.
36216 * io/posix_fallocate.c: Likewise.
36217 * io/posix_fallocate64.c: Likewise.
36218 * io/read.c: Likewise.
36219 * io/readlink.c: Likewise.
36220 * io/readlinkat.c: Likewise.
36221 * io/rmdir.c: Likewise.
36222 * io/sendfile.c: Likewise.
36223 * io/sendfile64.c: Likewise.
36224 * io/statfs.c: Likewise.
36225 * io/statfs64.c: Likewise.
36226 * io/statvfs.c: Likewise.
36227 * io/statvfs64.c: Likewise.
36228 * io/symlink.c: Likewise.
36229 * io/symlinkat.c: Likewise.
36230 * io/ttyname.c: Likewise.
36231 * io/ttyname_r.c: Likewise.
36232 * io/umask.c: Likewise.
36233 * io/unlink.c: Likewise.
36234 * io/unlinkat.c: Likewise.
36235 * io/utime.c: Likewise.
36236 * io/utimensat.c: Likewise.
36237 * io/write.c: Likewise.
36238 * io/xmknod.c: Likewise.
36239 * io/xmknodat.c: Likewise.
36240 * io/xstat.c: Likewise.
36241 * io/xstat64.c: Likewise.
36242 * login/getpt.c: Likewise.
36243 * login/grantpt.c: Likewise.
36244 * login/unlockpt.c: Likewise.
36245 * math/e_acoshl.c: Likewise.
36246 * math/e_acosl.c: Likewise.
36247 * math/e_asinl.c: Likewise.
36248 * math/e_atan2l.c: Likewise.
36249 * math/e_atanhl.c: Likewise.
36250 * math/e_coshl.c: Likewise.
36251 * math/e_expl.c: Likewise.
36252 * math/e_fmodl.c: Likewise.
36253 * math/e_gammal_r.c: Likewise.
36254 * math/e_hypotl.c: Likewise.
36255 * math/e_j0l.c: Likewise.
36256 * math/e_j1l.c: Likewise.
36257 * math/e_jnl.c: Likewise.
36258 * math/e_lgammal_r.c: Likewise.
36259 * math/e_log10l.c: Likewise.
36260 * math/e_log2l.c: Likewise.
36261 * math/e_logl.c: Likewise.
36262 * math/e_powl.c: Likewise.
36263 * math/e_rem_pio2l.c: Likewise.
36264 * math/e_sinhl.c: Likewise.
36265 * math/e_sqrtl.c: Likewise.
36266 * math/fclrexcpt.c: Likewise.
36267 * math/fedisblxcpt.c: Likewise.
36268 * math/feenablxcpt.c: Likewise.
36269 * math/fegetenv.c: Likewise.
36270 * math/fegetexcept.c: Likewise.
36271 * math/fegetround.c: Likewise.
36272 * math/feholdexcpt.c: Likewise.
36273 * math/fesetenv.c: Likewise.
36274 * math/fesetround.c: Likewise.
36275 * math/feupdateenv.c: Likewise.
36276 * math/fgetexcptflg.c: Likewise.
36277 * math/fraiseexcpt.c: Likewise.
36278 * math/fsetexcptflg.c: Likewise.
36279 * math/ftestexcept.c: Likewise.
36280 * math/k_cosl.c: Likewise.
36281 * math/k_rem_pio2l.c: Likewise.
36282 * math/k_sinl.c: Likewise.
36283 * math/k_tanl.c: Likewise.
36284 * math/s_asinhl.c: Likewise.
36285 * math/s_atanl.c: Likewise.
36286 * math/s_cbrtl.c: Likewise.
36287 * math/s_erfl.c: Likewise.
36288 * math/s_expm1l.c: Likewise.
36289 * math/s_log1pl.c: Likewise.
36290 * math/s_tanhl.c: Likewise.
36291 * misc/acct.c: Likewise.
36292 * misc/brk.c: Likewise.
36293 * misc/chflags.c: Likewise.
36294 * misc/chroot.c: Likewise.
36295 * misc/fchflags.c: Likewise.
36296 * misc/fgetxattr.c: Likewise.
36297 * misc/flistxattr.c: Likewise.
36298 * misc/fremovexattr.c: Likewise.
36299 * misc/fsetxattr.c: Likewise.
36300 * misc/fsync.c: Likewise.
36301 * misc/ftruncate.c: Likewise.
36302 * misc/futimes.c: Likewise.
36303 * misc/futimesat.c: Likewise.
36304 * misc/getdomain.c: Likewise.
36305 * misc/getdtsz.c: Likewise.
36306 * misc/gethostid.c: Likewise.
36307 * misc/gethostname.c: Likewise.
36308 * misc/getloadavg.c: Likewise.
36309 * misc/getpagesize.c: Likewise.
36310 * misc/getsysstats.c: Likewise.
36311 * misc/getxattr.c: Likewise.
36312 * misc/gtty.c: Likewise.
36313 * misc/ioctl.c: Likewise.
36314 * misc/lgetxattr.c: Likewise.
36315 * misc/listxattr.c: Likewise.
36316 * misc/llistxattr.c: Likewise.
36317 * misc/lremovexattr.c: Likewise.
36318 * misc/lsetxattr.c: Likewise.
36319 * misc/lutimes.c: Likewise.
36320 * misc/madvise.c: Likewise.
36321 * misc/mincore.c: Likewise.
36322 * misc/mlock.c: Likewise.
36323 * misc/mlockall.c: Likewise.
36324 * misc/mmap.c: Likewise.
36325 * misc/mprotect.c: Likewise.
36326 * misc/msync.c: Likewise.
36327 * misc/munlock.c: Likewise.
36328 * misc/munlockall.c: Likewise.
36329 * misc/munmap.c: Likewise.
36330 * misc/preadv.c: Likewise.
36331 * misc/preadv64.c: Likewise.
36332 * misc/ptrace.c: Likewise.
36333 * misc/pwritev.c: Likewise.
36334 * misc/pwritev64.c: Likewise.
36335 * misc/readv.c: Likewise.
36336 * misc/reboot.c: Likewise.
36337 * misc/remap_file_pages.c: Likewise.
36338 * misc/removexattr.c: Likewise.
36339 * misc/revoke.c: Likewise.
36340 * misc/select.c: Likewise.
36341 * misc/setdomain.c: Likewise.
36342 * misc/setegid.c: Likewise.
36343 * misc/seteuid.c: Likewise.
36344 * misc/sethostid.c: Likewise.
36345 * misc/sethostname.c: Likewise.
36346 * misc/setregid.c: Likewise.
36347 * misc/setreuid.c: Likewise.
36348 * misc/setxattr.c: Likewise.
36349 * misc/sstk.c: Likewise.
36350 * misc/stty.c: Likewise.
36351 * misc/swapoff.c: Likewise.
36352 * misc/swapon.c: Likewise.
36353 * misc/sync.c: Likewise.
36354 * misc/syncfs.c: Likewise.
36355 * misc/syscall.c: Likewise.
36356 * misc/truncate.c: Likewise.
36357 * misc/ualarm.c: Likewise.
36358 * misc/usleep.c: Likewise.
36359 * misc/ustat.c: Likewise.
36360 * misc/utimes.c: Likewise.
36361 * misc/vhangup.c: Likewise.
36362 * misc/writev.c: Likewise.
36363 * posix/_exit.c: Likewise.
36364 * posix/alarm.c: Likewise.
36365 * posix/execve.c: Likewise.
36366 * posix/fexecve.c: Likewise.
36367 * posix/fork.c: Likewise.
36368 * posix/fpathconf.c: Likewise.
36369 * posix/getaddrinfo.c: Likewise.
36370 * posix/getegid.c: Likewise.
36371 * posix/geteuid.c: Likewise.
36372 * posix/getgid.c: Likewise.
36373 * posix/getgroups.c: Likewise.
36374 * posix/getlogin.c: Likewise.
36375 * posix/getlogin_r.c: Likewise.
36376 * posix/getpgid.c: Likewise.
36377 * posix/getpid.c: Likewise.
36378 * posix/getppid.c: Likewise.
36379 * posix/getresgid.c: Likewise.
36380 * posix/getresuid.c: Likewise.
36381 * posix/getsid.c: Likewise.
36382 * posix/getuid.c: Likewise.
36383 * posix/glob64.c: Likewise.
36384 * posix/nanosleep.c: Likewise.
36385 * posix/pathconf.c: Likewise.
36386 * posix/pause.c: Likewise.
36387 * posix/posix_madvise.c: Likewise.
36388 * posix/pread.c: Likewise.
36389 * posix/pread64.c: Likewise.
36390 * posix/pwrite.c: Likewise.
36391 * posix/pwrite64.c: Likewise.
36392 * posix/sched_getaffinity.c: Likewise.
36393 * posix/sched_getp.c: Likewise.
36394 * posix/sched_gets.c: Likewise.
36395 * posix/sched_primax.c: Likewise.
36396 * posix/sched_primin.c: Likewise.
36397 * posix/sched_rr_gi.c: Likewise.
36398 * posix/sched_setaffinity.c: Likewise.
36399 * posix/sched_setp.c: Likewise.
36400 * posix/sched_sets.c: Likewise.
36401 * posix/sched_yield.c: Likewise.
36402 * posix/setgid.c: Likewise.
36403 * posix/setlogin.c: Likewise.
36404 * posix/setpgid.c: Likewise.
36405 * posix/setresgid.c: Likewise.
36406 * posix/setresuid.c: Likewise.
36407 * posix/setsid.c: Likewise.
36408 * posix/setuid.c: Likewise.
36409 * posix/sleep.c: Likewise.
36410 * posix/spawni.c: Likewise.
36411 * posix/sysconf.c: Likewise.
36412 * posix/times.c: Likewise.
36413 * posix/wait.c: Likewise.
36414 * posix/wait3.c: Likewise.
36415 * posix/wait4.c: Likewise.
36416 * posix/waitpid.c: Likewise.
36417 * resolv/gai_sigqueue.c: Likewise.
36418 * resource/getpriority.c: Likewise.
36419 * resource/getrlimit.c: Likewise.
36420 * resource/getrusage.c: Likewise.
36421 * resource/nice.c: Likewise.
36422 * resource/setpriority.c: Likewise.
36423 * resource/setrlimit.c: Likewise.
36424 * resource/ulimit.c: Likewise.
36425 * rt/aio_cancel.c: Likewise.
36426 * rt/aio_fsync.c: Likewise.
36427 * rt/aio_read.c: Likewise.
36428 * rt/aio_sigqueue.c: Likewise.
36429 * rt/aio_suspend.c: Likewise.
36430 * rt/aio_write.c: Likewise.
36431 * rt/clock_getres.c: Likewise.
36432 * rt/clock_gettime.c: Likewise.
36433 * rt/clock_nanosleep.c: Likewise.
36434 * rt/clock_settime.c: Likewise.
36435 * rt/lio_listio.c: Likewise.
36436 * rt/mq_close.c: Likewise.
36437 * rt/mq_getattr.c: Likewise.
36438 * rt/mq_notify.c: Likewise.
36439 * rt/mq_open.c: Likewise.
36440 * rt/mq_receive.c: Likewise.
36441 * rt/mq_send.c: Likewise.
36442 * rt/mq_setattr.c: Likewise.
36443 * rt/mq_timedreceive.c: Likewise.
36444 * rt/mq_timedsend.c: Likewise.
36445 * rt/mq_unlink.c: Likewise.
36446 * rt/shm_open.c: Likewise.
36447 * rt/shm_unlink.c: Likewise.
36448 * rt/timer_create.c: Likewise.
36449 * rt/timer_delete.c: Likewise.
36450 * rt/timer_getoverr.c: Likewise.
36451 * rt/timer_gettime.c: Likewise.
36452 * rt/timer_settime.c: Likewise.
36453 * setjmp/__longjmp.c: Likewise.
36454 * setjmp/setjmp.c: Likewise.
36455 * signal/kill.c: Likewise.
36456 * signal/killpg.c: Likewise.
36457 * signal/raise.c: Likewise.
36458 * signal/sigaction.c: Likewise.
36459 * signal/sigaltstack.c: Likewise.
36460 * signal/sigblock.c: Likewise.
36461 * signal/sigignore.c: Likewise.
36462 * signal/sigintr.c: Likewise.
36463 * signal/signal.c: Likewise.
36464 * signal/sigpause.c: Likewise.
36465 * signal/sigpending.c: Likewise.
36466 * signal/sigqueue.c: Likewise.
36467 * signal/sigreturn.c: Likewise.
36468 * signal/sigset.c: Likewise.
36469 * signal/sigsetmask.c: Likewise.
36470 * signal/sigstack.c: Likewise.
36471 * signal/sigsuspend.c: Likewise.
36472 * signal/sigtimedwait.c: Likewise.
36473 * signal/sigvec.c: Likewise.
36474 * signal/sigwait.c: Likewise.
36475 * signal/sigwaitinfo.c: Likewise.
36476 * signal/sysv_signal.c: Likewise.
36477 * socket/accept.c: Likewise.
36478 * socket/accept4.c: Likewise.
36479 * socket/bind.c: Likewise.
36480 * socket/connect.c: Likewise.
36481 * socket/getpeername.c: Likewise.
36482 * socket/getsockname.c: Likewise.
36483 * socket/getsockopt.c: Likewise.
36484 * socket/isfdtype.c: Likewise.
36485 * socket/listen.c: Likewise.
36486 * socket/recv.c: Likewise.
36487 * socket/recvfrom.c: Likewise.
36488 * socket/recvmsg.c: Likewise.
36489 * socket/send.c: Likewise.
36490 * socket/sendmsg.c: Likewise.
36491 * socket/sendto.c: Likewise.
36492 * socket/setsockopt.c: Likewise.
36493 * socket/shutdown.c: Likewise.
36494 * socket/sockatmark.c: Likewise.
36495 * socket/socket.c: Likewise.
36496 * socket/socketpair.c: Likewise.
36497 * stdio-common/ctermid.c: Likewise.
36498 * stdio-common/cuserid.c: Likewise.
36499 * stdio-common/remove.c: Likewise.
36500 * stdio-common/rename.c: Likewise.
36501 * stdio-common/renameat.c: Likewise.
36502 * stdio-common/tempname.c: Likewise.
36503 * stdlib/getcontext.c: Likewise.
36504 * stdlib/makecontext.c: Likewise.
36505 * stdlib/setcontext.c: Likewise.
36506 * stdlib/swapcontext.c: Likewise.
36507 * stdlib/system.c: Likewise.
36508 * streams/fattach.c: Likewise.
36509 * streams/fdetach.c: Likewise.
36510 * streams/getmsg.c: Likewise.
36511 * streams/getpmsg.c: Likewise.
36512 * streams/putmsg.c: Likewise.
36513 * streams/putpmsg.c: Likewise.
36514 * sysdeps/unix/bsd/getpt.c: Likewise.
36515 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36516 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36517 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36519 Likewise.
36520 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36521 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36522 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36523 * sysvipc/msgctl.c: Likewise.
36524 * sysvipc/msgget.c: Likewise.
36525 * sysvipc/msgrcv.c: Likewise.
36526 * sysvipc/msgsnd.c: Likewise.
36527 * sysvipc/semctl.c: Likewise.
36528 * sysvipc/semget.c: Likewise.
36529 * sysvipc/semop.c: Likewise.
36530 * sysvipc/semtimedop.c: Likewise.
36531 * sysvipc/shmat.c: Likewise.
36532 * sysvipc/shmctl.c: Likewise.
36533 * sysvipc/shmdt.c: Likewise.
36534 * sysvipc/shmget.c: Likewise.
36535 * termios/tcdrain.c: Likewise.
36536 * termios/tcflow.c: Likewise.
36537 * termios/tcflush.c: Likewise.
36538 * termios/tcgetattr.c: Likewise.
36539 * termios/tcgetpgrp.c: Likewise.
36540 * termios/tcsendbrk.c: Likewise.
36541 * termios/tcsetattr.c: Likewise.
36542 * termios/tcsetpgrp.c: Likewise.
36543 * time/adjtime.c: Likewise.
36544 * time/clock.c: Likewise.
36545 * time/getitimer.c: Likewise.
36546 * time/gettimeofday.c: Likewise.
36547 * time/setitimer.c: Likewise.
36548 * time/settimeofday.c: Likewise.
36549 * time/stime.c: Likewise.
36550 * time/time.c: Likewise.
36551
365522012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36553
a20492cf
PT
36554 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36555 /usr/old/bin.
36556
72e182e3
PT
36557 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36558 instead of spaces.
36559 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36560
fbeafede
JM
365612012-11-03 Joseph Myers <joseph@codesourcery.com>
36562
5b5b04d6
JM
36563 [BZ #14796]
36564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36565 FE_TONEAREST before applying Dekker multiplication and Knuth
36566 addition. Clear inexact exceptions and check for exact zero
36567 results afterwards.
36568 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36569 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36570 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36571 * math/libm-test.inc (fma_test): Add more tests.
36572 (fma_test_towardzero): Likewise.
36573 (fma_test_downward): Likewise.
36574 (fma_test_upward): Likewise.
36575 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36576 function.
36577 (libc_fesetround): New macro.
36578 (libc_fesetroundf): Likewise.
36579 (libc_fesetroundl): Likewise.
36580 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36581 function.
36582 (libc_fesetround_387): Likewise.
36583 (libc_fesetroundf): New macro.
36584 (libc_fesetround): Likewise.
36585 (libc_fesetroundl): Likewise.
36586 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36587 function.
36588 (libc_fesetroundf): New macro.
36589 (libc_fesetround): Likewise.
36590 (libc_fesetroundl): Likewise.
36591 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36592 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36593 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36594 libm_hidden_ver.
36595 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36596 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36597 libm_hidden_def.
36598 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36599 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36600 libm_hidden_ver.
36601 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36602 libm_hidden_def.
36603
fbeafede
JM
36604 [BZ #3439]
36605 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36606 integer constant usable in #if and use that to give value to enum
36607 constant.
36608 (FE_DIVBYZERO): Likewise.
36609 (FE_UNDERFLOW): Likewise.
36610 (FE_OVERFLOW): Likewise.
36611 (FE_INVALID): Likewise.
36612 (FE_INVALID_SNAN): Likewise.
36613 (FE_INVALID_ISI): Likewise.
36614 (FE_INVALID_IDI): Likewise.
36615 (FE_INVALID_ZDZ): Likewise.
36616 (FE_INVALID_IMZ): Likewise.
36617 (FE_INVALID_COMPARE): Likewise.
36618 (FE_INVALID_SOFTWARE): Likewise.
36619 (FE_INVALID_SQRT): Likewise.
36620 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36621 (FE_TONEAREST): Likewise.
36622 (FE_TOWARDZERO): Likewise.
36623 (FE_UPWARD): Likewise.
36624 (FE_DOWNWARD): Likewise.
36625 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36626 (FE_DIVBYZERO): Likewise.
36627 (FE_OVERFLOW): Likewise.
36628 (FE_UNDERFLOW): Likewise.
36629 (FE_INEXACT): Likewise.
36630 (FE_TONEAREST): Likewise.
36631 (FE_DOWNWARD): Likewise.
36632 (FE_UPWARD): Likewise.
36633 (FE_TOWARDZERO): Likewise.
36634 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36635 (FE_UNDERFLOW): Likewise.
36636 (FE_OVERFLOW): Likewise.
36637 (FE_DIVBYZERO): Likewise.
36638 (FE_INVALID): Likewise.
36639 (FE_TONEAREST): Likewise.
36640 (FE_TOWARDZERO): Likewise.
36641 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36642 (FE_OVERFLOW): Likewise.
36643 (FE_UNDERFLOW): Likewise.
36644 (FE_DIVBYZERO): Likewise.
36645 (FE_INEXACT): Likewise.
36646 (FE_TONEAREST): Likewise.
36647 (FE_TOWARDZERO): Likewise.
36648 (FE_UPWARD): Likewise.
36649 (FE_DOWNWARD): Likewise.
36650 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36651 (FE_DIVBYZERO): Likewise.
36652 (FE_OVERFLOW): Likewise.
36653 (FE_UNDERFLOW): Likewise.
36654 (FE_INEXACT): Likewise.
36655 (FE_TONEAREST): Likewise.
36656 (FE_DOWNWARD): Likewise.
36657 (FE_UPWARD): Likewise.
36658 (FE_TOWARDZERO): Likewise.
36659
105ca950
CM
366602012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36661
36662 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36663
a542b389
AS
366642012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36665
36666 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36667 commands. Quote $PWD.
36668 (blacklist_exports): Don't use remove_newlines. Replace "declare
36669 -x" by "export".
36670 (remove_newlines): Remove.
36671
f62c8abc
L
366722012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36673
36674 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36675 * stdlib/stdlib.h (atof): Moved to ...
36676 * include/bits/stdlib-float.h: Here. New file.
36677 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36678 * stdlib/bits/stdlib-float.h: New file.
36679 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36680 -mno-sse -mno-mmx.
36681 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36682 <xmmintrin.h>.
36683
0155d5b2
JM
366842012-11-02 Joseph Myers <joseph@codesourcery.com>
36685
a68d0680
JM
36686 * conform/conformtest.pl (@headers): Add fenv.h.
36687 * conform/data/fenv.h-data: New file.
36688 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36689 include of <math/fenv.h>.
36690
caf7f573
JM
36691 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36692 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36693 && !UNIX98]. Enables tests for XOPEN2K8.
36694 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36695 POSIX2008]: Likewise.
36696
6c073ad6
JM
36697 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36698 (struct rusage): Do not expect type or its members.
36699
0155d5b2
JM
36700 [BZ #3439]
36701 * math/math.h (FP_NAN): Define macro to integer constant usable in
36702 #if and use that to give value to enum constant.
36703 (FP_INFINITE): Likewise.
36704 (FP_ZERO): Likewise.
36705 (FP_SUBNORMAL): Likewise.
36706 (FP_NORMAL): Likewise.
36707
b5dcacb4
AS
367082012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36709
36710 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36711 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36712 arguments.
36713
f7934be8
RM
367142012-11-02 Roland McGrath <roland@hack.frob.com>
36715
36716 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36717 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36718 autoconf-time if not.
36719 * configure.in: Remove AC_PREREQ.
36720
d7d08bde
TMQMF
367212012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36722
36723 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36724 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36725 of the internal implementation.
36726
dcdae19a
JM
367272012-11-02 Joseph Myers <joseph@codesourcery.com>
36728
36729 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36730 except include of <misc/sys/syslog.h>.
36731
d6cffd3e
AS
367322012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36733
36734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36735 function returns with a NULL context exit with zero.
36736
b3563932
TMQMF
367372012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36738
36739 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36740
b288a93d
L
367412012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36742
36743 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36744 (run_program_cmd): This.
36745 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36746 (tst_langinfo): New variable. Use it.
36747
a2421a68
SAS
367482012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36749
36750 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36751 floating point opcodes.
36752
6f796e1b
TS
367532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36754
7402596b
TS
36755 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36756 variable.
36757
d0d4f868
TS
36758 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36759
6f796e1b
TS
36760 * sysdeps/mach/hurd/powerpc: Remove directory.
36761 * sysdeps/mach/powerpc: Likewise.
36762
4da224a2
AS
367632012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36764
36765 * scripts/check-local-headers.sh: Ignore c++ headers.
36766
341dd673
TS
367672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36768
36769 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36770 __libc_cleanup_region_start argument.
36771
473611b2
JM
367722012-11-01 Joseph Myers <joseph@codesourcery.com>
36773
36774 [BZ #14784]
36775 [BZ #14785]
36776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36777 x * y using scaling, not as x * y + z.
36778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36780 * math/libm-test.inc (fma_test): Add more tests.
36781 (fma_test_towardzero): Likewise.
36782 (fma_test_downward): Likewise.
36783 (fma_test_upward): Likewise.
36784
4078da3d
TS
367852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36786
36787 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36788
903252aa
JM
367892012-10-31 Joseph Myers <joseph@codesourcery.com>
36790
36791 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36792 New variable.
36793
cbc818d0
TS
367942012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36795
36796 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36797
5a03cb1e
AS
367982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36799
36800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36801 Fix sort order.
36802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36803 Likewise.
36804
90aff2ff
TMQMF
368052012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36806
36807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36808 Fix the order of the list for glibc 2.17.
36809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36810 Likewise.
36811
1818fcb7
AS
368122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36813
36814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36815
ef82f4da
JM
368162012-10-31 Joseph Myers <joseph@codesourcery.com>
36817
16a0e2ec
JM
36818 [BZ #14610]
36819 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36820 for low part of x being zero before using __atanl (y).
36821 * math/libm-test.inc (atan2_test): Add another test.
36822
0eb69512
JM
36823 * manual/install.texi (Configuring and compiling): Document
36824 general use of test-wrapper and test-wrapper-env.
36825 * INSTALL: Regenerated.
36826
ef82f4da
JM
36827 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36828 (__fma): Do not extract and scale down low bits on after-rounding
36829 systems when result rounded to normal precision would have normal
36830 exponent.
36831 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36832 (__fmal): Do not extract and scale down low bits on after-rounding
36833 systems when result rounded to normal precision would have normal
36834 exponent.
36835 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36836 (__fmal): Do not extract and scale down low bits on after-rounding
36837 systems when result rounded to normal precision would have normal
36838 exponent.
36839 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36840 macro.
36841 (fma_test): Add more tests.
36842 (fma_test_towardzero): Likewise.
36843 (fma_test_downward): Likewise.
36844 (fma_test_upward): Likewise.
36845
954ef0d9
L
368462012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36847
36848 * sysdeps/i386/tininess.h: Renamed to ...
36849 * sysdeps/x86/tininess.h: This.
36850 * sysdeps/x86_64/tininess.h: Removed.
36851
df61ffb2
JM
368522012-10-30 Joseph Myers <joseph@codesourcery.com>
36853
36854 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36855 input. Use $(build-program-cmd).
36856 ($(objpfx)tst-array1-static.out): Likewise.
36857 ($(objpfx)tst-array2.out): Likewise.
36858 ($(objpfx)tst-array3.out): Likewise.
36859 ($(objpfx)tst-array4.out): Likewise.
36860 ($(objpfx)tst-array5.out): Likewise.
36861 ($(objpfx)tst-array5-static.out): Likewise.
36862
01767843
CM
368632012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36864
47cc1490
CM
36865 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36866 if defined.
36867
01767843
CM
36868 * nss/nsswitch.h (nss_interface_function): Provide new
36869 macro for use with NSS functions.
36870 * grp/initgroups.c: Use new macro.
36871 * nss/getXXbyYY.c: Likewise.
36872 * nss/getXXbyYY_r.c: Likewise.
36873 * nss/getXXent.c: Likewise.
36874 * nss/getXXent_r.c: Likewise.
36875 * sysdeps/posix/getaddrinfo.c: Likewise.
36876
8321aa97
AJ
368772012-10-30 Andreas Jaeger <aj@suse.de>
36878
36879 * po/ru.po: Update Russion translation from translation project.
36880
2a27fd6d
JM
368812012-10-30 Joseph Myers <joseph@codesourcery.com>
36882
8627a232
JM
36883 [BZ #14152]
36884 [BZ #14783]
36885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36886 result and shift together with sticky bit instead of replicating
36887 round-to-nearest rounding.
36888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36890 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36891 missing underflow exceptions.
36892 (fma_test_towardzero): Add more tests.
36893 (fma_test_downward): Likewise.
36894 (fma_test_upward): Likewise.
36895
2a27fd6d
JM
36896 [BZ #14047]
36897 * sysdeps/generic/tininess.h: New file.
36898 * sysdeps/i386/tininess.h: Likewise.
36899 * sysdeps/sh/tininess.h: Likewise.
36900 * sysdeps/x86_64/tininess.h: Likewise.
36901 * stdlib/tst-strtod-underflow.c: Likewise.
36902 * stdlib/tst-tininess.c: Likewise.
36903 * stdlib/strtod_l.c: Include <tininess.h>.
36904 (round_and_return): Do not set errno for exact underflow cases.
36905 Force an underflow exception when setting errno for underflow.
36906 Determine underflow based on rounding to normal precision if
36907 TININESS_AFTER_ROUNDING.
36908 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36909 ERANGE for exact underflow cases.
36910 * stdlib/Makefile (tests): Add tst-tininess and
36911 tst-strtod-underflow.
36912 ($(objpfx)tst-tininess): Use $(link-libm).
36913 ($(objpfx)tst-strtod-underflow): Likewise.
36914
e7170363
AJ
369152012-10-30 Andreas Jaeger <aj@suse.de>
36916
e5088dc6
AJ
36917 [BZ#14767]
36918 * elf/Makefile (tests): Remove conditional for have-initfini-array
36919 since this is now always required and the variable does not exist
36920 anymore.
36921 (tests-static): Likewise.
36922 (modules-names): Likewise.
36923
e7170363 36924 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36925
36926 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36927 merged with constructor/destructor.
36928 (init_array): Likewise.
36929 * elf/tst-array2dep.c (fini_array): Likewise.
36930 (init_array): Likewise.
36931
60457d8a
MF
369322012-10-29 Mike Frysinger <vapier@gentoo.org>
36933
36934 * manual/message.texi: Delete @cartouche tags.
36935
8bece752
PT
369362012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36937
94ce799f
PT
36938 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36939 EOPNOTSUPP.
36940 * sysdeps/mach/hurd/fsync.c: Likewise.
36941
8bece752
PT
36942 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36943 [_POSIX_REALTIME_SIGNALS]: Change condition to
36944 [_POSIX_REALTIME_SIGNALS > 0].
36945
86ebe6b1
AJ
369462012-10-27 Andreas Jaeger <aj@suse.de>
36947
36948 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36949 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36950 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36951 [__WORDSIZE != 64]: Likewise.
36952
54399c08
L
369532012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36954
36955 * iconvdata/tst-table.sh: Remove ${SHELL}.
36956 * iconvdata/tst-tables.sh: Likewise.
36957
e2211bed
DM
369582012-10-25 David S. Miller <davem@davemloft.net>
36959
36960 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36961 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36962 of strtoull.
36963
f303f97c
DM
36964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36965 ifunc-impl-list.c
36966 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36967 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36968 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36969 file.
36970
1e9d84cd
RM
369712012-10-25 Roland McGrath <roland@hack.frob.com>
36972
36973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36974 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36975 __getdirentries.
36976
df381762
JM
369772012-10-25 Joseph Myers <joseph@codesourcery.com>
36978 Jim Blandy <jimb@codesourcery.com>
36979
36980 * scripts/cross-test-ssh.sh: New file.
36981 * manual/install.texi (Configuring and compiling): Document use of
36982 cross-test-ssh.sh.
36983 * INSTALL: Regenerated.
36984
bff64913
PT
369852012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36986
36987 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36988 EOPNOTSUPP.
36989
25fe8932
JM
369902012-10-25 Joseph Myers <joseph@codesourcery.com>
36991
36992 * Makeconfig (run-program-prefix): Fix comment.
36993
cc1290d0
JM
369942012-10-24 Joseph Myers <joseph@codesourcery.com>
36995 Jim Blandy <jimb@codesourcery.com>
36996
36997 * Makeconfig (test-wrapper): New variable,
36998 (test-wrapper-env): Likewise.
36999 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37000 (run-built-tests): Define to yes.
37001 (run-program-prefix): Use $(test-wrapper).
37002 (built-program-cmd): Likewise.
37003 * Rules (make-test-out): Use $(test-wrapper-env) and
37004 $(host-built-program-cmd).
37005 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37006 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37007 tst-pathopt.sh.
37008 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37009 $(test-wrapper-env) to tst-rtld-load-self.sh.
37010 ($(objpfx)order2.out): Use $(test-wrapper).
37011 ($(objpfx)tst-initorder.out): Likewise.
37012 ($(objpfx)tst-initorder2.out): Likewise.
37013 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37014 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37015 (test_wrapper_env): New variable. Use it to run ld.so.
37016 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37017 Use it to run ld.so.
37018 (test_wrapper_env): Likewise.
37019 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37020 $(test-wrapper) to run-iconv-test.sh.
37021 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37022 (ICONV): Use $test_wrapper.
37023 * posix/Makefile ($(objpfx)globtest.out): Pass
37024 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37025 globtest.sh, not $(run-program-prefix).
37026 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37027 (test_wrapper): Likewise.
37028 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37029 set together with run_via_rtld_prefix.
37030 (run_program_prefix): Define in terms of test_wrapper and
37031 run_via_rtld_prefix.
37032
6e6249d0
RM
370332012-10-24 Roland McGrath <roland@hack.frob.com>
37034
37035 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37036 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37037 Targets removed.
37038
37039 [BZ #14743]
37040 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37041 Declare __clock_getres, __clock_gettime, __clock_settime,
37042 __clock_nanosleep, and __clock_getcpuclockid.
37043 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37044 Remove librt_hidden_def (clock_gettime).
37045 * sysdeps/unix/clock_gettime.c: Likewise.
37046 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37047 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37048 * rt/clock_getres.c: Define __clock_getres as an alias.
37049 * sysdeps/posix/clock_getres.c: Likewise.
37050 * rt/clock_settime.c: Define __clock_settime as an alias.
37051 * sysdeps/unix/clock_settime.c: Likewise.
37052 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37053 * sysdeps/unix/clock_nanosleep.c: Likewise.
37054 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37055 * rt/clock-compat.c: New file.
37056 * rt/Makefile (librt-routines): Add clock-compat and move
37057 $(clock-routines) to ...
37058 (routines): ... here, new variable.
37059 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37060 Don't add get_clockfreq here.
37061 * rt/Versions (libc: GLIBC_2.17): New version set.
37062 Add clock_* symbols here.
37063 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37064 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37065 (GLIBC_2.17): Add clock_* symbols.
37066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37070 Likewise.
37071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37072 Likewise.
37073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37077 * NEWS: Mention the move.
37078
37079 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37080 Use __open, __read, __close rather than their public counterparts.
37081 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37082 (__get_clockfreq_via_cpuinfo): Likewise.
37083 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37084 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37085
37086 * config.h.in (HAVE_IFUNC): New #undef.
37087 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37088 was successful.
37089 * configure: Regenerated.
37090
0cae3f4b
MF
370912012-10-24 Mike Frysinger <vapier@gentoo.org>
37092
37093 * configure.in: Move READELF check to start of file.
37094 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37095 libc_cv_asm_gnu_indirect_function in the process.
37096 * configure: Regenerated.
37097
8175a253
MF
370982012-10-24 Mike Frysinger <vapier@gentoo.org>
37099
37100 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37101 send the output to /dev/null.
37102 (libc_cv_cc_with_libunwind): Likewise.
37103 (libc_cv_as_noexecstack): Likewise.
37104 * configure: Regenerate.
37105
0708a7d1
JM
371062012-10-24 Joseph Myers <joseph@codesourcery.com>
37107
10b40d85
JM
37108 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37109
0708a7d1
JM
37110 * posix/globtest.sh (TMPDIR): Do not set.
37111 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37112 (testout): Likewise.
37113
9fddec1a
AJ
371142012-10-24 Andreas Jaeger <aj@suse.de>
37115
3a8db22f
AJ
37116 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37117 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37118 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37119 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37120 posix_fadvise64, posix_fallocate64.
37121
9fddec1a
AJ
37122 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37123 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37124 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37125 Likewise.
37126 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37127 Likewise.
37128 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37129
37130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37131 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37132 <bits/fcntl-linux.h>.
37133 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37134
37135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37136 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37137 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37138 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37139 [__WORDSIZE != 64]: Likewise.
37140
ebfd1bbd
JM
371412012-10-23 Joseph Myers <joseph@codesourcery.com>
37142
03ac099f
JM
37143 * Makeconfig (run-built-tests): New variable.
37144 * Rules [$(cross-compiling) = yes]: Change condition to
37145 [$(run-built-tests) = no].
37146 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37147 to [$(run-built-tests) = yes].
37148 * elf/Makefile [$(cross-compiling) = no]: Likewise
37149 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37150 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37151 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37152 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37153 * io/Makefile [$(cross-compiling) = no]: Likewise.
37154 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37155 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37156 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37157 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37158 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37159 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37160 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37161 * string/Makefile [$(cross-compiling) = no]: Likewise.
37162
ebfd1bbd
JM
37163 * posix/Makefile ($(objpfx)globtest.out): Pass
37164 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37165 $(rtld-installed-name).
37166 * posix/globtest.sh (elf_objpfx): Remove variable.
37167 (rtld_installed_name): Likewise.
37168 (library_path): Likewise.
37169 (run_program_prefix): New variable. Use for running globtest
37170 binary.
37171
166bca24
JB
371722012-10-23 Jim Blandy <jimb@codesourcery.com>
37173 Joseph Myers <joseph@codesourcery.com>
37174
37175 * Makeconfig (host-built-program-cmd): New variable.
37176 * elf/Makefile (tst-stackguard1-ARGS): Use
37177 $(host-built-program-cmd).
37178 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37179 (tst-spawn-ARGS): Likewise.
37180 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37181
88866099
JM
371822012-10-23 Joseph Myers <joseph@codesourcery.com>
37183 Jim Blandy <jimb@codesourcery.com>
37184
37185 * Makeconfig (run-via-rtld-prefix): New variable.
37186 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37187 (built-program-cmd): Likewise.
37188
b4b4c296
AJ
371892012-10-22 Andreas Jaeger <aj@suse.de>
37190
37191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37192 __O_RSYNC if it exists, otherwise to O_SYNC.
37193
6fb54a22
JB
371942012-10-22 Jim Blandy <jimb@codesourcery.com>
37195 Joseph Myers <joseph@codesourcery.com>
37196
37197 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37198 /dev/null.
37199 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37200 from /dev/null
37201 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37202 /dev/null.
37203
481b90b9
AJ
372042012-10-22 Andreas Jaeger <aj@suse.de>
37205
2a0e2669
AJ
37206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37207 Define always.
37208 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37209
76e38f9a
AJ
37210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37211 bits/fcntl-linux.h.
37212
7cd37b43
AJ
37213 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37214 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37215
481b90b9
AJ
37216 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37217 to __O_LARGEFILE.
37218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37219 to __O_LARGEFILE.
37220
aba75984
JB
372212012-10-21 Jim Blandy <jimb@codesourcery.com>
37222 Joseph Myers <joseph@codesourcery.com>
37223
37224 * config.make.in (NM): New variable.
37225
88d4247f
AJ
372262012-10-21 Andreas Jaeger <aj@suse.de>
37227
37228 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37229 definitions and declarations that are provided by
37230 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37231
f2eed205
L
372322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37233
37234 [BZ #14683]
37235 * elf/Makefile (tests-static): Add tst-leaks1-static.
37236 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37237 ($(objpfx)tst-leaks1-static): New rule.
37238 ($(objpfx)tst-leaks1-static-mem): Likewise.
37239 (tst-leaks1-static-ENV): New macro.
37240 * elf/dl-open.c (dl_open_worker): Check the main application
37241 only if SHARED is defined.
37242 * elf/tst-leaks1-static.c: New file.
37243
335e6931
AJ
372442012-10-20 Andreas Jaeger <aj@suse.de>
37245
37246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37247 generic values for Linux.
37248 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37249 and declarations that are provided by <bits/fcntl-linux.h> and
37250 include <bits/fcntl-linux.h>.
37251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37253
ac5c94d3
RM
372542012-10-20 Roland McGrath <roland@hack.frob.com>
37255
37256 * io/fcntl.h: Move include of <bits/types.h> to the top and
37257 include it unconditionally.
37258
de54b33a
L
372592012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37260
228cfb01
L
37261 * wcsmbs/Makefile (tests-ifunc): New variable.
37262 (tests): Add $(tests-ifunc).
37263 * wcsmbs/test-wcschr-ifunc.c: New file.
37264 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37265 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37266 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37267 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37268 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37269
69f07e5f
L
37270 * string/Makefile (tests-ifunc): New variable.
37271 (tests): Add $(tests-ifunc).
37272 * string/test-memccpy.c (TEST_NAME): New macro.
37273 * string/test-memchr.c (TEST_NAME): Likewise.
37274 * string/test-memcmp.c (TEST_NAME): Likewise.
37275 * string/test-memcpy.c (TEST_NAME): Likewise.
37276 * string/test-memmem.c (TEST_NAME): Likewise.
37277 * string/test-memmove.c (TEST_NAME): Likewise.
37278 * string/test-memset.c (TEST_NAME): Likewise.
37279 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37280 * string/test-stpcpy.c (TEST_NAME): Likewise.
37281 * string/test-stpncpy.c (TEST_NAME): Likewise.
37282 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37283 * string/test-strcasestr.c (TEST_NAME): Likewise.
37284 * string/test-strcat.c (TEST_NAME): Likewise.
37285 * string/test-strchr.c (TEST_NAME): Likewise.
37286 * string/test-strcmp.c(TEST_NAME): Likewise.
37287 * string/test-strcpy.c (TEST_NAME): Likewise.
37288 * string/test-strcspn.c (TEST_NAME): Likewise.
37289 * string/test-strlen.c (TEST_NAME): Likewise.
37290 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37291 * string/test-strncmp.c (TEST_NAME): Likewise.
37292 * string/test-strncpy.c (TEST_NAME): Likewise.
37293 * string/test-strnlen.c (TEST_NAME): Likewise.
37294 * string/test-strpbrk.c (TEST_NAME): Likewise.
37295 * string/test-strrchr.c (TEST_NAME): Likewise.
37296 * string/test-strspn.c (TEST_NAME): Likewise.
37297 * string/test-strstr.c (TEST_NAME): Likewise.
37298 * string/test-bcopy-ifunc.c: New file.
37299 * string/test-bzero-ifunc.c: Likewise.
37300 * string/test-memccpy-ifunc.c: Likewise.
37301 * string/test-memchr-ifunc.c: Likewise.
37302 * string/test-memcmp-ifunc.c: Likewise.
37303 * string/test-memcpy-ifunc.c: Likewise.
37304 * string/test-memmem-ifunc.c: Likewise.
37305 * string/test-memmove-ifunc.c: Likewise.
37306 * string/test-mempcpy-ifunc.c: Likewise.
37307 * string/test-memset-ifunc.c: Likewise.
37308 * string/test-rawmemchr-ifunc.c: Likewise.
37309 * string/test-stpcpy-ifunc.c: Likewise.
37310 * string/test-stpncpy-ifunc.c: Likewise.
37311 * string/test-strcasecmp-ifunc.c: Likewise.
37312 * string/test-strcasestr-ifunc.c: Likewise.
37313 * string/test-strcat-ifunc.c: Likewise.
37314 * string/test-strchr-ifunc.c: Likewise.
37315 * string/test-strchrnul-ifunc.c: Likewise.
37316 * string/test-strcmp-ifunc.c: Likewise.
37317 * string/test-strcpy-ifunc.c: Likewise.
37318 * string/test-strcspn-ifunc.c: Likewise.
37319 * string/test-strlen-ifunc.c: Likewise.
37320 * string/test-strncasecmp-ifunc.c: Likewise.
37321 * string/test-strncat-ifunc.c: Likewise.
37322 * string/test-strncmp-ifunc.c: Likewise.
37323 * string/test-strncpy-ifunc.c: Likewise.
37324 * string/test-strnlen-ifunc.c: Likewise.
37325 * string/test-strpbrk-ifunc.c: Likewise.
37326 * string/test-strrchr-ifunc.c: Likewise.
37327 * string/test-strspn-ifunc.c: Likewise.
37328 * string/test-strstr-ifunc.c: Likewise.
37329
de54b33a
L
37330 * debug/Makefile (tests-ifunc): New variable.
37331 (tests): Add $(tests-ifunc).
37332 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37333 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37334 * debug/test-stpcpy_chk-ifunc.c: New file.
37335 * debug/test-strcpy_chk-ifunc.c: Likewise.
37336
88481c16
SP
373372012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37338
37339 [BZ #13601]
37340 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37341 header is not read in.
37342
135948bd
JM
373432012-10-19 Joseph Myers <joseph@codesourcery.com>
37344
89f1c388
JM
37345 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37346 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37347 directly. Pass built executable to script as
37348 $(built-program-cmd).
37349 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37350 $testprogram without using LD_LIBRARY_PATH and $ldso.
37351
e40a0d21
JM
37352 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37353 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37354 $(rtld-installed-name).
37355 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37356 (rtld_installed_name): Likewise.
37357 (library_path): Likewise.
37358 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37359 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37360 $(run-program-prefix) to tst-tables.sh.
37361 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37362 it to run tst-table-from and tst-table-to.
37363 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37364 Pass it to tst-table.sh.
37365 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37366 $(run-program-prefix) to tst-gettext.sh.
37367 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37368 tst-translit.sh.
37369 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37370 tst-gettext2.sh.
37371 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37372 to run tst-gettext.
37373 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37374 to run tst-gettext2.
37375 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37376 to run tst-translit.
37377 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37378 $(run-program-prefix) to tst-mtrace.sh.
37379 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37380 to run tst-mtrace.
37381 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37382 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37383 $(rtld-installed-name).
37384 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37385 (rtld_installed_name): Likewise.
37386 (run_program_prefix): New variable. Use it to run wordexp-test.
37387
728e272a
JM
37388 * Makeconfig (ARCH): Remove all definitions.
37389 (machine): Likewise.
37390 [ARCH]: Remove conditional code.
37391 [!objdir]: Give error.
37392 [!objdir] (objpfx): Remove.
37393 [!objdir] (common-objpfx): Likewise.
37394 [!objdir] (common-objdir): Likewise.
37395 * configure.in (config_makefile): Remove. Hardcode Makefile in
37396 AC_CONFIG_FILES call.
37397 * configure: Regenerated.
37398
d528cdcf
JM
37399 [BZ #13888]
37400 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37401 or TMPDIR.
37402 (testout): Likewise.
37403
135948bd
JM
37404 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37405 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37406 $(rtld-installed-name).
37407 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37408 (rtld_installed_name): Likwise.
37409 (runit): Remove function.
37410 (run_getconf): New variable, Use it for running getconf binary.
37411
38c78296
L
374122012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37413
37414 [BZ #14716]
37415 * string/test-memmem.c (check_result): New function.
37416 (do_one_test): Use it.
37417 (check1): New function.
37418 (test_main): Use it.
37419
d077f65f
MT
374202012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37421
37422 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37423
ced52c71
JM
374242012-10-18 Joseph Myers <joseph@codesourcery.com>
37425
37426 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37427 (_G_LSEEK64): Likewise.
37428 (_G_MMAP64): Likewise.
37429 (_G_FSTAT64): Likewise.
37430 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37431 (_G_LSEEK64): Likewise.
37432 (_G_MMAP64): Likewise.
37433 (_G_FSTAT64): Likewise.
37434 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37435 unconditional. Call __mmap64 directly.
37436 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37437 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37438 __lseek64 directly.
37439 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37440 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37441 __mmap64 directly.
37442 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37443 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37444 __lseek64 directly.
37445 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37446 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37447 __lseek64 directly.
37448 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37449 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37450 __lseek64 directly.
37451 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37452 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37453 __fxstat64 directly.
37454 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37455 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37456 unconditional.
37457 (freopen64) [!_G_OPEN64]: Remove conditional code.
37458 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37459 unconditional.
37460 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37461 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37462 unconditional.
37463 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37464 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37465 unconditional.
37466 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37467 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37468 unconditional.
37469 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37470 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37471 unconditional.
37472 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37473 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37474 unconditional.
37475 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37476 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37477 unconditional.
37478 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37479
b741de23
SP
374802012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37481
37482 [BZ #12140]
37483 * manual/memory.texi (Malloc Tunable Parameters): Add note
37484 about free list pointers overwriting some perturb bytes.
37485 Wording suggested by Roland McGrath.
37486
f9b9d9c9
JM
374872012-10-17 Joseph Myers <joseph@codesourcery.com>
37488
37489 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37490 (lgamma_test): Likewise.
37491 (tgamma_test): Likewise.
37492
172a631a
FW
374932012-10-16 Florian Weimer <fweimer@redhat.com>
37494
37495 [BZ #14700]
37496 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37497 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37498
e9f37252
MK
374992012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37500
37501 * NEWS: Mention BZ #14716.
37502 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37503 when removing AVAILABLE1_USES_J macro.
37504
d394eb74
L
375052012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37506
37507 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37508 (__bswap_64): __uint64_t for unsigned 64-bit int.
37509
ca38dc17
AS
375102012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37511
37512 * include/string.h (memmem): Declare libc hidden alias.
37513 * string/memmem.c (memmem): Define libc hidden alias.
37514 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37515 __read, __close instead of open, read, close.
37516
9a387d1f
L
375172012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37518
ac49ecaf
L
37519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37520 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37521 global and hidden.
37522 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37523 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37524 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37525 Likewise.
37526 (__rawmemchr_sse2): Likewise.
37527 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37528 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37529 (__strchr_sse2): Likewise.
37530 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37531 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37532 (__strcasecmp_sse2): Likewise.
37533 (__strncasecmp_sse2): Likewise.
37534 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37535 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37536 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37537 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37538 (__strrchr_sse2): Likewise.
37539 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37540 ifunc-impl-list.c.
37541 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37542 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37543 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37544 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37545 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37546 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37547 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37548 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37549 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37550 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37551 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37552 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37553 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37554 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37555 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37556 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37557 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37558 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37559 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37560 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37561 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37562 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37563 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37564 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37565 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37566 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37567 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37568 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37569 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37570 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37571
b090e8ea
L
37572 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37573 global and hidden.
37574 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37575 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37576 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37577 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37578 Likewise.
37579 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37580 Likewise.
37581 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37582 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37583 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37584 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37585 ifunc-impl-list.c.
37586 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37587 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37588 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37589 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37590 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37591 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37592 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37593 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37594 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37595 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37596 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37597 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37598 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37599 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37600 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37601 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37602 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37603 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37604 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37605 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37606 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37607 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37608 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37609 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37610 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37611 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37612 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37613 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37614 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37615 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37616 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37617 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37618 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37619 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37620 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37621 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37622 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37623 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37624 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37625 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37626 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37627
11dd4af6
L
37628 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37629 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37630 * include/ifunc-impl-list.h: New file.
37631 * misc/ifunc-impl-list.c: Likewise.
37632 * misc/Makefile (routines): Add ifunc-impl-list.
37633 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37634 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37635 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37636 TEST_NAME]: New variables.
11dd4af6
L
37637 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37638 are defined.
37639 (test_init): Call __libc_ifunc_impl_list to initialize
37640 func_list if TEST_IFUNC and TEST_NAME are defined.
37641
9a387d1f
L
37642 * string/Makefile (strop-tests): Add bcopy and bzero.
37643 * string/test-bcopy.c: New file.
37644 * string/test-bzero.c: Likewise.
37645 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37646 defined.
37647 * string/test-memset.c: Support bzero test if TEST_BZERO is
37648 defined.
37649 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37650 __libc_memmove.
37651 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37652 __libc_memset.
37653 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37654 of memset.
37655
472371b9
JM
376562012-10-10 Joseph Myers <joseph@codesourcery.com>
37657
1e4a9536
JM
37658 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37659 * configure: Regenerated.
37660
d173d12e
JM
37661 * Makeconfig (+link-static-before-libc): Don't include
37662 $(link-static-libc).
37663
472371b9
JM
37664 * libio/libio.h (_IO_pos_t): Remove.
37665
89a3ad0b
AO
376662012-10-10 Alexandre Oliva <aoliva@redhat.com>
37667
37668 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37669 McGrath.
37670
e7451425
AO
376712012-10-10 Alexandre Oliva <aoliva@redhat.com>
37672
37673 * crypt/crypt-entry.c: Include fips-private.h.
37674 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37675 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37676 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37677 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37678
4ba74a35
AO
376792012-10-10 Alexandre Oliva <aoliva@redhat.com>
37680
37681 * crypt/crypt-private.h: Include stdbool.h.
37682 (_ufc_setup_salt_r): Return bool.
37683 * crypt/crypt-entry.c: Include errno.h.
37684 (__crypt_r): Return NULL with EINVAL for bad salt.
37685 * crypt/crypt_util.c (bad_for_salt): New.
37686 (_ufc_setup_salt_r): Check that salt is long enough and within
37687 the specified alphabet.
37688 * crypt/badsalttest.c: New file.
37689 * crypt/Makefile (tests): Add it.
37690 ($(objpfx)badsalttest): New.
37691
f96f1242
MK
376922012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37693
37694 * NEWS: Add entry for BZ #14602.
37695
0e8e0c1c
JM
376962012-10-09 Joseph Myers <joseph@codesourcery.com>
37697
37698 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37699 type-generic.
37700 * math/libm-test.inc: Update comment listing what functions and
37701 macros are tested.
37702 (isgreater_test): New function.
37703 (isgreaterequal_test): Likewise.
37704 (isless_test): Likewise.
37705 (islessequal_test): Likewise.
37706 (islessgreater_test): Likewise.
37707 (isunordered_test): Likewise.
37708 (main): Call the new functions.
37709
273edc5e
RM
377102012-10-09 Roland McGrath <roland@hack.frob.com>
37711
b8493de0
RM
37712 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37713 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37714 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37715 * sysdeps/i386/configure: Regenerated.
37716 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37717 * sysdeps/mach/configure: Regenerated.
37718 * sysdeps/mach/hurd/configure: Regenerated.
37719 * sysdeps/powerpc/configure: Regenerated.
37720 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37721 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37722 * sysdeps/s390/s390-32/configure: Regenerated.
37723 * sysdeps/s390/s390-64/configure: Regenerated.
37724 * sysdeps/sh/configure: Regenerated.
37725 * sysdeps/sparc/configure: Regenerated.
37726 * sysdeps/unix/sysv/linux/configure: Regenerated.
37727 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37728 * sysdeps/x86_64/configure: Regenerated.
37729
273edc5e
RM
37730 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37731 defined. Don't check if MAP is NULL.
37732
c8450f70
JM
377332012-10-09 Joseph Myers <joseph@codesourcery.com>
37734
37735 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37736 (_G_stat64): Likewise.
37737 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37738 (_G_stat64): Likewise.
37739 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37740 instead of struct _G_stat64.
37741 * libio/fileops.c (mmap_remap_check): Likewise.
37742 (decide_maybe_mmap): Likewise.
37743 (_IO_new_file_seekoff): Likewise.
37744 (_IO_file_stat): Likewise.
37745 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37746 _G_off64_t.
37747 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37748 instead of struct _G_stat64.
37749 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37750
57e605ba
MK
377512012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37752
37753 [BZ #14602]
37754 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37755 Replace with ...
37756 (CHECK_EOL): New macro.
37757 (two_way_short_needle): Check beginning of haystack for EOL. Use
37758 CHECK_EOL.
37759 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37760 Replace with CHECK_EOL.
37761 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37762 Replace with CHECK_EOL.
37763
ef1bb361
JM
377642012-10-08 Joseph Myers <joseph@codesourcery.com>
37765
37766 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37767 type-generic.
37768 * math/libm-test.inc: Update comment listing what functions and
37769 macros are tested.
37770 (finite_test): New function.
37771 (isinf_test): Likewise.
37772 (isnan_test): Likewise.
37773 (fpclassify_test): Test subnormal input.
37774 (isfinite_test): Likewise.
37775 (isnormal_test): Likewise.
37776 (main): Call the new functions.
37777
55f11534
JN
377782012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37779
37780 [BZ #14660]
37781 * Makerules (%.dynsym): Force C locale when running
37782 $(OBJDUMP) --dynamic-syms.
37783
1ab29350
AS
377842012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37785
37786 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37787 <stdint.h>.
37788
f1ecb7ef
DM
377892012-10-06 David S. Miller <davem@davemloft.net>
37790
37791 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37792 upper 32-bits of the length value in %o2 since we use branch-on-register
37793 tests which consider the entire 64-bit register.
37794
5d41d91a
L
377952012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37796
37797 * string/test-strstr.c (check2): Add a test for page boundary.
37798
3baddb72
DM
377992012-10-05 David S. Miller <davem@davemloft.net>
37800
37801 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37802 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37803 file.
37804 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37805 sysdep_routines.
37806 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37807 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37808 and bzero when HWCAP_SPARC_CRYPTO is present.
37809
9cee5585
L
378102012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37811
d7e0dab9
L
37812 [BZ #14602]
37813 * string/test-strstr.c (check2): New function.
37814 (test_main): Call check2.
37815
03759f47
L
37816 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37817 and bug-strchr1.
37818 * string/bug-strcasestr1.c (do_test): Moved to ...
37819 * string/test-strcasestr.c (check1): Here. New function.
37820 (do_one_test): Break out result checking code into ...
37821 (check_result): This. New function.
37822 (do_one_test): Call check_result.
37823 (test_main): Call check1.
37824 * string/bug-strchr1.c (do_test): Moved to ...
37825 * string/test-strchr.c (check1): Here. New function.
37826 (do_one_test): Break out result checking code into ...
37827 (check_result): This. New function.
37828 (do_one_test): Call check_result.
37829 (test_main): Call check1.
37830 * string/bug-strstr1.c (main): Moved to ...
046f153e 37831 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37832 (do_one_test): Break out result checking code into ...
37833 (check_result): This. New function.
37834 (do_one_test): Call check_result.
37835 (test_main): Call check1.
37836 * string/bug-strcasestr1.c: Removed.
37837 * string/bug-strchr1.c: Likewise.
37838 * string/bug-strstr1.c: Likewise.
37839
53cea63e
L
37840 * elf/Makefile (dl-routines): Add hwcaps.
37841 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37842 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37843 (_dl_important_hwcaps): Moved to ...
37844 * elf/dl-hwcaps.c: Here. New file.
37845 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37846
9cee5585 37847 [BZ #14557]
bb859b06
L
37848 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37849 if IS_IN_rtld isn't defined.
37850
9cee5585
L
37851 * elf/dl-support.c (_dl_sysinfo_map): New.
37852 Include "get-dynamic-info.h" and "setup-vdso.h".
37853 (_dl_non_dynamic_init): Call setup_vdso.
37854 * elf/dynamic-link.h: Don't include <assert.h>.
37855 (elf_get_dynamic_info): Moved to ...
37856 * elf/get-dynamic-info.h: Here. New file.
37857 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37858 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37859 * elf/setup-vdso.h: Here. New file.
37860 * elf/rtld.c: Include "setup-vdso.h".
37861 (dl_main): Call setup_vdso.
37862
23c31b76
JM
378632012-10-05 Joseph Myers <joseph@codesourcery.com>
37864
28234b07
JM
37865 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37866 creal in comment listing functions tested. List finite, isinf,
37867 isnan, isless, islessequal, isgreater, isgreaterequal,
37868 islessgreater, isunordered, lgamma_r and pow10 as functions and
37869 macros not tested. Mention which functions not tested are aliases
37870 for other functions. Fix typo. Note that signs of NaNs are not
37871 tested.
37872
23c31b76
JM
37873 * scripts/config.guess: Update from config.git.
37874 * scripts/config.sub: Likewise.
37875
9043e228
RM
378762012-10-04 Roland McGrath <roland@hack.frob.com>
37877
37878 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37879 * misc/madvise.c (madvise): Renamed to __madvise.
37880 Make madvise a weak alias.
37881 * include/sys/mman.h: Declare __madvise.
37882 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37883 * sysdeps/unix/syscalls.list
37884 (madvise): Make __madvise the strong name, and madvise a weak alias.
37885 * sysdeps/unix/sysv/linux/syscalls.list
37886 (madvise, mmap): Remove redundant entries.
37887 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37888 * malloc/malloc.c (mtrim): Likewise.
37889 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37890
f57f8055
RM
378912012-10-03 Roland McGrath <roland@hack.frob.com>
37892
37893 * sysdeps/mach/hurd/dl-cache.c: File removed.
37894 * config.h.in (USE_LDCONFIG): New #undef.
37895 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37896 * configure: Regenerated.
37897 * elf/Makefile (dl-routines): Add dl-cache only under
37898 [$(use-ldconfig) = yes].
37899 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37900 cache on [USE_LDCONFIG].
37901 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37902 [USE_LDCONFIG].
37903 * elf/rtld.c (dl_main): Likewise.
37904
5bb0c10a
PT
379052012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37906
37907 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37908 _SC_LEVEL4_CACHE_LINESIZE.
37909
010188c6
RM
379102012-10-03 Roland McGrath <roland@hack.frob.com>
37911
37912 * sysdeps/unix/bsd/confstr.h: File removed.
37913
b6c5ec07
AO
379142012-10-02 Alexandre Oliva <aoliva@redhat.com>
37915
37916 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37917 sys/sdt-config.h.
37918
408223d4
RM
379192012-10-02 Roland McGrath <roland@hack.frob.com>
37920
37921 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37922 Make 'mapoff' field ElfW(Off) rather than off_t.
37923
bb9510dc
DL
379242012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37925
fc997c6e
DL
37926 * nscd/Makefile: Remove nscd-cflags and all its users.
37927 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37928 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37929
bb9510dc
DL
37930 [BZ #10631]
37931 * malloc.c (malloc_printerr): Clarify error message.
37932
05699367
L
379332012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37934
37935 [BZ #14648]
37936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37937 Set bit_FMA_Usable if FMA is supported.
37938 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37939 macro.
37940 (bit_FMA4_Usable): Updated.
37941 (index_FMA_Usable): New macro.
37942 (CPUID_FMA): Likewise
37943 (HAS_FMA): Defined with bit_FMA_Usable.
37944
51367701
RM
379452012-10-01 Roland McGrath <roland@hack.frob.com>
37946
37947 * bits/types.h (__swblk_t): Type removed.
37948 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37949 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37950 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37951 (__SWBLK_T_TYPE): Likewise.
37952 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37953 (__SWBLK_T_TYPE): Likewise.
37954 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37955 (__SWBLK_T_TYPE): Likewise.
37956 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37957 (__SWBLK_T_TYPE): Likewise.
37958
4d57bf63 379592012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37960 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37961
37962 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37963 (xdr_mapname): Use YPMAXMAP as maxsize.
37964 (xdr_peername): Use YPMAXPEER as maxsize.
37965 (xdr_keydat): Use YPAXRECORD as maxsize.
37966 (xdr_valdat): Use YPMAXRECORD as maxsize.
37967
93c65d43
RM
379682012-10-01 Roland McGrath <roland@hack.frob.com>
37969
497a03d6
RM
37970 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37971
93c65d43
RM
37972 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37973 * csu/init-first.c: ... here.
37974 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37975 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37976 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37977 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37978 * sysdeps/i386/init-first.c: File removed.
37979 * sysdeps/sh/init-first.c: File removed.
37980
bec749fd
JM
379812012-10-01 Joseph Myers <joseph@codesourcery.com>
37982
37983 [BZ #14645]
37984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37985 if x * y might underflow to zero and z is zero.
37986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37987 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37988 * math/libm-test.inc (min_subnorm_value): New variable.
37989 (fma_test): Add more tests.
37990 (fma_test_towardzero): Likewise.
37991 (fma_test_downward): Likewise
37992 (fma_test_upward): Likewise.
37993 (initialize): Set min_subnorm_value.
37994
8ec5b013
JM
379952012-09-29 Joseph Myers <joseph@codesourcery.com>
37996
37997 [BZ #14638]
37998 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37999 0 + 0.
38000 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38001 mode for addition resulting in exact zero.
38002 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38003 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38004 exact 0 + 0.
38005 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38007 * math/libm-test.inc (fma_test): Add more tests.
38008 (fma_test_towardzero): New function.
38009 (fma_test_downward): Likewise.
38010 (fma_test_upward): Likewise.
38011 (main): Call the new functions.
38012
b1fa802e
DM
380132012-09-28 David S. Miller <davem@davemloft.net>
38014
38015 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38016
d3b9fd9e
RM
380172012-09-28 Roland McGrath <roland@hack.frob.com>
38018
ea4d37b3
RM
38019 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38020 instead of SIGALRM.
38021
ac51c949
RM
38022 * sysdeps/gnu/_G_config.h: Moved to ...
38023 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38024 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38025 * sysdeps/generic/_G_config.h: ... here.
38026
28c195f7
RM
38027 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38028
848917f9
RM
38029 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38030
6bacf05b
RM
38031 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38032 Conditionalize target on [libnss_test1.so-version].
38033
91363dbb
RM
38034 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38035
cc87f7d8
RM
38036 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38037 (elfobjdir): Move out of conditionals.
38038
b1c608fe
RM
38039 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38040 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38041 (__nss_lookup_function): Conditionalize label remove_from_tree on
38042 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38043
1d9a6d96
DM
380442012-09-28 David S. Miller <davem@davemloft.net>
38045
38046 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38047 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38048 file.
38049 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38050 sysdep_routines.
38051 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38052 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38053 when HWCAP_SPARC_CRYPTO is present.
38054
72581615
PT
380552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38056
38057 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38058
715a900c
JL
380592012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38060
38061 [BZ #6530]
38062 * stdio-common/vfprintf.c (process_string_arg): Revert
38063 2000-07-22 change.
38064
380652011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38066
38067 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38068 for testcase.
38069 * stdio-common/tst-sprintf.c: Include <locale.h>
38070 (main): Test sprintf's handling of incomplete multibyte
38071 characters.
38072
9bac1d86
L
380732012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38074
38075 * elf/dl-runtime.c (VERSYMIDX): Removed.
38076 * elf/dl-version.c (VERSYMIDX): Likewise.
38077 * elf/do-rel.h (VERSYMIDX): Likewise.
38078 (VALIDX): Likewise.
38079 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38080 * elf/rtld.c (VALIDX): Likewise.
38081 (ADDRIDX): Likewise.
9bac1d86
L
38082 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38083 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38084 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38085 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38086 (VALIDX): Likewise.
38087 (ADDRIDX): Likewise.
9bac1d86 38088
b31606c0
PT
380892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38090
38091 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38092
11541177
JL
380932012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38094
38095 [BZ #11438]
38096 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38097 to global scope.
38098 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38099 addresses are in the same scope as 192.0.2/24.
38100 * posix/gai.conf: Document new scope table defaults.
38101
adb26fae
SP
381022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38103
38104 [BZ #5298]
38105 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38106 for ftell. Compute offsets from write pointers instead.
38107 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38108
4573c6b0
SP
381092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38110
38111 [BZ #14543]
38112 * libio/Makefile (tests): New test case tst-fseek.
38113 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38114 combination works in wide mode.
38115 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38116 state when the external buffer state changes.
38117
aa9bbfe6
DM
381182012-09-27 David S. Miller <davem@davemloft.net>
38119
38120 [BZ #14376]
38121 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38122 pass reloc->r_addend in as the 'high' argument to
38123 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38124
784421e7
DM
38125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38126
c39bc8b8
PT
381272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38128
38129 * rt/tst-aio2.c: Include <pthread.h>.
38130 * rt/tst-aio3.c: Likewise.
38131
1ccc2399
SE
381322012-09-27 Steve Ellcey <sellcey@mips.com>
38133
38134 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38135
31ed4153
L
381362012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38137
25f5f885
L
38138 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38139 contents on [SHARED].
31ed4153 38140
b7bfe116
MP
381412012-09-26 Marek Polacek <polacek@redhat.com>
38142
38143 [BZ #14530]
38144 [BZ #13741]
38145 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38146 for C++ and GCC <4.3 as well as for non GCC compilers.
38147
43c4edba
MT
381482012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38149
38150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38151
6a1bf82f
RM
381522012-09-25 Roland McGrath <roland@hack.frob.com>
38153
38154 * Makefile.in (all, install): Declare with .PHONY.
38155 Reported by Michael Hope <michael.hope@linaro.org>.
38156
8ad11b9a
TMQMF
381572012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38158
38159 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38160 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38161 system header.
38162 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38163 Likewise.
38164 (sydep_routines): Add the new and the internal functions.
38165 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38166 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38168 (GLIBC_2.17): Add the new function.
38169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38170 (GLIBC_2.17): Likewise.
38171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38172 (GLIBC_2.17): Likewise.
38173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38174 (GLIBC_2.17): Likewise.
38175 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38176
7e2fca8d
AM
381772012-09-25 Alan Modra <amodra@gmail.com>
38178
38179 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38180 Add release barrier before setting once_control to say
38181 initialisation is done. Add hints on lwarx. Use macro in
38182 place of isync.
38183 (clear_once_control): Add release barrier.
38184
b87c4b24
JM
381852012-09-25 Joseph Myers <joseph@codesourcery.com>
38186
d032e0d2
JM
38187 [BZ #13629]
38188 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38189 specially.
38190 * math/s_clog10.c (__clog10): Likewise.
38191 * math/s_clog10f.c (__clog10f): Likewise.
38192 * math/s_clog10l.c (__clog10l): Likewise.
38193 * math/s_clogf.c (__clogf): Likewise.
38194 * math/s_clogl.c (__clogl): Likewise.
38195 * math/Makefile (libm-calls): Add x2y2m1.
38196 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38197 (__x2y2m1): Likewise.
38198 (__x2y2m1l): Likewise.
38199 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38200 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38201 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38202 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38203 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38204 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38205 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38206 * sysdeps/i386/fpu/libm-test-ulps: Update.
38207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38208
b87c4b24
JM
38209 [BZ #14621]
38210 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38211 int as type of variable DEPTH.
38212 (glob): Use size_t instead of int as type of variables NEWCOUNT
38213 and OLD_PATHC.
38214
6d3bf199
LD
382152012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38216
22bf5c17
LD
38217 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38218 Add s_sincosf-sse2.
38219 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38220 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38221 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38222 macros for using routine as __sincosf_ia32.
38223 Use macro for function declaration and weak_alias.
38224 * sysdeps/i386/fpu/libm-test-ulps: Update.
38225
38226 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38228
38229 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38230 subnormal argument.
38231 * math/s_cexpf.c (__cexpf): Likewise.
38232 * math/s_csinf.c (__csinf): Likewise.
38233 * math/s_csinhf.c (__csinhf): Likewise.
38234 * math/s_ctanf.c (__ctanf): Likewise.
38235 * math/s_ctanhf.c (__ctanhf): Likewise.
38236 * math/s_ccosh.c (__ccoshf): Likewise.
38237 * math/s_cexp.c (__cexpl): Likewise.
38238 * math/s_csin.c (__csin): Likewise.
38239 * math/s_csinh.c (__csinh): Likewise.
38240 * math/s_ctan.c (__ctan): Likewise.
38241 * math/s_ctanh.c (ctanh): Likewise.
38242 * math/s_ccoshl.c (__ccoshl): Likewise.
38243 * math/s_cexpl.c (__cexpl): Likewise.
38244 * math/s_csinl.c (__csinl): Likewise.
38245 * math/s_csinhl.c (__csinhl): Likewise.
38246 * math/s_ctanl.c (__ctanl): Likewise.
38247 * math/s_ctanhl.c (__ctanhl): Likewise.
38248
203e5603
JM
382492012-09-25 Joseph Myers <joseph@codesourcery.com>
38250
38251 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38252 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38253 (_IO_off_t): Define to __off_t, not _G_off_t.
38254 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38255 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38256 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38257 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38258 type of __dummy and __dummy2 fields.
38259 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38260 (_G_ssize_t): Likewise.
38261 (_G_off_t): Likewise.
38262 (_G_pid_t): Likewise.
38263 (_G_uid_t): Likewise.
38264 (_G_wchar_t): Likewise.
38265 (_G_wint_t): Likewise.
38266 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38267 (_G_ssize_t): Likewise.
38268 (_G_off_t): Likewise.
38269 (_G_pid_t): Likewise.
38270 (_G_uid_t): Likewise.
38271 (_G_wchar_t): Likewise.
38272 (_G_wint_t): Likewise.
38273 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38274 (_G_ssize_t): Likewise.
38275 (_G_off_t): Likewise.
38276 (_G_pid_t): Likewise.
38277 (_G_uid_t): Likewise.
38278 (_G_wchar_t): Likewise.
38279 (_G_wint_t): Likewise.
38280
9fab36eb
SP
382812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38282
38283 * malloc/arena.c: Include malloc-sysdep.h.
38284 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38285 is sufficient to shrink the heap or an unmap is needed.
38286 * sysdeps/generic/malloc-sysdep.h: New file. Define
38287 new function check_may_shrink_heap.
38288 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38289 new function check_may_shrink_heap.
38290
2b4f00d1
SP
382912012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38292
38293 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38294 comments.
38295
9a9028b1
DL
382962012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38297
57c69bef
DL
38298 * catgets/test-gencat.sh: Add "set -e".
38299 * elf/tst-pathopt.sh: Likewise.
38300 * grp/tst_fgetgrent.sh: Likewise.
38301 * iconvdata/run-iconv-test.sh: Likewise.
38302 * intl/tst-gettext.sh: Likewise.
38303 * intl/tst-gettext2.sh: Likewise.
38304 * intl/tst-gettext4.sh: Likewise.
38305 * intl/tst-gettext6.sh: Likewise.
38306 * intl/tst-translit.sh: Likewise.
38307 * io/ftwtest-sh: Likewise.
38308 * libio/test-freopen.sh: Likewise.
38309 * malloc/tst-mtrace.sh: Likewise.
38310 * posix/globtest.sh: Likewise.
38311 * posix/tst-getconf.sh: Likewise.
38312 * posix/wordexp-tst.sh: Likewise.
38313 * stdio-common/tst-printf.sh: Likewise.
38314 * stdio-common/tst-unbputc.sh: Likewise.
38315 * stdlib/tst-fmtmsg.sh: Likewise.
38316 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38317 * catgets/Makefile: Do not specify -e option when running
38318 testsuite shell scripts.
38319 * elf/Makefile: Likewise.
38320 * grp/Makefile: Likewise.
38321 * iconvdata/Makefile: Likewise.
38322 * intl/Makefile: Likewise.
38323 * io/Makefile: Likewise.
38324 * libio/Makefile: Likewise.
38325 * malloc/Makefile: Likewise.
38326 * posix/Makefile: Likewise.
38327 * stdio-common/Makefile: Likewise.
38328 * stdlib/Makefile: Likewise.
38329 * sysdeps/x86_64/Makefile: Likewise.
38330
9a9028b1
DL
38331 * io/ftwtest-sh: Add copyright header.
38332 * posix/globtest.sh: Likewise.
38333 * posix/tst-getconf.sh: Likewise.
38334 * posix/wordexp-tst.sh: Likewise.
38335 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38336
ced6f16e
L
383372012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38338
94b32c39
L
38339 [BZ #13679]
38340 * Makeconfig (+link): Defined as $(+link-static) if
38341 $(build-shared) isn't yes.
38342 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38343 isn't yes.
38344 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38345
189e935b
L
38346 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38347
ced6f16e
L
38348 [BZ #14562]
38349 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38350 new chunk size with MALLOC_ALIGN_MASK.
38351
a9f8e53a
JM
383522012-09-24 Joseph Myers <joseph@codesourcery.com>
38353
38354 [BZ #5044]
38355 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38356 <rounding-mode.h>.
38357 (__printf_fphex): Determine rounding using get_rounding_mode and
38358 round_away.
38359 * stdio-common/tst-printf-round.c (struct hex_test): New
38360 structure.
38361 (hex_tests): New variable.
38362 (test_hex_in_one_mode): New function.
38363 (do_test): Also run tests for hex float output.
38364
43153109
JM
383652012-09-21 Joseph Myers <joseph@codesourcery.com>
38366
38367 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38368 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38369 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38370 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38371 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38372 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38373 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38374 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38375
8a26625d
JM
383762012-09-20 Joseph Myers <joseph@codesourcery.com>
38377
38378 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38379 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38380 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38381 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38382
f3fd569c
DL
383832012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38384
38385 [BZ #14579]
38386 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38387 mode only.
38388 * elf/tst-rtld-load-self.sh: New test.
38389 * elf/Makefile: Run it.
38390
63bbedd4
JM
383912012-09-18 Joseph Myers <joseph@codesourcery.com>
38392
38393 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38394 (tst-writev-ENV): Remove.
38395 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38396
626f8b6a
CM
383972012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38398
38399 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38400
b7aaa4d6
JM
384012012-09-17 Joseph Myers <joseph@codesourcery.com>
38402
38403 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38404 unconditional.
38405 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38406 Likewise.
38407 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38408 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38409 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38410 Likewise.
38411
65513990
L
384122012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38413
38414 [BZ #14587]
38415 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38416 * config.make.in (have-cpp-asm-debuginfo): Removed.
38417 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38418 * configure: Regenerated.
38419
784761be
JM
384202012-09-14 Joseph Myers <joseph@codesourcery.com>
38421
38422 [BZ #5044]
38423 * stdio-common/printf_fp.c: Include <stdbool.h> and
38424 <rounding-mode.h>.
38425 (___printf_fp): Determine rounding using get_rounding_mode and
38426 round_away.
38427 * stdio-common/tst-printf-round.c: New file.
38428 * stdio-common/Makefile (tests): Add tst-printf-round.
38429 (link-libm): New variable.
38430 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38431
9503345f
L
384322012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38433
38434 [BZ #14576]
38435 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38436 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38437 Likewise.
38438 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38439 Likewise.
38440
ad35fc00
JM
384412012-09-13 Joseph Myers <joseph@codesourcery.com>
38442
38443 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38444 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38445 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38446 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38447
6c9b0f68
JM
384482012-09-12 Joseph Myers <joseph@codesourcery.com>
38449
38450 [BZ #14518]
38451 * include/rounding-mode.h: New file.
38452 * sysdeps/generic/get-rounding-mode.h: Likewise.
38453 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38454 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38455 (MAX_VALUE): New macro.
38456 (MIN_VALUE): Likewise.
38457 (overflow_value): New function.
38458 (underflow_value): Likewise.
38459 (round_and_return): Use overflow_value and underflow_value to
38460 determine return values in overflow and underflow cases. Use
38461 round_away to determine rounding depending on rounding mode.
38462 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38463 determine return values in overflow and underflow cases.
38464 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38465 (struct test_results): New structure.
38466 (struct test): Use struct test_results to store expected results
38467 for all rounding modes.
38468 (TEST): Include expected results for all rounding modes.
38469 (test_in_one_mode): New function.
38470 (do_test): Use test_in_one_mode to compute and check results.
38471 Check results for all rounding modes.
38472 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38473 $(link-libm).
38474
19fcedd5
AM
384752012-12-09 Allan McRae <allan@archlinux.org>
38476
1e9d84cd 38477 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38478
8bbfd2f1
JM
384792012-09-11 Joseph Myers <joseph@codesourcery.com>
38480
38481 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38482 (_G_int32_t): Likewise.
38483 (_G_uint16_t): Likewise.
38484 (_G_uint32_t): Likewise.
38485 (_G_HAVE_BOOL): Likewise.
38486 (_G_HAVE_ATEXIT): Likewise.
38487 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38488 (_G_HAVE_IO_FILE_OPEN): Likewise.
38489 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38490 (_G_int32_t): Likewise.
38491 (_G_uint16_t): Likewise.
38492 (_G_uint32_t): Likewise.
38493 (_G_HAVE_BOOL): Likewise.
38494 (_G_HAVE_ATEXIT): Likewise.
38495 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38496 (_G_HAVE_IO_FILE_OPEN): Likewise.
38497 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38498 (_G_int32_t): Likewise.
38499 (_G_uint16_t): Likewise.
38500 (_G_uint32_t): Likewise.
38501 (_G_HAVE_BOOL): Likewise.
38502 (_G_HAVE_ATEXIT): Likewise.
38503 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38504 (_G_HAVE_IO_FILE_OPEN): Likewise.
38505
b1dc5912
L
385062012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38507
38508 * csu/libc-tls.c: Update copyright years.
38509
0e886ef9
JM
385102012-09-10 Joseph Myers <joseph@codesourcery.com>
38511
28361c5e
JM
38512 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38513 [!_G_USING_THUNKS]: Remove conditional code.
38514 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38515 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38516
0e886ef9
JM
38517 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38518 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38519 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38520 (_G_VTABLE_LABEL_PREFIX): Likewise.
38521 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38522 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38523 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38524 (_G_VTABLE_LABEL_PREFIX): Likewise.
38525 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38526 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38527 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38528 (_G_VTABLE_LABEL_PREFIX): Likewise.
38529 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38530
bcba7aa2
L
385312012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38532
38533 * libio/Makefile: Include ../Makeconfig before tests.
38534 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38535 only if $(build-shared) is yes.
38536
06585ee8
L
38537 * iconv/gconv_db.c: Update copyright years.
38538
80ccd52c
LD
385392012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38540
38541 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38542 unwind info if defined PIC. Fix special cases description.
38543 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38544
38545 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38546 DP_HI_MASK entry.
38547 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38548
691bc9c1
L
385492012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38550
3d9b46b3
L
38551 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38552
de2139a9
L
38553 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38554 is NULL.
38555
5ca78dd0
L
38556 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38557 (LDLIBS-tst-chk4): This.
38558 (LDFLAGS-tst-chk5): Renamed to ...
38559 (LDLIBS-tst-chk5): This.
38560 (LDFLAGS-tst-chk6): Renamed to ...
38561 (LDLIBS-tst-chk6): This.
38562 (LDFLAGS-tst-lfschk4): Renamed to ...
38563 (LDLIBS-tst-lfschk4): This.
38564 (LDFLAGS-tst-lfschk5): Renamed to ...
38565 (LDLIBS-tst-lfschk5): This.
38566 (LDFLAGS-tst-lfschk6): Renamed to ...
38567 (LDLIBS-tst-lfschk6): This.
38568
691bc9c1
L
38569 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38570 on $(common-objpfx)soversions.mk.
38571
65cafb1c
JM
385722012-09-07 Joseph Myers <joseph@codesourcery.com>
38573
38574 [BZ #10014]
38575 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38576 example host name.
38577
c78ab094
SP
385782012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38579
38580 * malloc/arena.c (arena_get_retry): New function that gets
38581 another arena for the caller to try its request on.
38582 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38583 current arena cannot fulfill the request.
38584 (__libc_memalign): Likewise.
38585 (__libc_memalign): Likewise.
38586 (__libc_pvalloc): Likewise.
38587 (__libc_calloc): Likewise.
38588
01f49f59
JT
385892012-09-05 John Tobey <john.tobey@gmail.com>
38590
38591 [BZ #13542]
38592 * manual/arith.texi (Operations on Complex): Fix description
38593 of carg branch cut.
38594
4c23fed5
JM
385952012-09-06 Joseph Myers <joseph@codesourcery.com>
38596
1d3c8572
JM
38597 [BZ #10014]
38598 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38599 host name.
38600
4c23fed5
JM
38601 [BZ #10038]
38602 * manual/memory.texi (Memory): Make order of menu items match
38603 order of sections.
38604
04570aaa
L
386052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38606
38607 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38608 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38609 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38610
b80af2f4
L
386112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38612
38613 * csu/libc-tls.c (static_dtv): Renamed to ...
38614 (_dl_static_dtv): This. Make it global.
38615 (_dl_initial_dtv): Removed.
38616 (__libc_setup_tls): Updated.
38617 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38618 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38619 DL_INITIAL_DTV.
38620
2abe9f15
PM
386212012-09-06 Petr Machata <pmachata@redhat.com>
38622
38623 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38624 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38625 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38626 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38627
0948c3af
L
386282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38629
38630 [BZ #14545]
38631 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38632 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38633 freeing dtv[-1].
38634
a5055ad1
L
386352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38636
38637 [BZ #14544]
38638 * Makeconfig (link-static-before-libc): Replace $(+prector)
38639 with $(+prectorT).
38640 (link-static-after-libc): Replace $(+postctor) with
38641 $(+postctorT).
38642 (link-bounded): Replace $(+prector)/$(+postctor) with
38643 $(+prectorT)/$(+postctorT).
38644 (+prectorT): New macro.
38645 (+postctorT): Likewise.
38646
ed8c2ecd
JM
386472012-09-06 Joseph Myers <joseph@codesourcery.com>
38648
38649 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38650 (round_str): Handle values above the maximum for IBM long double
38651 as inexact.
38652 * stdlib/tst-strtod-round.c (tests): Regenerated.
38653
14c996c8
AK
386542012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38655
38656 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38657 assembler flag.
38658 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38659 zarch_nohighgprs around the zarch optimized routines.
38660 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38661 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38662 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38663 for zarch.
38664
430d6ce6
DM
386652012-09-05 David S. Miller <davem@davemloft.net>
38666
38667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38668
57f41c40
AS
38669 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38670 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38671 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38672 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38673 entries.
38674
24d4e01b
AO
386752012-09-05 Alexandre Oliva <aoliva@redhat.com>
38676
38677 * malloc/arena.c: Fold copyright years.
38678 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38679
61d58174
AO
386802012-09-05 Alexandre Oliva <aoliva@redhat.com>
38681
38682 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38683
20196a5e
AO
386842012-09-05 Alexandre Oliva <aoliva@redhat.com>
38685
38686 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38687
5c447383
AO
386882012-09-05 Alexandre Oliva <aoliva@redhat.com>
38689
38690 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38691 change internal state upon failure.
38692
fad64255
AO
386932012-09-05 Alexandre Oliva <aoliva@redhat.com>
38694
38695 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38696 * malloc/memusage.c (mmap): Likewise.
38697 (mmap64, mremap): Likewise. Adjust name in comment.
38698
1ffb8c90
SP
386992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38700
38701 * libio/fileops.c: Fix typos in comments.
38702 * libio/oldfileops.c: Likewise.
38703 * libio/wfileops.c: Likewise.
38704
6ef9cc37
SP
387052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38706
38707 [BZ #1349]
38708 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38709 (tst-malloc-usable-ENV): Set environment for test case.
38710 * malloc/hooks.c (malloc_check_get_size): New function to get
38711 requested size.
38712 * malloc/malloc.c (musable): Use malloc_check_get_size.
38713 * malloc/tst-malloc-usable.c: New test case.
38714
4d038ae3
AS
387152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38716
38717 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38718
c4e85184
AM
387192012-09-05 Allan McRae <allan@archlinux.org>
38720
b9dafc56 38721 [BZ #13966]
c4e85184
AM
38722 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38723 determine header location.
38724 * configure: Regenerated.
38725
e1343020
AS
387262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38727
38728 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38729 float format.
38730 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38731 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38732 format.
e1343020
AS
38733 (test): Regenerate.
38734
0a9f1987
DM
387352012-09-04 David S. Miller <davem@davemloft.net>
38736
38737 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38738 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38739 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38740
29237804
FW
387412012-09-04 Florian Weimer <fweimer@redhat.com>
38742
38743 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38744 failures.
38745
edb3cb88
FW
38746 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38747
60160d83
JM
387482012-09-04 Joseph Myers <joseph@codesourcery.com>
38749
38750 [BZ #9914]
38751 * libio/iogetdelim.c: Include <limits.h>.
38752 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38753 + len + 1 would overflow.
38754
bcd6c8dc
AJ
387552012-09-03 Andreas Jaeger <aj@suse.de>
38756
38757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38758 * sysdeps/i386/fpu/libm-test-ulps: Update.
38759
4ffffbd2
LD
387602012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38761
38762 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38763 Add s_sinf-sse2, s_conf-sse2.
38764
38765 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38766 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38767 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38768 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38769
38770 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38771 for using routine as __sinf_ia32.
38772 Use macro for function declaration and weak_alias.
38773 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38774 for using routine as __cosf_ia32.
38775 Use macro for function declaration and weak_alias.
38776
38777 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38778 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38779
38780 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38781 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38783
38784 * math/libm-test.inc (cos_test): Add more test cases.
38785 (sin_test): Likewise.
38786 (sincos_test): Likewise.
38787
511fa286
AK
387882012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38789
38790 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38791 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38792 hidden.
38793 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38794
5f30cfec
L
387952012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38796
38797 [BZ #14538]
38798 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38799 first element of the GOT.
38800 (elf_machine_load_address): Return the difference between
38801 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38802
0786794f
AM
388032012-09-01 Allan McRae <allan@archlinux.org>
38804
5f30cfec
L
38805 [BZ #13412]
38806 * configure.in (AWK): Require gawk version 3.0 or later.
38807 * configure: Regenerated.
0786794f 38808
26889eac
JM
388092012-09-01 Joseph Myers <joseph@codesourcery.com>
38810
38811 * sysdeps/unix/sysv/linux/kernel-features.h
38812 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38813 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38814 [__NR_clock_getres]: Make code unconditional.
38815 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38816 (clock_getcpuclockid): Remove code left unreachable by removal of
38817 conditionals.
38818 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38819 code unconditional.
38820 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38821 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38822 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38823 Make code unconditional.
38824 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38825 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38826 * sysdeps/unix/sysv/linux/clock_settime.c
38827 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38828 conditional code.
38829 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38830 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38831
d22e28b0
L
388322012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38833
38834 [BZ #14476]
38835 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38836 scripts/test-installation.pl.
38837
38838 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38839 and $ld_so_version if it is set.
38840
050af9c4
SP
388412012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38842
38843 [BZ #14516]
38844 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38845 failure if reading from procfs failed.
38846 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38847
ad845c0b
JM
388482012-08-27 Joseph Myers <joseph@codesourcery.com>
38849
38850 * sysdeps/unix/sysv/linux/kernel-features.h
38851 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38852 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38853 Remove conditional code.
38854 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38855 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38856 Remove conditional code.
38857 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38858 * sysdeps/unix/sysv/linux/i386/fxstat.c
38859 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38860 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38861 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38862 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38863 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38864 * sysdeps/unix/sysv/linux/i386/lxstat.c
38865 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38866 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38867 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38868 Remove conditional code.
38869 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38870 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38871 Remove conditional code.
38872 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38873 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38874 <kernel-features.h>.
38875 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38876 Remove.
38877 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38878 Remove conditional code.
38879 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38880 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38881 Remove conditional.
38882
5dbf56af
MF
388832012-08-27 Mike Frysinger <vapier@gentoo.org>
38884
38885 [BZ #5400]
38886 * NEWS: Add fixed bug number.
38887
d6e70f43
JM
388882012-08-27 Joseph Myers <joseph@codesourcery.com>
38889
7efb4737
JM
38890 [BZ #14519]
38891 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38892 underflowing exponent in case of negative sign.
38893 * stdlib/tst-strtod-round-data: Add more tests.
38894 * stdlib/tst-strtod-round.c (tests): Regenerated.
38895
af92131a
JM
38896 [BZ #3479]
38897 * stdlib/strtod_l.c (NDIG): Remove.
38898 (HEXNDIG): Likewise.
38899 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38900 smallest representable value.
38901 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38902 lie within an exact representation of 1/2 ulp of the result.
38903 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38904 unconditionally.
38905 (TENS_P9_IDX): Define unconditionally.
38906 (TENS_P9_SIZE): Likewise.
38907 (TENS_P10_IDX): Likewise.
38908 (TENS_P10_SIZE): Likewise.
38909 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38910 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38911 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38912 entries for 10^2^13 and 10^2^14.
38913 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38914 (TENS_P13_IDX): Define.
38915 (TENS_P13_SIZE): Likewise.
38916 (TENS_P14_IDX): Likewise.
38917 (TENS_P14_SIZE): Likewise.
38918 (_fpioconst_pow10): Change array size to
38919 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38920 unconditional.
38921 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38922 1024]: Add entries for 10^2^13 and 10^2^14.
38923 [LAST_POW10 > _LAST_POW10]: Remove #error.
38924 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38925 (_fpioconst_pow10): Change array size to
38926 FPIOCONST_POW10_ARRAY_SIZE.
38927 * stdlib/gen-fpioconst.c: New file.
38928 * stdlib/gen-tst-strtod-round.c: Likewise.
38929 * stdlib/tst-strtod-round-data: Likewise.
38930 * stdlib/tst-strtod-round.c: Likewise.
38931 * stdlib/Makefile (tests): Add tst-strtod-round.
38932
d6e70f43
JM
38933 [BZ #14459]
38934 * stdlib/strtod_l.c: Include <stdint.h>.
38935 (NDEBUG): Do not define.
38936 (round_and_return): Change EXPONENT parameter to type intmax_t.
38937 Rearrange calculations to avoid internal overflow possibilities.
38938 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38939 Rearrange calculations to avoid internal overflow possibilities.
38940 Assert that number fits inside MPNSIZE limbs.
38941 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38942 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38943 calculations and add assertions to avoid internal overflow
38944 possibilities. Add casts to avoid signed/unsigned operations.
38945 * stdlib/tst-strtod-overflow.c: New file.
38946 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38947
1f529f7d
MP
389482012-08-25 Marek Polacek <polacek@redhat.com>
38949
38950 * time/time.h: Fix some typos in comments.
38951
59a629f1
RM
389522012-08-23 Roland McGrath <roland@hack.frob.com>
38953
38954 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38955 * posix/tst-rfc3484-2.c: Likewise.
38956 * posix/tst-rfc3484-3.c: Likewise.
38957
d3bafbc9
SM
389582012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38959
38960 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38961 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38962
4efcc022
JM
389632012-08-23 Joseph Myers <joseph@codesourcery.com>
38964
38965 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38966 #include of fxstatat64.c.
38967
3cc3ef96
RM
389682012-08-22 Roland McGrath <roland@hack.frob.com>
38969
f04e2132
RM
38970 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38971 * shadow/getspent_r.c: Likewise.
38972 * shadow/getspnam.c: Likewise.
38973 * shadow/getspnam_r.c: Likewise.
38974 * gshadow/getsgent.c: Likewise.
38975 * gshadow/getsgent_r.c: Likewise.
38976 * gshadow/getsgnam.c: Likewise.
38977 * gshadow/getsgnam_r.c: Likewise.
38978 * inet/getnetbyad.c: Likewise.
38979 * inet/getnetbyad_r.c: Likewise.
38980 * inet/getnetbynm.c: Likewise.
38981 * inet/getnetbynm_r.c: Likewise.
38982 * inet/getnetent.c: Likewise.
38983 * inet/getnetent_r.c: Likewise.
38984 * inet/getproto.c: Likewise.
38985 * inet/getproto_r.c: Likewise.
38986 * inet/getprtent.c: Likewise.
38987 * inet/getprtent_r.c: Likewise.
38988 * inet/getprtname.c: Likewise.
38989 * inet/getprtname_r.c: Likewise.
38990 * inet/getrpcbyname.c: Likewise.
38991 * inet/getrpcbyname_r.c: Likewise.
38992 * inet/getrpcbynumber.c: Likewise.
38993 * inet/getrpcbynumber_r.c: Likewise.
38994 * inet/getrpcent.c: Likewise.
38995 * inet/getrpcent_r.c: Likewise.
38996 * inet/getaliasent.c: Likewise.
38997 * inet/getaliasent_r.c: Likewise.
38998 * inet/getaliasname.c: Likewise.
38999 * inet/getaliasname_r.c: Likewise.
39000 * nscd/getgrgid_r.c: Likewise.
39001 * nscd/getgrnam_r.c: Likewise.
39002 * nscd/gethstbyad_r.c: Likewise.
39003 * nscd/gethstbynm3_r.c: Likewise.
39004 * nscd/getpwnam_r.c: Likewise.
39005 * nscd/getpwuid_r.c: Likewise.
39006 * nscd/getsrvbynm_r.c: Likewise.
39007 * nscd/getsrvbypt_r.c: Likewise.
39008 * nscd/gai.c: Likewise.
39009
c53d909c
RM
39010 * configure.in (build_nscd): New substituted variable, set
39011 by --disable-build-nscd and defaults to $use_nscd.
39012 * configure: Regenerated.
39013 * config.make.in (build-nscd): New substituted variable.
39014 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39015 Change conditional to require [$(build-nscd) = yes] as well.
39016 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39017
3cc3ef96
RM
39018 [BZ# 13696]
39019 * configure.in (use_nscd): New substituted variable, set by
39020 --disable-nscd. If enabled, define USE_NSCD.
39021 * configure: Regenerated.
39022 * config.h.in: Add USE_NSCD.
39023 * config.make.in (use-nscd): New substituted variable.
39024 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39025 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39026 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39027 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39028 (CFLAGS-getgrnam_r.c): Likewise.
39029 (CFLAGS-initgroups.c): Likewise.
39030 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39031 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39032 Variables removed.
39033 * inet/getnetgrent_r.c
39034 (nscd_setnetgrent): New function, broken out of ...
39035 (setnetgrent): ... here. Call it.
39036 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39037 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39038 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39039 * nscd/Makefile (routines, aux): Move definitions after include of
39040 Makeconfig. Conditionalize on [$(use-nscd) != no].
39041 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39042 Conditionalize on [USE_NSCD].
39043 (is_nscd, nscd_init_cb): Likewise.
39044 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39045 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39046 * nss/nss_db/db-init.c: Likewise.
39047 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39048 [USE_NSCD].
39049 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39050 (make_request): Use it.
39051 (cache_valid_p): New function.
39052 (__check_pf): Use it.
39053 * NEWS: Add item for --disable-nscd.
39054
07e51550
DL
390552012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39056
39057 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39058 to support sed >= 4.2.1-20-ga9bf076.
39059 * configure: Regenerated.
39060
35a5b08b
RM
390612012-08-22 Roland McGrath <roland@hack.frob.com>
39062
39063 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39064 Conditionalize whole body on [IREL].
39065
8479f23a
JL
390662012-08-22 Jeff Law <law@redhat.com>
39067
39068 [BZ #14505]
39069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39070 if the family is PF_UNSPEC.
39071
48da0b21
MF
390722012-08-22 Mike Frysinger <vapier@gentoo.org>
39073
39074 * Makerules (lib-version): Rename from V.
39075 (install-lib-nosubdir): Change V to lib-version.
39076
15d0da8c
WS
390772012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39078
39079 [BZ #14252]
39080 * powerpc32/power6/wcschr.c: New file.
39081 * powerpc32/power6/wcscpy.c: New file.
39082 * powerpc32/power6/wcsrchr.c: New file.
39083 * powerpc64/power6/wcschr.c: New file.
39084 * powerpc64/power6/wcscpy.c: New file.
39085 * powerpc64/power6/wcsrchr.c: New file.
39086
bcca0895
MK
390872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39088
39089 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39090 (two_way_short_needle): Use it.
5a4aaa33
RM
39091 * string/strstr.c (AVAILABLE1_USES_J): Define.
39092 * string/strcasestr.c: Likewise.
99677e57
MK
39093
39094 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39095 array references.
39096 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39097
400726de
MK
39098 [BZ #11607]
39099 * NEWS: Add an entry.
39100 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39101 define their defaults.
39102 (two_way_short_needle): Detect end-of-string on-the-fly.
39103 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39104 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39105 * string/bug-strcasestr1.c: New test.
39106 * string/Makefile: Run it.
39107
20a71f2c
MK
391082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39109
39110 [BZ #11607]
39111 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39112 the first character.
39113
21ad0558
RM
391142012-08-21 Roland McGrath <roland@hack.frob.com>
39115
39116 * csu/elf-init.c (__libc_csu_irel): Function removed.
39117 * csu/libc-start.c (apply_irel): New function.
39118 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39119
0e1d9911
JM
391202012-08-21 Joseph Myers <joseph@codesourcery.com>
39121
39122 * sysdeps/unix/sysv/linux/kernel-features.h
39123 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39124 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39125 <kernel-features.h>.
39126 [__NR_fadvise64_64]: Make code unconditional.
39127 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39128 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39129 !__NR_fadvise64_64)]: Likewise.
39130 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39131 !__NR_fadvise64_64))]: Likewise.
39132 [__NR_fadvise64]: Make code unconditional.
39133 [!__NR_fadvise64]: Remove conditional code.
39134 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39135 <kernel-features.h>.
39136 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39137 unconditional.
39138 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39139 conditional code.
39140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39141 not include <kernel-features.h>.
39142 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39143 unconditional.
39144 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39145 conditional code.
39146 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39147 include <kernel-features.h>.
39148 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39149 unconditional.
39150 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39151 conditional code.
39152
14a50c9d
WS
391532012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39154
39155 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39156 slight instruction rearrangements per scrollpipe analysis.
39157 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39158
c0f4faf0
RM
391592012-08-20 Roland McGrath <roland@hack.frob.com>
39160
696da859
RM
39161 * manual/syslog.texi (syslog; vsyslog, closelog):
39162 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39163 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39164
c0f4faf0
RM
39165 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39166 DSOCAPS to match condition on defining it.
39167
348363b2
JM
391682012-08-20 Joseph Myers <joseph@codesourcery.com>
39169
a35cbf28
JM
39170 * sysdeps/unix/sysv/linux/kernel-features.h
39171 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39173 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39174 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39176 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39177 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39179 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39180 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39181
445f7ecd
JM
39182 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39183 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39184
348363b2
JM
39185 * sysdeps/unix/sysv/linux/kernel-features.h
39186 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39187 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39188 unconditional.
39189 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39190 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39191 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39192 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39193 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39194 Make code unconditional.
39195 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39196 (__mmap64) [!__NR_mmap2]: Likewise.
39197 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39198 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39199 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39200 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39201 [__NR_mmap2]: Make code unconditional.
39202 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39203 (__mmap64) [!__NR_mmap2]: Likewise.
39204
bc5bc0e5
AK
392052012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39206
39207 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39208
88d506de
AJ
392092012-08-18 Andreas Jaeger <aj@suse.de>
39210
39211 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39212
493387d2
MF
392132012-08-18 Mike Frysinger <vapier@gentoo.org>
39214
39215 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39216 * include/unistd.h (__have_sock_cloexec): Likewise.
39217 (__have_pipe2): Likewise.
39218 (__have_dup3): Likewise.
39219
a277af22
MF
392202012-08-18 Mike Frysinger <vapier@gentoo.org>
39221
39222 [BZ #9685]
39223 * include/unistd.h (__have_pipe2): Change define into an extern int.
39224 (__have_dup3): Likewise.
39225 * socket/have_sock_cloexec.c: Include fcntl.h.
39226 (__have_pipe2): New variable.
39227 (__have_dup3): Likewise.
39228
fdab8fd3
MF
392292012-08-17 Mike Frysinger <vapier@gentoo.org>
39230
39231 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39232
31035e80
MP
392332012-08-17 Marek Polacek <polacek@redhat.com>
39234
39235 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39236 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39237
3bd9e993
RM
392382012-08-17 Roland McGrath <roland@hack.frob.com>
39239
c91c505f
RM
39240 * configure.in: Add AC_SUBST for sysheaders.
39241 * configure: Regenerated.
39242 * config.make.in (sysheaders): New substituted variable.
39243
7c6f9d53
RM
39244 * sysdeps/unix/mkfifo.c: Moved ...
39245 * sysdeps/posix/mkfifo.c: ... here.
39246 * sysdeps/unix/mkfifoat.c: Moved ...
39247 * sysdeps/posix/mkfifoat.c: ... here.
39248
39249 * sysdeps/unix/utime.c: Moved ...
39250 * sysdeps/posix/utime.c: ... here.
39251
39252 * sysdeps/unix/time.c: Moved ...
39253 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39254 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39255 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39256
39257 * sysdeps/unix/nice.c: Moved ...
39258 * sysdeps/posix/nice.c: ... here.
39259
39260 * sysdeps/unix/alarm.c: Moved ...
39261 * sysdeps/posix/alarm.c: ... here.
39262
3bd9e993
RM
39263 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39264
d1f09384
JL
392652012-08-17 Jeff Law <law@redhat.com>
39266
39267 * intl/Makefile (codeset_mo): New variable.
39268 ($(codeset_mo)): New target.
39269 (tst-codeset.out): Depend on that. Remove explicit rule.
39270 (tst-gettext3.out, tst-gettext5.out): Likewise.
39271 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39272 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39273 * intl/tst-codeset.sh: Remove.
39274 * intl/tst-gettext3.sh: Likewise.
39275 * intl/tst-gettext5.sh: Likewise.
39276
2ae1ae5c
RM
392772012-08-17 Roland McGrath <roland@hack.frob.com>
39278
c31fdb83
RM
39279 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39280 * sysdeps/unix/syscalls.list: ... here.
39281
a0844057
RM
39282 * sysdeps/posix/getaddrinfo.c
39283 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39284 (gaiconf_init, gaiconf_reload): Use them.
39285 [!_STATBUF_ST_NSEC]
39286 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39287 Define using time_t rather than struct timespec.
39288
750c1f2a
RM
39289 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39290 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39291 Macros removed.
39292 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39293 [!NO_THREADS].
39294 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39295 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39296 Likewise.
39297
2ae1ae5c
RM
39298 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39299 __libc_cleanup_push argument.
39300
e66a42f5
RM
39301 * bits/param.h: New file.
39302 * misc/sys/param.h: New file.
39303 * include/sys/param.h: New file.
39304 * misc/Makefile (headers): Add bits/param.h.
39305 * sysdeps/generic/sys/param.h: File removed.
39306 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39307 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39308 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39309 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39310
b7c08a66
RM
39311 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39312 last change.
39313
b2e1c562
RM
39314 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39315 [_IO_MTSAFE_IO].
39316 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39317 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39318 New macros.
39319
c75ccd4c
RM
39320 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39321 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39322 rather than -D_IO_MTSAFE_IO conditionally.
39323 * stdio-common/Makefile (CPPFLAGS): Likewise.
39324 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39325 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39326 Use $(libio-mtsafe).
39327 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39328 of -D_IO_MTSAFE_IO.
39329 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39330 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39331 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39332 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39333 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39334 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39335 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39336 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39337 (CFLAGS-fread_u_chk.c): Likewise.
39338 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39339 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39340 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39341 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39342 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39343 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39344 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39345 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39346 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39347
39348 * libio/Makefile: Test [$(libc-reentrant) = yes]
39349 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39350
39351 * Makeconfig
39352 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39353 * sysdeps/pthread/configure: File removed.
39354 * sysdeps/pthread/Makeconfig: New file.
39355 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39356 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39357
d9195db8
GB
393582012-08-16 Gary Benson <gbenson@redhat.com>
39359
39360 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39361 unmapping the first object in a namespace.
39362
86466cd9
RM
393632012-08-16 Roland McGrath <roland@hack.frob.com>
39364
39365 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39366 (__internal_setnetgrent): ... this. Add internal_function to
39367 definition. Add libc_hidden_def.
39368 (setnetgrent): Update caller.
39369 (internal_endnetgrent): Renamed to ...
39370 (__internal_endnetgrent): ... this. Add internal_function to
39371 definition. Add libc_hidden_def.
39372 (endnetgrent): Update caller.
39373 (internal_getnetgrent_r): Renamed to ...
39374 (__internal_getnetgrent_r): ... this. Add internal_function to
39375 definition. Add libc_hidden_def.
39376 (__getnetgrent_r): Update caller.
39377 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39378
c3c8283c
JM
393792012-08-16 Joseph Myers <joseph@codesourcery.com>
39380
39381 * stdlib/longlong.h: Update from GCC.
39382
db1ee0a8
RM
393832012-08-16 Roland McGrath <roland@hack.frob.com>
39384
39385 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39386 on _QL, which is set by umul_ppmm but never used.
39387 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39388 variables, which are set by GMP macros but never used.
39389 * stdio-common/_itowa.c (_itowa): Likewise.
39390 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39391 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39392
30f69637
CD
393932012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39394
39395 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39396 struct La_sh_regs is not constant.
39397 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39398 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39399 and struct La_sparc64_regs are not constant.
39400
93a78ac4
JM
394012012-08-16 Joseph Myers <joseph@codesourcery.com>
39402
39403 * sysdeps/unix/sysv/linux/kernel-features.h
39404 (__ASSUME_POSIX_TIMERS): Remove.
39405 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39406 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39407 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39408 Make code unconditional.
39409 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39410 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39411 Make code unconditional.
39412 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39413 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39414 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39415 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39416 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39417 Make code unconditional.
39418 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39419 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39420 (__libc_missing_posix_timers): Remove.
39421
dd924cd7
RM
394222012-08-15 Roland McGrath <roland@hack.frob.com>
39423
4b4f2771
RM
39424 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39425 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39426
601c888b
RM
39427 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39428
176790a7
RM
39429 * elf/dl-sym.c: Include <stdlib.h>.
39430
329bc018
RM
39431 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39432 constants, which avoids warnings in 32-bit builds.
39433
e04e272d
RM
39434 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39435 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39436
952bf94a
RM
39437 * misc/lseek.c: File moved to ...
39438 * io/lseek.c: ... here.
39439
7c99b50a
RM
39440 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39441
dd924cd7
RM
39442 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39443 shifting LEN more than 31 bits at once.
39444
b3f479a8
LD
394452012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39446
39447 [BZ #14195]
8c4ae0d4
RM
39448 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39449 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39450 * string/test-strncasecmp.c (check1): Renamed to...
39451 (bz12205): ...this.
39452 (bz14195): Add new testcase for two empty input strings and N > 0.
39453 (test_main): Call new testcase, adapt for renamed function.
39454
9c55864e
AJ
394552012-08-15 Andreas Jaeger <aj@suse.de>
39456
39457 [BZ #14090]
39458 * crypt/md5test2.c: New test, based on test supplied by Serge
39459 Belyshev <belyshev@depni.sinp.msu.ru>.
39460 * crypt/Makefile (xtests): Add md5test-giant..
39461 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39462
02dcb6c5
PE
394632012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39464
39465 [BZ #14090]
39466 * crypt/md5.c (md5_process_block): Don't assume the buffer
39467 length is less than 2**32.
39468 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39469 length is less than 2**64.
39470
a3f95dcc
RM
394712012-08-15 Roland McGrath <roland@hack.frob.com>
39472
be75d758
RM
39473 * string/str-two-way.h: Include <sys/param.h>.
39474 (MAX): Macro removed.
39475
7312ca90
RM
39476 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39477 Move #define and #undef of memmove to just before and after
39478 including <string.h>.
39479
9a0a5486
RM
39480 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39481 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39482 and after including <string.h>. Move declarations of
39483 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39484 to before #include "string/memmove.c".
39485
67cc348d
RM
39486 * include/dirent.h: Declare __getdirentries.
39487
a3f95dcc
RM
39488 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39489 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39490
ca98e171
MF
394912012-08-14 Mike Frysinger <vapier@gentoo.org>
39492
39493 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39494 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39495 * sysdeps/i386/configure: Regenerated.
39496 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39497 STABS_CURRENT_FILE, and STABS_FUN.
39498 (END): Remove call to STABS_FUN_END.
39499 (STABS_CURRENT_FILE1): Delete.
39500 (STABS_CURRENT_FILE): Likewise.
39501 (STABS_FUN): Likewise.
39502 (STABS_FUN_END): Likewise.
39503 (STABS_FUN2): Likewise.
39504 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39505 * sysdeps/x86_64/configure: Regenerated.
39506
5908bf46
RM
395072012-08-14 Roland McGrath <roland@hack.frob.com>
39508
39509 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39510 * elf/dl-lookup.c: Likewise.
5908bf46 39511
f2c05b9e
JM
395122012-08-14 Joseph Myers <joseph@codesourcery.com>
39513
39514 * sysdeps/unix/sysv/linux/kernel-features.h
39515 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39516 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39517 unconditionally.
39518 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39519 unconditionally.
39520 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39521 condition on __ASSUME_CLONE_THREAD_FLAGS.
39522
e11f5155
AJ
395232012-08-14 Andreas Jaeger <aj@suse.de>
39524
39525 * sysdeps/i386/fpu/libm-test-ulps: Update.
39526
51a9ba86
MK
395272012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39528
2fdd4f78
AJ
39529 * include/atomic.h (atomic_exchange_and_add): Split into ...
39530 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39531 New atomic macros.
51a9ba86 39532
ba6cba9e
MT
395332012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39534
39535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39536
42443a47
JL
395372012-08-13 Jeff Law <law@redhat.com>
39538
39539 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39540 null byte in the output string.
39541
121dce05
JM
395422012-08-10 Joseph Myers <joseph@codesourcery.com>
39543
39544 * sysdeps/unix/sysv/linux/kernel-features.h
39545 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39546 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39547 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39548 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39549 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39550 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39551 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39552
bf51f568
JL
395532012-08-09 Jeff Law <law@redhat.com>
39554
39555 [BZ #13939]
39556 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39557 When avoid_arena is set, don't retry in the that arena. Pick the
39558 next one, whatever it might be.
39559 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39560 (arena_lock): Pass in new parameter to arena_get2.
39561 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39562 arena_get2.
39563 (__libc_malloc): Unify retrying after main arena failure with
39564 __libc_memalign version.
39565 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39566
f85fa270
L
395672012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39568
39569 [BZ #14166]
39570 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39571 to __redirect_strstr.
39572 (__strstr_sse42): Use typeof __redirect_strstr.
39573 (__strstr_ia32): Likewise.
39574 (__libc_strstr): New prototype.
39575 (strstr): Renamed to ...
39576 (__libc_strstr): This.
39577 (strstr): New strong alias of __libc_strstr.
39578 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39579 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39580 __redirect_time.
39581 Include <time.h>.
39582 (__libc_time): New prototype.
39583 (time_ifunc): Replace time with __libc_time.
39584 (time): New strong alias and hidden definition of __libc_time.
39585 (__GI_time): Remove strong alias.
39586 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39587 Include <stddef.h>.
39588 (memmove): Redefined to __redirect_memmove.
39589 (__memmove_sse2): Use typeof __redirect_memmove.
39590 (__memmove_ssse3): Likewise.
39591 (__memmove_ssse3_back): Likewise.
39592 (__libc_memmove): New prototype.
39593 (memmove): Renamed to ...
39594 (__libc_memmove): This.
39595 (memmove): New strong alias of __libc_memmove.
39596
33b4a91e
MS
395972012-08-08 Mark Salter <msalter@redhat.com>
39598
39599 * elf/elf.h
39600 (R_MN10300_TLS_GD): Define.
39601 (R_MN10300_TLS_LD): Likewise.
39602 (R_MN10300_TLS_LDO): Likewise.
39603 (R_MN10300_TLS_GOTIE): Likewise.
39604 (R_MN10300_TLS_IE): Likewise.
39605 (R_MN10300_TLS_LE): Likewise.
39606 (R_MN10300_TLS_DTPMOD): Likewise.
39607 (R_MN10300_TLS_DTPOFF): Likewise.
39608 (R_MN10300_TLS_TPOFF): Likewise.
39609 (R_MN10300_SYM_DIFF): Likewise.
39610 (R_MN10300_ALIGN): Likewise.
39611 (R_MN10300_NUM): Update.
39612
b36137f1
JM
396132012-08-08 Joseph Myers <joseph@codesourcery.com>
39614
39615 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39616 Remove.
39617
cdd915fd
RM
396182012-08-08 Roland McGrath <roland@hack.frob.com>
39619
a2433aac
RM
39620 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39621
cdd915fd
RM
39622 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39623 sysdeps/unix -> sysdeps/posix move.
39624 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39625
bf9b740a
AM
396262012-08-07 Allan McRae <allan@archlinux.org>
39627
39628 [BZ #14303]
39629 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39630 (SUNOS_CPP): Likewise.
39631 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39632 not found.
39633 (open_input): Call CPP using execvp.
39634
93df14ee
JM
396352012-08-07 Joseph Myers <joseph@codesourcery.com>
39636
39637 * sysdeps/unix/sysv/linux/kernel-features.h
39638 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39639 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39640 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39641 (__ASSUME_WAITID_SYSCALL): Likewise.
39642 * sysdeps/unix/sysv/linux/dl-execstack.c
39643 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39644 code unconditional.
39645 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39646 conditional code.
39647 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39648 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39649 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39650 code.
39651 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39652 unconditional.
39653 [__ASSUME_WAITID_SYSCALL]: Likewise.
39654 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39655
d34689de
RM
396562012-08-07 Roland McGrath <roland@hack.frob.com>
39657
a281decc
RM
39658 * sysdeps/unix/closedir.c: Renamed to ...
39659 * sysdeps/posix/closedir.c: ... here.
39660 * sysdeps/unix/dirfd.c: Renamed to ...
39661 * sysdeps/posix/dirfd.c: ... here.
39662 * sysdeps/unix/dirstream.h: Renamed to ...
39663 * sysdeps/posix/dirstream.h: ... here.
39664 * sysdeps/unix/fdopendir.c: Renamed to ...
39665 * sysdeps/posix/fdopendir.c: ... here.
39666 * sysdeps/unix/opendir.c: Renamed to ...
39667 * sysdeps/posix/opendir.c: ... here.
39668 * sysdeps/unix/readdir.c: Renamed to ...
39669 * sysdeps/posix/readdir.c: ... here.
39670 * sysdeps/unix/readdir_r.c: Renamed to ...
39671 * sysdeps/posix/readdir_r.c: ... here.
39672 * sysdeps/unix/rewinddir.c: Renamed to ...
39673 * sysdeps/posix/rewinddir.c: ... here.
39674 * sysdeps/unix/seekdir.c: Renamed to ...
39675 * sysdeps/posix/seekdir.c: ... here.
39676 * sysdeps/unix/telldir.c: Renamed to ...
39677 * sysdeps/posix/telldir.c: ... here.
39678 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39679 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39680 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39681 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39682
22895b47
RM
39683 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39684 * bits/fcntl.h: ... here.
39685
707a53b6
RM
39686 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39687 not 0.
39688 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39689 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39690 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39691 (struct flock): Move l_start, l_len to the beginning.
39692 Use __pid_t for l_pid.
39693 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39694 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39695 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39696 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39697 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39698 [__USE_LARGEFILE64] (struct flock64): New type.
39699 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39700
f0bd3e25
RM
39701 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39702 * bits/dirent.h: ... here.
39703
d34689de
RM
39704 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39705 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39706
6dad2c06
JM
397072012-08-07 Joseph Myers <joseph@codesourcery.com>
39708
39709 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39710 Change from 2.6.0 to 2.6.16.
39711 * sysdeps/unix/sysv/linux/configure: Regenerated.
39712 * sysdeps/unix/sysv/linux/kernel-features.h
39713 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39714 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39715 version.
39716 (__ASSUME_UTIMES): Likewise.
39717 (__ASSUME_CLONE_STOPPED): Remove.
39718 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39719 architectures, not kernel version.
39720 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39721 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39722 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39723 (__ASSUME_WAITID_SYSCALL): Likewise.
39724 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39725 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39726 * README: State 2.6.16 as minimum Linux kernel version. Do not
39727 refer to older versions.
39728
03af9520
RM
397292012-08-06 Roland McGrath <roland@hack.frob.com>
39730
8e49df1d
RM
39731 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39732 Define alphasort64 as an alias.
39733 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39734 Define versionsort64 as an alias.
39735 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39736 Define scandir64 as an alias.
39737 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39738 Define scandirat64 as an alias.
39739 * dirent/alphasort64.c (alphasort64):
39740 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39741 * dirent/versionsort64.c: Likewise.
39742 * dirent/scandir64.c: Likewise.
39743 * dirent/scandirat64.c: Likewise.
39744 * sysdeps/wordsize-64/alphasort.c: File removed.
39745 * sysdeps/wordsize-64/alphasort64.c: File removed.
39746 * sysdeps/wordsize-64/scandir.c: File removed.
39747 * sysdeps/wordsize-64/scandir64.c: File removed.
39748 * sysdeps/wordsize-64/scandirat.c: File removed.
39749 * sysdeps/wordsize-64/scandirat64.c: File removed.
39750 * sysdeps/wordsize-64/versionsort.c: File removed.
39751 * sysdeps/wordsize-64/versionsort64.c: File removed.
39752 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39753 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39754 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39755 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39756 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39757 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39758 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39759 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39760
39761 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39762 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39763 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39764 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39765 [defined __arch64__ || defined __sparcv9]
39766 (__INO_T_MATCHES_INO64_T): New macro.
39767 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39768 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39769 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39770 * sysdeps/unix/sysv/linux/bits/dirent.h
39771 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39772 (_DIRENT_MATCHES_DIRENT64): New macro.
39773
03af9520
RM
39774 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39775 Define lockf64 as an alias.
39776 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39777 Define fseeko64 as an alias.
39778 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39779 Define ftello64 as an alias.
39780 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39781 Define _IO_fgetpos64 and fgetpos64 as aliases.
39782 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39783 Define _IO_fsetpos64 and fsetpos64 as aliases.
39784 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39785 Conditionalize body on this.
39786 * libio/fseeko64.c: Likewise.
39787 * libio/ftello64.c: Likewise.
39788 * libio/iofgetpos64.c: Likewise.
39789 * libio/iofsetpos64.c: Likewise.
39790 * sysdeps/wordsize-64/lockf.c: File removed.
39791 * sysdeps/wordsize-64/lockf64.c: File removed.
39792 * sysdeps/wordsize-64/fseeko.c: File removed.
39793 * sysdeps/wordsize-64/fseeko64.c: File removed.
39794 * sysdeps/wordsize-64/ftello.c: File removed.
39795 * sysdeps/wordsize-64/ftello64.c: File removed.
39796 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39797 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39798 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39799 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39800 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39801 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39802 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39803 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39804 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39805 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39806 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39807 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39808 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39809 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39810
39811 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39812 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39813 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39814 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39815 [defined __arch64__ || defined __sparcv9]
39816 (__OFF_T_MATCHES_OFF64_T): New macro.
39817 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39818 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39819 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39820 (__OFF_T_MATCHES_OFF64_T): New macro.
39821
c5757acd
L
398222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39823
39824 * stdlib/secure-getenv.c (__secure_getenv): Replace
39825 GLIBC_2_16 with GLIBC_2_17.
39826
3a31811e
L
398272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39828
39829 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39830 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39831
faa2bccb
DM
398322012-08-03 David S. Miller <davem@davemloft.net>
39833
39834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39835
85fe1997
JM
398362012-08-03 Joseph Myers <joseph@codesourcery.com>
39837
39838 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39839 Remove.
39840 (__ASSUME_CORRECT_SI_PID): Likewise.
39841 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39842 (__ASSUME_TMPFS_NAME): Likewise.
39843 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39844 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39845 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39846 (HAVE_AUX_SECURE): Make definition unconditional.
39847 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39848 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39849
4f75b7a0
RM
398502012-08-03 Roland McGrath <roland@hack.frob.com>
39851
39852 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39853 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39854 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39855 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39856 __eloop_threshold instead of SYMLOOP_MAX.
39857
39858 * sysdeps/generic/eloop-threshold.h: New file.
39859 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39860 of MAXSYMLINKS.
39861 * elf/chroot_canon.c (chroot_canon): Likewise.
39862
7aab07e4
JM
398632012-08-03 Joseph Myers <joseph@codesourcery.com>
39864
39865 [BZ #13717]
39866 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39867 Change to 2.6.0 everywhere.
39868 * sysdeps/unix/sysv/linux/configure: Regenerated.
39869 * sysdeps/unix/sysv/linux/kernel-features.h
39870 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39871 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39872 kernel versions.
39873 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39874 (__ASSUME_FUTEX_REQUEUE): Remove.
39875 (__ASSUME_STATFS64): Define unconditionally.
39876 (__ASSUME_AT_SECURE): Likewise.
39877 (__ASSUME_CORRECT_SI_PID): Likewise.
39878 (__ASSUME_TGKILL): Define without depending on kernel version for
39879 i386.
39880 (__ASSUME_UTIMES): Likewise.
39881 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39882 kernel version.
39883 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39884 (__ASSUME_TMPFS_NAME): Likewise.
39885 * README: Update reference to Linux kernel versions.
39886
b67e9372
MP
398872012-08-02 Marek Polacek <polacek@redhat.com>
39888
1f529f7d 39889 [BZ# 14150]
b67e9372
MP
39890 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39891 libc_cv_asm_type_prefix with %.
39892 * configure: Regenerated.
d2441631
RM
39893 * include/libc-symbols.h: Remove comment about
39894 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39895 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39896 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39897 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39898 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39899 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39900 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39901 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39902 * elf/tst-unique2mod1.c: Likewise.
39903 * elf/tst-unique1mod2.c: Likewise.
39904 * elf/tst-unique1mod1.c: Likewise.
39905 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39906 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39907 Replace ASM_TYPE_DIRECTIVE with .type.
39908 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39909 * sysdeps/i386/sysdep.h: Likewise.
39910 * sysdeps/x86_64/sysdep.h: Likewise.
39911 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39913 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39914 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39915 * sysdeps/powerpc/powerpc32/sysdep.h:
39916 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39917 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39918 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39919 * sysdeps/i386/fpu/e_powf.S: Likewise.
39920 * sysdeps/i386/fpu/e_expl.S: Likewise.
39921 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39922 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39923 * sysdeps/i386/fpu/e_pow.S: Likewise.
39924 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39925 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39926 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39927 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39928 * sysdeps/i386/fpu/e_log2.S: Likewise.
39929 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39930 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39931 * sysdeps/i386/fpu/e_powl.S: Likewise.
39932 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39933 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39934 * sysdeps/i386/fpu/e_logl.S: Likewise.
39935 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39936 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39937 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39938 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39939 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39940 * sysdeps/i386/fpu/e_log.S: Likewise.
39941 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39942 * sysdeps/i386/fpu/e_logf.S: Likewise.
39943 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39944 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39945 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39946 * sysdeps/i386/fpu/e_log10.S: Likewise.
39947 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39948 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39949 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39950 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39951 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39952 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39953 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39954 * sysdeps/i386/i686/strtok.S: Likewise.
39955 * sysdeps/i386/i386-mcount.S: Likewise.
39956 * sysdeps/i386/strtok.S: Likewise.
39957 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39958 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39959 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39960 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39961 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39962 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39963 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39964 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39965 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39966 * sysdeps/x86_64/_mcount.S: Likewise.
39967 * sysdeps/x86_64/strtok.S: Likewise.
39968 * sysdeps/sh/_mcount.S: Likewise.
39969
2747bf9a
RM
399702012-08-01 Roland McGrath <roland@hack.frob.com>
39971
39972 * libio/iofopen.c: Include <fcntl.h>.
39973 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39974 (_IO_fopen64, fopen64): Define as aliases.
39975 * libio/iofopen64.c: Include <fcntl.h>.
39976 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39977 Conditionalize body on this.
39978 * sysdeps/wordsize-64/iofopen.c: File removed.
39979 * sysdeps/wordsize-64/iofopen64.c: File removed.
39980
3fb791b8
MP
399812012-08-01 Marek Polacek <polacek@redhat.com>
39982
39983 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39984 Use dlfcn directly instead of a variable.
39985 (binfmt-subdir): Do not define.
39986 (dlfcn): Likewise.
39987
a9f1039f
JM
399882012-08-01 Joseph Myers <joseph@codesourcery.com>
39989
23bddc06
JM
39990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39991 Remove all definitions.
39992 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39993 <kernel-features.h>.
39994 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39995 (miss_F_GETOWN_EX): Remove all definitions.
39996 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39997 macro definition.
39998 [!__ASSUME_FCNTL64]: Remove conditional code.
39999 [__ASSUME_FCNTL64]: Make code unconditional.
40000 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40001 <kernel-features.h>.
40002 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40003 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40004 (lockf64) [__NR_fcntl64]: Make code unconditional.
40005 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40006
a9f1039f
JM
40007 * sysdeps/unix/sysv/linux/kernel-features.h
40008 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40009 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40010 Make code unconditional.
40011 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40012 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40014 [__NR_vfork]: Make code unconditional.
40015 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40016 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40018 [__NR_vfork]: Make code unconditional.
40019 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40020 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40021
09c0ee5f
RM
400222012-08-01 Roland McGrath <roland@hack.frob.com>
40023
48aec5b9
RM
40024 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40025 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40026
cd97c966
RM
40027 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40028 Define mkstemp64 as an alias.
3f55550c
RM
40029 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40030 Define mkstemps64 as an alias.
cd97c966
RM
40031 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40032 Define mkostemp64 as an alias.
b8625cfc
RM
40033 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40034 Define mkostemps64 as an alias.
cd97c966
RM
40035 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40036 Conditionalize body on this.
40037 * misc/mkostemp64.c: Likewise.
b8625cfc 40038 * misc/mkostemps64.c: Likewise.
3f55550c 40039 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40040 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40041 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40042 * sysdeps/wordsize-64/mkostemp.c: File removed.
40043 * sysdeps/wordsize-64/mkstemp.c: File removed.
40044 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40045 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40046 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40047 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40048
09c0ee5f
RM
40049 [BZ #14138]
40050 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40051 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40052 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40053 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40054
40055 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40056 compat_symbol macros from <shlib-compat.h> rather than the underlying
40057 default_symbol_version and symbol_version macros, so that DEFAULT
40058 lines in shlib-versions are respected.
40059 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40060
7e66ee51
FW
400612012-08-01 Florian Weimer <fweimer@redhat.com>
40062
40063 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40064 Declare with warn_unused_result.
40065 (setgid, setregid, setegid, setresgid): Likewise.
40066 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40067 Likewise.
40068 * WUR-REPORT: Remove set*id functions.
40069
d2a54255
PT
400702012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40071
40072 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40073
7ecdb005
RM
400742012-07-31 Roland McGrath <roland@hack.frob.com>
40075
b4180a5e 40076 [BZ #10191]
789bd351
RM
40077 * include/sys/socket.h (__libc_accept, __libc_accept4):
40078 Add attribute_hidden.
40079 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40080
40ce302d
RM
40081 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40082 use of PTR_MANGLE.
40083 * inet/getnetgrent_r.c (setup): Likewise.
40084
7ecdb005
RM
40085 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40086
e2eabb2c
DM
400872012-07-31 David S. Miller <davem@davemloft.net>
40088
40089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40090
d0419dbf
JM
400912012-07-31 Joseph Myers <joseph@codesourcery.com>
40092
40093 [BZ #13629]
40094 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40095 value between 1.0 and 2.0 and smaller part has absolute value less
40096 than 1.0.
40097 * math/s_clog10.c (__clog10): Likewise.
40098 * math/s_clog10f.c (__clog10f): Likewise.
40099 * math/s_clog10l.c (__clog10l): Likewise.
40100 * math/s_clogf.c (__clogf): Likewise.
40101 * math/s_clogl.c (__clogl): Likewise.
40102 * math/libm-test.inc (clog_test): Add more tests.
40103 (clog10_test): Likewise.
40104 * sysdeps/i386/fpu/libm-test-ulps: Update.
40105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40106
2bc13872
FW
401072012-07-31 Florian Weimer <fweimer@redhat.com>
40108
40109 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40110 Exit with zero in case no suitable GID is found, and write a
40111 message to standard error.
40112
bea9b193
RM
401132012-07-30 Roland McGrath <roland@hack.frob.com>
40114
40115 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40116 rather than to 1.
40117 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40118 (MAXPATHLEN): Removed.
40119 (NOGROUP, NODEV): New macros.
40120 (setbit, clrbit, isset, isclr): New macros.
40121 (howmany, roundup, powerof2): New macros.
40122 (DEV_BSIZE): New macro.
40123
40124 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40125 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40126
40127 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40128 definition on [!__NO_LONG_DOUBLE_MATH].
40129
40130 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40131 PTR_MANGLE and PTR_DEMANGLE.
40132
40133 * socket/accept4.c (accept4): Rename to __libc_accept4.
40134 Define accept4 as a weak alias.
40135
40136 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40137 on [_DIRENT_HAVE_D_TYPE].
40138 * io/ftw.c (ftw_dir): Likewise.
40139
40140 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40141
40142 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40143
40144 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40145 Use the BSD numbers rather than the arbitrary ones we had.
40146 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40147 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40148 (SIGXCPU, SIGXFSZ): New macros.
40149 (_NSIG): Now 32.
40150
40151 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40152 initializer on [_LIBC_REENTRANT].
40153
40154 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40155 definitions inside [_POSIX_MAPPED_FILES].
40156
40157 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40158
40159 * dirent/opendir.c: Include <fcntl.h>.
40160
40161 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40162 (__libc_getspecific): Likewise.
40163 (__libc_key_create): Likewise.
40164
40165 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40166 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40167 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40168 (tmpfile64): Define as alias.
40169 * sysdeps/wordsize-64/tmpfile.c: File removed.
40170 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40171 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40172 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40173
40174 * stdio-common/vfscanf.c: Include <stdbool.h>.
40175 * nss/makedb.c: Likewise.
40176 * stdio-common/_i18n_number.h: Likewise.
40177 * argp/argp-help.c: Likewise.
40178 * posix/wordexp.c: Likewise.
40179 * sysdeps/posix/spawni.c: Likewise.
40180 * nss/nss_files/files-initgroups.c: Likewise.
40181 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40182 * nss/nss_files/files-initgroups.c: Likewise.
40183 * nss/nss_db/db-netgrp.c: Likewise.
40184 * nss/nss_db/db-initgroups.c: Likewise.
40185 * io/fchmodat.c: Include <sys/stat.h>.
40186
40187 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40188 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40189
40190 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40191 [HAVE_MMAP].
40192
40193 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40194 Add multiple inclusion protection.
40195
e5abc686
DM
401962012-07-27 David S. Miller <davem@davemloft.net>
40197
40198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40199
815e6fa3
GB
402002012-07-27 Gary Benson <gbenson@redhat.com>
40201
40202 [BZ #14298]
40203 * elf/rtld.c: Include <stap-probe.h>.
40204 (dl_main): Added static probes "init_start" and "init_complete".
40205 * elf/dl-load.c: Include <stap-probe.h>.
40206 (lose): Take new parameter "nsid".
40207 Added static probe "map_failed".
40208 (_dl_map_object_from_fd): Pass namespace id to lose.
40209 Added static probe "map_start".
40210 (open_verify): Pass namespace id to lose.
40211 * elf/dl-open.c: Include <stap-probe.h>.
40212 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40213 and "reloc_complete".
40214 * elf/dl-close.c: Include <stap-probe.h>.
40215 (_dl_close_worker): Added static probes "unmap_start" and
40216 "unmap_complete".
40217 * elf/rtld-debugger-interface.txt: New file documenting the above.
40218
9f98c16c
RM
402192012-07-26 Roland McGrath <roland@hack.frob.com>
40220
40221 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40222 rather than a string variable.
40223 * sunrpc/rpc_main.c (h_output): Likewise.
40224 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40225
f3c22df3
PT
402262012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40227
40228 * inet/check_native.c: New file.
40229
3129cfc6
JM
402302012-07-26 Joseph Myers <joseph@codesourcery.com>
40231
da865e95
JM
40232 [BZ #13629]
40233 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40234 if larger part has absolute value 1.0.
40235 * math/s_clog10.c (__clog10): Likewise.
40236 * math/s_clog10f.c (__clog10f): Likewise.
40237 * math/s_clog10l.c (__clog10l): Likewise.
40238 * math/s_clogf.c (__clogf): Likewise.
40239 * math/s_clogl.c (__clogl): Likewise.
40240 * math/libm-test.inc (clog_test): Add more tests.
40241 (clog10_test): Likewise.
40242 * sysdeps/i386/fpu/libm-test-ulps: Update.
40243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40244
3129cfc6
JM
40245 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40246 (pltexit): Likewise.
40247 (La_regs): Likewise.
40248 (La_retval): Likewise.
40249 (int_retval): Likewise.
40250 Update #error for removed macros to refer only to definitions in
40251 tst-audit.h.
40252 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40253 macro.
40254 (pltexit): Likewise.
40255 (La_regs): Likewise.
40256 (La_retval): Likewise.
40257 (int_retval): Likewise.
40258 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40259 macro.
40260 (pltexit): Likewise.
40261 (La_regs): Likewise.
40262 (La_retval): Likewise.
40263 (int_retval): Likewise.
40264 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40265 macro.
40266 (pltexit): Likewise.
40267 (La_regs): Likewise.
40268 (La_retval): Likewise.
40269 (int_retval): Likewise.
40270 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40271 macro.
40272 (pltexit): Likewise.
40273 (La_regs): Likewise.
40274 (La_retval): Likewise.
40275 (int_retval): Likewise.
40276 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40277 macro.
40278 (pltexit): Likewise.
40279 (La_regs): Likewise.
40280 (La_retval): Likewise.
40281 (int_retval): Likewise.
40282 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40283 macro.
40284 (pltexit): Likewise.
40285 (La_regs): Likewise.
40286 (La_retval): Likewise.
40287 (int_retval): Likewise.
40288 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40289 macro definitions in tst-audit.h.
40290 * sysdeps/i386/tst-audit.h: New file.
40291 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40292 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40293 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40294 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40295 * sysdeps/sh/tst-audit.h: Likewise.
40296 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40297 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40298 * sysdeps/x86_64/tst-audit.h: Likewise.
40299
bfc07087
AJ
403002012-07-26 Andreas Jaeger <aj@suse.de>
40301
b1b2aaf8
AJ
40302 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40303 ptrace.
40304
40305 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40306 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40307 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40308 PTRACE_O_MASK.
40309 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40310 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40311 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40312
bfc07087
AJ
40313 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40314 value.
40315
40316 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40317 _sigsys.
40318 (si_call_addr, si_syscall, si_arch): Define new macro.
40319 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40320 _sigsys.
40321 (si_call_addr, si_syscall, si_arch): Define new marcro.
40322 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40323 _sigsys.
40324 (si_call_addr, si_syscall, si_arch): Define new macro.
40325 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40326 _sigsys.
40327 (si_call_addr, si_syscall, si_arch): Define new macro.
40328
89b4b02f
JM
403292012-07-25 Joseph Myers <joseph@codesourcery.com>
40330
40331 [BZ #13717]
40332 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40333 Change to 2.4.21 where previously 2.4.1.
40334 * sysdeps/unix/sysv/linux/configure: Regenerated.
40335 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40336 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40337 Linux kernel version.
40338 (__ASSUME_STD_AUXV): Remove.
40339 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40340 kernel version.
40341 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40342 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40343 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40344 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40345 (__ASSUME_NETLINK_SUPPORT): Likewise.
40346 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40347 (__no_netlink_support): Remove conditional definition.
40348 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40349 Remove.
40350 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40351 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40352 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40353 (if_nameindex_ioctl): Remove.
40354 (if_nameindex_netlink): Do not handle __no_netlink_support.
40355 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40356 code.
40357 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40358 Remove conditional code.
40359 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40360 code.
40361 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40362 unconditional.
40363 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40364 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40365 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40366 Remove.
40367 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40368 [!__ASSUME_STD_AUXV]: Remove conditional code.
40369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40370 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40371 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40373 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40374 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40375 code.
40376 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40378 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40379 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40380 conditional code.
40381 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40383 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40384 code.
40385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40386 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40387 conditional code.
40388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40389 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40390 code unconditional.
40391 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40392 conditional code.
40393 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40394 unconditional.
40395 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40396 conditional code.
40397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40398 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40399 unconditional.
40400 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40401 conditional code.
40402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40403 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40404 code unconditional.
40405 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40406 conditional code.
40407 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40408 unconditional.
40409 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40410 conditional code.
40411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40412 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40413 code unconditional.
40414 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40415 conditional code.
40416 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40417 unconditional.
40418 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40419 conditional code.
40420
842a39cd
AS
404212012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40422
40423 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40424 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40425 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40426 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40427 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40428 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40429 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40430 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40431 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40432 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40433 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40434 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40435 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40436 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40437 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40438 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40439 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40440 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40441 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40442 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40443 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40444 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40445 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40446
84b3fd84
FW
404472012-07-25 Florian Weimer <fweimer@redhat.com>
40448
40449 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40450 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40451 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40452 Introduce __libc_secure_getenv.
0c7936d5
FW
40453 * stdlib/Versions (2.17): Add secure_getenv
40454 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40455 * stdlib/secure-getenv.c: Rename __secure_getenv to
40456 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40457 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40458 * stdlib/tst-secure-getenv.c: New.
40459 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40460 * manual/startup.texi (Environment Access): Document
40461 secure_getenv.
84b3fd84
FW
40462 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40463 __libc_secure_getenv.
40464 * inet/ruserpass.c (ruserpass): Likewise.
40465 * malloc/mtrace.c (mtrace): Likewise.
40466 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40467 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40468 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40469 * sysdeps/posix/tempname.c: Likewise. Evaluate
40470 HAVE_SECURE_GETENV.
40471 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40472 __secure_getenv to __libc_secure_getenv.
84b3fd84 40473 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40475 Likewise.
40476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40477 Likewise.
40478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40480 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40485
56e49b71
JM
404862012-07-25 Joseph Myers <joseph@codesourcery.com>
40487
40488 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40489 (struct La_i86_retval): Likewise.
40490 (struct La_x86_64_regs): Likewise.
40491 (struct La_x86_64_retval): Likewise.
40492 (struct La_x32_regs): Likewise.
40493 (struct La_x32_retval): Likewise.
40494 (struct La_ppc32_regs): Likewise.
40495 (struct La_ppc32_retval): Likewise.
40496 (struct La_ppc64_regs): Likewise.
40497 (struct La_ppc64_retval): Likewise.
40498 (struct La_sh_regs): Likewise.
40499 (struct La_sh_retval): Likewise.
40500 (struct La_s390_32_regs): Likewise.
40501 (struct La_s390_32_retval): Likewise.
40502 (struct La_s390_64_regs): Likewise.
40503 (struct La_s390_64_retval): Likewise.
40504 (struct La_sparc32_regs): Likewise.
40505 (struct La_sparc32_retval): Likewise.
40506 (struct La_sparc64_regs): Likewise.
40507 (struct La_sparc64_retval): Likewise.
40508 (struct audit_ifaces): Remove architecture-specific pltenter and
40509 pltexit members.
40510 * sysdeps/i386/ldsodefs.h: New file.
40511 * sysdeps/powerpc/ldsodefs.h: Likewise.
40512 * sysdeps/s390/ldsodefs.h: Likewise.
40513 * sysdeps/sh/ldsodefs.h: Likewise.
40514 * sysdeps/sparc/ldsodefs.h: Likewise.
40515 * sysdeps/x86_64/ldsodefs.h: Likewise.
40516
354691b7
MP
405172012-07-25 Marek Polacek <polacek@redhat.com>
40518
40519 [BZ #6808]
40520 * math/libm-test.inc (yn_test): Add another test.
40521 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40522 to ERANGE when the result is +-Inf.
40523 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40524 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40525 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40526 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40527
bf9e2071
JM
405282012-07-24 Joseph Myers <joseph@codesourcery.com>
40529
40530 * conform/data/time.h-data (NULL): Use macro-constant. Require
40531 equal to 0.
40532 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40533 clock_t.
40534 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40535
57633811
TS
405362012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40537
40538 * configure.in <sysdeps resolving>: Correct printing
40539 Implies_before.
40540 * configure: Regenerate.
40541
c23c33b0
TS
405422012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40543
40544 * math/w_ilogb.c: Include <limits.h>.
40545 * math/w_ilogbl.c: Likewise.
40546
b5982523
JM
405472012-07-20 Joseph Myers <joseph@codesourcery.com>
40548
40549 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40550 va_copy. Document allowing for unavailable va_copy only as
40551 pre-C99 compatibility.
40552 * manual/string.texi (Copying and Concatenation): Use va_copy
40553 instead of __va_copy in concat example.
40554
ac4ea442
PT
405552012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40556
40557 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40558 (__sendto): Use create_address_port. Initialize APORT and deallocate
40559 it if not null.
40560
f98eafbd
PT
40561 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40562 with O_NOLINK passed to __file_name_lookup.
40563
898c7aab
PT
40564 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40565 with O_NOLINK passed to __file_name_lookup.
40566
0ced335a
PT
40567 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40568 negative N or less than NGIDS.
40569
b3404dbd
PT
40570 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40571 type to string_t. Set ERANGE as errno and return it if NAME is not big
40572 enough. Use memcpy instead of strncpy.
40573
0f48659e
JM
405742012-07-20 Joseph Myers <joseph@codesourcery.com>
40575
40576 * elf/Makefile (check-data): Remove.
40577 (localplt.data): New vpath directive.
40578 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40579 instead of $(check-data).
40580 * scripts/data/localplt-generic.data: Move to ...
40581 * sysdeps/generic/localplt.data: ... here.
40582 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40583 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40584 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40586 ... here.
40587 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40589 ... here.
40590 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40592 ... here.
40593 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40595 ... here.
40596 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40598 ... here.
40599 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40601 ... here.
40602
d37cbdaa
AZ
406032012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40604
40605 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40606 PPC32 and PPC64 files.
40607 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40608 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40609
46f85fc2
AK
406102012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40611
40612 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40613 __makecontext_ret to ...
40614 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40615 ... here and call exit if uc_link is NULL. New file.
40616 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40617 __makecontext_ret.S.
40618 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40619 __makecontext_ret to ...
40620 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40621 ... here and call exit if uc_link is NULL. New file.
40622 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40623 __makecontext_ret.S.
40624
08f43f9b
AK
406252012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40626
40627 * elf/elf.h (R_390_IRELATIVE): New definition.
40628 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40629 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40630 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40631 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40632 (elf_machine_lazy_rel): Likewise.
40633 * sysdeps/s390/dl-irel.h: New file.
40634 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40635 * sysdeps/s390/s390-64/memset.S: New asm code.
40636 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40637 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40638 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40639 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40640 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40641 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40642 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40643 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40644 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40645 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40646 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40647 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40648 * sysdeps/s390/s390-32/memset.S: New asm code.
40649 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40650
3b05db33
MP
406512012-07-17 Marek Polacek <polacek@redhat.com>
40652
40653 [BZ #14349]
40654 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40655 * sysdeps/s390/s390-64/configure.in: Likewise.
40656 * sysdeps/sparc/configure.in: Likewise.
40657 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40658 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40659 * sysdeps/i386/configure.in: Likewise.
40660 * sysdeps/x86_64/configure.in: Likewise.
40661 * sysdeps/sh/configure.in: Likewise.
40662 * sysdeps/s390/s390-32/configure: Regenerated.
40663 * sysdeps/s390/s390-64/configure: Likewise.
40664 * sysdeps/x86_64/configure: Likewise.
40665 * sysdeps/sh/configure: Likewise.
40666 * sysdeps/powerpc/powerpc64/configure: Likewise.
40667 * sysdeps/powerpc/powerpc32/configure: Likewise.
40668 * sysdeps/sparc/configure: Likwise.
40669 * sysdeps/i386/configure: Likewise.
40670
a66877c6
MP
40671 * elf/dl-open.c: Comment fixes.
40672
cfc82fd8
JM
406732012-07-17 Joseph Myers <joseph@codesourcery.com>
40674
bd29910a
JM
40675 * Makefile [CXX] (check-data): Remove.
40676 [CXX] (c++-types.data): New vpath directive.
40677 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40678 vpath. Do not allow for C++ type data being missing.
40679 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40680 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40681 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40682 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40683 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40684 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40685 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40687 ... here.
40688 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40690 ... here.
40691 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40693 ... here.
40694 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40696 ... here.
40697 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40699 ... here.
40700 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40702 ... here.
40703 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40705 ... here.
40706 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40708
cfc82fd8
JM
40709 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40710 definitions to architecture-specific files.
40711 (TLS_IE): Likewise.
40712 (TLS_LD): Likewise.
40713 (TLS_GD): Likewise.
40714 * sysdeps/i386/tls-macros.h: New file.
40715 * sysdeps/powerpc/tls-macros.h: Likewise.
40716 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40717 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40718 * sysdeps/sh/tls-macros.h: Likewise.
40719 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40720 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40721 * sysdeps/x86_64/tls-macros.h: Likewise.
40722
f7db3170
TS
407232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40724
07cbfc23
TS
40725 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40726 zero value for regular exit case.
40727
f7db3170
TS
40728 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40729 (__start_context): Preserve zero value for regular exit case.
40730
dc97c227
TS
407312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40732 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40733
40734 * manual/setjmp.texi (setcontext): Clarify normal process
40735 termination when uc_link is the null pointer.
40736 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40737 exit call.
40738
d0cd7d02
AS
407392012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40740
40741 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40742 preprocessor. Test for each exception mask separately.
40743
dd318934
AJ
407442012-07-16 Andreas Jaeger <aj@suse.de>
40745
40746 * po/ru.po: Update from translation team.
40747
8048311a
JM
407482012-07-15 Joseph Myers <joseph@codesourcery.com>
40749
40750 * conform/data/string.h-data (NULL): Use macro-constant. Require
40751 equal to 0.
40752 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40753 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40754 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40755 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40757
b637d46e
AJ
407582012-07-13 Andreas Jaeger <aj@suse.de>
40759
40760 * po/fr.po: Update from translation team.
40761
541428fe
MP
407622012-07-12 Marek Polacek <polacek@redhat.com>
40763
40764 [BZ #14173]
40765 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40766 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40767 loop condition.
40768
ec332e94
JM
407692012-07-12 Joseph Myers <joseph@codesourcery.com>
40770
40771 [BZ #13717]
40772 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40773 Change to 2.4.1 where previously 2.4.0.
40774 * sysdeps/unix/sysv/linux/configure: Regenerated.
40775 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40776 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40777 version.
40778 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40779 (__ASSUME_AT_CLKTCK): Remove.
40780 (__ASSUME_AT_PAGESIZE): Likewise.
40781 (__ASSUME_AT_XID): Likewise.
40782 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40783 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40784 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40785 unconditionally.
40786 (HAVE_AUX_PAGESIZE): Likewise.
40787 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40788 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40789 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40790
7b6e99be
JB
407912012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40792
40793 [BZ #14307]
40794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40795 the temporary buffer used to invoke __gethostbyname2_r,
40796 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40797 host_data / struct gaih_addrtuple.
40798 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40799 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40800 header file nss/nsswitch.h.
40801 * nss/nsswitch.h (global scope): Add definition of implementation
40802 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40803 resolv/nss_dns/dns-host.c).
40804
608404eb
AJ
408052012-07-11 Andreas Jaeger <aj@suse.de>
40806
40807 * po/fr.po: Update from translation team.
40808
71220aca
AJ
40809 * po/sv.po: Update from translation team
40810 * po/fr.po: Another update from translation team.
40811
28cfe843
AZ
408122012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40813
40814 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40815 for subnormals or multiply small sinh result by itself.
40816 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40818
6b90f981
DM
408192012-07-11 David S. Miller <davem@davemloft.net>
40820
40821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40822
c6825772
AS
408232012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40824
40825 [BZ #14347]
40826 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40827 (INTERNAL_MARK): Shift it here.
40828
7b8e0d49
MP
408292012-07-10 Marek Polacek <polacek@redhat.com>
40830
40831 [BZ #14151]
40832 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40833 libc_cv_asm_global_directive with .globl.
40834 * configure: Regenerated.
40835 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40836 with .globl.
40837 * sysdeps/i386/configure: Regenerated.
40838 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40839 with .globl.
40840 * sysdeps/x86_64/configure: Regenerated.
40841 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40842 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40843 * elf/tst-unique2mod2.c: Likewise.
40844 * elf/tst-unique2mod1.c: Likewise.
40845 * elf/tst-unique1mod2.c: Likewise.
40846 * elf/tst-unique1mod1.c: Likewise.
40847 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40848 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40849 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40850 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40851 * sysdeps/mach/sysdep.h: Likewise.
40852 * sysdeps/i386/sysdep.h: Likewise.
40853 * sysdeps/i386/i386-mcount.S: Likewise.
40854 * sysdeps/x86_64/_mcount.S: Likewise.
40855 * sysdeps/x86_64/sysdep.h: Likewise.
40856 * sysdeps/sh/_mcount.S: Likewise.
40857 * sysdeps/sh/sysdep.h: Likewise.
40858 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40859 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40860 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40861 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40862 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40863 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40864 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40865 * locale/localeinfo.h: Likewise.
40866 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40867 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40868
6c55cda3
RM
408692012-07-09 Roland McGrath <roland@hack.frob.com>
40870
40871 [BZ #14336]
40872 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40873 system".
40874 * manual/message.texi (The Uniforum approach): Likewise.
40875 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40876 (glibc iconv Implementation): Likewise.
40877
638a572e
JM
408782012-07-09 Joseph Myers <joseph@codesourcery.com>
40879
40880 [BZ #14337]
40881 * math/s_clog.c (__clog): Avoid scaling a value down where that
40882 could result in underflow.
40883 * math/s_clog10.c (__clog10): Likewise.
40884 * math/s_clog10f.c (__clog10f): Likewise.
40885 * math/s_clog10l.c (__clog10l): Likewise.
40886 * math/s_clogf.c (__clogf): Likewise.
40887 * math/s_clogl.c (__clogl): Likewise.
40888 * math/libm-test.inc (clog_test): Add more tests.
40889 (clog10_test): Likewise.
40890 * sysdeps/i386/fpu/libm-test-ulps: Update.
40891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40892
261f4859
AS
408932012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40894
0abaf3e4
AS
40895 [BZ #14283]
40896 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40897 by 7 not 8 to examine high bit of fractional part.
40898
261f4859
AS
40899 [BZ #14042]
40900 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40901 for call to __mcount_internal.
40902 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40903 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40904 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40905
f17ac40d
JM
409062012-07-06 Joseph Myers <joseph@codesourcery.com>
40907
9ad63c23
JM
40908 [BZ #14154]
40909 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40910 approximation for values within 0x1p-13f of an odd multiple of
40911 pi/4.
40912 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40913 exception. Add more tests.
40914 * sysdeps/i386/fpu/libm-test-ulps: Update.
40915
f17ac40d
JM
40916 [BZ #6778]
40917 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40918 inputs and return -1 for them. Do not check for +Inf in case not
40919 reachable for +Inf.
40920 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40921 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40922 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40923 and return -1 for them. Do not check for +Inf in case not
40924 reachable for +Inf.
40925 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40926 define.
40927 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40928 and return -1 for them. Do not check for +Inf in case not
40929 reachable for +Inf.
40930 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40931 spurious underflow.
40932 * sysdeps/i386/fpu/libm-test-ulps: Update.
40933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40934
fb21f89b
MF
409352012-07-06 Mike Frysinger <vapier@gentoo.org>
40936
40937 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40938
cdfe2c5e
JM
409392012-07-05 Joseph Myers <joseph@codesourcery.com>
40940
40941 [BZ #14157]
40942 [BZ #14331]
40943 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40944 could result in spurious underflow. Scale down values above
40945 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40946 * math/s_csqrtf.c (__csqrtf): Likewise.
40947 * math/s_csqrtl.c (__csqrtl): Likewise.
40948 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40949 spurious underflow.
40950 * sysdeps/i386/fpu/libm-test-ulps: Update.
40951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40952
70d35b67
AS
409532012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40954
704bc459
AS
40955 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40956 xopen-msg.sed.
40957 * catgets/xopen-msg.awk: New file.
40958 * catgets/xopen-msg.sed: Removed.
40959
70d35b67
AS
40960 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40961 po2text.sed.
40962 * intl/po2test.awk: New file.
40963 * intl/po2test.sed: Removed.
40964
ca61cf32
JM
409652012-07-04 Joseph Myers <joseph@codesourcery.com>
40966
40967 [BZ #14328]
40968 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40969 or multiply small sinh result by itself.
40970 * math/s_ctanf.c (__ctanf): Likewise.
40971 * math/s_ctanh.c (__ctanh): Likewise.
40972 * math/s_ctanhf.c (__ctanhf): Likewise.
40973 * math/s_ctanhl.c (__ctanhl): Likewise.
40974 * math/s_ctanl.c (__ctanl): Likewise.
40975 * math/libm-test.inc (ctan_test_tonearest): New function.
40976 (ctan_test_towardzero): Likewise.
40977 (ctan_test_downward): Likewise.
40978 (ctan_test_upward): Likewise.
40979 (ctanh_test_tonearest): Likewise.
40980 (ctanh_test_towardzero): Likewise.
40981 (ctanh_test_downward): Likewise.
40982 (ctanh_test_upward): Likewise.
40983 (main): Call these new functions.
40984 * sysdeps/i386/fpu/libm-test-ulps: Update.
40985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40986
ca48a46a
MF
409872012-07-03 Mike Frysinger <vapier@gentoo.org>
40988
40989 * .gitignore: Delete /ports entry.
40990
9d63d37d
AJ
409912012-07-03 Andreas Jaeger <aj@suse.de>
40992
40993 * po/bg.po: Update from translation team.
40994 * po/cs.po: Likewise.
40995 * po/de.po: Likewise.
40996 * po/hr.po: Likewise.
40997 * po/nl.pl: Likewise.
40998 * po/pl.po: Likewise.
40999 * po/vi.po: Likewise.
41000
370ca3d2
JM
410012012-07-03 Joseph Myers <joseph@codesourcery.com>
41002
95f5a9a8
JM
41003 * Makeconfig [!+link] (+link-before-libc): New variable.
41004 [!+link] (+link-after-libc): Likewise.
41005 [!+link] (+link-tests): Likewise.
41006 [!+link] (+link): Define in terms of $(+link-before-libc) and
41007 $(+link-after-libc).
41008 [!+link-static] (+link-static-before-libc): New variable.
41009 [!+link-static] (+link-static-after-libc): Likewise.
41010 [!+link-static] (+link-static-tests): Likewise.
41011 [!+link-static] (+link-static): Define in terms of
41012 $(+link-static-before-libc) and $(+link-static-after-libc).
41013 [build-shared] (link-libc-before-gnulib): New variable.
41014 [build-shared] (link-libc-tests): Likewise.
41015 [build-shared] (link-libc): Define in terms of
41016 $(link-libc-before-gnulib).
41017 [!build-shared] (link-libc-tests): New variable.
41018 (link-libc-static-tests): New variable.
41019 [!gnulib] (gnulib-arch): New variable.
41020 [!gnulib] (gnulib-tests): Likewise.
41021 [!gnulib] (static-gnulib-arch): Likewise.
41022 [!gnulib] (static-gnulib-tests): Likewise.
41023 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41024 Define with "=" instead of ":=".
41025 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41026 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41027 * Rules (binaries-all-notests): New variable.
41028 (binaries-all-tests): Likewise.
41029 (binaries-static-notests): Likewise.
41030 (binaries-static-tests): Likewise.
41031 (binaries-all): Define using $(binaries-all-notests) and
41032 $(binaries-all-tests).
41033 (binaries-static): Define using $(binaries-static-notests) and
41034 $(binaries-static-tests).
41035 (binaries-shared-tests): New variable.
41036 (binaries-shared-notests): Likewise.
41037 (binaries-shared): Remove variable.
41038 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41039 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41040 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41041 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41042 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41043 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41044 * elf/Makefile (sln-modules): New variable.
41045 (extra-objs): Add $(sln-modules:=.o).
41046 (ldconfig-modules): Add static-stubs.
41047 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41048 * elf/static-stubs.c: New file.
41049
7a845b2c
JM
41050 [BZ #14283]
41051 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41052 by 7 not 8 to examine high bit of fractional part. Use volatile
41053 variables when splitting into final array of floats if
41054 __FLT_EVAL_METHOD__ != 0.
41055 * math/libm-test.inc (cos_test): Add another test.
41056 (sin_test): Likewise.
41057 * sysdeps/i386/fpu/libm-test-ulps: Update.
41058
e2283f38
JM
41059 [BZ #14273]
41060 * math/libm-test.inc (cosh_test): Add more tests.
41061
370ca3d2
JM
41062 * version.h (RELEASE): Set to "development".
41063 (VERSION): Set to "2.16.90".
41064
ee9247c3
CD
410652012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41066
41067 * NEWS: Update copyright. Remove last-updated date.
41068 Mention math library bug fixes and timezone data changes.
41069 * README: Mention GNU/Hurd, x32, and HPPA support status.
41070
4648c381
TS
410712012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41072
41073 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41074
aac78a43
AJ
410752012-06-27 Andreas Jaeger <aj@suse.de>
41076
41077 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41078
ed3dbfad
AJ
410792012-06-25 Andreas Jaeger <aj@suse.de>
41080
41081 * sysdeps/s390/fpu/libm-test-ulps: Update.
41082
4d0ee855
AS
410832012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41084 Thomas Schwinge <thomas@codesourcery.com>
41085
41086 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41087 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41088 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41089 fanotify_mark.
41090
af1bce34
TS
410912012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41092
a9fa33ba
TS
41093 * sysdeps/mach/start.c: Remove file.
41094 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41095 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41096 * sysdeps/sh/init-first.c: Likewise.
41097
58f902b8
TS
41098 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41099 registers for frame unwinding purposes, add CFI directives.
41100 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41101 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41102 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41103 Likewise.
41104
1518f58b
TS
41105 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41106 __fortify_fail returning.
41107 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41108
db9b5059
TS
41109 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41110 sysdeps/sh/____longjmp_chk.S.
41111 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41112 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41113 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41114 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41115
967705fe
TS
41116 * sysdeps/sh/abort-instr.h: New file.
41117 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41118 process in case exit returns.
41119
a9def8c4
TS
41120 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41121 initialize the GOT register before use.
41122
2a649725
TS
41123 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41124 calculation of ARGC > 4.
41125
af1bce34
TS
41126 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41127 meaningful names to some local labels.
41128
d230f50a
KK
411292012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41130 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41131
41132 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41133 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41134 (__arch_compare_and_exchange_val_16_acq): Likewise.
41135 (__arch_compare_and_exchange_val_32_acq): Likewise.
41136 (atomic_exchange_and_add): Fix gUSA sequence.
41137 (atomic_add): Likewise.
41138 (atomic_add_negative): Likewise.
41139 (atomic_add_zero): Likewise.
41140 (atomic_bit_test_set): Likewise.
41141
0479b305
AS
411422012-06-22 Andreas Schwab <schwab@redhat.com>
41143
41144 [BZ #13579]
41145 * include/link.h (struct link_map): Add l_free_initfini.
41146 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41147 l_initfini.
41148 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41149 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41150 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41151 set.
41152
0e3933b9
CD
411532012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41154
41155 * configure.in: Use AC_LANG_SOURCE.
41156 * configure: Regenerate.
41157
4248b1b1
RM
411582012-06-22 Roland McGrath <roland@hack.frob.com>
41159
41160 * configure.in (libc_cv_localstatedir): New substituted variable.
41161 * configure: Regenerated.
41162 * config.make.in (localstatedir): New variable, substituted from
41163 libc_cv_localstatedir.
41164 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41165 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41166 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41167 * sysdeps/gnu/configure: Regenerated.
41168
006dd861
JL
411692012-06-21 Jeff Law <law@redhat.com>
41170
41171 [BZ #14277]
41172 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41173 free. Simplify list management for _LIBC case.
41174
79662d42
JM
411752012-06-21 Joseph Myers <joseph@codesourcery.com>
41176
b7abb4bf
JM
41177 [BZ #14273]
41178 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41179 Clear sign bit of 64-bit integer value before comparing against
41180 overflow value.
41181
79662d42
JM
41182 * sysdeps/mach/configure: Regenerated.
41183
1f150908
L
411842012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41185
41186 [BZ #14278]
41187 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41188
28363bbf
JL
411892012-06-21 Jeff Law <law@redhat.com>
41190
41191 [BZ #13882]
41192 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41193 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41194 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41195 * elf/dl-open.c (dl_open_worker): Likewise.
41196
09615db4
CD
411972012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41198
41199 * scripts/list-sources.sh: Scan PORTS for translations.
41200 * po/libc.pot: Regenerated.
41201
2174c6dd
AJ
412022012-06-21 Andreas Jaeger <aj@suse.de>
41203
41204 [BZ #12194]
41205 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41206 warning.
41207 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41208 * bits/byteswap-16.h (__bswap_16): Likewise.
41209 * bits/byteswap.h (__bswap_constant_16): Likewise.
41210
3ee947b1
L
412112012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41212
41213 [BZ #14117]
a2f34833
L
41214 * sysdeps/i386/fpu_control.h: Removed.
41215 * sysdeps/x86_64/fpu_control.h: Moved to ...
41216 * sysdeps/x86/fpu_control.h: Here.
41217
3ee947b1
L
41218 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41219 (_FPU_SETCW): Likewise.
41220
ed1825f8
L
412212012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41222
25f1282a
L
41223 [BZ #14117]
41224 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41225 * sysdeps/x86/fpu/bits/mathinline.h: This.
41226 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41227
ed1825f8
L
41228 [BZ #14050]
41229 [BZ #14117]
41230 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41231 functions if __x86_64__ is defined.
41232
36d54b74
CLT
412332012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41234
41235 * string/endian.h: Add !__ASSEMBLER__ condition for including
41236 conversion interfaces.
41237
10285c21
JM
412382012-06-15 Joseph Myers <joseph@codesourcery.com>
41239
41240 [BZ #14241]
41241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41242 of ABS(x) in calculating zero to negative powers other than odd
41243 integers.
41244 * math/libm-test.inc (pow_test): Add more tests.
41245
06c5abbd
AJ
412462012-06-15 Andreas Jaeger <aj@suse.de>
41247
41248 * manual/contrib.texi (Contributors): Update entry of Liubov
41249 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41250 Machado Filho.
41251
a3aeac40
CH
412522012-06-15 Cyril Hrubis <metan@ucw.cz>
41253
41254 * string/string.h: Add __wur to GNU version of strerror_r.
41255
49bdf4c1
L
412562012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41257
41258 [BZ #14229]
41259 * string/Makefile (tests): Add tst-strtok_r.
41260 * string/tst-strtok_r.c: New file.
41261 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41262 RAX_LP/RDX_LP on SAVE_PTR.
41263
834f9b8d
RM
412642012-06-14 Roland McGrath <roland@hack.frob.com>
41265
41266 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41267
75fa1921
JM
412682012-06-14 Joseph Myers <joseph@codesourcery.com>
41269
41270 * libm_test.inc (csqrt_test): Allow more spurious underflow
41271 exceptions.
41272 (j0_test): Likewise.
41273 (j1_test): Likewise.
41274 (y0_test): Likewise.
41275 (y1_test): Likewise.
41276
771766df
CD
412772012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41278
41279 * po/Makefile (libc.pot): Use UTF-8 charset.
41280
ceb9e56b
PP
412812012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41282
41283 [BZ #14210]
41284 Suppress sign-conversion warning from FD_SET.
41285 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41286 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41287 not unsigned long int.
41288 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41289
ddb28975
L
412902012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41291
41292 [BZ #14050]
41293 [BZ #14117]
41294 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41295 __extern_always_inline instead of __extern_inline.
41296 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41297 (__signbit): Likewise.
41298 (__signbitl): Support C++ namespace.
41299 (lrintf): New inline function.
41300 (lrint): Likewise.
41301 (llrintf): Likewise.
41302 (llrint): Likewise.
41303 (fmaxf): Likewise.
41304 (fmax): Likewise.
41305 (fminf): Likewise.
41306 (fmin): Likewise.
41307 (rint): Likewise.
41308 (rintf): Likewise.
41309 (ceil): Likewise.
41310 (ceilf): Likewise.
41311 (floor): Likewise.
41312 (floorf): Likewise.
41313 (nearbyint): Likewise.
41314 (nearbyintf): Likewise.
41315
d7b4fb26
TS
413162012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41317
41318 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41319 non-default versions.
41320
eb55f5c2
RM
413212012-06-11 Roland McGrath <roland@hack.frob.com>
41322
41323 [BZ #14218]
41324 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41325
366af02c
TS
413262012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41327
99ff6e5c
TS
41328 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41329 (FE_UPWARD, FE_DOWNWARD): Don't define.
41330 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41331 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41332
366af02c
TS
41333 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41334 reading it.
41335 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41336 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41337
793ea851
KK
413382012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41339
41340 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41342 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41343 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41344
a728a38f
L
413452012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41346
41347 [BZ #14117]
c08010c7
L
41348 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41349 * sysdeps/i386/fpu/Implies: New file.
41350 * sysdeps/x86_64/fpu/Implies: Likewise.
41351 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41352 * sysdeps/x86/fpu/bits/fenv.h: This.
41353
a728a38f
L
41354 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41355 __SSE_MATH__.
41356
6e230d11
SP
413572012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41358
41359 [BZ #14134]
41360 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41361 character 0xffff that matches the last element of the
41362 conversion table.
41363
1b671feb
AZ
413642012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41365
41366 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41367 fmodl commit.
41368
6043738b
AZ
413692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41370
41371 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41372 values higher than 25.6283.
41373
34ae0b32
AZ
413742012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41375
41376 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41377 subnormal exponent extraction and add some __builtin_expect.
41378 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41379 Fix for subnormal mantissa calculation.
41380
1214ec8f
MF
413812012-06-04 Mike Frysinger <vapier@gentoo.org>
41382
41383 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41384 cpu2 is -1 and errno is not ENOSYS.
41385
f3d1f93c
L
413862012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41387
41388 [BZ #14117]
0e4a3cd7
L
41389 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41390 * sysdeps/x86/bits/string.h: This.
41391 * sysdeps/x86_64/bits/string.h: Removed.
41392
6704c645
L
41393 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41394 if not compiling for x86-64, but compiling for >= i486.
41395
48495318
L
41396 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41397 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41398
14adcbfc
L
41399 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41400 New macro from Linux kernel 3.4.0.
41401 (FP_XSTATE_MAGIC2): Likewise.
41402 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41403 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41404 (struct _fpx_sw_bytes): New struct.
41405 (struct _xsave_hdr): Likewise.
41406 (struct _ymmh_state): Likewise.
41407 (struct _xstate): Likewise.
41408
68e408ab
L
41409 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41410 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41411 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41412 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41413 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41414 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41415
f3d1f93c
L
41416 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41417 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41418 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41419 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41420 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41421 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41422
d9dc34cd
TMQMF
414232012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41424
41425 [BZ #13743]
41426 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41427 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41428 (sysdep_headers): Include sys/platform/ppc.h.
41429 * sysdeps/powerpc/test-gettimebase.c: Test for
41430 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41431 * manual/Makefile (appendices): Include platform.texi.
41432 * manual/contrib.texi (Contributors): Update @node pointers.
41433 * manual/maint.texi (Maintenance): Likewise.
41434 (Platform): New node.
41435 * manual/platform.texi: New file. Document the new features.
41436
4af3879c
SP
414372012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41438 Jakub Jelinek <jakub@redhat.com>
41439
41440 [BZ #14188]
41441 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41442 where __builtin_expect is unavailable.
41443
2fd6ff13
DM
414442012-06-03 David S. Miller <davem@davemloft.net>
41445
41446 * stdlib/longlong.h: Updated from GCC.
41447
173f7220
AS
414482012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41449
41450 [BZ #14042]
41451 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41452 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41453 __mcount_internal.
41454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41455 (GLIBC_2.16): Likewise.
41456
f34a1c6f
L
414572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41458
41459 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41460
88a4576f
JM
414612012-06-01 Joseph Myers <joseph@codesourcery.com>
41462
ea32bcdd
JM
41463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41464 (default-abi): New variable.
41465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41466 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41467 variable.
41468 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41469 Likewise.
41470 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41471 Likewise.
41472 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41473 Likewise.
41474
88a4576f
JM
41475 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41476 definition. Document in comment.
41477
402fe938
DM
414782012-06-01 David S. Miller <davem@davemloft.net>
41479
41480 * stdlib/longlong.h: Updated from GCC.
41481
3553723f
L
414822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41483
41484 [BZ #14117]
3bd872c4
L
41485 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41486 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41487 sys/debugreg.h sys/io.h here.
41488 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41489 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41490 sys/io.h.
41491 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41492 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41493 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41494 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41495 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41496 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41497
3553723f
L
41498 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41499 Define only if __x86_64__ is defined.
41500
4842e4fe
JM
415012012-06-01 Joseph Myers <joseph@codesourcery.com>
41502
c5bfe3d5
JM
41503 [BZ #14048]
41504 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41505 Use int64_t for variable i.
41506 * math/libm-test.inc (fmod_test): Add more tests.
41507
4842e4fe
JM
41508 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41509 z computation is not scheduled after fetestexcept.
41510 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41511 Use math_force_eval instead of asm to ensure calculation scheduled
41512 before exception test.
41513 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41514 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41515
efb73488
AJ
415162012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41517
41518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41519 computation is not scheduled after fetestexcept.
41520
29bcce7c
L
415212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41522
41523 [BZ #14117]
41524 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41525 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41526
73a68f94
AZ
415272012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41528
41529 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41530 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41531
67b6df78
L
415322012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41533
edf2933a 41534 [BZ #14117]
ebc64a18
L
41535 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41536 <bits/wordsize.h>.
41537 (__WCHAR_MIN): Support __WORDSIZE == 64.
41538 (__WCHAR_MAX): Likewise.
41539
edf2933a
L
41540 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41541 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41542
57c6cf40
L
41543 [BZ #14183]
41544 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41545 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41546
67b6df78 41547 [BZ #14117]
8eb6281e
L
41548 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41549 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41550
aac639f4
L
41551 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41552 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41553
67b6df78
L
41554 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41555 Defined to 1 if __x86_64__ isn't defined.
41556 (_STAT_VER_LINUX_OLD): New.
41557 (st_atime): Remove duplicate.
41558 (st_mtime): Likewise.
41559 (st_ctime): Likewise.
41560
1c2cfe81
DM
415612012-05-31 David S. Miller <davem@davemloft.net>
41562
41563 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41564 entries.
41565
5be8418c
AS
415662012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41567
e7725326
AS
41568 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41569 gen-libm-test.pl.
41570
5be8418c
AS
41571 [BZ #14132]
41572 * elf/dl-reloc.c: Include <_itoa.h>.
41573 (_dl_reloc_bad_type): Remove use of INTUSE.
41574 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41575 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41576 * stdio-common/psiginfo.c (psiginfo): Likewise.
41577 * stdio-common/psignal.c (psignal): Likewise.
41578 * string/strsignal.c (strsignal): Likewise.
41579 * include/signal.h (_sys_siglist): Declare hidden proto.
41580 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41581 INTVARDEF with libc_hidden_data_def.
41582 * stdio-common/itoa-udigits.c: Likewise.
41583 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41584 (_itoa_lower_digits_internal): Remove declaration.
41585 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41586 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41587 (_sys_sigabbrev_internal): Remove aliases.
41588 (_sys_siglist): Define hidden alias.
41589
507352f1
MT
415902012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41591
41592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41593 bits/sysctl.h.
41594
42bbb1c3
L
415952012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41596
41597 [BZ #14117]
6bd784b6
L
41598 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41599 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41600
8bca20f0
L
41601 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41602 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41603 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41604 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41605 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41606 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41607
f9e890a9
L
41608 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41609 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41610 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41611
471101a1
L
41612 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41613 with __addr.
41614 (insw): Likewise.
41615 (insl): Likewise.
41616 (outsb): Likewise.
41617 (outsw): Likewise.
41618 (outsl): Likewise.
41619
6451c862
L
41620 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41621 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41622 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41623
a254b8c9
L
41624 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41625 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41626 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41627 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41628 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41629 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41630
b8dfdd92
L
41631 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41632 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41633
578cd270
L
41634 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41635 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41636
de662f5f
L
41637 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41639 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41640
25653439
L
41641 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41642 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41643 to ...
41644 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41645
6bad24a0
L
41646 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41647 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41648 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41649
42bbb1c3
L
41650 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41651 for x86-64.
41652 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41653
2d10d547
JM
416542012-05-31 Joseph Myers <joseph@codesourcery.com>
41655
41656 * math/math.h (M_El): Use two more decimal places.
41657 (M_LOG2El): Likewise.
41658 (M_LOG10El): Likewise.
41659 (M_LN2l): Likewise.
41660 (M_LN10l): Likewise.
41661 (M_PIl): Likewise.
41662 (M_PI_2l): Likewise.
41663 (M_PI_4l): Likewise.
41664 (M_1_PIl): Likewise.
41665 (M_2_PIl): Likewise.
41666 (M_2_SQRTPIl): Likewise.
41667 (M_SQRT2l): Likewise.
41668 (M_SQRT1_2l): Likewise.
41669
f230c29b
DM
416702012-05-31 David S. Miller <davem@davemloft.net>
41671
41672 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41673 values between float registers.
41674 * sysdeps/sparc/sparc64/memset.S: Likewise.
41675 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41676
fed806c3
MF
416772012-05-31 Mike Frysinger <vapier@gentoo.org>
41678
41679 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41680 -D_FORTIFY_SOURCE=1.
41681 (CPPFLAGS-tst-longjmp_chk.c): Define.
41682 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41683 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41684 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41685 CFLAGS-tst-wchar-h.c.
41686
30917259
MP
416872012-05-31 Marek Polacek <polacek@redhat.com>
41688
41689 [BZ #14132]
41690 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41691 __endmntent_internal): Remove declaration.
41692 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41693 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41694 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41695
1c58d5dc
DM
416962012-05-30 David S. Miller <davem@davemloft.net>
41697
41698 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41699 (___Q_simulate_exceptions): Use real FP ops rather than writing
41700 into the %fsr.
41701 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41702 Likewise.
41703
7dc00e0d
L
417042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41705
41706 [BZ #14117]
0bd53985
L
41707 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41708 * sysdeps/x86/bits/xtitypes.h: This.
41709
3a257e66
L
41710 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41711 * sysdeps/x86/bits/wordsize.h: This.
41712
62f62904
L
41713 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41714 * sysdeps/x86/bits/huge_vall.h: This.
41715
404fe9d9
L
41716 * sysdeps/i386/bits/select.h: Removed.
41717 * sysdeps/x86_64/bits/select.h: Renamed to ...
41718 * sysdeps/x86/bits/select.h: This.
41719
d48d0446
L
41720 * sysdeps/i386/bits/setjmp.h: Removed.
41721 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41722 * sysdeps/x86/bits/setjmp.h: This.
41723
7dc00e0d
L
41724 * sysdeps/i386/bits/mathdef.h: Removed.
41725 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41726 * sysdeps/x86/bits/mathdef.h: This.
41727
03277f8f
AS
417282012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41729
41730 [BZ #14132]
41731 * include/sys/socket.h (__connect_internal)
41732 (__libc_sa_len_internal): Remove declaration.
41733 (__connect, __libc_sa_len): Declare hidden_proto.
41734 (SA_LEN): Remove use of INTUSE.
41735 * socket/connect.c: Add libc_hidden_def.
41736 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41737 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41738 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41739 alias.
41740 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41741 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41742 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41743 of adding _internal alias.
41744
13764867
L
417452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41746
41747 [BZ #14117]
6bd97696
L
41748 * sysdeps/i386/bits/link.h: Removed.
41749 * sysdeps/i386/bits/linkmap.h: Likewise.
41750 * sysdeps/x86_64/bits/link.h: Renamed to ...
41751 * sysdeps/x86/bits/link.h: This.
41752 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41753 * sysdeps/x86/bits/linkmap.h: This.
41754
f726f0bb
L
41755 * sysdeps/i386/bits/endian.h: Removed.
41756 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41757 * sysdeps/x86/bits/endian.h: This.
41758
13764867
L
41759 * sysdeps/i386/bits/byteswap.h: Removed.
41760 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41761 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41762 * sysdeps/x86/bits/byteswap.h: This.
41763 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41764 * sysdeps/x86/bits/byteswap-16.h: This.
41765 * sysdeps/i386/Implies: Add x86.
41766 * sysdeps/x86_64/Implies: Likewise.
41767
ae251b0b
DM
417682012-05-30 David S. Miller <davem@davemloft.net>
41769
41770 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41771 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41772 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41773 (FP_TRAPPING_EXCEPTIONS): Define.
41774 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41775 (FP_TRAPPING_EXCEPTIONS): Define.
41776 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41777 subnormals only when inexact has been signalled or underflow
41778 exceptions are enabled.
41779 (_FP_PACK_CANONICAL): Likewise.
41780
d5c90867
L
417812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41782
41783 [BZ #14183]
41784 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41785 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41786
63f1549e
RH
417872012-05-30 Richard Henderson <rth@twiddle.net>
41788
8d8f2279
RH
41789 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41790 with #ifndef NOT_IN_libc.
41791
63f1549e
RH
41792 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41793 marked to avoid plt entry.
41794
0ab0291b
L
417952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41796
41797 [BZ #14112]
41798 * Makeconfig (default-abi): New macro.
41799 (abi-includes): Likewise.
41800 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41801 $(abi-$(default-abi)-lib-soname) for soname if defined.
41802 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41803 abi-variants.
41804 * Makefile (installed-stubs): Likewise.
41805 * include/stubs-biarch.h: Removed.
41806 * scripts/lib-names.awk: Only handle one library at a time.
41807 * scripts/soversions.awk: Remove WORDSIZE support.
41808 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41809 entries.
41810 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41811 Removed.
41812 (syscall-list-default-condition): Likewise.
41813 (syscall-list-default-condition): Likewise.
41814 (syscall-list-includes): Likewise.
41815 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41816 syscall-list-* with abi-*. Handle undefined abi-variants.
41817 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41818 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41819 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41820 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41821 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41822 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41823 Removed.
41824 (syscall-list-32-options): Likewise.
41825 (syscall-list-32-condition): Likewise.
41826 (syscall-list-64-options): Likewise.
41827 (syscall-list-64-condition): Likewise.
41828 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41829 macro.
41830 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41831 Renamed to ...
41832 (abi-*): This.
41833 (abi-64-ld-soname): New macro.
41834 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41835 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41836 Renamed to ...
41837 (abi-*): This.
41838 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41839 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41840
4da0431d
JM
418412012-05-30 Joseph Myers <joseph@codesourcery.com>
41842
3a85279c
JM
41843 * sysdeps/unix/sysv/linux/kernel-features.h
41844 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41845 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41846 include <kernel-features.h>.
41847 [!__NR_ftruncate64]: Remove conditional code.
41848 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41849 [__NR_ftruncate64]: Make code unconditional.
41850 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41851 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41852 include <kernel-features.h>.
41853 [!__NR_ftruncate64]: Remove conditional code.
41854 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41855 [__NR_ftruncate64]: Make code unconditional.
41856 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41858 include <kernel-features.h>.
41859 [!__NR_ftruncate64]: Remove conditional code.
41860 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41861 [__NR_ftruncate64]: Make code unconditional.
41862 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41864 include <kernel-features.h>.
41865 [!__NR_ftruncate64]: Remove conditional code.
41866 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41867 [__NR_ftruncate64]: Make code unconditional.
41868 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41869
4da0431d
JM
41870 * configure.in (libc_cv_fpie): Weaken to a compile test using
41871 LIBC_TRY_CC_OPTION.
41872 * configure: Regenerated.
41873
11ef492c
AK
418742012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41875
41876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41880 Refreshed.
41881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41887 Refreshed.
41888
d66ef399
DM
418892012-05-27 David S. Miller <davem@davemloft.net>
41890
41891 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41892 (___Q_zero): New.
41893 (__Q_simulate_exceptions): Return void. Change to simulate
41894 exceptions by writing into the %fsr.
41895 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41896 (__Qp_handle_exceptions): Likewise.
41897 (numbers): Delete.
41898 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41899 __Qp_handle_exceptions.
41900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41901 __Qp_handle_exceptions.
41902 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41903 as unused and give dummy FP_RND_NEAREST initializer.
41904 (FP_INHIBIT_RESULTS): Define.
41905 (___Q_simulate_exceptions): Update declaration.
41906 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41907 formatting.
41908 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41909 as unused and give dummy FP_RND_NEAREST initializer.
41910 (__Qp_handle_exceptions): Update declaration.
41911 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41912 formatting.
41913
04fb54b5
TS
419142012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41915
41916 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41917 the temporary FPU control word.
41918 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41919 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41920 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41921 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41922 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41923 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41924 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41925 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41926 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41927 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41928 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41929
3f99608f
KK
419302012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41931
41932 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41933 fields.
41934
65a4de4e
CLT
419352012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41936
41937 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41938 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41939 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41940 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41941 Likewise.
41942 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41943 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41944 Likewise.
41945
15749d40
UD
419462012-05-27 Ulrich Drepper <drepper@gmail.com>
41947
41948 * po/h.po: Update from translation team.
41949
25dbcb27
AS
419502012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41951
3d3f8e55
AS
41952 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41953
25dbcb27
AS
41954 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41955 handling of denormals.
41956 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41957 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41958 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41959 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41962 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41963 Likewise.
41964
7ad47a80 419652012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41966
41967 [BZ #14152]
41968 * math/libm-test.inc (fma_test): Don't always expect underflow
41969 exception.
41970
9c6ea9fa
SP
419712012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41972
41973 [BZ #12416]
41974 * elf/tst-execstack.c: Include stackinfo.h.
41975 (do_test): Adjust test case to ensure that pthread_getattr_np
41976 behaviour remains the same after marking stack executable.
41977
a8239222
JM
419782012-05-25 Joseph Myers <joseph@codesourcery.com>
41979
41980 * sysdeps/unix/sysv/linux/kernel-features.h
41981 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41982 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41983 kernel-features.h.
41984 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41985 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41986 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41987 kernel-features.h.
41988 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41989 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41990
918b5606
L
419912012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41992
41993 * configure.in: Define the default includes to being none.
41994 * configure: Regenerated.
41995
3a097cc7
RM
419962012-05-25 Roland McGrath <roland@hack.frob.com>
41997
8422c9a5
RM
41998 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41999 * sysdeps/x86_64/setjmp.S: Likewise.
42000 * sysdeps/i386/bsd-setjmp.S: Likewise.
42001 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42002 * sysdeps/i386/setjmp.S: Likewise.
42003 * sysdeps/i386/__longjmp.S: Likewise.
42004 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42005 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42006
3a097cc7
RM
42007 * include/stap-probe.h: New file.
42008 * configure.in: Handle --enable-systemtap.
42009 * configure: Regenerated.
42010 * config.h.in (USE_STAP_PROBE): New #undef.
42011 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42012 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42013 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42014
21708942
JM
420152012-05-25 Joseph Myers <joseph@codesourcery.com>
42016
42017 [BZ #13717]
42018 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42019 to 2.4.0 where earlier.
42020 * sysdeps/unix/sysv/linux/configure: Regenerated.
42021 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42022 <kernel-features.h>.
42023 [__ASSUME_32BITUIDS]: Make code unconditional.
42024 [!__ASSUME_32BITUIDS]: Remove conditional code.
42025 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42026 <kernel-features.h>.
42027 [__ASSUME_32BITUIDS]: Make code unconditional.
42028 [!__ASSUME_32BITUIDS]: Remove conditional code.
42029 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42030 [__ASSUME_32BITUIDS]: Make code unconditional.
42031 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42032 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42033 <kernel-features.h>.
42034 [__ASSUME_32BITUIDS]: Make code unconditional.
42035 [!__ASSUME_32BITUIDS]: Remove conditional code.
42036 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42037 <kernel-features.h>.
42038 [__ASSUME_32BITUIDS]: Make code unconditional.
42039 [!__ASSUME_32BITUIDS]: Remove conditional code.
42040 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42041 <kernel-features.h>.
42042 [__ASSUME_32BITUIDS]: Make code unconditional.
42043 [!__ASSUME_32BITUIDS]: Remove conditional code.
42044 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42045 <kernel-features.h>.
42046 [__ASSUME_32BITUIDS]: Make code unconditional.
42047 [!__ASSUME_32BITUIDS]: Remove conditional code.
42048 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42049 <kernel-features.h>.
42050 [__ASSUME_32BITUIDS]: Make code unconditional.
42051 [!__ASSUME_32BITUIDS]: Remove conditional code.
42052 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42053 <kernel-features.h>.
42054 [__ASSUME_32BITUIDS]: Make code unconditional.
42055 [!__ASSUME_32BITUIDS]: Remove conditional code.
42056 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42057 <kernel-features.h>.
42058 [__ASSUME_32BITUIDS]: Make code unconditional.
42059 [!__ASSUME_32BITUIDS]: Remove conditional code.
42060 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42061 <kernel-features.h>.
42062 [__ASSUME_32BITUIDS]: Make code unconditional.
42063 [!__ASSUME_32BITUIDS]: Remove conditional code.
42064 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42065 <kernel-features.h>.
42066 [__ASSUME_32BITUIDS]: Make code unconditional.
42067 [!__ASSUME_32BITUIDS]: Remove conditional code.
42068 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42069 <kernel-features.h>.
42070 [__ASSUME_32BITUIDS]: Make code unconditional.
42071 [!__ASSUME_32BITUIDS]: Remove conditional code.
42072 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42073 <kernel-features.h>.
42074 [__NR_setresgid] (__setresgid): Do not declare.
42075 [__ASSUME_32BITUIDS]: Make code unconditional.
42076 [!__ASSUME_32BITUIDS]: Remove conditional code.
42077 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42078 <kernel-features.h>.
42079 [__NR_setresuid] (__setresuid): Do not declare.
42080 [__ASSUME_32BITUIDS]: Make code unconditional.
42081 [!__ASSUME_32BITUIDS]: Remove conditional code.
42082 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42083 <kernel-features.h>.
42084 [__ASSUME_32BITUIDS]: Make code unconditional.
42085 [!__ASSUME_32BITUIDS]: Remove conditional code.
42086 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42087 <kernel-features.h>.
42088 [__ASSUME_32BITUIDS]: Make code unconditional.
42089 [!__ASSUME_32BITUIDS]: Remove conditional code.
42090 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42091 <kernel-features.h>.
42092 [__ASSUME_32BITUIDS]: Make code unconditional.
42093 [!__ASSUME_32BITUIDS]: Remove conditional code.
42094 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42095 <kernel-features.h>.
42096 [__ASSUME_32BITUIDS]: Make code unconditional.
42097 [!__ASSUME_32BITUIDS]: Remove conditional code.
42098 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42099 <kernel-features.h>.
42100 [__ASSUME_32BITUIDS]: Make code unconditional.
42101 [!__ASSUME_32BITUIDS]: Remove conditional code.
42102 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42103 <kernel-features.h>.
42104 [__ASSUME_32BITUIDS]: Make code unconditional.
42105 [!__ASSUME_32BITUIDS]: Remove conditional code.
42106 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42107 <kernel-features.h>.
42108 [__ASSUME_32BITUIDS]: Make code unconditional.
42109 [!__ASSUME_32BITUIDS]: Remove conditional code.
42110 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42111 <kernel-features.h>.
42112 [__ASSUME_32BITUIDS]: Make code unconditional.
42113 [!__ASSUME_32BITUIDS]: Remove conditional code.
42114 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42115 <kernel-features.h>.
42116 [__ASSUME_32BITUIDS]: Make code unconditional.
42117 [!__ASSUME_32BITUIDS]: Remove conditional code.
42118 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42119 <kernel-features.h>.
42120 [__ASSUME_32BITUIDS]: Make code unconditional.
42121 [!__ASSUME_32BITUIDS]: Remove conditional code.
42122 * sysdeps/unix/sysv/linux/kernel-features.h
42123 (__ASSUME_SETRESUID_SYSCALL): Remove.
42124 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42125 (__ASSUME_32BITUIDS): Likewise.
42126 (__ASSUME_LDT_WORKS): Likewise.
42127 (__ASSUME_O_DIRECTORY): Likewise.
42128 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42129 architecture but not kernel version.
42130 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42131 (__ASSUME_MMAP2_SYSCALL): Likewise.
42132 (__ASSUME_STAT64_SYSCALL): Likewise.
42133 (__ASSUME_IPC64): Likewise.
42134 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42135 <kernel-features.h>.
42136 [__ASSUME_32BITUIDS]: Make code unconditional.
42137 [!__ASSUME_32BITUIDS]: Remove conditional code.
42138 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42139 <kernel-features.h>.
42140 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42141 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42142 132096]: Remove conditional code.
42143 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42144 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42145 <kernel-features.h>.
42146 [__ASSUME_32BITUIDS]: Make code unconditional.
42147 [!__ASSUME_32BITUIDS]: Remove conditional code.
42148 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42149 <kernel-features.h>.
42150 [__ASSUME_32BITUIDS]: Make code unconditional.
42151 [!__ASSUME_32BITUIDS]: Remove conditional code.
42152 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42153 <kernel-features.h>.
42154 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42155 unconditional.
42156 (__setresgid): Do not declare.
42157 [__ASSUME_32BITUIDS]: Make code unconditional.
42158 [!__ASSUME_32BITUIDS]: Remove conditional code.
42159 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42160 <kernel-features.h>.
42161 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42162 unconditional.
42163 (__setresuid): Do not declare.
42164 [__ASSUME_32BITUIDS]: Make code unconditional.
42165 [!__ASSUME_32BITUIDS]: Remove conditional code.
42166 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42167 <kernel-features.h>.
42168 [__ASSUME_32BITUIDS]: Make code unconditional.
42169 [!__ASSUME_32BITUIDS]: Remove conditional code.
42170 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42171 <kernel-features.h>.
42172 [__ASSUME_32BITUIDS]: Make code unconditional.
42173 [!__ASSUME_32BITUIDS]: Remove conditional code.
42174
a386f1cc
RH
421752012-05-25 Richard Henderson <rth@twiddle.net>
42176
42177 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42178 dl_hwcap to ifunc resolver.
42179 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42180 elf_ifunc_invoke.
42181 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42182 dl_hwcap to ifunc resolver.
42183 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42184
b6550497
JM
421852012-05-24 Joseph Myers <joseph@codesourcery.com>
42186
42187 [BZ #14153]
42188 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42189 for |x| <= 2**-26, not 2**-57.
42190 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42191 exception.
42192
b0bc23a1
JL
421932012-05-24 Jeff Law <law@redhat.com>
42194
42195 * stdio-common/Makefile (tests): Add bug25.
42196 * stdio-common/bug25.c: New test.
42197
347c92e9
L
421982012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42199
42200 [BZ #13576]
42201 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42202 multiple of MALLOC_ALIGNMENT in size.
42203 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42204
6bcc8b3f
JM
422052012-05-24 Joseph Myers <joseph@codesourcery.com>
42206
42207 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42208 Require >= 256.
42209 (FILENAME_MAX): Use macro-int-constant.
42210 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42211 (_IOFBF): Use macro-int-constant.
42212 (_IOLBF): Likewise.
42213 (_IONBF): Likewise.
42214 (SEEK_CUR): Likewise.
42215 (SEEK_END): Likewise.
42216 (SEEK_SET): Likewise.
42217 (TMP_MAX): Likewise.
42218 (EOF): Use macro-int-constant. Require < 0.
42219 (NULL): Use macro-constant. Require == 0.
42220 (stdin): Require type to be FILE *.
42221 (stdout): Likewise.
42222 (stderr): Likewise.
42223 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42224 macro-int-constant.
42225 (EXIT_SUCCESS): Likewise.
42226 (NULL): Use macro-constant. Require == 0.
42227 (RAND_MAX): Use macro-int-constant.
42228 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42229 [C99-based standards] (strtof): Require function.
42230 [C99-based standards] (strtold): Likewise.
42231 [C99-based standards] (strtoll): Likewise.
42232 [C99-based standards] (strtoull): Likewise.
42233 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42234 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42235 [ISO || ISO99 || ISO11] (math.h): Likewise.
42236 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42237 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42238 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42239
d18ea0c5
AS
422402012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42241
42242 [BZ #14132]
56d25bb8
AS
42243 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42244 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42245 * intl/dgettext.c (DCGETTEXT): Likewise.
42246 * intl/gettext.c (DCGETTEXT): Likewise.
42247 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42248 * posix/regex_internal.h (gettext): Likewise.
42249 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42250 Remove declaration.
42251 * include/argz.h (__argz_count_internal)
42252 (__argz_stringify_internal): Remove declaration.
42253 (__argz_count, __argz_stringify): Declare hidden proto.
42254 * intl/dcgettext.c: Remove use of INTDEF.
42255 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42256 * string/argz-stringify.c: Likewise.
42257 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42258 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42259 Declare hidden proto.
d18ea0c5
AS
42260 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42261 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42262 Declare hidden proto.
42263 * include/stdio.h (__asprintf_internal): Don't declare.
42264 (__asprintf): Don't define as macro. Declare hidden proto.
42265 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42266 (__fsetlocking): Declare hidden proto.
42267 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42268 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42269 hidden proto.
42270 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42271 (_IO_setlinebuf): Remove use of INTUSE.
42272 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42273 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42274 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42275 Remove declaration.
42276 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42277 (_IO_do_flush): Remove use of INTUSE.
42278 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42279 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42280 (_IO_adjust_column, _IO_least_wmarker)
42281 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42282 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42283 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42284 (_IO_default_doallocate, _IO_wdefault_doallocate)
42285 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42286 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42287 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42288 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42289 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42290 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42291 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42292 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42293 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42294 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42295 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42296 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42297 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42298 proto.
42299 (_IO_flush_all_internal, _IO_adjust_column_internal)
42300 (_IO_default_uflow_internal, _IO_default_finish_internal)
42301 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42302 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42303 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42304 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42305 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42306 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42307 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42308 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42309 (_IO_file_close_internal, _IO_file_close_it_internal)
42310 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42311 (_IO_file_init_internal, _IO_file_attach_internal)
42312 (_IO_file_fopen_internal, _IO_file_read_internal)
42313 (_IO_file_sync_internal, _IO_file_seek_internal)
42314 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42315 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42316 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42317 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42318 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42319 (_IO_list_all_internal, _IO_link_in_internal)
42320 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42321 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42322 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42323 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42324 (_IO_do_write_internal, _IO_padn_internal)
42325 (_IO_getline_info_internal, _IO_getline_internal)
42326 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42327 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42328 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42329 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42330 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42331 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42332 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42333 with libc_hidden_ver, remove use of INTUSE.
42334 * libio/genops.c: Likewise.
42335 * libio/freopen.c: Likewise.
42336 * libio/freopen64.c: Likewise.
42337 * libio/iofclose.c: Likewise.
42338 * libio/iofdopen.c: Likewise.
42339 * libio/iofflush.c: Likewise.
42340 * libio/iofflush_u.c: Likewise.
42341 * libio/iofgets.c: Likewise.
42342 * libio/iofgets_u.c: Likewise.
42343 * libio/iofopen.c: Likewise.
42344 * libio/iofopncook.c: Likewise.
42345 * libio/iofread.c: Likewise.
42346 * libio/iofread_u.c: Likewise.
42347 * libio/ioftell.c: Likewise.
42348 * libio/iofwrite.c: Likewise.
42349 * libio/iogetline.c: Likewise.
42350 * libio/iogets.c: Likewise.
42351 * libio/iogetwline.c: Likewise.
42352 * libio/iopadn.c: Likewise.
42353 * libio/iopopen.c: Likewise.
42354 * libio/ioseekoff.c: Likewise.
42355 * libio/ioseekpos.c: Likewise.
42356 * libio/iosetbuffer.c: Likewise.
42357 * libio/iosetvbuf.c: Likewise.
42358 * libio/ioungetc.c: Likewise.
42359 * libio/ioungetwc.c: Likewise.
42360 * libio/iovdprintf.c: Likewise.
42361 * libio/iovsprintf.c: Likewise.
42362 * libio/iovsscanf.c: Likewise.
42363 * libio/memstream.c: Likewise.
42364 * libio/obprintf.c: Likewise.
42365 * libio/oldfileops.c: Likewise.
42366 * libio/oldiofclose.c: Likewise.
42367 * libio/oldiofdopen.c: Likewise.
42368 * libio/oldiofopen.c: Likewise.
42369 * libio/oldiopopen.c: Likewise.
42370 * libio/oldstdfiles.c: Likewise.
42371 * libio/putc.c: Likewise.
42372 * libio/setbuf.c: Likewise.
42373 * libio/setlinebuf.c: Likewise.
42374 * libio/stdfiles.c: Likewise.
42375 * libio/strops.c: Likewise.
42376 * libio/vasprintf.c: Likewise.
42377 * libio/vscanf.c: Likewise.
42378 * libio/vsnprintf.c: Likewise.
42379 * libio/vswprintf.c: Likewise.
42380 * libio/wfiledoalloc.c: Likewise.
42381 * libio/wfileops.c: Likewise.
42382 * libio/wgenops.c: Likewise.
42383 * libio/wmemstream.c: Likewise.
42384 * libio/wstrops.c: Likewise.
42385 * libio/__fpurge.c: Likewise.
42386 * libio/__fsetlocking.c: Likewise.
42387 * assert/assert.c: Likewise.
42388 * debug/fgets_chk.c: Likewise.
42389 * debug/fgets_u_chk.c: Likewise.
42390 * debug/fread_chk.c: Likewise.
42391 * debug/fread_u_chk.c: Likewise.
42392 * debug/gets_chk.c: Likewise.
42393 * debug/obprintf_chk.c: Likewise.
42394 * debug/vasprintf_chk.c: Likewise.
42395 * debug/vdprintf_chk.c: Likewise.
42396 * debug/vsnprintf_chk.c: Likewise.
42397 * debug/vsprintf_chk.c: Likewise.
42398 * malloc/mtrace.c: Likewise.
42399 * misc/error.c: Likewise.
42400 * misc/syslog.c: Likewise.
42401 * stdio-common/asprintf.c: Likewise.
42402 * stdio-common/fxprintf.c: Likewise.
42403 * stdio-common/getw.c: Likewise.
42404 * stdio-common/isoc99_fscanf.c: Likewise.
42405 * stdio-common/isoc99_scanf.c: Likewise.
42406 * stdio-common/isoc99_vfscanf.c: Likewise.
42407 * stdio-common/isoc99_vscanf.c: Likewise.
42408 * stdio-common/isoc99_vsscanf.c: Likewise.
42409 * stdio-common/printf-prs.c: Likewise.
42410 * stdio-common/printf_fp.c: Likewise.
42411 * stdio-common/printf_fphex.c: Likewise.
42412 * stdio-common/printf_size.c: Likewise.
42413 * stdio-common/putw.c: Likewise.
42414 * stdio-common/scanf.c: Likewise.
42415 * stdio-common/sprintf.c: Likewise.
42416 * stdio-common/tmpfile.c: Likewise.
42417 * stdio-common/vfprintf.c: Likewise.
42418 * stdio-common/vfscanf.c: Likewise.
42419 * stdlib/strfmon_l.c: Likewise.
42420 * sunrpc/openchild.c: Likewise.
42421 * sunrpc/xdr_stdio.c: Likewise.
42422 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42423 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42424
d6c33fda
RM
424252012-05-24 Roland McGrath <roland@hack.frob.com>
42426
c1487492
RM
42427 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42428
42429 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42430 in the third column, to generate for the shared library an IFUNC
42431 that uses _dl_vdso_vsym.
42432 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42433 * Makeconfig (object-suffixes-noshared): New variable.
42434
42435 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42436 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42437 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42438 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42439
d6c33fda
RM
42440 [BZ #14132]
42441 * include/sys/time.h (__gettimeofday): Remove macro.
42442 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42443 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42444 Remove INTDEF.
42445 (__gettimeofday): Add libc_hidden_def.
42446 (gettimeofday): Add libc_hidden_weak.
42447 * sysdeps/mach/gettimeofday.c: Likewise.
42448 * sysdeps/posix/gettimeofday.c: Likewise.
42449 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42450 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42452 (__gettimeofday_internal): Remove strong_alias.
42453 (__gettimeofday): Add libc_hidden_def.
42454 (gettimeofday): Add libc_hidden_weak.
42455 * sysdeps/unix/syscalls.list (gettimeofday):
42456 Remove __gettimeofday_internal alias.
42457
b5a2bbe6
L
424582012-05-24 Daniel Jacobowitz <drow@false.org>
42459 H.J. Lu <hongjiu.lu@intel.com>
42460
42461 [BZ #12495]
42462 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42463 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42464 (largebin_index_32_big): New.
42465 (largebin_index): Use it for 16-byte alignment.
42466 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42467 correction with front_misalign.
42468
cfba4fda
L
424692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42470
7f907421
L
42471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42473 Likewise.
42474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42475 Likewise.
42476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42477 Likewise.
42478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42479 Likewise.
42480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42481 Likewise.
42482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42483 Likewise.
42484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42485 Likewise.
42486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42487 Likewise.
42488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42489 Likewise.
42490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42491 Likewise.
42492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42493 Likewise.
42494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42495 Likewise.
42496
cfba4fda
L
42497 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42498 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42499
80bad0cc
JM
425002012-05-24 Joseph Myers <joseph@codesourcery.com>
42501
7a25eb06
JM
42502 [BZ #10846]
42503 [BZ #14036]
42504 * math/libm-test.inc (exp_test): Add test from bug 14036.
42505 (pow_test): Add test from bug 10846.
42506
795405f9
JM
42507 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42508 and other flags.
42509 (special_function): Do not include flags in test name.
42510 (parse_args): Likewise.
42511 * sysdeps/i386/fpu/libm-test-ulps: Update.
42512 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42513 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42514 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42516
80bad0cc
JM
42517 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42518 exceptions.
42519 * math/libm-test.inc ("Philosophy"): Update comment about
42520 exception testing.
42521 (UNDERFLOW_EXCEPTION): New macro.
42522 (UNDERFLOW_EXCEPTION_OK): Likewise.
42523 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42524 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42525 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42526 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42527 (INVALID_EXCEPTION_OK): Update value.
42528 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42529 (OVERFLOW_EXCEPTION_OK): Likewise.
42530 (IGNORE_ZERO_INF_SIGN): Likewise.
42531 (test_exceptions): Handle underflow exceptions.
42532 (acos_test): Update for underflow exception expectations.
42533 (cexp_test): Likewise.
42534 (clog_test): Likewise.
42535 (clog10_test): Likewise.
42536 (csqrt_test): Likewise.
42537 (ctan_test): Likewise.
42538 (ctanh_test): Likewise.
42539 (exp_test): Likewise.
42540 (exp10_test): Likewise.
42541 (exp2_test): Likewise.
42542 (expm1_test): Likewise.
42543 (fma_test): Likewise.
42544 (j0_test): Likewise.
42545 (jn_test): Likewise.
42546 (nexttoward_test): Likewise.
42547 (pow_test): Likewise.
42548 (scalbn_test): Likewise.
42549 (scalbln_test): Likewise.
42550 (tan_test): Likewise.
42551 (y1_test): Likewise.
42552 * sysdeps/i386/fpu/libm-test-ulps: Update.
42553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42554
9e0e3d0b
DM
425552012-05-23 David S. Miller <davem@davemloft.net>
42556
42557 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42558 (__libc_sigaction): Remove unused local variables.
42559
ccd0a08f
L
425602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42561
42562 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42563
62bdf9a6
PE
425642012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42565
f8591f80
PE
42566 mktime: avoid signed integer overflow
42567 * time/mktime.c (__mktime_internal): Do not mishandle the case
42568 where diff == INT_MIN.
42569
94c7d826
PE
42570 mktime: simplify computation of average
42571 * time/mktime.c (ranged_convert): Use new time_t_avg function
42572 instead of rolling our own (probably-slower) code.
42573
ce73d683
PE
42574 mktime: do not assume signed right shift propagates sign bit
42575 * time/mktime.c (isdst_differ): New static function.
42576 (__mktime_internal): No need to normalize tm_isdst now.
42577 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42578 tm_isdst values.
42579
72a22e59
PE
42580 mktime: merge another wrapv change from gnulib
42581 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42582 from some compilers.
42583
68605433
PE
42584 mktime: remove incorrect attempt at unusual arithmetics
42585 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42586 The code didn't really work on such machines anyway.
42587 (TYPE_MINIMUM): Assume two's complement.
42588 (twos_complement_arithmetic): Verify that long_int and time_t
42589 are two's complement (or unsigned, in the latter case).
42590
03cf7fe3
PE
42591 mktime: check signed shifts on long_int and time_t, too
42592 * time/mktime.c (SHR): Check that shifts work as desired
42593 on the types long_int and time_t too, as SHR is used on
42594 such types.
42595
f04dfbc2
PE
42596 mktime: do not assume 'long' is wide enough
42597 * time/mktime.c (verify): Move decl up.
42598 (long_int): New type.
42599 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42600 to remove assumption in the code that 'long' is wide enough to
42601 store year values. This assumption is not true on x32 and on
42602 some non-glibc platforms.
42603
62bdf9a6
PE
42604 mktime: merge wrapv change from gnulib
42605 * time/mktime.c (WRAPV): New macro.
42606 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42607 (guess_time_tm, __mktime_internal): Do not assume that signed
42608 integer overflow wraps around; modern compilers generate code
42609 where this assumption is no longer valid.
42610
5e292e4f
L
426112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42612
42613 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42614 Replace "jmp L(pseudo_end)" with "ret".
42615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42616 Likewise.
42617
8caf8c87
AJ
426182012-05-23 Andreas Jaeger <aj@suse.de>
42619
42620 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42621 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42622
1a09dc56
AJ
426232012-05-23 Andreas Jaeger <aj@suse.de>
42624 Maximilian Attems <max@stro.at>
42625
42626 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42627 New macros.
42628
1c87aba0
L
426292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42630
42631 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42632 code so that pseudo_end is just ret and the stack pointer is
42633 correct also for static library in error case.
42634
40e45bd5
JM
426352012-05-23 Joseph Myers <joseph@codesourcery.com>
42636
c2670533
JM
42637 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42638 move to syscalls.list.
42639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42643
40e45bd5
JM
42644 * manual/install.texi (Running make install): Do not mention Linux
42645 kernel version for which pt_chown is not needed.
42646 (Linux): Do not mention problems with nscd with 2.0 kernels.
42647 * INSTALL: Regenerated.
42648
be08eda5
AJ
426492012-05-23 Andreas Jaeger <aj@suse.de>
42650
42651 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42652 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42653 macro.
42654 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42655 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42656 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42657 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42658 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42659 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42660 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42661 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42662 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42663 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42664 * sysdeps/unix/sysv/linux/bits/in.h
42665 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42666
a6a056bb
RM
426672012-05-22 Roland McGrath <roland@hack.frob.com>
42668
42669 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42670 (PREPARE_VERSION): Just use assert instead, it will be elided
42671 under [NDEBUG] anyway.
42672
c9009328
L
426732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42674
42675 * sysdeps/unix/sysv/linux/Makefile: Include
42676 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42677 (sysdep_routines): Remove sysctl.
c9009328
L
42678 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42679 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42680 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42681 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42682 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42683
73338355
AJ
426842012-05-22 Andreas Jaeger <aj@suse.de>
42685
42686 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42687 that pseudo_end is just ret and the stack pointer is correct also
42688 for static library in error case.
42689
d44638b0
PP
426902012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42691
42692 [BZ #14122]
42693 * nss/nsswitch.c (defconfig_entries): New variable.
42694 (__nss_database_lookup): Don't leak defconfig entries.
42695 (nss_parse_service_list): Don't leak on error paths.
42696 (free_database_entries): New function.
42697 (free_defconfig): New function.
42698 (free_mem): Move common code to free_database_entries.
42699
31a39bd8
L
427002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42701
da0331a8
L
42702 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42703 Add arch_prctl.
42704 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42705
31a39bd8
L
42706 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42707 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42709 New macro.
42710 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42711 (INTERNAL_SYSCALL_TYPES): Likewise.
42712 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42713 (LOAD_REGS_TYPES_[1-6]): Likewise.
42714 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42715 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42716
45470df3
AZ
427172012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42718
42719 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42720 copysignl for GLIBC_2_0.
42721 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42722 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42724 logbl for GLIBC_2_0.
42725 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42726 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42727
98a61bcb
L
427282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42729
a4f6e481
L
42730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42731 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42732
f63d5db6
L
42733 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42734 Use "neg %eax".
42735
98a61bcb
L
42736 * time/mktime.c: Update copyright years.
42737
95770f14
PE
427382012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42739
6226efbd
PE
42740 mktime: merge comment-quoting-style change from gnulib
42741 * time/mktime.c: Quote 'like this' in comments.
42742 The GNU coding standards suggest that we no longer quote `like this',
42743 as "`" and "'" are typically rendered asymmetrically nowadays.
42744 The typical gnulib style is to quote 'like this' when quoting
42745 code, and "like this" when quoting English.
42746
b99e4f78
PE
42747 * time/mktime.c (compile-command): Add "-I.".
42748
643e01e6
PE
42749 mktime: merge mktime-internal.h change from gnulib
42750 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42751
2554247d
PE
42752 mktime: merge time_r change from gnulib
42753 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42754
826dd0ab
PE
42755 mktime: merge DEBUG change from gnulib
42756 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42757 case system <time.h> has a #define.
42758
bd83aabe
PE
42759 mktime: merge <sys/types.h> change from gnulib
42760 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42761 since <time.t> is now guaranteed to define time_t.
42762
95770f14
PE
42763 mktime: merge HAVE_CONFIG_H change from gnulib
42764 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42765
5e1a27a9
L
427662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42767
0e44a77e
L
42768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42769 Use "neg %eax".
42770
5e1a27a9
L
42771 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42772 __rlim_t cast.
42773 (struct rusage): Use anonymous union to pad each field to
42774 __syscall_slong_t.
42775
46259bec
DM
427762012-05-21 David S. Miller <davem@davemloft.net>
42777
42778 * Makefules (o-iterator): Remove .s cases.
42779 (compile-command.s): Delete.
42780 (COMPILE.s): Delete.
42781 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42782
59f0c22e
JM
427832012-05-21 Joseph Myers <joseph@codesourcery.com>
42784
42785 * configure.in (libc_cv_predef_stack_protector): Only consider
42786 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42787 * configure: Regenerated.
42788
20c07380
L
427892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42790
bbb3154b
L
42791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42792 New macro. Use R*LP on int and pointer.
42793 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42794 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42795 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42796 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42797
20c07380
L
42798 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42799 [__WORDSIZE_TIME64_COMPAT32] instead of
42800 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42801 (struct utmp): Likewise.
42802 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42803 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42804 Renamed to ...
42805 (__WORDSIZE_TIME64_COMPAT32): This.
42806 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42807 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42808 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42809 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42810 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42811 (__WORDSIZE_TIME64_COMPAT32): New macro.
42812
d8d1017e
AJ
428132012-05-21 Andreas Jaeger <aj@suse.de>
42814
42815 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42816 only if [SHARED]. Add prototype for __wcschr_ia32.
42817
6c7fb145
RM
428182012-05-21 Roland McGrath <roland@hack.frob.com>
42819
42820 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42821 of %rbp unmolested in the jmp_buf while mangling the low bits.
42822 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42823 unmolested high bits of %rbp while demangling the low bits.
42824 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42825
66274218
AJ
428262012-05-21 Andreas Jaeger <aj@suse.de>
42827
07c58f8f
AJ
42828 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42829 * sunrpc/svc_simple.c: Use it for registerrpc.
42830 * sunrpc/xcrypt.c: Use it for passwd2des.
42831
66274218
AJ
42832 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42833
61f65140
L
428342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42835
42836 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42837 Don't define if [__SYSCALL_WORDSIZE != 32].
42838 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42839 New macro.
42840
5fefb436
AJ
428412012-05-21 Bruno Haible <bruno@clisp.org>
42842 Andreas Jaeger <aj@suse.de>
42843
42844 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42845 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42846 inptr and inend for must_buffer_ch.
42847 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42848 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42849 * stdio-common/Makefile (tests): Remove bug15.
42850 (bug15-ENV): Remove macro.
42851 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42852 anymore.
42853
d8e272ab
AJ
428542012-05-19 Andreas Jaeger <aj@suse.de>
42855 Roland McGrath <roland@hack.frob.com>
42856
42857 * manual/contrib.texi: Completely rewritten. It contains now an
42858 alphabetical list of contributors and their contributions.
42859
4a56a162
RH
428602012-05-21 Richard Henderson <rth@twiddle.net>
42861
42862 * misc/getauxval.c (__getauxval): Use unsigned long int.
42863 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42864 (getauxval): Use unsigned long int.
42865
d024d23c
L
428662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42867
42868 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42869
cbc00a03
RM
428702012-05-21 Roland McGrath <roland@hack.frob.com>
42871
42872 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42873 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42874 __alignof__ (long double).
42875
478143fa
AZ
428762012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42877
42878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42879
c7683a6d
RH
428802012-05-20 Richard Henderson <rth@twiddle.net>
42881
42882 * misc/getauxval.c: New file.
42883 * misc/sys/auxv.h: New file.
42884 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42885 (routines): Add getauxval.
42886 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42887 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42888 * elf/dl-sysdep.c (_dl_auxv): Remove.
42889 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42890 * elf/dl-support.c (_dl_auxv): New variable.
42891 (_dl_aux_init): Initialize it.
42892 * manual/startup.texi (Auxiliary Vector): New node.
42893 * sysdeps/generic/bits/hwcap.h: New file.
42894 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42895 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42896 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42897 * sysdeps/sparc/sysdep.h: ... here. Include it.
42898 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42901 Update.
c7683a6d
RH
42902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42905 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42910
a6f1845d
AZ
429112012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42912
42913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42914
cbcbe830
DM
429152012-05-19 David S. Miller <davem@davemloft.net>
42916
42917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42918
e0b16cc2
JM
429192012-05-19 Joseph Myers <joseph@codesourcery.com>
42920
42921 [BZ #14123]
42922 * math/s_ccosh.c: Include <float.h>
42923 (__ccosh): Avoid internal overflow calculating sinh and cosh
42924 values before multiplying by sin and cos values.
42925 * math/s_ccoshf.c: Likewise.
42926 * math/s_ccoshl.c: Likewise.
42927 * math/s_csin.c: Likewise.
42928 * math/s_csinf.c: Likewise.
42929 * math/s_csinl.c: Likewise.
42930 * math/s_csinh.c: Likewise.
42931 * math/s_csinhf.c: Likewise.
42932 * math/s_csinhl.c: Likewise.
42933 * math/libm-test.inc (ccos_test): Add more tests.
42934 (ccosh_test): Likewise.
42935 (csin_test): Likewise.
42936 (csinh_test): Likewise.
42937 * sysdeps/i386/fpu/libm-test-ulps: Update.
42938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42939
6ad13e08
L
429402012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42941
f66f0ce8
L
42942 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42943 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42944
6ad13e08
L
42945 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42946
b1d072a7
JM
429472012-05-19 Joseph Myers <joseph@codesourcery.com>
42948
42949 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42950 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42951 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42952 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42953 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42954 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42955 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42956 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42957 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42958 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42959 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42960 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42961 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42962 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42963 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42964 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42965 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42966 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42967 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42968 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42969 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42970 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42971 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42972 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42973 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42974 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42975 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42976 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42977 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42978 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42979 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42980
9eae47cb
AJ
429812012-05-18 Andreas Jaeger <aj@suse.de>
42982
42983 * csu/.gitignore: Delete.
42984
bb07f69f
L
429852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42986
42987 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42988 (timex): Use __syscall_slong_t.
42989
e6bdb741
AJ
429902012-05-18 Andreas Jaeger <aj@suse.de>
42991 Carlos O'Donell <carlos_odonell@mentor.com>
42992
42993 * manual/install.texi (Configuring and compiling): Update
42994 description about files modified in the source directory.
d6c33fda 42995 * INSTALL: Regenerated.
e6bdb741 42996
1b74487e
L
429972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42998
42999 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43000 value. Use "or" to set return value to -1.
43001 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43002 negate return value.
43003
a88b64b9
TMQMF
430042012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43005
57f41c40
AS
43006 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43007 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43008 failure if the compiler has Graphite support disabled.
43009 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43010 Likewise.
57f41c40
AS
43011 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43012 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43013 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43014 Likewise.
43015
3707636e
L
430162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43017
610b8622
L
43018 * sysdeps/x86_64/x32/_itoa.h: New file.
43019
7cd195df
L
43020 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43021 getdents system call only if kernel and user dirents have the
43022 same d_ino and d_off.
43023
94b07d20
L
43024 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43025 LLONG_MAX != LONG_MAX.
43026 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43027 (_fitoa_word): Likewise.
43028
18298070
L
43029 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43030 years.
43031 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43032 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43033 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43034
553c7ea4
L
43035 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43036 include <bits/wordsize.h>. Check __x86_64__ instead of
43037 __WORDSIZE.
43038 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43039 if __x86_64__ is defined. Use anonymous union on fpstate.
43040
3707636e
L
43041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43042 anonymous union.
43043
b53ef01a
AS
430442012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43045
37fb1dc0
AS
43046 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43047 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43048 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43049 Refer to _rtld_local_ro instead of _rtld_global_ro.
43050 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43051 Likewise.
43052 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43053 Likewise.
43054 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43055 Likewise.
43056 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43057 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43058 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43059
b53ef01a
AS
43060 * sysdeps/powerpc/powerpc32/dl-machine.c
43061 (__elf_machine_runtime_setup) [PROF]: Don't reference
43062 _dl_prof_resolve.
43063
7a185db2
AJ
430642012-05-18 Andreas Jaeger <aj@suse.de>
43065
43066 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43067 function only available for GCCs before 3.4 since GCC 3.4
43068 introduced a builtin.
43069 (lrint): Likewise.
43070 (llrintf): Likewise.
43071 (llrint): Likewise.
43072 (fmaxf): Likewise.
43073 (fmax): Likewise.
43074 (fminf): Likewise.
43075 (fmin): Likewise.
43076 (rint): Likewise.
43077 (rintf): Likewise.
43078 (nearbyint): Likewise.
43079 (nearbyintf): Likewise.
43080 (ceil): Likewise.
43081 (ceilf): Likewise.
43082 (floor): Likewise.
43083 (floorf): Likewise.
43084
3e5aef87
L
430852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43086
428bd707
L
43087 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43088 on both fields and cast pointer to __syscall_ulong_t.
43089
3e5aef87
L
43090 * bits/types.h (__fsword_t): New type.
43091 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43092 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43093 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43094 (__FSWORD_T_TYPE): Likewise.
43095 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43096 (__FSWORD_T_TYPE): Likewise.
43097 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43098 (__FSWORD_T_TYPE): Likewise.
43099 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43100 (__FSWORD_T_TYPE): Likewise.
43101 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43102 __SWORD_TYPE with __fsword_t.
43103 (statfs64): Likewise.
43104
1ba7c3dc
DM
431052012-05-17 David S. Miller <davem@davemloft.net>
43106
43107 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43108
59910343
AJ
431092012-05-17 Andreas Jaeger <aj@suse.de>
43110
43111 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43112 warning.
43113
2e4c1e9e
L
431142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43115
43116 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43117
de7f5ce7
AJ
431182012-05-17 Andreas Jaeger <aj@suse.de>
43119
43120 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43121 when it is used.
43122
286abc3d
CM
431232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43124
43125 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43126
477cc68e
L
431272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43128
43129 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43130 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43131
1a0994f5
CD
431322012-05-17 Andreas Jaeger <aj@suse.de>
43133 Carlos O'Donell <carlos_odonell@mentor.com>
43134
43135 [BZ #14059]
43136 * sysdeps/x86_64/multiarch/init-arch.h
43137 (bit_YMM_Usable): Rename to...
43138 (bit_AVX_Usable): ... this.
43139 (bit_FMA4_Usable): New macro.
43140 (bit_XMM_state): New macro.
43141 (bit_YMM_state): New macro.
43142 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43143 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43144 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43145 (CPUID_OSXSAVE): New macro.
43146 (CPUID_AVX): New macro.
43147 (CPUID_FMA4): New macro.
43148 (index_YMM_Usable): Rename to...
43149 (index_AVX_Usable): ... this.
43150 (HAS_AVX): Use HAS_ARCH_FEATURE.
43151 (HAS_FMA4): Likewise.
43152 (HAS_YMM_USABLE): Remove.
43153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43154 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43155 are present.
43156 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43157 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43158 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43159 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43160 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43161
0af797de
CM
431622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43163
43164 * math/libm-test.c: Support platforms without multiple rounding modes.
43165 * math/bug-nextafter.c: Support platforms without FP exceptions.
43166 * math/bug-nexttoward.c: Likewise.
43167 * math/test-fenv.c: Likewise.
43168 * math/test-misc.c: Likewise.
43169 * stdlib/bug-getcontext.c: Likewise.
43170
e39745ff
AJ
431712012-05-17 Andreas Jaeger <aj@suse.de>
43172
43173 * manual/examples/search.c (critter_cmp): Change signature to
43174 avoid warnings.
43175 * manual/string.texi (Collation Functions): Likewise.
43176
48970aba
L
431772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43178
43179 * bits/types.h: Fold copyright years.
43180 * bits/typesizes.h: Likewise.
43181 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43182 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43183 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43185 * time/time.h: Likewise.
43186
bedee953
PP
431872012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43188
43189 [BZ #208]
43190 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43191 in instead of returning them. Return void.
43192 (__libc_mallinfo): Accumulate over all arenas.
43193 (__malloc_stats): Adjust for change in int_mallinfo interface.
43194
61653dfb
RM
431952012-05-16 Roland McGrath <roland@hack.frob.com>
43196
30b99d79
RM
43197 [BZ #10375]
43198 * configure.in (NM): Add AC_CHECK_TOOL for it.
43199 (libc_extra_cflags): New substituted variable.
43200 Check for -fstack-protector being used implicitly.
43201 * configure: Regenerated.
43202 * config.make.in (config-extra-cflags): New variable,
43203 gets @libc_extra_cflags@.
43204 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43205
61653dfb
RM
43206 [BZ #10375]
43207 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43208 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43209 * configure: Regenerated.
43210 * config.make.in (CPPUNDEFS): New substituted variable.
43211 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43212 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43213 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43214
661768bb
L
432152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43216
43217 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43218 (mq_attr): Use __syscall_slong_t.
43219
d4261567
L
432202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43221
43222 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43223 Check __x86_64__ instead of __WORDSIZE.
43224 (_STAT_VER_LINUX): Likewise.
43225 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43226 __syscall_ulong_t and __syscall_slong_t.
43227 (stat64): Likewise.
43228
cf3ff365
L
432292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43230
43231 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43232
76cf3e4d
L
432332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43234
43235 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43236
a637753a
L
432372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43238
43239 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43240 __syscall_ulong_t.
43241
d5e05119
L
43242 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43243 include <bits/wordsize.h>. Check __x86_64__ instead of
43244 __WORDSIZE.
43245 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43246 defined.
43247 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43248
f62ee380
L
43249 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43250 include <bits/wordsize.h>. Check __x86_64__ instead of
43251 __WORDSIZE.
43252 (user_regs_struct): Use "__extension__ unsigned long long"
43253 instead of "unsigned long" if __x86_64__ is defined.
43254 (user): Likewise. Pad after pointer field if __ILP32__ is
43255 defined.
43256
4e124ced
JM
432572012-05-16 Joseph Myers <joseph@codesourcery.com>
43258
6a3951a0
JM
43259 * configure.in (makeinfo): Require version 4.5 or later. Allow
43260 versions 5 to 9.
43261 * configure: Regenerated.
43262 * manual/install.texi (texinfo): Increase version requirement to
43263 4.5 or later.
43264 * INSTALL: Regenerated.
43265
4e124ced
JM
43266 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43267
953ca31a
L
432682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43269
43270 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43271
617aca05
L
43272 * sysdeps/x86_64/x32/ffs.c: New file.
43273
5762f7ae
L
43274 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43275 __syscall_ulong_t.
43276 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43277 defined. Use __syscall_ulong_t.
43278 (shminfo): Use __syscall_ulong_t.
43279 (shm_info): Likewise.
43280
a26b6856
L
43281 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43282 __syscall_ulong_t.
43283
cb2b9ef7
L
43284 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43285 <bits/wordsize.h>.
43286 (msgqnum_t): Use __syscall_ulong_t.
43287 (msglen_t): Likewise.
43288 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43289 __syscall_ulong_t.
43290
34683bb0
L
43291 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43292 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43293
84a68786
L
43294 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43295
48baa5f1
L
43296 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43297 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43298
180be88b
L
43299 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43300 __syscall_slong_t.
43301
5e90c8ad
L
43302 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43303 include <bits/wordsize.h>. Check __x86_64__ instead of
43304 __WORDSIZE.
43305
23dfb58b
L
43306 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43307 "unsigned long long int" if __x86_64__ is defined.
43308 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43309
ce5d54b0
L
43310 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43311 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43312 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43313
13dc9eac
L
43314 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43315 <stdint.h>.
43316 (GET_PC): Cast to uintptr_t first.
43317 (GET_FRAME): Likewise.
43318 (GET_STACK): Likewise.
43319
a7895d15
L
43320 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43321 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43322 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43323 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43324 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43325 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43326 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43327 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43328 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43329 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43330 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43331 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43332 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43333 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43334 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43335 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43336 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43337 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43338 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43339 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43340 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43341 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43342 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43343 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43344 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43345 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43346 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43347 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43348 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43349
656416c9
AS
433502012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43351
5bd66283
AS
43352 * Makerules (+depfiles): Also collect depfiles from .oS in
43353 $(extra-objs).
43354 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43355 .oS, $(libnldbl-routines)).
43356
656416c9
AS
43357 * Makerules (native-compile-mkdep-flags): Define.
43358 * sunrpc/Makefile (extra-objs): Add $(addprefix
43359 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43360 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43361 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43362 calling $(make-target-directory).
43363
a46f2169
L
433642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43365
43366 * bits/types.h (__snseconds_t): Removed.
43367 * time/time.h (struct timespec): Replace __snseconds_t with
43368 __syscall_slong_t.
43369 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43370 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43371 Likewise.
43372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43373 (__SNSECONDS_T_TYPE): Likewise.
43374 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43375 (__SNSECONDS_T_TYPE): Likewise.
43376 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43377 (__SNSECONDS_T_TYPE): Likewise.
43378
6af6528b
L
433792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43380
43381 * sysdeps/mach/hurd/bits/typesizes.h
43382 (__SYSCALL_SLONG_TYPE): New macro.
43383 (__SYSCALL_ULONG_TYPE): Likewise.
43384
de986b56
L
433852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43386
43387 * bits/types.h (__syscall_slong_t): New type.
43388 (__syscall_ulong_t): Likewise.
43389
43390 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43391 (__SYSCALL_ULONG_TYPE): Likewise.
43392 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43393 (__SYSCALL_SLONG_TYPE): Likewise.
43394 (__SYSCALL_ULONG_TYPE): Likewise.
43395 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43396 (__SYSCALL_SLONG_TYPE): Likewise.
43397 (__SYSCALL_ULONG_TYPE): Likewise.
43398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43399 (__SYSCALL_SLONG_TYPE): Likewise.
43400 (__SYSCALL_ULONG_TYPE): Likewise.
43401
85736dc7
L
434022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43403
43404 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43405 Add sigaltstack-offsets.sym.
43406 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43407 <sigaltstack-offsets.h>.
43408 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43409 longjmp_msg pointer.
43410 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43411 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43412 signal stack.
43413 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43414
cc03b296
JM
434152012-05-15 Joseph Myers <joseph@codesourcery.com>
43416
a9538892
JM
43417 * elf/stackguard-macros.h: Remove file.
43418 * sysdeps/generic/stackguard-macros.h: New file.
43419 * sysdeps/i386/stackguard-macros.h: Likewise.
43420 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43421 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43422 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43423 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43424 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43425 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43426 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43427 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43428 <elf/stackguard-macros.h>.
43429
cc03b296
JM
43430 [BZ #14109]
43431 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43432 __aligned__ in attribute.
43433 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43434 (gregset_t): Likewise.
43435
93171016
L
434362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43437
43438 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43439 * sysdeps/x86_64/64/Implies-after: Here. New file.
43440 * sysdeps/x86_64/x32/Implies-after: New file.
43441
d86813a0
L
434422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43443
43444 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43445 and access return value for _dl_profile_fixup. Use R10_LP to
43446 load frame size.
43447
2953ec75
L
434482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43449
43450 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43451
3b550e9e
L
434522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43453
43454 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43455 * sysdeps/x86_64/x32/sysdep.h: New file.
43456
eda41706
L
434572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43458
43459 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43460 * sysdeps/x86_64/setjmp.S: Likewise.
43461
9ea01d93
AZ
434622012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43463
43464 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43465 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43466 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43467 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43468 remove unused global constant.
43469
02a91938
CM
434702012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43471
43472 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43473 include of <not-cancel.h>.
43474
6540185f
RM
434752012-05-15 Roland McGrath <roland@hack.frob.com>
43476
43477 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43478
509072a0
AJ
434792012-05-15 Jeff Law <law@redhat.com>
43480 Andreas Jaeger <aj@suse.de>
43481
43482 [BZ #13594]
43483 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43484 out from...
43485 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43486 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43487 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43488 code changing __hst_map_handle.map.
43489
ba75122d
RM
434902012-05-15 Roland McGrath <roland@hack.frob.com>
43491
43492 * configure.in (sysnames): Look for Implies-before and Implies-after
43493 files.
43494 * configure: Regenerated.
43495
890d8bd8
L
434962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43497
43498 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43499 8-byte data alignment with LP_SIZE alignment.
43500
f6ee6623
L
435012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43502
43503 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43504 into R10_LP.
43505
ea2626f6
L
435062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43507
43508 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43509
085f715e
L
435102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43511
43512 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43513 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43514 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43515 Likewise.
43516 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43517
be8498fc
L
435182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43519
43520 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43521 (stackinfo_sub_sp): Likewise.
43522
70bc83b9
L
435232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43524
43525 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43526 RAX_LP.
43527
9bc0b730
L
435282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43529
43530 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43531 into R*_LP.
43532
6d2850e7
L
435332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43534
43535 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43536 sizes into R*_LP.
43537
3cb84561
L
435382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43539
43540 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43541
54e2ed81
L
435422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43543
43544 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43545 into R11_LP and load __x86_64_shared_cache_size_half into
43546 R8_LP.
43547
8a17f349
L
435482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43549
43550 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43551 R8_LP.
43552
777b1eea
AZ
435532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43554
43555 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43556 logb for POWER7.
43557 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43558 logbf for POWER7.
43559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43560 logbl for POWER7.
43561 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43562 powerpc32/power7/fpu/s_logb.c via #include.
43563 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43564 powerpc32/power7/fpu/s_logbf.c via #include.
43565 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43566 powerpc32/power7/fpu/s_logbl.c via #include.
43567
d20d4ac2
JM
435682012-05-15 Joseph Myers <joseph@codesourcery.com>
43569
43570 * README.libm: Remove file.
43571
6cdef1ab
L
435722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43573
43574 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43575 count for x32. Use R*_LP and omit operand-size suffix.
43576
0b254d8f
L
435772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43578
43579 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43580 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43581 * sysdeps/x86_64/x32/shlib-versions: New file.
43582
ceb809dc
RM
435832012-05-14 Roland McGrath <roland@hack.frob.com>
43584
43585 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43586 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43587 Use _dl_fatal_printf instead.
43588
37f1abd4
JM
435892012-05-14 Joseph Myers <joseph@codesourcery.com>
43590
43591 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43592 set if not set by the user. Do not allow for being unset.
43593 * sysdeps/unix/sysv/linux/configure: Regenerated.
43594
11de3a33
L
435952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43596
43597 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43598 the `q' suffix from lea and replace .quad with ASM_ADDR.
43599
e02f153a
L
436002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43601
43602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43603 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43604 instead of $17.
43605 (PTR_DEMANGLE): Likewise.
43606
520ae0fd
L
436072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43608
43609 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43610 (LP_OP): Likewise.
43611 (ASM_ADDR): Likewise.
43612 (RAX_LP): Likewise.
43613 (RBP_LP): Likewise.
43614 (RBX_LP): Likewise.
43615 (RCX_LP): Likewise.
43616 (RDI_LP): Likewise.
43617 (RSI_LP): Likewise.
43618 (RSP_LP): Likewise.
43619 (R8_LP): Likewise.
43620 (R9_LP): Likewise.
43621 (R10_LP): Likewise.
43622 (R10_LP): Likewise.
43623 (R11_LP): Likewise.
43624 (R12_LP): Likewise.
43625 (R13_LP): Likewise.
43626 (R14_LP): Likewise.
43627 (R15_LP): Likewise.
43628
b985be81
L
436292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43630
43631 * sysdeps/x86_64/x32/dl-machine.h: New file.
43632
6a4888ff
AJ
436332012-05-14 Andreas Jaeger <aj@suse.de>
43634
43635 * manual/Makefile (subdir): Remove export of subdir.
43636 (all): Remove target.
43637 (.PHONY): Remove all from list.
43638 (mkinstalldirs): Remove.
43639 (.PHONY): Remove installdirs from list.
43640 ($(inst_infodir)/libc.info): Use make-target-directory.
43641 (installdirs): Remove.
43642 (subdir_%): Remove.
43643 (glibc-targets): Remove.
43644 (lib): Remove.
43645 (stubs): Remove.
43646 ($(objpfx)stubs ../po/manual.pot): Remove.
43647 ($(objpfx)stamp%): Remove.
43648 (make-target-directory): Remove.
43649 (subdir_install): Remove.
43650 (routines): Remove.
43651 (aux): Remove.
43652 (sources): Remove.
43653 (objects): Remove.
43654 (headers): Remove.
43655
43656 [BZ #13750]
43657 * manual/.gitignore: Remove, it's not needed anymore.
43658 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43659 all files in it.
43660 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43661 directory.
43662 (texis): Renamed to $(objpfx)texis.
43663 (texis-path): New, contains path to generated files.
43664 (chapters.%): Use texis-path for complete path, add extra argument
43665 libc-texinfo.sh.
43666 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43667 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43668 (summary,texi, stamp-summary): Use complete path of
43669 files. Generate files in build dir.
43670 (dir-add.texi): Build in build dir.
43671 (libm-err.texi,stamp-libm-err): Likewise.
43672 (version.texi, stamp-version): Likewise.
43673 (.%c.texi): Likewise.
43674 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43675 (mostlyclean): Remove target.
43676 (realclean): Remove target.
43677 (generated): Add new variable with contents from mostlyclean and
43678 realclean, remove entries duplicated in common-mostlyclean, add
43679 stamp-libm-err and stamp-version.
43680 (generated-dirs): Add libc directory.
43681 ($(inst_infodir)/libc.info): Install files from build dir.
43682
43683 * manual/install.texi (Configuring and compiling): Adjust since
43684 the info files are not part of the tar ball anymore.
43685
7ac77294
AJ
436862012-05-14 Andreas Jaeger <aj@suse.de>
43687
43688 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43689 variable.
43690
ffb7875d
JM
436912012-05-14 Joseph Myers <joseph@codesourcery.com>
43692
43693 [BZ #13717]
43694 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43695 to 2.2.0 where earlier.
43696 * sysdeps/unix/sysv/linux/configure: Regenerated.
43697 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43698 Remove conditional code.
43699 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43700 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43701 Remove conditional code.
43702 [!__NR_lchown]: Likewise.
43703 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43704 [__NR_lchown]: Likewise.
43705 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43706 comment referencing __ASSUME_LCHOWN_SYSCALL.
43707 * sysdeps/unix/sysv/linux/i386/sigaction.c
43708 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43709 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43710 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43711 Remove conditional code.
43712 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43713 (__protocol_available): Remove #if 0 code.
43714 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43715 conditional code.
43716 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43717 * sysdeps/unix/sysv/linux/kernel-features.h
43718 (__ASSUME_GETCWD_SYSCALL): Don't define.
43719 (__ASSUME_REALTIME_SIGNALS): Likewise.
43720 (__ASSUME_PREAD_SYSCALL): Likewise.
43721 (__ASSUME_PWRITE_SYSCALL): Likewise.
43722 (__ASSUME_POLL_SYSCALL): Likewise.
43723 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43724 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43725 non-SPARC.
43726 (__ASSUME_SIOCGIFNAME): Don't define.
43727 (__ASSUME_MSG_NOSIGNAL): Likewise.
43728 (__ASSUME_SENDFILE): Define unconditionally.
43729 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43730 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43731 conditional code.
43732 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43733 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43734 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43735 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43736 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43737 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43738 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43743 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43744 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43749 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43750 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43752 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43755 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43756 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43758 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43761 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43762 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43763 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43764 Remove conditional code.
43765 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43766 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43767 Remove conditional code.
43768 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43769 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43770 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43771 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43772 Remove conditional code.
43773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43774 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43775 Remove conditional code.
43776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43777 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43778 Remove conditional code.
43779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43780 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43781 Remove conditional code.
43782 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43783 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43784 Remove conditional code.
43785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43786 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43787 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43788 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43789 * sysdeps/unix/sysv/linux/sigaction.c
43790 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43791 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43792 * sysdeps/unix/sysv/linux/sigpending.c
43793 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43794 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43795 * sysdeps/unix/sysv/linux/sigprocmask.c
43796 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43797 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43798 * sysdeps/unix/sysv/linux/sigsuspend.c
43799 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43800 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43801 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43802 (__libc_missing_rt_sigs): Remove.
43803 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43804 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43805 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43806 Remove conditional code.
43807 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43808 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43809 return 1.
43810 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43811 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43812 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43813 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43814
1bfb7291
AJ
438152012-05-14 Andreas Jaeger <aj@suse.de>
43816
caae5a81
AJ
43817 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43818 it's not used in glibc.
43819 (__coshm1): Likewise.
43820 (__acosh1p): Likewise.
43821 (__sgn): Likewise.
43822
1bfb7291
AJ
43823 * manual/string.texi (Copying and Concatenation): Add missing
43824 variable in concat example.
43825 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43826
c044d724
L
438272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43828
144c5467 43829 [BZ #14103]
c044d724
L
43830 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43831 __builtin_clzl with __builtin_clzll.
43832
2523c62b
L
438332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43834
43835 [BZ #14104]
43836 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43837 libc_freeres_ptr.
43838
d7bb4c42
LD
438392012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43840
43841 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43842 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43843 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43844 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43845
9dc4e1fb
MF
438462012-05-14 Mike Frysinger <vapier@gentoo.org>
43847
43848 * NEWS: Update ia64 info.
43849
c7df0112
AS
438502012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43851
43852 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43853 used as bcopy.
43854
dc70356c
TS
438552012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43856
43857 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43858 * sysdeps/unix/syscalls.list (dup3): Likewise.
43859 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43860 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43861
9fb1a21f
L
438622012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43863
43864 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43865 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43866
4822a2a5
L
438672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43868
43869 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43870 thread pointer.
43871 (TLS_IE): Use mov/add instead of movq/addq to load thread
43872 pointer.
43873 (TLS_GD_PREFIX): New.
43874 (TLS_GD): Use it.
43875
842b81d6
DM
438762012-05-11 David S. Miller <davem@davemloft.net>
43877
43878 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43879 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43880 (_FPU_SETCW): Likewise.
43881
1cf463cd
L
438822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43883
43884 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43885 is 32-byte aligned.
43886
60cc4a18
AS
438872012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43888
43889 [BZ #11837]
43890 * iconvdata/gb18030.c: Update tables.
43891 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43892 characters specially.
43893 (BODY for TO_LOOP): Add encoding of missing ranges.
43894
febb44a4
TS
438952012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43896
43897 [BZ #13673]
43898 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43899 * sysdeps/mach/hurd/dup3.c: Likewise.
43900 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43901 * sysdeps/powerpc/memmove.c:: Likewise.
43902
0a10fb9e
L
439032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43904
43905 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43906 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43907
df8a552f
L
439082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43909
43910 * elf/elf.h (R_X86_64_RELATIVE64): New.
43911 (R_X86_64_NUM): Updated.
43912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43913 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43914 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43915 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43916 tst-quad1pie tst-quad2pie
43917 (modules-names): Add tst-quadmod1 tst-quadmod2.
43918 ($(objpfx)tst-quad1): New dependency.
43919 ($(objpfx)tst-quad2): Likewise.
43920 ($(objpfx)tst-quad1pie): Likewise.
43921 ($(objpfx)tst-quad2pie): Likewise.
43922 * sysdeps/x86_64/tst-quad1.c: New file.
43923 * sysdeps/x86_64/tst-quad1pie.c: New file.
43924 * sysdeps/x86_64/tst-quad2.c: Likewise.
43925 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43926 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43927 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43928 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43929 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43930
f34d6f84
ST
439312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43932
f42d41d1
ST
43933 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43934 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43935 * streams/stropts.h (t_scalar_t): Define type.
43936
3c3571fc
ST
43937 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43938 (_PATH_PRESERVE): Set to "/var/lib".
43939 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43940
61f06bd3
ST
43941 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43942 instead of int.
43943
918d4d71
ST
43944 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43945 if __dir_mkfile succeeded.
43946
f34d6f84
ST
43947 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43948 checking for _hurd_dtablesize. Unlock it right after having
43949 finished _hurd_dtable allocation.
43950
10589b4a
TS
439512012-05-10 Thomas Schwinge <thomas@schwinge.name>
43952
674cdbc7
TS
43953 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43954 * sysdeps/mach/hurd/configure: Regenerated.
43955 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43956 special-casing to...
43957 * sysdeps/gnu/configure.in: ... this new file.
43958 * sysdeps/unix/sysv/linux/configure: Regenerated.
43959 * sysdeps/gnu/configure: New generated file.
43960
8e41b99f
TS
43961 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43962 for Linux: use nsec instead of usec, as well as:
43963 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43964 members of type struct timespec.
43965 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43966 New macros.
43967 (struct stat64): Likewise.
43968 (_STATBUF_ST_NSEC): New macro.
43969 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43970
10589b4a
TS
43971 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43972 __strtoul_internal rather than strtoul.
43973
63643c85
PT
439742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43975
43976 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43977 and reject them.
43978
3faebe6a
ST
439792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43980
43981 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43982 which preserves existing values.
43983 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43984
c6474b07
PT
439852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43986
43987 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43988 TIMEOUT values. Return EINVAL for NFDS values either negative or
43989 greater than FD_SETSIZE.
43990
1043890b
ST
439912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43992
43993 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43994 allocated, call __vm_protect to finish enabling the existing space, and
43995 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43996 allocate the remainder.
43997
37ed8b9b
PT
439982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43999
44000 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44001 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44002
db653660
ST
440032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44004
37ed8b9b
PT
44005 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44006 sysdeps/mach/hurd/readlink.c.
b29d4053 44007
db653660
ST
44008 * posix/tst-sysconf.c (posix_options): Only use
44009 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44010 _POSIX_SYNCHRONIZED_IO when they are defined
44011 * sysdeps/mach/hurd/bits/posix_opt.h:
44012 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44013 (_XOPEN_REALTIME): Undefine macro.
44014 (_XOPEN_REALTIME_THREADS): Undefine macro.
44015 (_XOPEN_SHM): Undefine macro.
44016 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44017 macro to -1.
44018 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44019 macro to -1.
44020 (_POSIX_ASYNC_IO): Undefine macro.
44021 (_POSIX_PRIORITIZED_IO): Undefine macro.
44022 (_POSIX_SPIN_LOCKS): Define macro to -1.
44023
ee16e894
ST
44024 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44025 SA_NODEFER, SA_RESETHAND.
44026 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44027 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44028 F_DUPFD_CLOEXEC.
44029
6103ae3b
TS
440302012-05-10 Thomas Schwinge <thomas@schwinge.name>
44031
44032 * elf/Makefile (pldd-modules): Define unconditionally.
44033
80b4e5f3
TS
440342012-05-10 Thomas Schwinge <thomas@schwinge.name>
44035
44036 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44037
edadcbd6
ST
440382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44039
44040 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44041 Return ENOENT when name is empty.
44042 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44043
80694780
TS
440442012-05-10 Thomas Schwinge <thomas@schwinge.name>
44045
1792c087
TS
44046 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44047
80694780
TS
44048 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44049
6b645f0d
ST
440502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44051
80694780
TS
44052 Fix mlock in all cases except non-readable pages.
44053 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44054 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44055
6b645f0d
ST
44056 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44057 (__mkdir): When path is `/', just fail with EEXIST.
44058 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44059
e468f8a3
TS
440602012-05-10 Thomas Schwinge <thomas@schwinge.name>
44061
44062 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44063 <sys/uio.h> (for writev).
44064 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44065 and <sys/param.h> (for MIN).
44066
a4186cff
PT
440672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44068
44069 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44070 REQUESTED_TIME. Properly set the remaining time and return EINTR
44071 if interrupted.
44072
510bbf14
TS
440732012-05-10 Thomas Schwinge <thomas@schwinge.name>
44074
44075 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44076 Depend on against $(link-rpcuserlibs).
44077
5d5722e8
ST
440782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44079
a4186cff
PT
44080 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44081 (__libc_stack_end): Do not use attribute_relro.
44082 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44083 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44084 to libthread-provided value.
a4186cff
PT
44085 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44086 attribute_relro.
5d5722e8 44087
37233df9
TS
440882012-05-10 Thomas Schwinge <thomas@schwinge.name>
44089
be971a2b
TS
44090 [BZ #3748]
44091 * bits/libc-lock.h (__libc_once_get): New macro.
44092 * sysdeps/mach/bits/libc-lock.h: Likewise.
44093 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44094 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44095 instead of using implementation details.
44096
37233df9
TS
44097 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44098 * libio/freopen.c: Likewise.
44099 * libio/freopen64.c: Likewise.
44100 * misc/syslog.c: Likewise.
44101 * nscd/connections.c: Likewise.
44102 * nscd/netgroupcache.c: Likewise.
44103 * sysdeps/posix/getcwd.c: Likewise.
44104
38de94a5
RM
441052012-05-10 Roland McGrath <roland@hack.frob.com>
44106
44107 * math/w_ilogbf.c: Add #include <limits.h>.
44108
67530489
ST
441092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44110
a4186cff 44111 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44112 path instead of returning without unlocking.
44113
67530489
ST
44114 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44115 immediate-write ioctls.
44116 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44117
5aa3a74a
TS
441182012-05-10 Thomas Schwinge <thomas@schwinge.name>
44119
18bad2ae
TS
44120 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44121 __builtin_frame_address instead of making assumptions about the
44122 location of the return address relative to DATA. Force early load of
44123 the return address.
44124 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44125 __builtin_frame_address.
44126
5aa3a74a
TS
44127 dup3 for GNU Hurd.
44128 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44129 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44130 implement dup3 and do some further code clean-ups.
44131 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44132 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44133
ecd0de9a
ST
441342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44135
cd9fa985
ST
44136 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44137
a4186cff
PT
44138 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44139 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44140 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44141 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44142 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44143 d->port.lock.
802ca5a5 44144
a4186cff
PT
44145 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44146 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44147 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44148
bcf55240
TS
441492012-05-10 Thomas Schwinge <thomas@schwinge.name>
44150
6960eb42
TS
44151 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44152 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44153 definitions.
44154
eb43375f
TS
44155 accept4 for GNU Hurd.
44156 * include/sys/socket.h (__libc_accept4): New prototype.
44157 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44158 to implement __libc_accept4.
44159 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44160 __libc_accept4.
44161 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44162
bcf55240
TS
44163 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44164 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44165 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44166 signal-defines.sym.
44167
6178c55b
ST
441682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44169
a4186cff 44170 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44171
6f080c2f
TS
441722012-05-10 Thomas Schwinge <thomas@schwinge.name>
44173
44174 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44175 assertion on O_CLOEXEC flag.
44176 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44177 * hurd/intern-fd.c: Likewise.
44178 * hurd/port2fd.c: Likewise.
44179
bcfe3a54
ST
441802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44181
44182 [BZ #3906]
44183 * bits/in.h (IPV6_PKTINFO): Define new macro.
44184 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44185
89c9aa49
AZ
441862012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44187
44188 [BZ #13954]
44189 [BZ #13955]
44190 [BZ #13956]
44191 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44192 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44193 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44194 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44195 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44196 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44197 * math/libm-test.inc (logb_test) : Additional logb tests.
44198
021db4be
AJ
441992012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44200 Andreas Jaeger <aj@suse.de>
44201
44202 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44203 * configure: Regenerated.
44204 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44205 * config.make.in (link-obsolete-rpc): New substituted variable.
44206 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44207 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44208 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44209 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44210 so that libc.a contains the symbols.
44211 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44212 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44213 * sunrpc/auth_none.c: Likewise.
44214 * sunrpc/auth_unix.c: Likewise.
44215 * sunrpc/authdes_prot.c: Likewise.
44216 * sunrpc/authuxprot.c: Likewise.
44217 * sunrpc/clnt_gen.c: Likewise.
44218 * sunrpc/clnt_perr.c: Likewise.
44219 * sunrpc/clnt_raw.c: Likewise.
44220 * sunrpc/clnt_simp.c: Likewise.
44221 * sunrpc/clnt_tcp.c: Likewise.
44222 * sunrpc/clnt_udp.c: Likewise.
44223 * sunrpc/clnt_unix.c: Likewise.
44224 * sunrpc/des_crypt.c: Likewise.
44225 * sunrpc/des_soft.c: Likewise.
44226 * sunrpc/get_myaddr.c: Likewise.
44227 * sunrpc/key_call.c: Likewise.
44228 * sunrpc/key_prot.c: Likewise.
44229 * sunrpc/netname.c: Likewise.
44230 * sunrpc/pm_getmaps.c: Likewise.
44231 * sunrpc/pm_getport.c: Likewise.
44232 * sunrpc/pmap_clnt.c: Likewise.
44233 * sunrpc/pmap_prot.c: Likewise.
44234 * sunrpc/pmap_prot2.c: Likewise.
44235 * sunrpc/pmap_rmt.c: Likewise.
44236 * sunrpc/publickey.c: Likewise.
44237 * sunrpc/rpc_cmsg.c: Likewise.
44238 * sunrpc/rpc_common.c: Likewise.
44239 * sunrpc/rpc_dtable.c: Likewise.
44240 * sunrpc/rpc_prot.c: Likewise.
44241 * sunrpc/rpc_thread.c: Likewise.
44242 * sunrpc/rtime.c: Likewise.
44243 * sunrpc/svc.c: Likewise.
44244 * sunrpc/svc_auth.c: Likewise.
44245 * sunrpc/svc_raw.c: Likewise.
44246 * sunrpc/svc_run.c: Likewise.
44247 * sunrpc/svc_tcp.c: Likewise.
44248 * sunrpc/svc_udp.c: Likewise.
44249 * sunrpc/svc_unix.c: Likewise.
44250 * sunrpc/svcauth_des.c: Likewise.
44251 * sunrpc/xcrypt.c: Likewise.
44252 * sunrpc/xdr.c: Likewise.
44253 * sunrpc/xdr_array.c: Likewise.
44254 * sunrpc/xdr_float.c: Likewise.
44255 * sunrpc/xdr_intXX_t.c: Likewise.
44256 * sunrpc/xdr_mem.c: Likewise.
44257 * sunrpc/xdr_rec.c: Likewise.
44258 * sunrpc/xdr_ref.c: Likewise.
44259 * sunrpc/xdr_sizeof.c: Likewise.
44260 * sunrpc/xdr_stdio.c: Likewise.
44261
b5c086a2
RM
442622012-05-10 Roland McGrath <roland@hack.frob.com>
44263
44264 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44265 change. Update copyright years.
44266
6d74dd09
JM
442672012-05-10 Joseph Myers <joseph@codesourcery.com>
44268
44269 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44270
28e72501
MK
442712012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44272 Joseph Myers <joseph@codesourcery.com>
44273 Paul Pluzhnikov <ppluzhnikov@google.com>
44274
44275 [BZ #14012]
44276 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44277 requiring rpcgen.
44278 [cross-compiling] (extra-libs): Likewise.
44279 [cross-compiling] (extra-libs-others): Likewise.
44280 [cross-compiling] (librpcsvc-routines): Likewise.
44281 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44282 [cross-compiling] (omit-deps): Likewise.
44283 (sunrpc-CPPFLAGS): New variable.
44284 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44285 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44286 (cross-rpcgen-objs): New variable.
44287 (extra-objs): Append $(cross-rpcgen-objs).
44288 ($(cross-rpcgen-objs)): New rule.
44289 ($(objpfx)cross-rpcgen): Likewise.
44290 (rpcgen-cmd): Define to use $(built-program-file). Expand
44291 comment.
44292 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44293 ($(objpfx)x%.stmp): Likewise.
44294 * sunrpc/proto.h [IS_IN_build] (_): Define.
44295 [IS_IN_build] (_libc_intl_domainname): Likewise.
44296
c8c59454
L
442972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44298
44299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44300 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44301 and R_X86_64_TPOFF64.
44302
6f27cd16
JM
443032012-05-10 Joseph Myers <joseph@codesourcery.com>
44304
44305 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44306 sysdeps/unix/sysv/syscalls.list.
44307 (stime): Likewise.
44308 (utime): Likewise.
44309 * sysdeps/unix/sysv/syscalls.list: Remove file.
44310
02467e1c
PE
443112012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44312
44313 [BZ #3440]
44314 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44315 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44316 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44317 (__LC_IDENTIFICATION): Make these macros useful in #if
44318 expressions, as required by C99.
44319
da392631
AS
443202012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44321
44322 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44323 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44324 after this.
44325
8115f29b
L
443262012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44327
44328 * stdlib/longlong.h: Updated from GCC.
44329
bdd74070
AJ
443302012-05-09 Andreas Jaeger <aj@suse.de>
44331
edfe0dbe
AJ
44332 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44333 default is first entry.
44334 (run_mode): Set type.
44335 (main): Remove informal message about syslog.
44336 (options): Fix typo.
44337
bcfe3a54
ST
44338 [BZ #14053]
44339 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44340 to asm.
bcfe3a54
ST
44341 (lrint): Likewise.
44342 (llrintf): Likewise.
44343 (llrint): Likewise.
44344 (rint): Likewise.
44345 (rintf): Likewise.
44346 (nearbyint): Likewise.
44347 (nearbyintf): Likewise.
bdd74070 44348
91d8d69e
AJ
443492012-05-09 Andreas Jaeger <aj@suse.de>
44350 Pedro Alves <palves@redhat.com>
44351
44352 * nscd/nscd.c (run_mode): Use enum.
44353 (main): Cleanup coding style issue.
44354
bb90b80b
AJ
443552012-05-09 Alexandre Oliva <aoliva@redhat.com>
44356 Andreas Jaeger <aj@suse.de>
44357
bcfe3a54
ST
44358 * nscd/nscd.c (go_background): Replaced with...
44359 (run_mode): ... this.
bb90b80b 44360 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44361 (options): Add -F --foreground.
44362 (main): Implement it.
44363 (parse_opt): Parse it.
bb90b80b 44364
1a4b75a1
AJ
443652012-05-09 Andreas Jaeger <aj@suse.de>
44366
44367 [BZ #14083]
44368 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44369 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44370 -Wconversion warning.
44371 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44372 Likewise.
44373
b1cc2472
JM
443742012-05-09 Joseph Myers <joseph@codesourcery.com>
44375
44376 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44377 == 0.
44378 (LC_ALL): Use macro-int-constant.
44379 (LC_COLLATE): Likewise.
44380 (LC_CTYPE): Likewise.
44381 (LC_MESSAGES): Likewise.
44382 (LC_MONETARY): Likewise.
44383 (LC_NUMERIC): Likewise.
44384 (LC_TIME): Likewise.
44385 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44386 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44388 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44389 Specify type.
44390 [C99-based standards] (float_t): Expect type.
44391 [C99-based standards] (double_t): Expect type.
44392 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44393 type.
44394 [C99-based standards] (HUGE_VALL): Likewise.
44395 [C99-based standards] (INFINITY): Likewise.
44396 [C99-based standards] (NAN): Likewise.
44397 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44398 [C99-based standards] (FP_NAN): Likewise.
44399 [C99-based standards] (FP_NORMAL): Likewise.
44400 [C99-based standards] (FP_SUBNORMAL): Likewise.
44401 [C99-based standards] (FP_ZERO): Likewise.
44402 [C99-based standards] (FP_FAST_FMA): Use
44403 optional-macro-int-constant. Specify type. Require == 1.
44404 [C99-based standards] (FP_FAST_FMAF): Likewise.
44405 [C99-based standards] (FP_FAST_FMAL): Likewise.
44406 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44407 [C99-based standards] (FP_ILOGBNAN): Likewise.
44408 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44409 Specify type.
44410 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44411 [C99-based standards] (math_errhandling): Specify type.
44412 [ISO99 || ISO11] (signgam): Do not allow.
44413 [non-C99-based standards] (copysignf): Do not allow.
44414 [non-C99-based standards] (exp2f): Likewise.
44415 [non-C99-based standards] (log2f): Likewise.
44416 [non-C99-based standards] (modff): Allow.
44417 [non-C99-based standards] (erff): Do not allow.
44418 [non-C99-based standards] (erfcf): Likewise.
44419 [non-C99-based standards] (gammaf): Likewise.
44420 [non-C99-based standards] (hypotf): Likewise.
44421 [non-C99-based standards] (j0f): Likewise.
44422 [non-C99-based standards] (j1f): Likewise.
44423 [non-C99-based standards] (jnf): Likewise.
44424 [non-C99-based standards] (lgammaf): Likewise.
44425 [non-C99-based standards] (tgammaf): Likewise.
44426 [non-C99-based standards] (y0f): Likewise.
44427 [non-C99-based standards] (y1f): Likewise.
44428 [non-C99-based standards] (ynf): Likewise.
44429 [non-C99-based standards] (isnanf): Likewise.
44430 [non-C99-based standards] (acoshf): Likewise.
44431 [non-C99-based standards] (asinhf): Likewise.
44432 [non-C99-based standards] (atanhf): Likewise.
44433 [non-C99-based standards] (cbrtf): Likewise.
44434 [non-C99-based standards] (expm1f): Likewise.
44435 [non-C99-based standards] (ilogbf): Likewise.
44436 [non-C99-based standards] (log1pf): Likewise.
44437 [non-C99-based standards] (logbf): Likewise.
44438 [non-C99-based standards] (nextafterf): Likewise.
44439 [non-C99-based standards] (remainderf): Likewise.
44440 [non-C99-based standards] (rintf): Likewise.
44441 [non-C99-based standards] (scalbf): Likewise.
44442 [non-C99-based standards] (copysignl): Likewise.
44443 [non-C99-based standards] (exp2l): Likewise.
44444 [non-C99-based standards] (log2l): Likewise.
44445 [non-C99-based standards] (modfl): Allow.
44446 [non-C99-based standards] (erfl): Do not allow.
44447 [non-C99-based standards] (erfcl): Likewise.
44448 [non-C99-based standards] (gammal): Likewise.
44449 [non-C99-based standards] (hypotl): Likewise.
44450 [non-C99-based standards] (j0l): Likewise.
44451 [non-C99-based standards] (j1l): Likewise.
44452 [non-C99-based standards] (jnl): Likewise.
44453 [non-C99-based standards] (lgammal): Likewise.
44454 [non-C99-based standards] (tgammal): Likewise.
44455 [non-C99-based standards] (y0l): Likewise.
44456 [non-C99-based standards] (y1l): Likewise.
44457 [non-C99-based standards] (ynl): Likewise.
44458 [non-C99-based standards] (isnanl): Likewise.
44459 [non-C99-based standards] (acoshl): Likewise.
44460 [non-C99-based standards] (asinhl): Likewise.
44461 [non-C99-based standards] (atanhl): Likewise.
44462 [non-C99-based standards] (cbrtl): Likewise.
44463 [non-C99-based standards] (expm1l): Likewise.
44464 [non-C99-based standards] (ilogbl): Likewise.
44465 [non-C99-based standards] (log1pl): Likewise.
44466 [non-C99-based standards] (logbl): Likewise.
44467 [non-C99-based standards] (nextafterl): Likewise.
44468 [non-C99-based standards] (remainderl): Likewise.
44469 [non-C99-based standards] (rintl): Likewise.
44470 [non-C99-based standards] (scalbl): Likewise.
44471 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44472 [non-C99-based standards] (FP_*): Do not allow.
44473 [C99-based standards] (FP_*): Change to
44474 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44475 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44476 allow.
44477 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44478 (SIG_ERR): Likewise.
44479 [X/Open-based standards] (SIG_HOLD): Likewise.
44480 (SIG_IGN): Likewise.
44481 (SIGABRT): Use macro-int-constant. Specify type. Require
44482 positive value.
44483 (SIGFPE): Likewise.
44484 (SIGILL): Likewise.
44485 (SIGINT): Likewise.
44486 (SIGSEGV): Likewise.
44487 (SIGTER): Likewise.
44488 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44489 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44490 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44491 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44492 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44493 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44494 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44495 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44496 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44497 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44498 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44499 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44500 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44501 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44502 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44503 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44504 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44505 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44506 [X/Open-based standards] (SIGTRAP): Likewise.
44507 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44508 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44509 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44510 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44511 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44512 allow.
44513
b9f1922d
IW
445142012-05-08 Ian Wienand <ianw@vmware.com>
44515
44516 [BZ #14080]
44517 * time/tzset.c (__tzset_parse_tz): Update default rules for
44518 daylight time changes in the Energy Policy Act of 2005.
44519
1db86e88
AJ
445202012-05-09 Andreas Jaeger <aj@suse.de>
44521
44522 [BZ #13983]
44523 * elf/ldconfig.c (parse_conf): Change string to make clear that
44524 ldconfig only issued a warning if ld.so.conf does not exist.
44525
dee4a4e3
DM
445262012-05-08 David S. Miller <davem@davemloft.net>
44527
ee0db190
DM
44528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44529 movxtod instead of popping the value on the stack.
44530
dee4a4e3
DM
44531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44532
6a43ec98
CD
445332012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44534
44535 * config.h.in: Add HAVE_ARM_PCS_VFP.
44536
05c2c961
RMG
445372012-05-08 Roland Mc Grath <roland@hack.frob.com>
44538
bcfe3a54
ST
44539 [BZ #13979]
44540 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44541 checking but the checks are disabled for any reason.
05c2c961 44542
4b30f61a
L
445432012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44544
44545 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44546 and ELF64_R_TYPE with ELFW(R_TYPE).
44547
eee2bc67
JM
445482012-05-08 Joseph Myers <joseph@codesourcery.com>
44549
7ea5391a
JM
44550 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44551 (ulimit): Likewise.
44552
eee2bc67
JM
44553 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44554 (settimeofday): Likewise.
44555
abb66a67
MF
445562012-05-08 Mike Frysinger <vapier@gentoo.org>
44557
44558 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44559 a struct th_u2 inside the union, and move tu_block/tu_code into
44560 a new th_u3 union of tu_block/tu_code inside of that. Move
44561 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44562 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44563 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44564 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44565 (th_stuff): Change to th_u1.tu_stuff.
44566 (th_data): Define.
44567 (th_msg): Change to th_u1.th_u2.tu_data.
44568
7f18b530
DM
445692012-05-07 David S. Miller <davem@davemloft.net>
44570
05760585
DM
44571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44572
7f18b530
DM
44573 [BZ #14074]
44574 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44575 (SETUP_PIC_REG): Use it.
44576 (SETUP_PIC_REG_LEAF): Use it.
44577
495fd99f
JM
445782012-05-07 Joseph Myers <joseph@codesourcery.com>
44579
44580 [BZ #13885]
44581 [BZ #13923]
44582 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44583 USE_AS_EXPM1L.
44584 (EXPL_FINITE): Likewise.
44585 (FLDLOG): Likewise.
44586 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44587 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44588 e_expl.S.
44589 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44590 USE_AS_EXPM1L.
44591 (EXPL_FINITE): Likewise.
44592 (FLDLOG): Likewise.
44593 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44594 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44595 e_expl.S.
44596 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44597 test of -max_value argument for long double.
44598 * sysdeps/i386/fpu/libm-test-ulps: Update.
44599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44600
6693d694
DM
446012012-05-06 David S. Miller <davem@davemloft.net>
44602
44603 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44604 quad soft-float symbols whose references which are compiler
44605 generated.
44606 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44607
6c23e11c
JM
446082012-05-06 Joseph Myers <joseph@codesourcery.com>
44609
d8b82cad
JM
44610 [BZ #13884]
44611 [BZ #13914]
44612 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44613 USE_AS_EXP10L.
44614 (EXPL_FINITE): Likewise.
44615 (FLDLOG): Likewise.
44616 (c0): Likewise.
44617 (c1): Likewise.
44618 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44619 Adjust comments for base varying.
44620 (__expl_finite): Change alias to EXPL_FINITE.
44621 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44622 e_expl.S.
44623 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44624 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44625 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44626 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44627 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44628 USE_AS_EXP10L.
44629 (EXPL_FINITE): Likewise.
44630 (FLDLOG): Likewise.
44631 (c0): Likewise.
44632 (c1): Likewise.
44633 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44634 Adjust comments for base varying.
44635 (__expl_finite): Change alias to EXPL_FINITE.
44636 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44637 tests for bugs.
44638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44639
6c23e11c
JM
44640 [BZ #14064]
44641 * math/libm-test.inc (check_float_internal): Correct ulp
44642 calculation for subnormal expected results.
44643
29ba805c
AJ
446442012-05-06 Andreas Jaeger <aj@suse.de>
44645
44646 * Makeconfig (+math-flags): New, set to -frounding-math.
44647 (+cflags): Add +math-flags so that all of glibc gets compiled with
44648 it.
44649
44650 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44651
7b17aeda
JM
446522012-05-05 Joseph Myers <joseph@codesourcery.com>
44653
5779f134
JM
44654 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44655 Disable one test.
44656
41498f4d
JM
44657 [BZ #13787]
44658 [BZ #13922]
44659 [BZ #14036]
44660 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44661 (__ieee754_expl): Allow for and saturate large arguments.
44662 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44663 (u_threshold): Likewise.
44664 (__exp): Call __ieee754_exp before checking for overflow and
44665 underflow.
44666 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44667 (u_threshold): Likewise.
44668 (__expf): Call __ieee754_expf before checking for overflow and
44669 underflow.
44670 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44671 (u_threshold): Likewise.
44672 (__expl): Call __ieee754_expl before checking for overflow and
44673 underflow.
44674 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44675 (__ieee754_expl): Allow for and saturate large arguments.
44676 * math/libm-test.inc (exp_test): Add another test. Do not allow
44677 missing overflow exception on overflow.
44678 (expm1_test): Do not allow missing overflow exception on overflow.
44679
6698b8bf
JM
44680 * sysdeps/i386/fpu/e_expl.c: Move to ...
44681 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44682 rather than using inline asm.
44683 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44684 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44685 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44686
7b17aeda
JM
44687 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44688 (nice): Likewise.
44689 (poll): Likewise.
44690 (signal): Likewise.
44691 (time): Likewise.
44692 (times): Likewise.
44693
f7c85819
JM
446942012-05-04 Joseph Myers <joseph@codesourcery.com>
44695
44696 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44697 sysdeps/unix/common/syscalls.list.
44698 (fchmod): Likewise.
44699 (fchown): Likewise.
44700 (ftruncate): Likewise.
44701 (getrusage): Likewise.
44702 (gettimeofday): Likewise.
44703 (setpgid): Likewise.
44704 (setregid): Likewise.
44705 (setreuid): Likewise.
44706 (sigaction): Likewise.
44707 (truncate): Likewise.
44708 (vhangup): Likewise.
44709 * sysdeps/unix/common/syscalls.list: Remove file.
44710 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44711 * sysdeps/unix/sysv/linux/Implies: Likewise.
44712
336270d0
L
447132012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44714
44715 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44717 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44718 Moved to ...
44719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44720 Here.
44721 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44722 to ...
44723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44724 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44725 to ...
44726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44727 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44728 to ...
44729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44730 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44731 to ...
44732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44733 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44734 to ...
44735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44736 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44737 to ...
44738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44739 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44740 to ...
44741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44742 Here.
44743 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44744 to ...
44745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44746 Here.
44747 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44748 to ...
44749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44750 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44751 Moved to ...
44752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44753 Here.
44754 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44755 to ...
44756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44757
d128e450
JM
447582012-05-04 Joseph Myers <joseph@codesourcery.com>
44759
fa8ee516
JM
44760 * sysdeps/unix/common/bits/dirent.h: Remove file.
44761 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44762
d128e450
JM
44763 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44764 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44765 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44766 * sysdeps/unix/bsd/isatty.c: Likewise.
44767 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44768 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44769 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44770
ff8faaf0 447712012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44772
62881be4 44773 [BZ #13563]
31dc8730
AZ
44774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44775 long double comparison inaccuracies.
44776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44778
6fef930c
AS
447792012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44780
44781 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44782 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44783
8f203e6c
JM
447842012-05-04 Joseph Myers <joseph@codesourcery.com>
44785
44786 [BZ #14049]
44787 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44788 nonzero digits before rounding a hex value.
44789 * stdlib/tst-strtod.c (tests): Add another test.
44790
5197d9c2
AK
447912012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44792
44793 * sysdeps/s390/fpu/libm-test-ulps: Update.
44794
f0c1dedf
AJ
447952012-05-03 Andreas Jaeger <aj@suse.de>
44796
44797 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44798 does not get optimized out.
44799 (malloc_opt_barrier): New.
44800
a65ef2ae 448012012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44802 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44803
2b942cb7 44804 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44805 intermediate file deletion.
2b942cb7 44806 (generated): Add .symlist files.
a65ef2ae 44807
54b71e02
JM
448082012-05-03 Joseph Myers <joseph@codesourcery.com>
44809
44810 [BZ #13775]
44811 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44812 Redirect under this condition.
44813 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44814 [__USE_GNU] (__dprintf_chk): Not under this condition.
44815 [__USE_GNU] (__vdprintf_chk): Likewise.
44816 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44817 under this condition.
44818 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44819 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44820 [__USE_XOPEN2K8] (vdprintf): Likewise.
44821 [__USE_GNU] (__dprintf_chk): Not under this condition.
44822 [__USE_GNU] (__vdprintf_chk): Likewise.
44823 [__USE_GNU] (dprintf): Likewise.
44824 [__USE_GNU] (vdprintf): Likewise.
44825
d3dfcc41
RM
448262012-05-03 Roland McGrath <roland@hack.frob.com>
44827
44828 * elf/Makefile (common-generated): Set this instead of generated for
44829 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44830 $(all-built-dso)-derived lists.
44831
7ac30cc5
AJ
448322012-05-03 Andreas Jaeger <aj@suse.de>
44833
0c51e550
AJ
44834 * sysdeps/i386/fpu/libm-test-ulps: Update.
44835
7ac30cc5
AJ
44836 * FAQ: Removed.
44837 * FAQ.in: Likewise.
44838 * scripts/gen-FAQ.pl: Likewise.
44839 * manual/install.texi (Installation): Point to online location of
44840 FAQ.
44841 * Makefile (files-for-dist): Remove FAQ.
44842 (FAQ): Remove.
44843
d4c2917f
AM
448442012-05-02 Allan McRae <allan@archlinux.org>
44845
44846 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44847 (LDFLAGS-reldepmod5.so): Likewise.
44848 (LDFLAGS-reldep6mod1.so): Likewise.
44849 (LDFLAGS-reldep6mod4.so): Likewise.
44850 (LDFLAGS-reldep8mod3.so): Likewise.
44851 (LDFLAGS-unload4mod1.so): Likewise.
44852 (LDFLAGS-unload4mod2.so): Likewise.
44853 (LDFLAGS-tst-initorder): Likewise.
44854 (LDFLAGS-tst-initordera2.so): Likewise.
44855 (LDFLAGS-tst-initordera3.so): Likewise.
44856 (LDFLAGS-tst-initordera4.so): Likewise.
44857 (LDFLAGS-tst-initorderb2.so): Likewise.
44858 (LDFLAGS-noload): Likewise.
44859 (LDFLAGS-next): Likewise.
44860 (LDFLAGS-order2mod1.so): Likewise.
44861 (LDFLAGS-order2mod2.so): Likewise.
44862 (LDFLAGS-tst-initorder2): Likewise.
44863 (LDFLAGS-tst-initorder2a.so): Likewise.
44864 (LDFLAGS-tst-initorder2b.so): Likewise.
44865 (LDFLAGS-tst-initorder2c.so): Likewise.
44866 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44867
d77f993f
DM
448682012-05-02 David S. Miller <davem@davemloft.net>
44869
44870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44871
171a70b4
PP
448722012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44873
44874 [BZ #14055]
44875 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44876
0be196ad
AJ
448772012-05-02 Andreas Jaeger <aj@suse.de>
44878
44879 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44880 since we manipulate rounding mode.
44881 (CPPFLAGS-test-idouble.c): Likewise.
44882 (CPPFLAGS-test-ifloat.c): Likewise.
44883 (CFLAGS-test-ldouble.c): Likewise.
44884 (CFLAGS-test-double.c): Likewise.
44885 (CFLAGS-test-float.c): Likewise.
44886 (CFLAGS-test-misc.c): Likewise.
44887 (CFLAGS-test-test-fenv.c): Likewise.
44888
4f9d04aa
AZ
448892012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44890
2b942cb7
RM
44891 [BZ #2550]
44892 [BZ #2570]
44893 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44894 comparisons to determine direction to adjust input.
4f9d04aa 44895
82a79e7d
RM
448962012-05-01 Roland McGrath <roland@hack.frob.com>
44897
f5a01ca9
RM
44898 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44899 output to the target.
44900
90fe4186
RM
44901 * scripts/localplt.awk: New file.
44902 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44903 (check-localplt-CFLAGS): Variable removed.
44904 ($(all-built-dso:=.jmprel)): New static pattern rule.
44905 (generated): Add those targets.
44906 (localplt-built-dso): New variable.
44907 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44908
44909 * elf/check-localplt.c: File removed.
44910
82397ed6
RM
44911 * scripts/check-execstack.awk: New file.
44912 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44913 (check-execstack-CFLAGS): Variable removed.
44914 ($(objpfx)check-execstack.h): Target removed.
44915 ($(objpfx)execstack-default): New target.
44916 (generated): Add that instead of check-execstack.h.
44917 ($(all-built-dso:=.phdr)): New static pattern rule.
44918 (generated): Add those targets.
44919 * elf/check-execstack.c: File removed.
44920
82a79e7d
RM
44921 * scripts/check-textrel.awk: New file.
44922 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44923 (check-textrel-CFLAGS): Variable removed.
44924 (all-built-dso): Use := to define.o
44925 ($(all-built-dso:=.dyn)): New static pattern rule.
44926 (generated): Add those targets.
44927 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44928 * config.make.in (READELF): New substituted variable.
44929 * elf/check-textrel.c: File removed.
44930
62fde54f 449312012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44932
615605c9
JM
44933 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44934 allow.
44935 * conform/data/ctype.h-data [C99-based standards] (isblank):
44936 Expect function.
44937 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44938 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44939 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44940 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44941 Specify type. Require positive value.
44942 (EILSEQ): Likewise.
44943 (ERANGE): Likewise.
44944 [ISO || POSIX] (EILSEQ): Do not expect.
44945 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44946 Specify type. Require positive value.
44947 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44948 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44949 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44950 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44951 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44952 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44953 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44954 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44955 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44956 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44957 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44958 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44959 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44960 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44961 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44962 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44963 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44964 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44965 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44966 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44967 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44968 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44969 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44970 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44971 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44972 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44973 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44974 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44975 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44976 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44977 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44978 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44979 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44980 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44981 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44982 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44983 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44984 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44985 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44986 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44987 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44988 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44989 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44990 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44991 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44992 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44993 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44994 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44995 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44996 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44997 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44998 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44999 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45000 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45001 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45002 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45003 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45004 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45005 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45006 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45007 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45008 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45009 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45010 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45011 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45012 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45013 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45014 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45015 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45016 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45017 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45018 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45019 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45020 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45021 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45022 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45023 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45024 Require >= 2.
45025 (FLT_ROUNDS): Expect as macro, not constant.
45026 (FLT_MANT_DIG): Use macro-int-constant.
45027 (DBL_MANT_DIG): Likewise.
45028 (LDBL_MANT_DIG): Likewise.
45029 (FLT_DIG): Likewise.
45030 (DBL_DIG): Likewise.
45031 (LDBL_DIG): Likewise.
45032 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45033 (DBL_MIN_EXP): Likewise.
45034 (LDBL_MIN_EXP): Likewise.
45035 (FLT_MAX_EXP): Use macro-int-constant.
45036 (DBL_MAX_EXP): Likewise.
45037 (LDBL_MAX_EXP): Likewise.
45038 (FLT_MAX_10_EXP): Likewise.
45039 (DBL_MAX_10_EXP): Likewise.
45040 (LDBL_MAX_10_EXP): Likewise.
45041 (FLT_MAX): Use macro-constant.
45042 (DBL_MAX): Likewise.
45043 (LDBL_MAX): Likewise.
45044 (FLT_EPSILON): Use macro-constant. Give upper bound.
45045 (DBL_EPSILON): Likewise.
45046 (LDBL_EPSILON): Likewise.
45047 (FLT_MIN): Likewise.
45048 (DBL_MIN): Likewise.
45049 (LDBL_MIN): Likewise.
45050 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45051 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45052 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45053 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45054 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45055 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45056 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45057 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45058 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45059 [ISO11] (FLT_TRUE_MIN): Likewise.
45060 [ISO11] (LDBL_TRUE_MIN): Likewise.
45061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45062 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45063 (SCHAR_MIN): Use macro-int-constant. Specify type.
45064 (SCHAR_MAX): Likewise.
45065 (UCHAR_MAX): Likewise.
45066 (CHAR_MIN): Likewise.
45067 (CHAR_MAX): Likewise.
45068 (MB_LEN_MAX): Use macro-int-constant.
45069 (SHRT_MIN): Use macro-int-constant. Specify type.
45070 (SHRT_MAX): Likewise.
45071 (USHRT_MAX): Likewise.
45072 (INT_MAX): Likewise.
45073 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45074 bound negative.
45075 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45076 bound with "U".
45077 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45078 bound with "L".
45079 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45080 bound negative. Suffix upper bound with "L".
45081 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45082 bound with "UL".
45083 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45084 Specify type.
45085 [C99-based standards] (LLONG_MAX): Likewise.
45086 [C99-based standards] (ULLONG_MAX): Likewise.
45087 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45088 == 0.
45089 [ISO11] (max_align_t): Require type.
45090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45091
c9140a62
JM
45092 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45093 from $CFLAGS, without defining away __attribute__ calls.
45094 (checknamespace): Use $CFLAGS_namespace.
45095
9af0bf29
JM
45096 * conform/conformtest.pl (@keywords): Only include C99 keywords
45097 for standards based on C99 or C11.
45098
343222a2
JM
45099 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45100 Disable tests.
45101 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45102 UNIX98]: Likewise.
45103
661f8cf0
JM
45104 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45105 usability of symbols in #if.
45106
ee74b9cb
JM
45107 * conform/conformtest.pl: If macro or constant types start
45108 "promoted:", expect the symbol to be of the following type
45109 promoted by the integer promotions.
62fde54f 45110
aafc49b3
JM
45111 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45112 in one place. Also handle "macro-constant".
45113
fefdf574
JM
45114 * conform/conformtest.pl: Only accept expected macro values with
45115 "==". Parse all "macro" lines in one place.
45116 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45117
f2d922fe
JM
45118 * conform/conformtest.pl: Handle braced types on "constant" lines
45119 instead of handling "typed-constant".
45120 * conform/data/signal.h-data: Use "constant" instead of
45121 "typed-constant".
45122
d22956c9
JM
45123 * conform/conformtest.pl: Handle "optional-" at start of lines in
45124 one place rather than duplicating several cases. Handle each
45125 format of "macro" line with initial "optional-".
45126
028e2e38
JM
45127 * conform/conformtest.pl: Only accept expected constant or
45128 optional-constant values with "==". Parse all "constant" lines in
45129 one place. Parse all "optional-constant" lines in one place.
45130 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45131 * conform/data/fmtmsg.h-data: Likewise.
45132 * conform/data/netinet/in.h-data: Likewise.
45133 * conform/data/tar.h-data: Likewise.
45134 * conform/data/limits.h-data: Use "==" form on "constant" and
45135 "optional-constant" lines.
45136
1b8f2850
JM
45137 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45138 Use -std=c99 for XOPEN2K.
45139 (@knownproblems): Remove.
45140 (newtoken): Don't check %isknown.
45141
a05a144b
JM
45142 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45143 Do not expect macro.
45144 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45145 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45146 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45147 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45148 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45149 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45150 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45151 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45152 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45153 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45154 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45155 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45156 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45157 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45158 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45159 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45160 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45161 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45162 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45163 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45164 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45165 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45166 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45167 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45168 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45169 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45170 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45171 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45172 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45173 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45174 [XPG3] (acosh): Likewise.
45175 [XPG3] (asinh): Likewise.
45176 [XPG3] (atanh): Likewise.
45177 [XPG3] (cbrt): Likewise.
45178 [XPG3] (expm1): Likewise.
45179 [XPG3] (ilogb): Likewise.
45180 [XPG3] (log1p): Likewise.
45181 [XPG3] (logb): Likewise.
45182 [XPG3] (nextafter): Likewise.
45183 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45184 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45185 [XPG3] (remainder): Likewise.
45186 [XPG3] (rint): Likewise.
45187 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45188 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45189 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45190 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45191 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45192 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45193 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45194 [UNIX98 || XOPEN2K] (scalb): Expect.
45195 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45196 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45197 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45198 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45199 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45200 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45201 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45202 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45203 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45204 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45205 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45206 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45207 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45208 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45209 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45210 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45211 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45212 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45213 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45214 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45215 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45216 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45217 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45218 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45219 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45220 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45221 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45222 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45223 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45224 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45225 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45226 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45227 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45228 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45229 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45230 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45231 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45232 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45233 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45234 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45235 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45236 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45237 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45238 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45239 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45240 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45241 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45242 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45243 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45244 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45245 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45246 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45247 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45248 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45249 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45250 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45251 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45252 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45253 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45254 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45255 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45256 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45257 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45258 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45259 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45260 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45261 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45262 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45263 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45264 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45265 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45266 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45267 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45268 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45269 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45270 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45271 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45272 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45273 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45274 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45275 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45276 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45277 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45278 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45279 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45280 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45281 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45282 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45283 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45284 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45285 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45286 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45287 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45288 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45289 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45290 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45291 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45292 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45293 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45294 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45295 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45296 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45297 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45298 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45299 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45300 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45301 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45302 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45303 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45304 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45305 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45306 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45307 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45308 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45309 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45310 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45311 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45312 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45313 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45314 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45315 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45316 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45317 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45318 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45319 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45320 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45321 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45322 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45323 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45324 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45325 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45326 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45327 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45328 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45329 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45330 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45331 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45332
73c5ebe3
JM
45333 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45334 _XOPEN_SOURCE_EXTENDED for XPG4.
45335
39c33b6c
JM
45336 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45337
62fde54f
JM
45338 * Makeconfig (localtime): Remove variable.
45339 (inst_localtime-file): Likewise.
45340
0741d64c
AS
453412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45342
45343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45344 Update.
45345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45346 Update.
45347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45348 Update.
45349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45350 Update.
45351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45352 Update.
45353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45354 Update.
45355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45356 Update.
45357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45358 Update.
45359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45360 Update.
45361
7cb029ee
JM
453622012-05-01 Joseph Myers <joseph@codesourcery.com>
45363
45364 [BZ #2550]
45365 [BZ #2570]
45366 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45367 comparisons to determine direction to adjust input.
45368 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45369 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45370 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45371 Likewise.
45372 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45373 Likewise.
45374 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45375 Likewise.
45376 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45377 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45378 Likewise.
45379 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45380 Likewise.
45381 * math/libm-test.inc (nexttoward_test): Add more tests.
45382
412bd966
AS
453832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45384
45385 [BZ #14040]
45386 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45387 in version GLIBC_2.1, not GLIBC_2.0.
45388 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45389 Likewise.
45390
9568c0c2
JM
453912012-04-30 Joseph Myers <joseph@codesourcery.com>
45392
adfbc8ac
JM
45393 [BZ #13942]
45394 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45395 (1 - x) * (1 + x).
45396 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45397 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45398 * math/libm-test.inc (acos_test): Add more tests.
45399 (asin_test): Likewise.
45400 * sysdeps/i386/fpu/libm-test-ulps: Update.
45401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45402
5ba3cc69
JM
45403 [BZ #14034]
45404 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45405 of square root.
45406 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45407 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45408 * math/libm-test.inc (acos_test_tonearest): New function.
45409 (acos_test_towardzero): Likewise.
45410 (acos_test_downward): Likewise.
45411 (acos_test_upward): Likewise.
45412 (asin_test_tonearest): Likewise.
45413 (asin_test_towardzero): Likewise.
45414 (asin_test_downward): Likewise.
45415 (asin_test_upward): Likewise.
45416 (main): Call the new functions.
45417 * sysdeps/i386/fpu/libm-test-ulps: Update.
45418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45419
9568c0c2
JM
45420 [BZ #13884]
45421 [BZ #13924]
45422 * math/e_exp10.c: Include <float.h>.
45423 (__ieee754_exp10): Handle underflow here rather than multiplying
45424 large negative argument by M_LN10.
45425 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45426 of __ieee754_expf.
45427 * math/e_exp10l.c: Include <float.h>.
45428 (__ieee754_exp10l): Handle underflow here rather than multiplying
45429 large negative argument by M_LN10l.
45430 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45431 spurious overflow exception on underflow.
45432
5ac3ea17
MP
454332012-04-29 Marek Polacek <polacek@redhat.com>
45434
45435 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45436 (__fortify_function): New macro.
45437 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45438 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45439 __extern_always_inline.
45440 * libio/bits/stdio2.h: Likewise.
45441 * libio/bits/stdio.h: Likewise.
45442 * string/string.h: Likewise.
45443 * string/bits/string3.h: Likewise.
45444 * include/stdio.h: Likewise.
45445 * stdlib/bits/stdlib.h: Likewise.
45446 * stdlib/stdlib.h: Likewise.
45447 * rt/bits/mqueue2.h: Likewise.
45448 * rt/mqueue.h: Likewise.
45449 * posix/bits/unistd.h: Likewise.
45450 * posix/unistd.h: Likewise.
45451 * io/bits/poll2.h: Likewise.
45452 * io/bits/fcntl2.h: Likewise.
45453 * io/fcntl.h: Likewise.
45454 * io/sys/poll.h: Likewise.
45455 * misc/bits/syslog.h: Likewise.
45456 * misc/bits/syslog-ldbl.h: Likewise.
45457 * misc/sys/syslog.h: Likewise.
45458 * socket/bits/socket2.h: Likewise.
45459 * socket/sys/socket.h: Likewise.
45460 * debug/tst-chk1.c: Likewise.
45461 * wcsmbs/bits/wchar2.h: Likewise.
45462 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45463 * wcsmbs/wchar.h: Likewise.
45464
ecf0ebfb
AJ
454652012-04-29 Andreas Jaeger <aj@suse.de>
45466
45467 * Makerules (tests): Remove enable-check-abi protection.
45468 (check-abi-warn): Remove.
45469 (check-abi-%): Remove check-abi-warn usage.
45470
45471 * configure.in: Remove check-abi configure option.
45472 * configure: Regenerated.
45473 * config.make.in (enable-check-abi): Remove.
45474
6d5c57fa
AS
454752012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45476
24c5d07e 45477 [BZ #14033]
ded5180a
AS
45478 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45479 double functions to double *_finite functions.
45480
7e0d315d
AS
45481 [BZ #13941]
45482 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45483 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45484 LDBL_MIN_EXP.
45485 * stdio-common/Makefile (tests): Add tst-sprintf3.
45486 * stdio-common/tst-sprintf3.c: New file.
45487
6d5c57fa
AS
45488 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45489 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45490
0749ff8b
JM
454912012-04-28 Joseph Myers <joseph@codesourcery.com>
45492
45493 * conform/conformtest.pl: Remove duplicate typed-constant
45494 handling.
45495
8dbd5d7b
DM
454962012-04-28 David S. Miller <davem@davemloft.net>
45497
45498 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45499 (check-abi-%): Remove AWK script prerequisite and explicit
45500 abilist directory.
45501 (check-abi): Rewrite to just diff the symlist with the abilist.
45502 (config-tls, config-abi-config): Delete, no longer used.
45503 (update-abi-%): Remove AWK script and explicit abilist directory.
45504 (update-abi): Rewrite to simply compare and conditionally copy the
45505 symlist and the sysdep abilist file. Remove update-abi-config
45506 checks.
45507 * abilist/ld.abilist: Remove.
45508 * abilist/libBrokenLocale.abilist: Remove.
45509 * abilist/libanl.abilist: Remove.
45510 * abilist/libcrypt.abilist: Remove.
45511 * abilist/libdl.abilist: Remove.
45512 * abilist/librt.abilist: Remove.
45513 * abilist/libthread_db.abilist: Remove.
45514 * abilist/libutil.abilist: Remove.
45515 * scripts/extract-abilist.awk: Remove.
45516 * scripts/merge-abilist.awk: Remove.
45517 * sysdeps/generic/libcidn.abilist: New file.
45518 * sysdeps/generic/libnss_compat.abilist: New file.
45519 * sysdeps/generic/libnss_db.abilist: New file.
45520 * sysdeps/generic/libnss_dns.abilist: New file.
45521 * sysdeps/generic/libnss_files.abilist: New file.
45522 * sysdeps/generic/libnss_hesiod.abilist: New file.
45523 * sysdeps/generic/libnss_nis.abilist: New file.
45524 * sysdeps/generic/libnss_nisplus.abilist: New file.
45525 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45526 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45527 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45528 file.
45529 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45530 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45531 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45532 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45533 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45534 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45535 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45536 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45537 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45538 file.
45539 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45540 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45541 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45542 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45543 file.
45544 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45545 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45546 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45547 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45548 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45549 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45550 file.
45551 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45552 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45553 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45554 file.
45555 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45557 New file.
45558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45559 New file.
45560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45561 New file.
45562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45563 New file.
45564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45565 New file.
45566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45567 New file.
45568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45569 New file.
45570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45571 New file.
45572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45573 New file.
45574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45575 New file.
45576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45577 New file.
45578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45579 New file.
45580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45581 New file.
45582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45583 file.
45584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45585 New file.
45586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45587 New file.
45588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45589 file.
45590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45591 New file.
45592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45593 New file.
45594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45595 file.
45596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45597 New file.
45598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45599 New file.
45600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45601 New file.
45602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45603 New file.
45604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45605 New file.
45606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45607 New file.
45608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45610 file.
45611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45612 New file.
45613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45614 file.
45615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45616 file.
45617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45618 file.
45619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45620 file.
45621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45622 file.
45623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45624 New file.
45625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45626 file.
45627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45628 file.
45629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45630 New file.
45631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45632 file.
45633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45635 file.
45636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45637 New file.
45638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45639 file.
45640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45641 file.
45642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45643 file.
45644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45645 file.
45646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45647 file.
45648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45649 New file.
45650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45651 file.
45652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45653 file.
45654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45655 New file.
45656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45657 file.
45658 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45659 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45660 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45661 file.
45662 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45663 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45664 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45665 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45666 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45667 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45668 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45669 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45670 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45671 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45674 file.
45675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45676 New file.
45677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45678 file.
45679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45680 file.
45681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45682 file.
45683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45684 file.
45685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45686 file.
45687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45688 New file.
45689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45690 New file.
45691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45692 file.
45693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45694 New file.
45695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45696 file.
45697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45699 file.
45700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45701 New file.
45702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45703 file.
45704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45705 file.
45706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45707 file.
45708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45709 file.
45710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45711 file.
45712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45713 New file.
45714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45715 New file.
45716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45717 file.
45718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45719 New file.
45720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45721 file.
45722
41d73a1b
JM
457232012-04-28 Joseph Myers <joseph@codesourcery.com>
45724
45725 * conform/conformtest.pl: Fix typo in handling typed-constant from
45726 allow-header.
45727
28aeeda4
JM
457282012-04-27 Joseph Myers <joseph@codesourcery.com>
45729
adae8f5e
JM
45730 * README: Cut down references to pre-2.6 Linux kernels and
45731 Linuxthreads. Update lists of configurations in libc and ports
45732 and sort alphabetically. Say "or newer" with Linux kernel version
45733 requirements.
45734
28aeeda4
JM
45735 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45736
a462cb63
RA
457372012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45738
45739 [BZ #887]
45740 * math/libm-test.inc (logb_test_downward): New test to expose
45741 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45742 rounding mode.
45743
6ad3493e
JM
457442012-04-27 Joseph Myers <joseph@codesourcery.com>
45745
45746 [BZ #14027]
45747 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45748 to be done.
45749 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45750 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45751
2ce4f015
JM
457522012-04-26 Joseph Myers <joseph@codesourcery.com>
45753
5aeb141a
JM
45754 * sysdeps/unix/i386/brk.S: Remove file.
45755 * sysdeps/unix/i386/dl-brk.S: Likewise.
45756 * sysdeps/unix/i386/pipe.S: Likewise.
45757 * sysdeps/unix/i386/sigreturn.S: Likewise.
45758 * sysdeps/unix/i386/syscall.S: Likewise.
45759 * sysdeps/unix/i386/vfork.S: Likewise.
45760 * sysdeps/unix/i386/wait.S: Likewise.
45761
7143acae
JM
45762 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45763 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45764
2ce4f015
JM
45765 * configure.in (arm*-none*): Do not allow without
45766 --enable-hacker-mode.
45767 (netbsd*): Remove case setting base_os.
45768 (386bsd*): Likewise.
45769 (freebsd*): Likewise.
45770 (bsdi*): Likewise.
45771 (osf*): Likewise.
45772 (sunos*): Likewise.
45773 (ultrix*): Likewise.
45774 (newsos*): Likewise.
45775 (dynix*): Likewise.
45776 (*bsd*): Likewise.
45777 (sysv*): Likewise.
45778 (isc*): Likewise.
45779 (esix*): Likewise.
45780 (sco*): Likewise.
45781 (minix*): Likewise.
45782 (irix4*): Likewise.
45783 (irix6*): Likewise.
45784 (solaris[2-9]*): Likewise.
45785 (none): Likewise.
45786 * configure: Regenerated.
45787
0ac229c8
AZ
457882012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45789
45790 [BZ #11521]
45791 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45792 overflow or cancellation in calculating denominator.
45793 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45794 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45795 down expression to avoid unexpected rounding in newer GCCs.
45796 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45797
33f244f4
DM
457982012-04-26 David S. Miller <davem@davemloft.net>
45799
45800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45801 long-double compat symbols.
45802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45815
cfa1f3e8
DM
458162012-04-25 David S. Miller <davem@davemloft.net>
45817
45818 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45819 HWCAP_* values only after the memory barriers have been defined.
45820 (atomic_full_barrier): Define.
45821 (atomic_read_barrier): Define.
45822 (atomic_write_barrier): Define.
45823
6e236b92
SP
458242012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45825
45826 * shlib-versions: Add libgcc_s version information.
45827 * sysdeps/generic/libgcc_s.h: Remove.
45828 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45829 libgcc_s.h.
45830 * sysdeps/gnu/unwind-resume.c: Likewise.
45831 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45832
aab39a09
DM
458332012-04-25 David S. Miller <davem@davemloft.net>
45834
45835 * sysdeps/unix/sparc/brk.S: Delete.
45836 * sysdeps/unix/sparc/dl-brk.S: Delete.
45837 * sysdeps/unix/sparc/pipe.S: Delete.
45838 * sysdeps/unix/sparc/sysdep.S: Delete.
45839 * sysdeps/unix/sparc/sysdep.h: Delete.
45840 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45841 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45842 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45843 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45844 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45845 (JUMPTARGET): Remove.
45846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45847 sysdeps/unix/sparc/sysdep.h
45848 (ENTRY, END): Remove.
45849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45850
a3cc4f48
JM
458512012-04-25 Joseph Myers <joseph@codesourcery.com>
45852
2ed8cda2
JM
45853 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45854 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45855 -DIS_IN_build.
45856
35d76d59
JM
45857 * timezone/README: Update upstream location and email address for
45858 tzcode and tzdata.
45859 * timezone/zdump.c: Update from tzcode 2012b.
45860 * timezone/zic.c: Likewise.
45861
a3cc4f48
JM
45862 * configure.in (libc_cv_as_needed): Remove test.
45863 * configure: Regenerated.
45864 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45865 conditional definition.
45866 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45867 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45868 * config.make.in (have-as-needed): Remove variable.
45869
ceab42c3
SP
458702012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45871 Paul Pluzhnikov <ppluzhnikov@google.com>
45872
45873 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45874 strings correctly.
45875
3ce2865f
CLT
458762012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45877
45878 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45879 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45880 * sysdeps/sh/strlen.S: Likewise.
45881
f37e0d68
JM
458822012-04-24 Joseph Myers <joseph@codesourcery.com>
45883
ae186e9a
JM
45884 * sysdeps/unix/fork.S: Remove file.
45885 * sysdeps/unix/i386/fork.S: Likewise.
45886 * sysdeps/unix/sparc/fork.S: Likewise.
45887
b96914af
JM
45888 * sysdeps/unix/system.c: Remove file.
45889 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45890
f37e0d68
JM
45891 * sysdeps/unix/getegid.S: Remove file.
45892 * sysdeps/unix/geteuid.S: Likewise.
45893
87ef29ca
RM
458942012-04-24 Roland McGrath <roland@hack.frob.com>
45895
83bcd236
RM
45896 * scripts/check-localplt.awk: New file.
45897 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45898 of diff.
45899 * scripts/data/localplt-generic.data: Add a comment.
45900
87ef29ca
RM
45901 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45902 NODE when __dir_mkfile failed.
45903 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45904 Reported by Ludovic Courtès <ludo@gnu.org>.
45905
e5a6e567
AJ
459062012-04-24 Andreas Jaeger <aj@suse.de>
45907
45908 * Makerules (common-clean): Also remove gen-as-const-headers
45909 files.
45910
c1820385
JM
459112012-04-24 Joseph Myers <joseph@codesourcery.com>
45912
45913 * Makerules (native-compile): Do not change working directory for
45914 build. Use $(OUTPUT_OPTION) in command.
45915 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45916
94e02fc4
AZ
459172012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45918
45919 [BZ #13886]
45920 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45921 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45922 * math/libm-test.inc (floor_test): Add more tests.
45923 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45924
3a533ca3
JM
459252012-04-24 Joseph Myers <joseph@codesourcery.com>
45926
940ab4b3
JM
45927 * sysdeps/unix/getdents.c: Remove file.
45928 * sysdeps/unix/sysv/getdents.c: Likewise.
45929 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45930
90e037bd
JM
45931 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45932 sysdeps/unix/mman/syscalls.list.
45933 (mmap): Likewise.
45934 (mprotect): Likewise.
45935 (msync): Likewise.
45936 (munmap): Likewise.
45937 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45938 * sysdeps/unix/mman/syscalls.list: Remove.
45939 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45940
3a533ca3
JM
45941 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45942 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45943 * configure: Regenerated.
45944 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45945 $(libgcc_s_suffix).
45946 * config.make.in (libgcc_s_suffix): Remove variable.
45947
1ad743de
JM
459482012-04-23 Joseph Myers <joseph@codesourcery.com>
45949
4ad451e2
JM
45950 * sysdeps/unix/sysv/gethostname.c: Move to ...
45951 * sysdeps/posix/gethostname.c: ... here.
45952
5e37ce39
JM
45953 * sysdeps/unix/execve.S: Remove file.
45954
1ad743de
JM
45955 * sysdeps/unix/_exit.S: Remove file.
45956
4e681b5b
AJ
459572012-04-23 Andreas Jaeger <aj@suse.de>
45958
45959 [BZ #13739]
45960 * manual/Makefile: Remove make dist support, there's no
45961 need for a stand-alone documentation tar ball.
45962 (TEXI2DVI): Define always, it's not in Makeconfig.
45963 (dist): Removed.
45964 (tar-it): Removed.
45965 (edition): Removed.
45966 (glibc-doc-$(edition).tar): Removed
45967 (%.Z): Removed.
45968 (%.gz): Removed.
45969 (%.uu): Removed.
45970 (ETAGS): Remove, it's in Makeconfig.
45971 (move-if-change): Remove, it's in Makeconfig.
45972
38686a03 459732012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45974
45975 [BZ #13970]
45976 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45977 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45978 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45979 (strtod_l, strtof_l, strtold_l): Remove __wur.
45980 It is not necessarily an error to ignore strtol's return value.
45981 One can reliably look at the stored endptr to decide whether
45982 the number had valid syntax.
45983
7c0616fa
AJ
459842012-04-21 Andreas Jaeger <aj@suse.de>
45985
803cb6b7 45986 [BZ #13739]
7c0616fa
AJ
45987 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45988
b0fe253f
JM
459892012-04-21 Joseph Myers <joseph@codesourcery.com>
45990
45991 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45992 * sysdeps/unix/sysv/Versions: Remove file.
45993
8280f22d
MT
459942012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45995
45996 [BZ #13927]
45997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45998
75ce411f 459992012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46000
46001 [BZ #7064]
46002 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46003 version from __vm86.
46004
097d59fa
JM
460052012-04-20 Joseph Myers <joseph@codesourcery.com>
46006
a90f3bcb
JM
46007 * sysdeps/unix/common/lxstat.c: Remove file.
46008 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46009
edc7ea78
JM
46010 * sysdeps/unix/sysv/Makefile: Remove file.
46011
cb78c221
JM
46012 * sysdeps/unix/sysv/direct.h: Remove file.
46013
efa6a45f
JM
46014 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46015 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46016 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46017 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46018 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46019 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46020 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46021
9c9f2d0c
JM
46022 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46023
4541c83b
JM
46024 * sysdeps/unix/xmknod.c: Remove file.
46025 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46026
f5d153a0
JM
46027 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46028
aa746595
JM
46029 * sysdeps/unix/sysv/i386/time.S: Remove file.
46030
cce5905e
JM
46031 * sysdeps/unix/fxstat.c: Remove file.
46032 * sysdeps/unix/xstat.c: Likewise.
46033 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46034
37fa3841
JM
46035 * sysdeps/unix/sysv/sigaction.c: Remove file.
46036
ff1962a3
JM
46037 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46038 (sysdep_headers): Remove variable.
46039 [termio.h not in sysdep_headers] (generated): Likewise.
46040 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46041 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46042 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46043 * sysdeps/unix/sysv/tcflow.c: Likewise.
46044 * sysdeps/unix/sysv/tcflush.c: Likewise.
46045 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46046 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46047 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46048 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46049 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46050
e7740d31
JM
46051 * sysdeps/unix/siglist.c: Remove file.
46052
ee06f18b
JM
46053 * sysdeps/unix/getppid.S: Remove file.
46054
097d59fa
JM
46055 * sysdeps/unix/mkdir.c: Remove file.
46056 * sysdeps/unix/rmdir.c: Likewise.
46057
ff3d51ec
AS
460582012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46059
46060 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46061 ERR_MAX value.
46062 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46063 errlist-compat value.
46064
50f81fd7
DM
460652012-04-18 David S. Miller <davem@davemloft.net>
46066
46067 * sysdeps/generic/memcopy.h (reg_char): Delete.
46068 * debug/strcat_chk.c: Use char, not reg_char.
46069 * debug/strcpy_chk.c: Likewise.
46070 * debug/strncat_chk.c: Likewise.
46071 * debug/strncpy_chk.c: Likewise.
46072 * string/memchr.c: Likewise.
46073 * string/memrchr.c: Likewise.
46074 * string/rawmemchr.c: Likewise.
46075 * string/strcat.c: Likewise.
46076 * string/strchr.c: Likewise.
46077 * string/strchrnul.c: Likewise.
46078 * string/strcmp.c: Likewise.
46079 * string/strcpy.c: Likewise.
46080 * string/strncat.c: Likewise.
46081 * string/strncmp.c: Likewise.
46082 * string/strncpy.c: Likewise.
46083
8ff41c46
WS
460842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46085
46086 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46087 __builtin_memcopy is called when src and dest ranges are known to not
46088 overlap.
46089
6b652f46
WS
460902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46091
46092 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46093 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46094 fwd_align_merge macro call.
46095 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46096 bwd_align_merge macro call.
46097 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46098
b282631e
WS
460992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46100
46101 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46102 bwd_align_merge macros.
46103 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46104 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46105 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46106
95aa737c
DM
461072012-04-18 David S. Miller <davem@davemloft.net>
46108
46109 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46110
7a99a614
AJ
461112012-04-18 Andreas Jaeger <aj@suse.de>
46112
46113 [BZ# 6794]
46114 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46115 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46116 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46117
46118 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46119 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46120 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46121
46122 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46123 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46124 Adjust for changed ldbl-128 files.
46125
46126 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46127 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46128 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46129
e5270c23
DM
461302012-04-17 David S. Miller <davem@davemloft.net>
46131
46132 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46133
fb5e92c9
AS
461342012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46135
46136 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46137 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46138 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46139 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46140 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46141 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46142
76da7265
AZ
461432012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46144
46145 [BZ #6794]
46146 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46147 * math/libm-test.inc: Add ilogb errno and exception tests.
46148 * math/w_ilogb.c: New file: ilogb wrapper.
46149 * math/w_ilogbf.c: New file: ilogbf wrapper.
46150 * math/w_ilogbl.c: New file: ilogbl wrapper.
46151 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46152 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46153 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46154 exception being thrown with 0.0 as argument.
46155 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46156 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46157 exception being thrown with 0.0 as argument.
46158 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46159 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46160 exception being thrown with 0.0 as argument.
46161 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46162 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46163 exception being thrown with 0.0 as argument.
46164 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46165 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46166 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46167 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46168 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46169 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46170 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46171 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46172 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46173
0396e69d
PB
461742012-04-17 Petr Baudis <pasky@ucw.cz>
46175
46176 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46177 with altivec.
46178
750b5926
MP
461792012-04-16 Marek Polacek <polacek@redhat.com>
46180
46181 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46182
751728a1
MP
461832012-04-16 Marek Polacek <polacek@redhat.com>
46184
46185 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46186 operands of fdivp instruction.
46187
34a27407
L
461882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46189
46190 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46191 * elf/tst-auditmod3b.c: Likewise.
46192 * elf/tst-auditmod4b.c: Likewise.
46193 * elf/tst-auditmod5b.c: Likewise.
46194 * elf/tst-auditmod6b.c: Likewise.
46195 * elf/tst-auditmod6c.c: Likewise.
46196 * elf/tst-auditmod7b.c: Likewise.
46197 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46198 * sysdeps/x86_64/preconfigure.in: Likewise.
46199 * sysdeps/x86_64/preconfigure: Regenerated.
46200
7e73e17d
L
462012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46202
46203 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46204 __ILP32__.
46205
c7a6ab72
AB
462062012-04-13 Antoine Balestrat <merkil33@gmail.com>
46207
46208 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46209 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46210
a9e8e0e0
CL
462112012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46212
46213 [BZ #13973]
46214 * locale/iso-639.def: Fix gl language name. Spotted by
46215 Yaron Shahrabani.
46216
ec98af7d
RM
462172012-04-12 Roland McGrath <roland@hack.frob.com>
46218
46219 [BZ #2074]
46220 * libio/libio.h (__io_write_fn): Update comment.
46221
247c3ede
PB
462222012-04-12 Petr Baudis <pasky@ucw.cz>
46223
46224 [BZ #2074]
46225 * stdio.texi (Hook Functions): The user provided writer function
46226 is not allowed to return -1.
46227
55939d6d
DM
462282012-04-11 David S. Miller <davem@davemloft.net>
46229
46230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46231
90020f5a
MF
462322012-04-11 Mike Frysinger <vapier@gentoo.org>
46233
46234 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46235 Add a leading slash to rtkaio.
46236
288f9098
JM
462372012-04-11 Jim Meyering <meyering@redhat.com>
46238
90020f5a
MF
46239 [BZ #11959]
46240 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46241 It is not necessarily an error to ignore fwrite's return
46242 value. One can reliably use ferror to test for errors after
46243 the fact.
288f9098 46244
4be2b570
L
462452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46246
46247 * bits/types.h (__snseconds_t): New type.
46248 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46249
46250 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46251 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46252 (__SNSECONDS_T_TYPE): Likewise.
46253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46254 (__SNSECONDS_T_TYPE): Likewise.
46255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46256 (__SNSECONDS_T_TYPE): Likewise.
46257
288f9098 462582012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46259
46260 [BZ #2636]
46261 * manual/time.texi (Processor Time): Return type of times is
46262 elapsed real time since an arbitrary point in the past.
46263 (CPU Time): Move CLK_TCK from here...
46264 (Processor Time): ...to here. Correct description.
46265 * manual/conf.texi (Constants for Sysconf): Correct description of
46266 _SC_CLK_TCK.
46267
d7dd4413
DM
462682012-04-10 David S. Miller <davem@davemloft.net>
46269
46270 [BZ #13967]
46271 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46272 where the is a gap between DT_REL(A) and DT_JMPREL.
46273
b46068fc
L
462742012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46275
46276 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46277 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46278 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46279
73d65cc3
SP
462802012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46281
46282 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46283 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46284 (dl_main): Handle --inhibit-cache.
46285 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46286 _dl_inhibit_cache.
46287 * elf/dl-load.c (_dl_map_object): Use it.
46288 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46289
bcc8d661
JM
462902012-04-09 Joseph Myers <joseph@codesourcery.com>
46291
8f9a2fae
JM
46292 [BZ #13872]
46293 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46294 (__ieee754_powl): Saturate large exponents rather than testing for
46295 overflow of y*log2(x).
46296 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46297 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46298 exceptions.
46299
bcc8d661
JM
46300 [BZ #11521]
46301 * math/s_ctan.c: Include <float.h>.
46302 (__ctan): Avoid internal overflow or cancellation in calculating
46303 denominator.
46304 * math/s_ctanf.c: Likewise.
46305 * math/s_ctanl.c: Likewise.
46306 * math/s_ctanh.c: Likewise.
46307 * math/s_ctanhf.c: Likewise.
46308 * math/s_ctanhl.c: Likewise.
46309 * math/libm-test.inc (ctan_test): Add more tests.
46310 (ctanh_test): Likewise.
46311 * sysdeps/i386/fpu/libm-test-ulps: Update.
46312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46313
823fbbb4
AJ
463142012-04-09 Andreas Jaeger <aj@suse.de>
46315
03879793
AJ
46316 [BZ #6894]
46317 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46318 is an optional BSD extension.
46319
823fbbb4
AJ
46320 [BZ #10254]
46321 * manual/stdio.texi (Opening Streams): Document additional fopen
46322 parameters.
46323
8de131cb
RM
463242012-04-09 Roland McGrath <roland@hack.frob.com>
46325
46326 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46327 %eax without telling the compiler.
46328
c0ed9d7d
CD
463292012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46330
46331 [BZ # 13963]
46332 * manual/install.texi: Use sourceware.org.
46333
c483f6b4
JM
463342012-04-09 Joseph Myers <joseph@codesourcery.com>
46335
d7dd9453
JM
46336 [BZ #13873]
46337 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46338 (__ieee754_pow): Generate overflow and underflow using huge*huge
46339 and tiny*tiny rather than just returning constant infinity or zero
46340 for large exponents.
46341 * math/libm-test.inc (pow_test): Require overflow exceptions for
46342 applicable cases of large exponents.
46343
c483f6b4
JM
46344 [BZ #706]
46345 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46346 (__ieee754_pow): Use iterative multiplication algorithm only for
46347 integer exponents with absolute value below 1024. Check for odd
46348 integer exponents when using algorithm for real exponents.
46349 * math/libm-test.inc (pow_test): Add more tests.
46350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46351
d2de7579
JM
463522012-04-08 Joseph Myers <joseph@codesourcery.com>
46353
46354 [BZ #13705]
46355 * math/libm-test.inc (exp_test): Do not allow overflow exception
46356 on underflow test.
46357
f77f1232
AJ
463582012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46359
46360 [BZ #13705]
46361 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46362 instead of __kernel_standard_f.
46363
3884932b
MF
463642012-04-08 Mike Frysinger <vapier@gentoo.org>
46365
46366 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46367 * sysdeps/x86_64/memset_chk.S: Likewise.
46368
54472e9c
AJ
463692012-04-08 Andreas Jaeger <aj@suse.de>
46370
6ab0fbfc
AJ
46371 [BZ #10153]
46372 * manual/startup.texi (Environment Access): Describe return value
46373 for putenv and setenv.
46374
61efba8c
AJ
46375 [BZ #6895]
46376 * manual/filesys.texi (Directory Entries): Add description for
46377 DT_LNK.
46378
95c3f29a
AJ
46379 [BZ #6890]
46380 * manual/filesys.texi (Directory Entries): Clarify that it's file
46381 system not operating system in the description of DT_UNKNOWN.
46382
54472e9c
AJ
46383 [BZ #6578]
46384 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46385
624254b1
SC
463862012-04-08 Stephen Compall <s11@member.fsf.org>
46387
46388 [BZ #6649]
46389 * manual/llio.texi (Opening and Closing Files): Add cross
46390 reference to explain mode argument.
46391
1e4920e0
MF
463922012-04-07 Mike Frysinger <vapier@gentoo.org>
46393
46394 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46395 * sysdeps/x86_64/memset_chk.S: Likewise.
46396
5ed848f3
DM
463972012-04-07 David S. Miller <davem@davemloft.net>
46398
46399 * elf/elf.h (R_SPARC_WDISP10): Define.
46400 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46401 R_SPARC_SIZE32.
46402 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46403 R_SPARC_SIZE64 and R_SPARC_H34.
46404
96154cd8
CD
464052012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46406
46407 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46408 conditions and remove no longer applicable assertion.
46409
9904dc47
L
464102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46411
46412 * bits/byteswap.h: Include <features.h>.
46413 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46414 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46415
f8887d0a
L
464162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46417
46418 * bits/byteswap.h (__bswap_16): Removed.
46419 Include <bits/byteswap-16.h> to get __bswap_16.
46420 * sysdeps/i386/bits/byteswap.h: Likewise.
46421 * sysdeps/s390/bits/byteswap.h: Likewise.
46422 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46423 * bits/byteswap-16.h: New file.
46424 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46425 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46426 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46427 * string/Makefile (headers): Add bits/byteswap-16.h.
46428
62470f60
PP
464292012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46430
46431 [BZ #13895]
46432 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46433 extra indirection.
46434 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46435 * nss/tst-nss-static.c: New.
46436
4dad7bab
RM
464372012-04-06 Robert Millan <rmh@gnu.org>
46438
46439 [BZ #6486]
46440 * manual/llio.texi (File Position Primitive): lseek
46441 refers to WHENCE when it really means OFFSET.
46442
e9142a17
AJ
464432012-04-06 Andreas Jaeger <aj@suse.de>
46444
2c040eff
AJ
46445 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46446 strncmp declarations.
46447
e9142a17
AJ
46448 * abilist/libc.abilist: Add __poll and __ppoll.
46449
ff9f1c5f
DM
464502012-04-05 David S. Miller <davem@davemloft.net>
46451
dcd2ae90
DM
46452 * scripts/check-local-headers.sh: Accept a host triplet in the
46453 path matched by the exclude regexp.
46454
993eb054
DM
46455 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46456 definition.
46457 * sysdeps/powerpc/powerpc32/dl-machine.h
46458 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46459 * sysdeps/s390/s390-32/dl-machine.h
46460 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46461 * sysdeps/sparc/sparc32/dl-machine.h
46462 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46463 * sysdeps/sparc/sparc64/dl-machine.h
46464 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46465
ff9f1c5f
DM
46466 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46467 lazy binding.
48e2e132 46468 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46469 undefined symbol errors.
46470
48e2e132 46471 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46472 DT_NEEDED entries.
46473
e80d6f94
MM
464742012-04-05 Michael Matz <matz@suse.de>
46475
46476 [BZ #13592]
46477 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46478
349fa79f
AJ
464792012-04-05 Andreas Jaeger <aj@suse.de>
46480
46481 [BZ #13908]
46482 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46483 comment.
46484
f402708f
KK
464852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46486
46487 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46488 which ROUND is no valid rounding mode.
46489
2ecccfc9
KK
464902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46491
46492 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46493 read again.
46494 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46495
8a53f50f
KK
464962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46497
46498 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46499 an exception using FPU order intentionally.
46500
465012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46502
46503 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46504 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46505 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46506 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46507
d653abb7
SJ
465082012-04-05 Simon Josefsson <simon@josefsson.org>
46509
46510 [BZ #12340]
46511 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46512 EINVAL when BUFLEN is too smal.
46513
c3b1bf7d
TS
465142012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46515
46516 [BZ #13553]
46517 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46518 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46519
b1aa60f3
AJ
465202012-04-03 Andreas Jaeger <aj@suse.de>
46521
c3b1bf7d 46522 [BZ #13938]
67f60a26
AJ
46523 * manual/setjmp.texi (System V contexts): Fix sentence.
46524
b1aa60f3
AJ
46525 [BZ #13926]
46526 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46527 New macro for this case.
46528 [!__GNUC__] (__bswap_64): New inline function for this case.
46529 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46530 * bits/byteswap.h: Likewise.
46531 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46532 ull, guard with __GLIBC_HAVE_LONG_LONG.
46533
46534 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46535 __GLIBC_HAVE_LONG_LONG.
46536
46537 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46538 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46539
39c59c35
TMQMF
465402012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46541
46542 [BZ #13691]
46543 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46544 inptr and inend, rather than using last_ch.
46545
135ffda8
DM
465462012-04-02 David S. Miller <davem@davemloft.net>
46547
46548 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46549 * stdio-common/printf-parse.h (read_int): Change return type to
46550 'int', return -1 on INT_MAX overflow.
46551 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46552 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46553 overflows INT_MAX. Check for overflow of in-format-string precision
46554 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46555 SIZE_MAX not INT_MAX for integer overflow test.
46556 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46557 skip the construct in the format string but do not record anything.
46558 * stdio-common/bug22.c: Adjust to test both width/prevision
46559 INT_MAX overflow as well as total length INT_MAX overflow. Check
46560 explicitly for proper errno values.
46561
228c019e
TS
465622012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46563
302cadd3
TS
46564 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46565 CHAR_MAX.
46566 * string/test-strcmp.c [! WIDE]: Likewise.
46567 * time/tst-mktime2.c: Likewise for INT_MAX.
46568 * string/test-string.h: #include <sys/param.h> for MIN.
46569
228c019e
TS
46570 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46571 * sysdeps/i386/init-first.c (init): Likewise.
46572 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46573 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46574 * sysdeps/sh/init-first.c (init): Likewise.
46575
cfa633f5
UD
465762012-04-01 Ulrich Drepper <drepper@gmail.com>
46577
46578 * po/ru.po: Update from translation team.
d1635ef8 46579 * po/vi.po: Likewise.
cfa633f5 46580
6cd0a5ea
SP
465812012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46582
46583 * resolv/nss_dns/dns-host.c: Merge copyright years.
46584
4b43400f
LD
465852012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46586
46587 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46588 Optimize memcpy with prefetch if
46589 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46590 src, dst pointers have unequal 16 byte alignments.
46591
48c41d04
SP
465922012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46593
46594 [BZ #13928]
46595 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46596 from a CNAME entry and return the minimum ttl for the query.
46597 (gaih_getanswer_slice): Likewise.
46598
b8dc394d
JL
465992012-03-30 Jeff Law <law@redhat.com>
46600
46601 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46602 due to long keys.
46603 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46604 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46605
2f5a5ed0
JL
46606 * resolv/nss_dns/dns-host.c: Update copyright year.
46607
1d39e359
UD
466082012-03-30 Ulrich Drepper <drepper@gmail.com>
46609
c030f70c 46610 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46611 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46612
1d39e359
UD
46613 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46614 comments for sendmmsg.
46615
466162012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46617
46618 [BZ #13691]
46619 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46620 with only 1 character between 0x0041 and 0x01b0.
46621 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46622 * wcsmbs/tst-mbsnrtowcs.c: New file.
46623
20fde227
DM
466242012-03-29 David S. Miller <davem@davemloft.net>
46625
46626 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46627 small copies by hand.
46628
984a4237
JL
466292012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46630
46631 [BZ #13761]
57f41c40
AS
46632 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46633 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46634 group memberships.
984a4237 46635
18c9d62b
DM
466362012-03-28 David S. Miller <davem@davemloft.net>
46637
88d85d4f
DM
46638 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46639 that branches into memcpy.
46640 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46641 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46642 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46643 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46645 bits.
46646 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46647 implementation too.
46648 * sysdeps/sparc/mempcpy.S: New file.
46649
e5aa83e1
DM
46650 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46651 the IFUNC routine in the libc case.
46652 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46653
88570753
DM
46654 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46655 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46656 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46657 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46658 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46659 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46660 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46661 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46662
249d7567
DM
46663 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46664 loop to 256 bytes instead of 64 bytes and fix test signedness.
46665
18c9d62b
DM
46666 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46667 * sysdeps/sparc/sparc32/Makefile: rather than here...
46668 * sysdeps/sparc/sparc64/Makefile: and here.
46669
05f3d1f6
UD
466702012-03-28 Ulrich Drepper <drepper@gmail.com>
46671
46672 * malloc/mallocbug.c: Avoid warnings about unused variables.
46673
86ae07a8
JL
466742012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46675
46676 [BZ #13760]
46677 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46678 in the right place. Discard and retry query if response is
46679 larger than input buffer size.
46680
41bf21a1
JM
466812012-03-28 Joseph Myers <joseph@codesourcery.com>
46682
d6270972
JM
46683 [BZ #369]
46684 [BZ #2678]
46685 [BZ #3866]
46686 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46687 x for large integer exponent.
46688 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46689 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46690 sign of result as needed afterwards.
46691 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46692 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46693 result for underflowing pow the same as for overflow.
46694 (__kernel_standard_l): Handle powl overflow and underflow here
46695 rather than calling __kernel_standard.
46696 * math/libm-test.inc (pow_test): Add more tests.
46697
414fca03 46698 [BZ #3868]
41bf21a1
JM
46699 [BZ #13879]
46700 [BZ #13910]
46701 [BZ #13911]
46702 [BZ #13912]
46703 [BZ #13913]
46704 [BZ #13915]
46705 [BZ #13916]
46706 [BZ #13917]
46707 [BZ #13918]
46708 [BZ #13919]
46709 [BZ #13920]
46710 [BZ #13921]
46711 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46712 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46713 (__kernel_standard_l): New function.
46714 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46715 __kernel_standard.
46716 * math/w_acosl.c (__acosl): Likewise.
46717 * math/w_asinl.c (__asinl): Likewise.
46718 * math/w_atan2l.c (__atan2l): Likewise.
46719 * math/w_atanhl.c (__atanhl): Likewise.
46720 * math/w_coshl.c (__coshl): Likewise.
46721 * math/w_exp10l.c (__exp10l): Likewise.
46722 * math/w_exp2l.c (__exp2l): Likewise.
46723 * math/w_fmodl.c (__fmodl): Likewise.
46724 * math/w_hypotl.c (__hypotl): Likewise.
46725 * math/w_j0l.c (__j0l, __y0l): Likewise.
46726 * math/w_j1l.c (__j1l, __y1l): Likewise.
46727 * math/w_jnl.c (__jnl, __ynl): Likewise.
46728 * math/w_lgammal.c (__lgammal): Likewise.
46729 * math/w_log10l.c (__log10l): Likewise.
46730 * math/w_log2l.c (__log2l): Likewise.
46731 * math/w_logl.c (__logl): Likewise.
46732 * math/w_powl.c (__powl): Likewise.
46733 * math/w_remainderl.c (__remainderl): Likewise.
46734 * math/w_scalbl.c (sysv_scalbl): Likewise.
46735 * math/w_sinhl.c (__sinhl): Likewise.
46736 * math/w_sqrtl.c (__sqrtl): Likewise.
46737 * math/w_tgammal.c (__tgammal): Likewise.
46738 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46739 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46740 * math/libm-test.inc (acos_test): Add more tests.
46741 (acosh_test): Likewise.
46742 (asin_test): Likewise.
46743 (atanh_test): Likewise.
46744 (exp_test): Likewise.
46745 (exp10_test): Likewise.
46746 (exp2_test): Likewise.
46747 (expm1_test): Likewise.
46748 (lgamma_test): Likewise.
46749 (log_test): Likewise.
46750 (log10_test): Likewise.
46751 (log1p_test): Likewise.
46752 (log2_test): Likewise.
46753 (pow_test): Do not allow some spurious overflow exceptions.
46754 (sqrt_test): Add more tests.
46755 (tgamma_test): Likewise.
46756 (y0_test): Likewise.
46757 (y1_test): Likewise.
46758 (yn_test): Likewise.
46759
dd62fda6
AB
467602012-03-27 Anton Blanchard <anton@samba.org>
46761
46762 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46763 MAP_HUGETLB.
46764 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46765 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46766 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46767
1e3cdfda
AJ
467682012-03-27 David S. Miller <davem@davemloft.net>
46769
b855ab85
DM
46770 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46771
1e3cdfda
AJ
46772 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46773 have-as-vis3 check.
46774
467752012-03-27 Andreas Jaeger <aj@suse.de>
46776
46777 * sysdeps/x86_64/elf/configure.in: Moved to ...
46778 * sysdeps/x86_64/configure.in: ... here.
46779 * sysdeps/x86_64/elf/start.S: Moved to ...
46780 * sysdeps/x86_64/start.S: ... here.
46781 * sysdeps/x86_64/elf/configure: Delete.
46782
46783 * sysdeps/x86_64/configure.in: Merge contents from
46784 sysdeps/i386/configure.in (without i686 check).
46785
46786 * sysdeps/i386/elf/Versions: Merge into ...
46787 * sysdeps/i386/Versions: ... this.
46788 * sysdeps/i386/elf/Versions: Delete file.
46789 * sysdeps/i386/elf/start.S: Moved to ...
46790 * sysdeps/i386/start.S: ...here.
46791 * sysdeps/i386/elf/configure.in: Merge into...
46792 * sysdeps/i386/configure.in: ...here.
46793 * sysdeps/i386/elf/configure.in: Delete file.
46794 * sysdeps/i386/elf/configure: Delete file.
46795
46796 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46797 * debug/backtracesyms.c: ... here.
46798 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46799 * debug/backtracesymsfd.c: ... here.
46800 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46801 * sysdeps/generic/ifunc-sel.h: ... here.
46802
46803 * sysdeps/unix/i386/start.c: Delete file.
46804 * sysdeps/unix/sparc/start.c: Delete file.
46805 * sysdeps/unix/start.c: Delete file.
46806
46807 * sysdeps/sh/elf/configure.in: Moved to ...
46808 * sysdeps/sh/configure.in: ... here.
46809 * sysdeps/sh/elf/start.S: Moved to ...
46810 * sysdeps/sh/start.S: ... here.
46811 * sysdeps/sh/elf/configure: Delete file.
46812
46813 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46814 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46815 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46816 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46817 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46818 * sysdeps/powerpc/powerpc64/start.S: here.
46819 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46820 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46821 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46822 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46823 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46824
46825 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46826 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46827 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46828 * sysdeps/powerpc/powerpc32/start.S: ... here.
46829 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46830 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46831 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46832
46833 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46834 * sysdeps/powerpc/ifunc-sel.h: ... here.
46835 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46836 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46837
46838 * sysdeps/sparc/elf/configure.in: Moved to ...
46839 * sysdeps/sparc/configure.in: ... here.
46840 * sysdeps/sparc/elf/configure: Delete file.
46841 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46842 * sysdeps/sparc/sparc32/start.S: ... here.
46843 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46844 * sysdeps/sparc/sparc64/start.S: ... here.
46845 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46846 * sysdeps/sparc/sparc32/Makefile: ... this.
46847 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46848 * sysdeps/sparc/sparc64/Makefile: ... this.
46849
46850 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46851 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46852 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46853 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46854 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46855 * sysdeps/s390/s390-32/setjmp.S: ... here.
46856 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46857 * sysdeps/s390/s390-32/configure.in: ... here.
46858 * sysdeps/s390/s390-32/elf/configure: Delete file.
46859 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46860 * sysdeps/s390/s390-32/start.S: ... here.
46861
46862 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46863 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46864 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46865 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46866 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46867 * sysdeps/s390/s390-64/setjmp.S: ... here.
46868 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46869 * sysdeps/s390/s390-64/configure.in: ... here
46870 * sysdeps/s390/s390-64/elf/configure: Delete file.
46871 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46872 * sysdeps/s390/s390-64/start.S: ... here.
46873 * sysdeps/s390/s390-64/elf/configure: Delete.
46874
46875 * configure.in: Remove support for elf directories in sysdeps.
46876
46877 * configure: Regenerated.
46878 * sysdeps/i386/configure: Regenerated.
46879 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46880 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46881 * sysdeps/s390/s390-32/configure: Regenerated.
46882 * sysdeps/s390/s390-64/configure: Regenerated.
46883 * sysdeps/sh/configure: Regenerated.
46884 * sysdeps/sparc/configure: Regenerated.
46885 * sysdeps/x86_64/configure: Regenerated.
46886
a3f61311
AS
468872012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46888
c876e002
AS
46889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46890
a3f61311
AS
46891 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46892 denormal result into account.
46893
ac4c54f0
RM
468942012-03-25 Roland McGrath <roland@hack.frob.com>
46895
46896 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46897 Reported by Allan McRae <allan@archlinux.org>.
46898
6a9b9c02
JL
468992012-03-23 Jeff Law <law@redhat.com>
46900
46901 * nss/getnssent.c (__nss_getent): Fix typo.
46902
4c42a0c1
DM
469032012-03-23 David S. Miller <davem@davemloft.net>
46904
46905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46906
1532c7ac
L
469072012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46908
46909 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46910 to pad to uint64_t for each field.
46911 (dl_tls_index): Replace unsigned long with uint64_t.
46912
3ff42526
PP
469132012-03-23 Daniel Jacobowitz <dmj@google.com>
46914 Paul Pluzhnikov <ppluzhnikov@google.com>
46915
46916 [BZ #6528]
46917 * grp/Makefile (otherlibs): Don't set it.
46918 * inet/Makefile (otherlibs): Likewise.
46919 * login/Makefile (otherlibs): Likewise.
46920 * nscd/Makefile (otherlibs): Likewise.
46921 * posix/Makefile (otherlibs): Likewise.
46922 * pwd/Makefile (otherlibs): Likewise.
46923 * rt/Makefile (otherlibs): Likewise.
46924 * sunrpc/Makefile (otherlibs): Likewise.
46925 * nss/Makefile (otherlibs): Likewise.
46926 Add libnss_files to routines and static-only-routines.
46927 ($(objpfx)getent): Remove rule.
46928 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46929 static-only-routines.
46930
7c69cd14
JM
469312012-03-22 Joseph Myers <joseph@codesourcery.com>
46932
46933 [BZ #13892]
46934 * math/s_cexp.c: Include <float.h>.
46935 (__cexp): Handle exp result overflowing not necessarily
46936 overflowing both real and imaginary parts of result.
46937 * math/s_cexpf.c: Likewise.
46938 * math/s_cexpl.c: Likewise.
46939 * math/libm-test.inc (cexp_test): Add more tests.
46940 * sysdeps/i386/fpu/libm-test-ulps: Update.
46941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46942
81b035fe
L
469432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46944
46945 * include/link.h (ELFW): New macro.
46946 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46947 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46948
1da7940c
L
469492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46950
46951 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46952 with uint64_t.
46953
b749dbb9
L
469542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46955
46956 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46957 declaration.
46958 (struct La_x32_retval): Likewise.
46959
2ff87f3f
L
469602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46961
46962 * sysdeps/x86_64/preconfigure.in: New file.
46963 * sysdeps/x86_64/preconfigure: New generated file.
46964
c0df8e69
JM
469652012-03-22 Joseph Myers <joseph@codesourcery.com>
46966
48e44791
JM
46967 [BZ #13824]
46968 * math/e_exp2l.c: Include <float.h>.
46969 (__ieee754_exp2l): Handle overflow and underflow cases
46970 separately. Only pass fractional part of argument to
46971 __ieee754_expl.
46972 * math/libm-test.inc (exp2_test): Add more tests.
46973
c0df8e69
JM
46974 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46975 negating x to take absolute value.
46976 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46977 Likewise.
46978 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46979 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46980 Likewise.
46981 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46982 computing low part if x was negated.
46983 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46984
c8e43ba7
L
469852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46986
46987 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46988 la_x32_gnu_pltexit.
46989 (pltexit): Cast int_retval to ptrdiff_t.
46990 * elf/tst-auditmod3b.c: Likewise.
46991 * elf/tst-auditmod4b.c: Likewise.
46992 * elf/tst-auditmod5b.c: Likewise.
46993 * elf/tst-auditmod6b.c: Likewise.
46994 * elf/tst-auditmod6c.c: Likewise.
46995 * elf/tst-auditmod7b.c: Likewise.
46996
46997 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46998 and x32_gnu_pltexit.
46999
47000 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47001 __ELF_NATIVE_CLASS.
47002 (La_x32_regs): New macro.
47003 (La_x32_retval): Likewise.
47004 (la_x32_gnu_pltenter): New function prototype.
47005 (la_x32_gnu_pltexit): Likewise.
47006
7998fa78
AS
470072012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47008
dcb33988
AS
47009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47010 exponent.
47011
233fc563
AS
47012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47013
7998fa78
AS
47014 * configure.in (libc_cv_cc_nofma): Check for option to disable
47015 generation of FMA instructions.
47016 * configure: Regenerate.
47017 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47018 * sysdeps/ieee754/dbl-64/Makefile: New file.
47019 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47020 Remove brandred-fma4.
47021 (CFLAGS-brandred-fma4.c): Remove.
47022 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47023 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47024 define.
47025 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47026 define.
47027
8e95c99a
L
470282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47029
47030 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47031 LLONG_MAX != LONG_MAX.
47032 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47033 (_fitoa_word): Likewise.
47034 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47035 LLONG_MAX != LONG_MAX.
47036 * stdio-common/_itowa.h: Include <_itoa.h>.
47037 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47038 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47039 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47040 only if not defined.
47041 (_ITOA_WORD_TYPE): Likewise.
47042 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47043 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47044
6f4db457
DM
470452012-03-21 David S. Miller <davem@davemloft.net>
47046
47047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47048
7785fe5a
L
470492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47050
47051 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47052 of x86_64 when setting libc_cv_slibdir, libdir and
47053 libc_cv_localedir.
47054 * sysdeps/unix/sysv/linux/configure: Regenerated.
47055
4535cd55
JM
470562012-03-21 Joseph Myers <joseph@codesourcery.com>
47057
47058 * manual/lang.texi (Old Varargs): Remove section.
47059 (How Variadic): Update menu.
47060 (va_start): Do not mention varargs.h.
47061
17228132
TS
470622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47063 Joseph Myers <joseph@codesourcery.com>
47064
47065 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47066 link test.
47067 * configure: Regenerated.
47068
8149f976
TS
470692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47070
05f3d1f6
UD
47071 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47072 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47073 conformtest.pl
8149f976 47074
1a4ac776
JM
470752012-03-21 Joseph Myers <joseph@codesourcery.com>
47076
be22ce65
JM
47077 * NOTES: Remove.
47078 * Makefile (files-for-dist): Remove NOTES.
47079 (NOTES): Remove rule.
47080 * README: Don't refer to NOTES.
47081 * manual/creature.texi: Don't include macros.texi.
47082 * manual/intro.texi (creature.texi): Remove comment referring to
47083 NOTES.
47084
40b601fb
JM
47085 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47086 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47087 * configure: Regenerated.
47088 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47089 LIBC_TRY_CC_OPTION.
47090 (libc_cv_as_i686): Likewise.
47091 (libc_cv_cc_avx): Likewise.
47092 (libc_cv_cc_sse2avx): Likewise.
47093 (libc_cv_cc_fma4): Likewise.
47094 (libc_cv_cc_novzeroupper): Likewise.
47095 * sysdeps/i386/configure: Regenerated.
47096
1a4ac776
JM
47097 [BZ #13883]
47098 * sysdeps/i386/fpu/s_cexp.S: Remove.
47099 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47100 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47101 * math/libm-test.inc (cexp_test): Add more tests.
47102 * sysdeps/i386/fpu/libm-test-ulps: Update.
47103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47104
a458e7fe
AM
471052012-03-21 Allan McRae <allan@archlinux.org>
47106
47107 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47108
0cb7efc5
JM
471092012-03-21 Joseph Myers <joseph@codesourcery.com>
47110
47111 [BZ #13871]
47112 * math/w_exp2.c: Do not include <float.h>.
47113 (o_threshold, u_threshold): Remove.
47114 (__exp2): Calculate result before checking finiteness and calling
47115 __kernel_standard.
47116 * math/w_exp2f.c: Likewise.
47117 * math/w_exp2l.c: Likewise.
47118 * math/libm-test.inc (exp2_test): Require overflow exception for
47119 1e6 input.
2460d3aa
JM
47120
47121 [BZ #3866]
47122 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47123 range of signed 64-bit integers before using fistpll. Remove
47124 checks for whether integers fit in mantissa bits.
47125 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47126 the range of signed 32-bit integers before using fistpl. Remove
47127 checks for whether integers fit in mantissa bits.
47128 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47129 (__ieee754_powl): Test for y outside the range of signed 64-bit
47130 integers before using fistpll. Reduce 64-bit values to 63-bit
47131 ones as needed.
47132 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47133 divide-by-zero is raised for zero to large negative powers.
47134 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47135 (__ieee754_powl): Test for y outside the range of signed 64-bit
47136 integers before using fistpll. Reduce 64-bit values to 63-bit
47137 ones as needed.
47138 * math/libm-test.inc (pow_test): Add more tests.
47139
eb96ffb0
L
471402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47141
47142 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47143 <stdio-common/_itoa.h>.
47144 * debug/segfault.c: Likewise.
47145 * elf/dl-cache.c: Likewise.
47146 * elf/dl-minimal.c: Likewise.
47147 * elf/dl-misc.c: Likewise.
47148 * elf/dl-sysdep.c: Likewise.
47149 * elf/dl-version.c: Likewise.
47150 * elf/rtld.c: Likewise.
47151 * hurd/hurdsock.c: Likewise.
47152 * hurd/lookup-retry.c: Likewise.
47153 * malloc/malloc.c: Likewise.
47154 * malloc/mtrace.c: Likewise.
47155 * nscd/nscd_getgr_r.c: Likewise.
47156 * nscd/nscd_getpw_r.c: Likewise.
47157 * nscd/nscd_getserv_r.c: Likewise.
47158 * posix/getopt_init.c: Likewise.
47159 * posix/wordexp.c: Likewise.
47160 * stdio-common/_itoa.c: Likewise.
47161 * stdio-common/printf_fphex.c: Likewise.
47162 * stdio-common/vfprintf.c: Likewise.
47163 * string/_strerror.c: Likewise.
47164 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47165 * sysdeps/i386/i686/hp-timing.h: Likewise.
47166 * sysdeps/mach/_strerror.c: Likewise.
47167 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47168 * sysdeps/mach/hurd/sethostid.c: Likewise.
47169 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47170 * sysdeps/mach/xpg-strerror.c: Likewise.
47171 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47172 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47173 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47174 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47175 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47176 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47177 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47178 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47179 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47180 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47181 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47182 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47183 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47184 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47185 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47186 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47187 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47188 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47189 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47190 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47191 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47192
47193 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47194
47195 * stdio-common/_itoa.h: Moved to ...
47196 * sysdeps/generic/_itoa.h: Here.
47197
47198 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47199
47200 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47201 instead of "_itoa.h" and "_itowa.h".
47202 * stdio-common/vfprintf.: Likewise.
47203
d1af992d
L
472042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47205
47206 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47207 <bits/wordsize.h>.
47208 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47209 (__signbit): Likwise.
47210 (llrintf): Likwise.
47211 (llrint): Likwise.
47212
114883e0
L
472132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47214
47215 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47216 __WORDSIZE != 64.
47217
c135cc1b
JM
472182012-03-20 Joseph Myers <joseph@codesourcery.com>
47219
47220 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47221 OVERFLOW_EXCEPTION_OK.
47222 * math/libm-test.inc ("Philosophy"): Update comment about
47223 exception testing.
47224 (OVERFLOW_EXCEPTION): Define.
47225 (OVERFLOW_EXCEPTION_OK): Likewise.
47226 (INVALID_EXCEPTION_OK): Renumber.
47227 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47228 (IGNORE_ZERO_INF_SIGN): Likewise.
47229 (test_exceptions): Handle FE_OVERFLOW.
47230 (exp10_test): Expect overflow exceptions.
47231 (exp2_test): Likewise.
47232 (expm1_test): Likewise.
47233 (nextafter_test): Likewise.
47234 (pow_test): Likewise.
47235 (scalbn_test): Likewise.
47236 (scalbln_test): Likewise.
47237
95443d88
L
472382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47239
47240 * sysdeps/x86_64/bits/atomic.h
47241 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47242 64bit integer.
47243 (atomic_exchange_acq): Likewise.
47244 (__arch_exchange_and_add_body): Likewise.
47245 (__arch_add_body): Likewise.
47246 (atomic_add_negative): Likewise.
47247 (atomic_add_zero): Likewise.
47248
490df6c4
L
472492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47250
c2722551 47251 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47252 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47253
5e52b189
L
472542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47255
47256 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47257 Check __x86_64__ instead of __WORDSIZE.
47258
a9879d4c
L
472592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47260
47261 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47262
5df98260
DM
472632012-03-19 David S. Miller <davem@davemloft.net>
47264
e1497744
DM
47265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47266
5df98260
DM
47267 * sysdeps/sparc/fpu/fenv_private.h: New file.
47268 * sysdeps/sparc/fpu/math_private.h: Use it.
47269 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47270 Remove.
57f41c40 47271 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47272 (libc_feholdexcept_setroundl): Remove.
47273 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47274 Remove.
47275 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47276 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47277
b4c35121
L
472782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47279
47280 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47281 int64_t instead of long int.
47282 (INSERT_WORDS64): Likwise.
47283
56965fd7
L
472842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47285
47286 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47287 _Unwind_GetCFA return to _Unwind_Ptr first.
47288
83d1aec8
JM
472892012-03-19 Joseph Myers <joseph@codesourcery.com>
47290
1897ad44
JM
47291 [BZ #13629]
47292 * math/s_clog.c: Include <float.h>.
47293 (__clog): Scale large or subnormal inputs.
47294 * math/s_clogf.c: Likewise.
47295 * math/s_clogl.c: Likewise.
47296 * math/s_clog10.c: Include <float.h>.
47297 (M_LOG10_2): Define.
47298 (__clog10): Scale large or subnormal inputs.
47299 * math/s_clog10f.c: Likewise.
47300 * math/s_clog10l.c: Likewise.
47301 * math/libm-test.inc (clog_test): Add more tests.
47302 (clog10_test): Likewise.
47303 * sysdeps/i386/fpu/libm-test-ulps: Update.
47304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47305
7726d6a9
JM
47306 [BZ #11451]
47307 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47308 x and y.
47309 * math/libm-test.inc (atan2_test): Add another test.
47310
83d1aec8
JM
47311 * Makerules (common-objdir-compile): Remove.
47312 * sysdeps/unix/Makefile (config-generated): Do not add
47313 $(unix-generated) to variable.
47314 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47315 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47316 Remove rule.
47317 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47318 Likewise.
47319 [generic bits/local_lim.h] (before-compile): Do not append to
47320 variable.
47321 [generic bits/local_lim.h] (common-generated): Likewise.
47322 [generic sys/param.h] (before-compile): Do not append to variable.
47323 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47324 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47325 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47326 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47327 include.
47328 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47329 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47330 [generic sys/param.h] ($(addprefix
47331 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47332 [generic sys/param.h] (common-generated): Do not append to
47333 variable.
47334 [generic sys/param.h] (sysdep_headers): Likewise.
47335 [generic bits/errno.h] (before-compile): Do not append to
47336 variable.
47337 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47338 rule.
47339 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47340 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47341 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47342 [generic bits/errno.h] (common-generated): Do not append to
47343 variable.
47344 [generic bits/ioctls.h] (before-compile): Do not append to
47345 variable.
47346 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47347 rule.
47348 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47349 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47350 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47351 rule.
47352 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47353 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47354 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47355 [generic bits/ioctls.h] (common-generated): Do not append to
47356 variable.
47357 [generic sys/syscall.h] (syscall.h): Remove variable.
47358 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47359 rule.
47360 [generic sys/syscall.h] (before-compile): Do not append to
47361 variable.
47362 [generic sys/syscall.h] (common-generated): Likewise.
47363 * sysdeps/unix/errnos-tmpl.c: Remove file.
47364 * sysdeps/unix/errnos.awk: Likewise.
47365 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47366 * sysdeps/unix/ioctls.awk: Likewise.
47367 * sysdeps/unix/mk-local_lim.c: Likewise.
47368 * sysdeps/unix/snarf-ioctls: Likewise.
47369
4851a949
RH
473702012-03-19 Richard Henderson <rth@twiddle.net>
47371
bd37f2ee
RH
47372 * sysdeps/i386/fpu/fenv_private.h: New file.
47373 * sysdeps/i386/fpu/math_private.h: Use it.
47374 (math_opt_barrier, math_force_eval): Remove.
47375 (libc_feholdexcept_setround_53bit): Remove.
47376 (libc_feupdateenv_53bit): Remove.
47377 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47378 (math_opt_barrier, math_force_eval): Remove.
47379 (libc_feholdexcept): Remove.
47380 (libc_feholdexcept_setround): Remove.
47381 (libc_fetestexcept, libc_fesetenv): Remove.
47382 (libc_feupdateenv_test): Remove.
47383 (libc_feupdateenv, libc_feholdsetround): Remove.
47384 (libc_feresetround): Remove.
47385
d0adc922
RH
47386 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47387 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47388
0fe0f1f8
RH
47389 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47390 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47391 (libc_feupdateenv_testl): New.
47392 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47393 (libc_feupdateenv_testf): New.
47394 (libc_feupdateenv): Use libc_feupdateenv_test.
47395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47396 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47397
eb92c487
RH
47398 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47399 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47400 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47401 (libc_feresetround_noex): New.
47402 (libc_feresetround_noexf): New.
47403 (libc_feresetround_noexl): New.
47404 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47405 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47406 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47407 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47408 SET_RESTORE_ROUND.
47409 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47410 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47411 (__cos): Likewise.
47412 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47413 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47414 SET_RESTORE_ROUND_NOEX.
47415 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47416 SET_RESTORE_ROUND_NOEXF.
47417 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47418 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47419 (libc_feholdsetroundf): New.
47420 (libc_feresetround, libc_feresetroundf): New.
47421
7d2e8012
RH
47422 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47423 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47424 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47425
b4dabbb4
RH
47426 * sysdeps/generic/math_private.h: Include <fenv.h>.
47427 (default_libc_feholdexcept): New.
47428 (default_libc_feholdexcept_setround): New.
47429 (default_libc_fesetenv, default_libc_feupdateenv): New.
47430 (libc_feholdexcept): Only define if undefined.
47431 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47432 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47433 (libc_feholdexcept_setroundl): Likewise.
47434 (libc_feholdexcept_setround_53bit): Likewise.
47435 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47436 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47437 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47438 (libc_feupdateenv_53bit): Likewise.
47439 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47440 (libc_feholdexcept): Convert from macro to inline function.
47441 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47442 (libc_fesetenv, libc_feupdateenv): Likewise.
47443
4851a949
RH
47444 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47445 not previously defined.
47446 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47447 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47448 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47449 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47450 * sysdeps/ieee754/flt-32/math_private.h: New file.
47451 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47452 math_private.h below SET_FLOAT_WORD.
47453 (__isnan, __isinf_ns, __finite): Remove.
47454 (__isnanf, __isinf_nsf, __finitef): Remove.
47455
e79d442e
AS
474562012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47457
47458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47459
90b80344
DM
474602012-03-17 David S. Miller <davem@davemloft.net>
47461
47462 [BZ #6471]
47463 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47464 for 2.16.
47465
edc21804
DM
474662012-03-16 David S. Miller <davem@davemloft.net>
47467
77e927af
DM
47468 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47469 warnings.
47470
374976dd
DM
47471 [BZ #6471]
47472 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47473 properly.
47474 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47475 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47476 sysdep_routines when subdir is sysvipc.
47477 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47478 __getshmlba helper.
47479
edc21804
DM
47480 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47481
473c3ef3
L
474822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47483
47484 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47485 [__LP64__].
47486
eb0f39b6
L
474872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47488
47489 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47490 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47491 (__lround): Renamed to ...
47492 (__llround): This. Replace long int with long long int.
47493 Define lround functions as aliases of llround functions.
47494 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47495
6b6cd74b
L
474962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47497
47498 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47499 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47500 adresses to uintptr_t. Replace "long int" and "unsigned long
47501 int" with "greg_t" on va_arg.
47502
f1a77b01
L
475032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47504
47505 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47506 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47507
47508 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47509 Move e_machine check before EI_CLASS check. Handle x32
47510 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47511 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47512 SKIP_EM_IA_64 and include
47513 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47514
47515 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47516 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47517 (add_system_dir): New macro.
47518
47519 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47520 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47521
11b90b9f
JM
475222012-03-16 Joseph Myers <joseph@codesourcery.com>
47523
c36e1d23
JM
47524 [BZ #2551]
47525 [BZ #2552]
47526 [BZ #2553]
47527 [BZ #2554]
47528 [BZ #2562]
47529 [BZ #2563]
47530 [BZ #2565]
47531 [BZ #2566]
47532 [BZ #2576]
47533 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47534 (y0): Likewise.
47535 * math/w_j0f.c (j0f): Likewise.
47536 (y0f): Likewise.
47537 * math/w_j0l.c (__j0l): Likewise.
47538 (__y0l): Likewise.
47539 * math/w_j1.c (j1): Likewise.
47540 (y1): Likewise.
47541 * math/w_j1f.c (j1f): Likewise.
47542 (y1f): Likewise.
47543 * math/w_j1l.c (__j1l): Likewise.
47544 (__y1l): Likewise.
47545 * math/w_jn.c (jn): Likewise.
47546 (yn): Likewise.
47547 * math/w_jnf.c (jnf): Likewise.
47548 (ynf): Likewise.
47549 * math/w_jnl.c (__jnl): Likewise.
47550 (__ynl): Likewise.
47551 * math/libm-test.inc (j0_test): Add more tests.
47552 (j1_test): Likewise.
47553 (jn_test): Likewise. Add trailing semicolon to existing test.
47554 (y0_test): Likewise.
47555 (y1_test): Likewise.
47556 * sysdeps/i386/fpu/libm-test-ulps: Update.
47557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47558
11b90b9f
JM
47559 [BZ #13851]
47560 [BZ #13854]
47561 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47562 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47563 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47564 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47565 (__tanl): Set errno for infinite argument.
47566 * sysdeps/i386/fpu/mptan.c: Remove.
47567 * sysdeps/i386/fpu/s_tan.S: Likewise.
47568 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47569 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47570 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47571 * math/libm-test.inc (tan_test): Add more tests and enable more
47572 tests for double and long double.
47573 * sysdeps/i386/fpu/libm-test-ulps: Update.
47574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47575
6a1bd2a1
JK
475762012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47577
47578 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47579 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47580
10a803e0
RM
475812012-03-16 Roland McGrath <roland@hack.frob.com>
47582
47583 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47584 * configure.in: Use it for both main tree and add-ons.
47585 * configure: Regenerated.
47586
f196c7f7
L
475872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47588
47589 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47590
8848d99d
JM
475912012-03-16 Joseph Myers <joseph@codesourcery.com>
47592
96cbe7f4
JM
47593 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47594 in comment.
47595
8848d99d
JM
47596 [BZ #13851]
47597 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47598 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47599 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47600 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47601 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47602 infinite argument.
47603 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47604 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47605 != 0 for prec == 2.
47606 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47607 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47608 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47609 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47610 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47611 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47612 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47613 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47614 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47615 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47616 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47617 * math/libm-test.inc (cos_test): Add more tests and enable more
47618 tests for long double.
47619 (sin_test): Likewise.
47620 (sincos_test): Likewise.
47621 * sysdeps/i386/fpu/libm-test-ulps: Update.
47622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47623
dd7f4703
DM
476242012-03-16 David S. Miller <davem@davemloft.net>
47625
47626 * sysdeps/sparc/fpu/math_private.h: New file.
47627
006f1daa
DM
476282012-03-15 David S. Miller <davem@davemloft.net>
47629
c0c83bc8
DM
47630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47631 file.
e6a62e18 47632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47634 file.
e6a62e18
DM
47635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47640 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47641 sysdep routines.
47642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47643
88cb87d9
DM
47644 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47645 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47646
006f1daa 47647 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47649 sparc-ifunc.h
006f1daa 47650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47652 Likewise.
47653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47654 Likewise.
006f1daa
DM
47655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47659 Likewise.
006f1daa
DM
47660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47665 Likewise.
47666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47667 Likewise.
006f1daa
DM
47668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47673 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47674 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47675 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47676 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47686 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47687 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47689 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47690 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47691 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47692
11e0098e
AS
476932012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47694
47695 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47696 scaling.
47697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47698
e85b09d0
AJ
476992012-03-15 Andreas Jaeger <aj@suse.de>
47700
47701 [BZ #13852]
47702 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47703 ieee754/flt-32 implementation for sin, cos and sincos.
47704 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47705 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47706 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47707 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47708 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47709 ieee754/flt-32 implementation for tan.
47710
47711 * math/libm-test.inc (cos_test): Enable some large input tests for
47712 float as well
47713 (sin_test): Likewise.
47714 (sincos_test): Likewise.
47715 (tan_test): Add tests for large input.
47716
47717 * sysdeps/i386/fpu/libm-test-ulps: Update.
47718
81c64153
AJ
477192012-03-15 Andreas Jaeger <aj@suse.de>
47720
47721 [BZ #13658]
47722 * math/libm-test.inc (cos_test): Add more test cases.
47723 (sin_test): Likewise.
47724 (sincos_test): Likewise.
47725
7bbfa5c6
AJ
477262012-03-15 Andreas Jaeger <aj@suse.de>
47727
47728 [BZ #13837]
47729 * math/libm-test.inc (cos_test): Add a test case for large input
47730 value.
47731 (sin_test): Likewise.
47732 (sincos_test): Likewise.
47733
57f41c40
AS
477342012-03-15 Andreas Jaeger <aj@suse.de>
47735 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47736
47737 [BZ #13658]
0671f479 47738 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47739 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47740 * sysdeps/i386/fpu/branred.c: Likewise.
47741 * sysdeps/i386/fpu/dosincos.c: Likewise.
47742 * sysdeps/i386/fpu/mpa.c: Likewise.
47743 * sysdeps/i386/fpu/s_cos.S: Likewise.
47744 * sysdeps/i386/fpu/s_sin.S: Likewise.
47745 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47746 * sysdeps/i386/fpu/sincos32.c: Likewise.
47747
47748 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47749 Define.
47750 (libc_feupdateenv_53bit): Define.
47751 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47752 Define.
47753 (libc_feupdateenv_53bit): Define.
47754
47755 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47756 53 bit (without extend i386 double precision).
47757
47758 * math/libm-test.inc (sincos_test): Add tests for large input.
47759 (sin): Likewise.
47760 (cos): Likewise.
47761
47762 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47763
9cad04ea
AS
477642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47765
47766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47767
f7062b9a
DM
477682012-03-15 David S. Miller <davem@davemloft.net>
47769
47770 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47771 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47772 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47773 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47786 file.
f7062b9a 47787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47789 file.
f7062b9a 47790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47792 file.
f7062b9a 47793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47795 file.
f7062b9a
DM
47796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47798 fmin/fmax sysdep routines.
47799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47800
7bd951ff
DM
478012012-03-14 David S. Miller <davem@davemloft.net>
47802
559398ab
DM
47803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47805 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47807 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47808 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47809 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47810 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47823 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47824 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47825 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47826 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47827 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47828 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47829 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47830 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47832 routines.
47833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47834 file.
559398ab 47835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47837 file.
559398ab 47838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47840 file.
559398ab 47841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47843 file.
559398ab 47844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47846 file.
559398ab 47847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47849 file.
47850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47851 file.
47852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47853 file.
47854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47855 file.
47856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47857 New file.
47858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47859 file.
47860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47861 file.
559398ab 47862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47864 file.
559398ab 47865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47867 file.
559398ab 47868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47870 file.
559398ab 47871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47873 VIS3 routines.
559398ab
DM
47874
47875 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47876 New file.
47877
5a1c1e32
DM
47878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47879
eae47a36
DM
47880 * sysdeps/sparc/configure.in: New file.
47881 * sysdeps/sparc/configure: Generate.
47882 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47883 * configure: Regenerate.
47884 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47885 * config.make.in (have-as-vis3): New.
47886 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47887 available use -Av9d instead of -Av9a.
47888 * sysdeps/sparc/sparc64/Makefile: Likewise.
47889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47891 New file.
47892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47893 file.
47894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47895 New file.
47896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47897 file.
eae47a36
DM
47898 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47899 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47900 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47903
c0c83bc8
DM
47904 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47905 fzeros/fnegs to load 0x80000000 into a float register instead of
47906 using the stack.
7bd951ff
DM
47907 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47908
bd951ccb
JM
479092012-03-14 Joseph Myers <joseph@codesourcery.com>
47910
47911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47912 bits/syscall.h.
47913 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47914 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47915 ($(inst_includedir)/bits/syscall.h): Remove rule.
47916 ($(objpfx)bits/syscall.d): Include instead of
47917 $(objpfx)syscall-list.d.
47918 (generated): Change syscall-list.h and syscall-list.d to
47919 bits/syscall.h and bits/syscall.d.
47920
bb4e6db2
RM
479212012-03-14 Roland McGrath <roland@hack.frob.com>
47922
47923 [BZ #13846]
47924 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47925
aa4a2ae1
JM
479262012-03-14 Joseph Myers <joseph@codesourcery.com>
47927
e456826d
JM
47928 [BZ #13841]
47929 * math/s_csqrt.c: Include <float.h>.
47930 (__csqrt): Scale large or subnormal inputs.
47931 * math/s_csqrtf.c: Likewise.
47932 * math/s_csqrtl.c: Likewise.
47933 * math/libm-test.inc (csqrt_test): Add more tests.
47934 * sysdeps/i386/fpu/libm-test-ulps: Update.
47935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47936
aa4a2ae1
JM
47937 [BZ #13840]
47938 * math/libm-test.inc (hypot_test): Add more tests.
47939
7c10fd35
DM
479402012-03-13 David S. Miller <davem@davemloft.net>
47941
47942 [BZ #13840]
47943 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47944 double-precision for the calculation instead of scaling.
47945
f453b98b
JM
479462012-03-13 Joseph Myers <joseph@codesourcery.com>
47947
47948 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47949 manipulate bits before adding and subtracting TWO52[sx].
47950 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47951 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47952 Likewise.
47953 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47954
09a3453f
DM
479552012-03-13 David S. Miller <davem@davemloft.net>
47956
8e59da90
DM
47957 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47958 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47959 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47960 rtld-global-offsets.h
47961 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47962
2a8ab7f2
DM
47963 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47964 large parameters.
47965
10f62770
DM
47966 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47967
5f0bdb18
DM
47968 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47969 'err' in the ifdef scope in which it is actually used.
47970
09a3453f
DM
47971 * nss/nss_db/db-init.c: Include string.h
47972
b4b2eb5e
DM
479732012-03-12 David S. Miller <davem@davemloft.net>
47974
98bb2f1c
DM
47975 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47976 masking out of the most significant byte of random value used.
47977 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47978 Fix coding style in previous change.
47979
b4b2eb5e
DM
47980 * sysdeps/unix/sysv/linux/kernel-features.h
47981 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47982 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47983 expression.
47984 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47985 later.
47986
6e226b09
DM
479872012-03-11 David S. Miller <davem@davemloft.net>
47988
a1bcbd40
DM
47989 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47990 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47991 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47992 for 'resultvar' otherwise things get truncated on 64-bit.
47993
cb9d6174
DM
47994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47995 Fix masking out of the most significant byte of random value used.
47996
6e226b09
DM
47997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47998
058c132d
AS
479992012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48000
48001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48002
2d2cd515
DM
480032012-03-09 David S. Miller <davem@davemloft.net>
48004
48005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48006 variables with appropriate CPP guards.
57f41c40
AS
48007 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48008 from the frame pointer, not the stack pointer. Correct layout
48009 comments. Fix test on resulting framesize and the management of
48010 the outregs buffer for pltexit. Preserve floating point return
48011 values across _dl_call_pltexit call.
2d2cd515
DM
48012 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48013 framesize and the management of the outregs buffer for pltexit.
48014 Preserve floating point return values across _dl_call_pltexit
48015 call.
57f41c40
AS
48016 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48017 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48018 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48019 (print_exit): Fix format string for return register value.
48020
9a07f9d0
JM
480212012-03-10 Joseph Myers <joseph@codesourcery.com>
48022
48023 * sunrpc/Makefile (others): Add rpcgen.
48024 ($(objpfx)rpcgen): Remove special build rule and dependency on
48025 libc.
48026 * sunrpc/rpcgen.c: New file.
48027
547b5e30
PE
480282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48029
c524201a
PE
48030 [BZ #13673]
48031 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48032 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48033 * sysdeps/i386/crti.S: Likewise.
48034 * sysdeps/i386/crtn.S: Likewise.
48035 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48036 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48037 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48038 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48039 * sysdeps/sh/crti.S: Likewise.
48040 * sysdeps/sh/crtn.S: Likewise.
48041 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48042
7b6235f2
PE
48043 [BZ #13673]
48044 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48045 with URL.
48046 * locale/programs/locfile-kw.gperf: Likewise.
48047 * locale/programs/charmap-kw.h: Regenerated.
48048 * locale/programs/locfile-kw.h: Likewise.
48049
547b5e30
PE
48050 [BZ #13673]
48051 * intl/plural.y: Replace FSF snail mail address with URL.
48052 * intl/plural.c: Regenerated.
48053
5f0a5dae
RH
480542012-03-09 Richard Henderson <rth@twiddle.net>
48055
48056 * include/math_private.h: Remove file.
48057 * math/math_private.h: Move file ...
48058 * sysdeps/generic/math_private.h: ... here.
48059
b8c03620
RH
48060 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48061 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48062 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48063
4e234f5d 48064 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48065 and <math_private.h>.
48066 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48067 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48068 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48069 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48070 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48071 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48072 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48073 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48074 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48075 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48077 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48078 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48079 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48080 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48081 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48082 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48083 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48084 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48085 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48087 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48088 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48090 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48091 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48092 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48096 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48097 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48098 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48099 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48100 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48101 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48102 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48103 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48104 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48105 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48106 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48107 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48108 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48109 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48110 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48111 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48112 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48113 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48114 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48115 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48116 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48117 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48118 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48119 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48120 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48121 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48122 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48123 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48124 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48125 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48126 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48127 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48129 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48130 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48131 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48132 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48133 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48134 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48135 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48136 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48137 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48138 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48139 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48140 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48143 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48144 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48145 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48146 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48147 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48148 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48149 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48150 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48153 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48154 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48157 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48158 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48159 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48160 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48161 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48162 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48163 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48164 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48165 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48166 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48167 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48168 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48169 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48170 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48171 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48172 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48173 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48174 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48175 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48176 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48177 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48178 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48179 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48180 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48181 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48182 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48183 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48184 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48185 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48186 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48187 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48188 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48189 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48190 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48191 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48192 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48193 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48194 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48195 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48196 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48197 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48198 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48199 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48200 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48201 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48202 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48203 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48204 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48205 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48206 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48207 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48208 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48209 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48210 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48211 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48212 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48213 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48214 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48215 * sysdeps/ieee754/k_standard.c: Likewise.
48216 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48217 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48218 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48219 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48220 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48221 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48222 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48223 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48224 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48225 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48226 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48227 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48228 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48229 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48230 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48231 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48232 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48233 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48234 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48235 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48236 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48237 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48238 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48239 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48240 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48241 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48242 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48243 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48244 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48245 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48246 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48247 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48248 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48249 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48250 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48251 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48252 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48253 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48254 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48255 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48256 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48257 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48258 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48259 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48260 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48261 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48262 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48263 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48264 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48265 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48266 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48267 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48268 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48269 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48270 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48271 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48272 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48273 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48274 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48275 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48276 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48277 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48278 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48279 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48280 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48281 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48282 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48283 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48284 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48285 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48286 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48288 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48289 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48290 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48291 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48292 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48293 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48294 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48295 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48296 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48297 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48298 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48299 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48300 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48301 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48302 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48303 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48304 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48306 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48307 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48308 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48309 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48310 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48311 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48312 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48313 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48314 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48315 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48317 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48318 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48319 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48320 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48322 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48323 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48324 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48325 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48326 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48327 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48328 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48329 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48330 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48331 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48332 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48333 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48334 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48335 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48336 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48337 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48338 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48339 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48340 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48341 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48342 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48343 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48344 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48345 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48346 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48347 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48348 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48349 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48350 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48351 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48352 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48353 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48354 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48355 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48356 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48357 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48358 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48359 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48360 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48361 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48362 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48363 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48364 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48365 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48366 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48367 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48368 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48370 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48371 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48372 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48373 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48374 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48375 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48376 * sysdeps/ieee754/s_lib_version.c: Likewise.
48377 * sysdeps/ieee754/s_matherr.c: Likewise.
48378 * sysdeps/ieee754/s_signgam.c: Likewise.
48379 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48380 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48381 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48382 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48383 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48384 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48385 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48386 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48387 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48388 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48389 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48390 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48391 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48392 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48393 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48394 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48395 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48396 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48397 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48398 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48400
1991fa03
JM
484012012-03-09 Joseph Myers <joseph@codesourcery.com>
48402
48403 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48404 * sunrpc/rpc_main.c: Likewise.
48405 * sunrpc/rpc_svcout.c: Likewise.
48406
60d6f5a6
DM
484072012-03-09 David S. Miller <davem@davemloft.net>
48408
48409 * include/math_private.h: New file.
48410
4962050e
JM
484112012-03-09 Joseph Myers <joseph@codesourcery.com>
48412
02a6f887
JM
48413 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48414 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48415 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48416 from <bits/socket_type.h>.
48417 (enum __socket_type): Don't define here.
48418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48420 bits/socket_type.h.
48421
c6e013c1
JM
48422 [BZ #13566]
48423 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48424 checking __USE_GNU.
48425
4962050e
JM
48426 * Makerules ($(inst_includedir)/%.h): New rule.
48427 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48428 (install-others): Remove variable setting.
48429 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48430
38842f45
RH
484312012-03-08 Richard Henderson <rth@twiddle.net>
48432
67bb6da6
RH
48433 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48434 from macro to inline function; merge with the
48435 !__LIBC_INTERNAL_MATH_INLINES version.
48436 (__ieee754_sqrtf): Likewise.
48437
15194b4b
RH
48438 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48439 to inline function.
48440 (__rintf, __floor, __floorf): Likewise.
48441
64e21ede
RH
48442 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48443 macro to inline function.
48444 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48445
38842f45
RH
48446 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48447 not <math/math_private.h>.
48448
c64bf5fe
DM
484492012-03-08 David S. Miller <davem@davemloft.net>
48450
48451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48452 copyright year.
48453 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48454
82d86f28
TS
484552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48456
48457 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48458 normalization.
48459 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48460 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48461
aea5d727
UD
484622012-03-08 Ulrich Drepper <drepper@gmail.com>
48463
48464 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48465 be defined individually, they must be defined as a block. Define
48466 S for printing a string instead of hidint the different by using a
48467 macro for adding the 'l'.
48468 * stdio-common/tst-fphex-wide.c: Adjust.
48469
70bca0a3
MP
484702012-03-07 Marek Polacek <polacek@redhat.com>
48471
48472 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48473
65b81130
MP
484742012-03-08 Marek Polacek <polacek@redhat.com>
48475
48476 [BZ #13806]
48477 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48478 * stdio-common/tst-fphex.c: Define a few macros to make the
48479 test reusable. Use them.
48480 * stdio-common/tst-fphex-wide.c: New file.
48481
07037eeb
JM
484822012-03-08 Joseph Myers <joseph@codesourcery.com>
48483
a7a93d50
JM
48484 [BZ #6911]
48485 * manual/macros.texi (gnusystems): New macro.
48486 (nongnusystems): Likewise.
48487 (gnulinuxhurdsystems): Likewise.
48488 (gnuhurdsystems): Likewise..
48489 (gnulinuxsystems): Likewise.
48490 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48491 variants of the GNU system, not "GNU system".
48492 * manual/conf.texi: Likewise.
48493 * manual/errno.texi: Likewise. Update example of errno macro
48494 expansion.
48495 * manual/filesys.texi: Likewise.
48496 (getumask): Document as specific to GNU/Hurd.
48497 * manual/install.texi: Likewise. Reword some references to
48498 GNU/Linux.
48499 * manual/intro.texi: Likewise.
48500 * manual/io.texi: Likewise.
48501 (File Name Portability): Detail which constraints are inapplicable
48502 to all GNU systems and which are only inapplicable to GNU/Hurd.
48503 * manual/job.texi: Likewise.
48504 * manual/llio.texi: Likewise.
48505 (O_NOCTTY): Document as present on GNU/Linux.
48506 * manual/maint.texi: Likewise.
48507 * manual/memory.texi: Likewise.
48508 * manual/pattern.texi: Likewise.
48509 * manual/pipe.texi: Likewise.
48510 * manual/process.texi: Likewise.
48511 * manual/resource.texi: Likewise.
48512 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48513 child on GNU/Hurd.
48514 * manual/setjmp.texi: Likewise.
48515 * manual/signal.texi: Likewise.
48516 * manual/startup.texi: Likewise.
48517 * manual/stdio.texi: Likewise.
48518 * manual/terminal.texi: Likewise.
48519 (ONLCR): Document as POSIX.
48520 (OXTABS): Document availability on GNU/Linux as XTABS.
48521 (ONOEOT): Document availability separately from other bits.
48522 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48523 * manual/time.texi: Likewise.
48524 * manual/users.texi: Likewise.
48525 * INSTALL: Regenerated.
48526 * sysdeps/gnu/errlist.c: Regenerated.
48527
07037eeb
JM
48528 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48529 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48530 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48531 puts.
48532 * configure: Regenerated.
48533
d1d3431a
JM
485342012-03-07 Joseph Myers <joseph@codesourcery.com>
48535
af6a1e37
JM
48536 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48537 default includes instead of AC_HEADER_CHECK.
48538 * sysdeps/i386/configure: Regenerated.
48539
d1d3431a
JM
48540 [BZ #10716]
48541 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48542 * math/s_cacoshf.c (__cacoshf): Likewise.
48543 * math/s_cacoshl.c (__cacoshl): Likewise.
48544 * math/s_casinh.c (__casinh): Set signs of result from argument.
48545 * math/s_casinhf.c (__casinhf): Likewise.
48546 * math/s_casinhl.c (__casinhl): Likewise.
48547 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48548 (casinh_test): Add more tests.
48549 * sysdeps/i386/fpu/libm-test-ulps: Update.
48550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48551
482ff4da
UD
485522012-03-07 Ulrich Drepper <drepper@gmail.com>
48553
872fda05
UD
48554 * po/zh_TW.po: Update from translation team.
48555
a4300c7a
UD
48556 * login/Makefile (distribute): Remove variable.
48557 * catgets/Makefile: Likewise.
48558 * mach/Makefile: Likewise.
48559 * malloc/Makefile: Likewise.
48560 * misc/Makefile: Likewise.
48561 * iconv/Makefile: Likewise.
48562 * nscd/Makefile: Likewise.
48563 * hurd/Makefile: Likewise.
48564 * manual/Makefile: Likewise.
48565 * locale/Makefile: Likewise.
48566 * intl/Makefile: Likewise.
48567 * conform/Makefile: Likewise.
48568 * nss/Makefile: Likewise.
48569 * time/Makefile: Likewise.
48570 * soft-fp/Makefile: Likewise.
48571 * dirent/Makefile: Likewise.
48572 * gmon/Makefile: Likewise.
48573 * po/Makefile: Likewise.
48574 * rt/Makefile: Likewise.
48575 * socket/Makefile: Likewise.
48576 * math/Makefile: Likewise.
48577 * signal/Makefile: Likewise.
48578 * debug/Makefile: Likewise.
48579 * elf/Makefile: Likewise.
48580 * timezone/Makefile: Likewise.
48581 * stdlib/Makefile: Likewise.
48582 * iconvdata/Makefile: Likewise.
48583 * sunrpc/Makefile: Likewise.
48584 * io/Makefile: Likewise.
48585 * argp/Makefile: Likewise.
48586 * inet/Makefile: Likewise.
48587 * hesiod/Makefile: Likewise.
48588 * grp/Makefile: Likewise.
48589 * csu/Makefile: Likewise.
48590 * wctype/Makefile: Likewise.
48591 * crypt/Makefile: Likewise.
48592 * libio/Makefile: Likewise.
48593 * string/Makefile: Likewise.
48594 * nis/Makefile: Likewise.
48595 * resolv/Makefile: Likewise.
48596 * stdio-common/Makefile: Likewise.
48597 * wcsmbs/Makefile: Likewise.
48598 * dlfcn/Makefile: Likewise.
48599 * posix/Makefile: Likewise.
48600
3b7c4e74 48601 [BZ #6959]
482ff4da
UD
48602 * timezone/Makefile: Don't install timezone files, just the programs
48603 and scripts.
48604
f72ed77d
UD
486052012-03-06 Ulrich Drepper <drepper@gmail.com>
48606
a000466f
UD
48607 * nss/databases.def: Add missing gshadow entry.
48608
f72ed77d
UD
48609 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48610
a53b7a4e
MP
486112012-03-06 Marek Polacek <polacek@redhat.com>
48612
48613 [BZ #13726]
48614 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48615 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48616 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48617 * stdio-common/tst-long-dbl-fphex.c: New file.
48618
e9258400
DM
486192012-03-06 David S. Miller <davem@davemloft.net>
48620
48621 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48622 (set_obp_int): New function.
48623 (get_obp_int): New function.
48624 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48625 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48626 Avoid unused variable warnings on 'val' and use builtin_expect.
48627 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48628 __builtin_expect.
e9258400
DM
48629 (INLINE_CLONE_SYSCALL): Likewise.
48630
3bd2c723
DM
486312012-03-05 David S. Miller <davem@davemloft.net>
48632
48633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48634
bbb78d03
AS
486352012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48636
884c5db4
AS
48637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48638
bbb78d03
AS
48639 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48640 only for |x| >= 40.
48641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48642
1c9f702a 486432012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48644
48645 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48646 Replace gettimeofday with __vdso_gettimeofday.
48647
7be16f82
RM
48648 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48649 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48650 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48651
48652 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48653 time with __vdso_time.
48654
ed58a00f
JM
486552012-03-05 Joseph Myers <joseph@codesourcery.com>
48656
48657 * manual/lang.texi (size_t): Note types to which size_t may be
48658 equivalent with the GNU C Library, but do not describe when
48659 differences between them are significant.
48660
30ee4ced
AJ
486612012-03-05 Andreas Jaeger <aj@suse.de>
48662
48663 * sysdeps/i386/fpu/libm-test-ulps: Update.
48664
b7cd39e8
JM
486652012-03-05 Joseph Myers <joseph@codesourcery.com>
48666
48667 [BZ #3976]
48668 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48669 (__ieee754_pow): Save and restore rounding mode and use
48670 round-to-nearest for main computations.
48671 * math/libm-test.inc (pow_test_tonearest): New function.
48672 (pow_test_towardzero): Likewise.
48673 (pow_test_downward): Likewise.
48674 (pow_test_upward): Likewise.
48675 (main): Call the new functions.
48676 * sysdeps/i386/fpu/libm-test-ulps: Update.
48677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48678
48679 [BZ #3976]
48680 * math/libm-test.inc (cosh_test_tonearest): New function.
48681 (cosh_test_towardzero): Likewise.
48682 (cosh_test_downward): Likewise.
48683 (cosh_test_upward): Likewise.
48684 (sinh_test_tonearest): Likewise.
48685 (sinh_test_towardzero): Likewise.
48686 (sinh_test_downward): Likewise.
48687 (sinh_test_upward): Likewise.
48688 (main): Call the new functions.
48689 * sysdeps/i386/fpu/libm-test-ulps: Update.
48690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48691
6c6a98c9
TV
486922012-03-05 Tom de Vries <tom@codesourcery.com>
48693
48694 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48695 default stack guard is set in last bytes.
48696 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48697
21bb2d2e 486982012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48699
21bb2d2e 48700 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48701
21bb2d2e
AJ
48702 [BZ #13656]
48703 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48704 possibly allocate from heap instead of stack.
48705 * stdio-common/bug-vfprintf-nargs.c: New file.
48706 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48707
c6922934
AS
487082012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48709
48710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48711
bc957d53
MP
487122012-03-03 Marek Polacek <polacek@redhat.com>
48713
48714 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48715 * math/math_private.h: Likewise.
48716 * stdlib/tst-strtod.c: Likewise.
48717 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48718 * sysdeps/x86_64/bits/atomic.h: Likewise.
48719
6358490d
DM
487202012-03-02 David S. Miller <davem@davemloft.net>
48721
48722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48726 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48727 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48728 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48729 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48730
01ae168d
RM
487312012-03-02 Roland McGrath <roland@hack.frob.com>
48732
d9a17c07
RM
48733 [BZ #13792]
48734 * manual/examples/README: New file, says the example source files
48735 can be used under GPL>=2.
48736 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48737 line containing just "*/".
48738 * manual/examples/add.c: Add copyright header (GPL>=2).
48739 * manual/examples/argp-ex1.c: Likewise.
48740 * manual/examples/argp-ex2.c: Likewise.
48741 * manual/examples/argp-ex3.c: Likewise.
48742 * manual/examples/argp-ex4.c: Likewise.
48743 * manual/examples/atexit.c: Likewise.
48744 * manual/examples/db.c: Likewise.
48745 * manual/examples/dir.c: Likewise.
48746 * manual/examples/dir2.c: Likewise.
48747 * manual/examples/execinfo.c: Likewise.
48748 * manual/examples/filecli.c: Likewise.
48749 * manual/examples/filesrv.c: Likewise.
48750 * manual/examples/fmtmsgexpl.c: Likewise.
48751 * manual/examples/genpass.c: Likewise.
48752 * manual/examples/inetcli.c: Likewise.
48753 * manual/examples/inetsrv.c: Likewise.
48754 * manual/examples/isockad.c: Likewise.
48755 * manual/examples/longopt.c: Likewise.
48756 * manual/examples/memopen.c: Likewise.
48757 * manual/examples/memstrm.c: Likewise.
48758 * manual/examples/mkfsock.c: Likewise.
48759 * manual/examples/mkisock.c: Likewise.
48760 * manual/examples/mygetpass.c: Likewise.
48761 * manual/examples/pipe.c: Likewise.
48762 * manual/examples/popen.c: Likewise.
48763 * manual/examples/rprintf.c: Likewise.
48764 * manual/examples/search.c: Likewise.
48765 * manual/examples/select.c: Likewise.
48766 * manual/examples/setjmp.c: Likewise.
48767 * manual/examples/sigh1.c: Likewise.
48768 * manual/examples/sigusr.c: Likewise.
48769 * manual/examples/stpcpy.c: Likewise.
48770 * manual/examples/strdupa.c: Likewise.
48771 * manual/examples/strftim.c: Likewise.
48772 * manual/examples/strncat.c: Likewise.
48773 * manual/examples/subopt.c: Likewise.
48774 * manual/examples/swapcontext.c: Likewise.
48775 * manual/examples/termios.c: Likewise.
48776 * manual/examples/testopt.c: Likewise.
48777 * manual/examples/testpass.c: Likewise.
48778 * manual/examples/timeval_subtract.c: Likewise.
48779
01ae168d
RM
48780 [BZ #13792]
48781 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48782 function to ...
48783 * manual/timeval_subtract.c.texi: ... here, new file.
48784
49efa33d
DM
487852012-03-02 David S. Miller <davem@davemloft.net>
48786
48787 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48788
28afd92d
JM
487892012-03-02 Joseph Myers <joseph@codesourcery.com>
48790
804360ed
JM
48791 [BZ #3976]
48792 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48793 (__sin): Save and restore rounding mode and use round-to-nearest
48794 for all computations.
48795 (__cos): Save and restore rounding mode and use round-to-nearest
48796 for all computations.
48797 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48798 <fenv.h>.
48799 (tan): Save and restore rounding mode and use round-to-nearest for
48800 all computations.
48801 * math/libm-test.inc (cos_test_tonearest): New function.
48802 (cos_test_towardzero): Likewise.
48803 (cos_test_downward): Likewise.
48804 (cos_test_upward): Likewise.
48805 (sin_test_tonearest): Likewise.
48806 (sin_test_towardzero): Likewise.
48807 (sin_test_downward): Likewise.
48808 (sin_test_upward): Likewise.
48809 (tan_test_tonearest): Likewise.
48810 (tan_test_towardzero): Likewise.
48811 (tan_test_downward): Likewise.
48812 (tan_test_upward): Likewise.
48813 (main): Call the new functions.
48814 * sysdeps/i386/fpu/libm-test-ulps: Update.
48815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48816
a6d06d7b
JM
48817 [BZ #10135]
48818 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48819 small n, then large n, before computing and testing k+n.
48820 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48822 Likewise.
48823 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48824 Likewise.
48825 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48826 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48827 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48828 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48829 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48830 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48831 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48832 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48833 * math/libm-test.inc (scalbn_test): Add more tests.
48834 (scalbln_test): Likewise.
48835
07e12bb3
JM
48836 * manual/filesys.texi (mode_t): Describe constraints on size and
48837 signedness, not exact equivalence to a particular type.
48838 (ino_t): Likewise.
48839 (ino64_t): Likewise.
48840 (dev_t): Likewise.
48841 (nlink_t): Likewise.
48842 (blkcnt_t): Likewise.
48843 (blkcnt64_t): Likewise.
48844 * manual/llio.texi (off_t): Likewise.
48845
28afd92d
JM
48846 [BZ #3976]
48847 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48848 (__ieee754_exp): Save and restore rounding mode and use
48849 round-to-nearest for all computations.
48850 * math/libm-test.inc (exp_test_tonearest): New function.
48851 (exp_test_towardzero): Likewise.
48852 (exp_test_downward): Likewise.
48853 (exp_test_upward): Likewise.
48854 (main): Call the new functions.
48855 * sysdeps/i386/fpu/libm-test-ulps: Update.
48856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48857
b1eeb65d
CD
488582012-03-01 Chris Demetriou <cgd@google.com>
48859
48860 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48861 have predictable order.
48862
53362a4b
DM
488632012-03-01 David S. Miller <davem@davemloft.net>
48864
3c969083
DM
48865 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48866
759707de
DM
48867 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48868 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48869 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48870 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48871
dfdb8ff2
DM
48872 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48873 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48874 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48876 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48877 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48878 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48879 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48880 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48881
ead89f96
DM
48882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48883
7f66bd07
DM
48884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48885 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48886 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48887
53362a4b
DM
48888 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48889 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48890 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48891 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48892 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48893 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48894 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48895 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48896 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48897 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48898 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48899 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48901 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48902 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48904 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48905 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48906 * sysdeps/sparc/elf/configure: Regenerated.
48907
7b1902cb
JM
489082012-03-01 Joseph Myers <joseph@codesourcery.com>
48909
bec039bc
JM
48910 * configure.in (AS, LD): Require binutils 2.20 or later.
48911 * configure: Regenerated.
48912 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48913 as required minimum version.
48914 * INSTALL: Regenerated.
48915
7b1902cb
JM
48916 [BZ #2541]
48917 [BZ #4108]
48918 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48919 before squaring exponent.
48920 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48921 bottom long double and 27 bits of top long double before squaring
48922 exponent.
48923 * math/libm-test.inc (erfc_test): Add more tests.
48924 * sysdeps/i386/fpu/libm-test-ulps: Update.
48925 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48927
f775c276
KT
489282012-03-01 Kai Tietz <ktietz@redhat.com>
48929
48930 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48931 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48932 containing bit-fields.
48933 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48934 * soft-fp/single.h (_FP_UNION_S): Likewise.
48935 * soft-fp/double.h (_FP_UNION_D): Likewise.
48936
5b8a4d4a
JM
489372012-02-29 Joseph Myers <joseph@codesourcery.com>
48938
0bab47b6
JM
48939 [BZ #13786]
48940 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48941 not include ../strcmp.S.
48942 [USE_AS_STRNCASECMP_L]: Likewise.
48943 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48944 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48945 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48946 (__strncasecmp_l_ia32): Define as alias to
48947 __strncasecmp_l_nonascii.
48948
0fcad3e2
JM
48949 [BZ #5794]
48950 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48951 * sysdeps/i386/fpu/libm-test-ulps: Update.
48952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48953
5b8a4d4a
JM
48954 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48956
8fdceb2e
JL
489572012-02-29 Jeff Law <law@redhat.com>
48958
48959 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48960 out of bounds read.
48961
1f393a11
MP
489622012-02-29 Marek Polacek <polacek@redhat.com>
48963
48964 [BZ #13706]
48965 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48966 * elf/Makefile: Add rules to run tst-unused-dep.out.
48967
8847f037
DM
489682012-02-28 David S. Miller <davem@davemloft.net>
48969
48970 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48971 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48972 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48973 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48974 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48975 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48976
169d7f11
JM
489772012-02-29 Joseph Myers <joseph@codesourcery.com>
48978
48979 * math/libm-test.inc (llround_test): Move one test from
48980 lround_test. Use TEST_f_L in moved test.
48981 (lround_test): Move misplaced test to llround_test. Add testcase
48982 from bug 2561.
48983
39adf059
UD
489842012-02-28 Ulrich Drepper <drepper@gmail.com>
48985
48986 * sysdeps/x86_64/fpu/e_expf.S: New file.
48987 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48988
71b5d1c5
SB
489892012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48990
48991 [BZ #13637]
48992 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48993 of remain_len that may cause incomplete multi-byte character and
48994 false match.
48995 * posix/bug-regex33.c: New file.
48996 * posix/Makefile (tests): Add bug-regex33.
48997
1f77f049
JM
489982012-02-28 Joseph Myers <joseph@codesourcery.com>
48999
49000 * manual/macros.texi: New file.
49001 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49002 * manual/libc.texinfo: Include macros.texi.
49003 * manual/creatute.texi: Likewise.
49004 * manual/install.texi: Likewise.
49005 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49006 @glibcadj{} in references to the GNU C Library.
49007 * manual/charset.texi: Likewise.
49008 * manual/conf.texi: Likewise.
49009 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49010 when not using those macros.
49011 * manual/creature.texi: Likewise.
49012 * manual/crypt.texi: Likewise.
49013 * manual/errno.texi: Likewise.
49014 * manual/filesys.texi: Likewise.
49015 * manual/header.texi: Likewise.
49016 * manual/install.texi: Likewise.
49017 * manual/intro.texi: Likewise.
49018 * manual/io.texi: Likewise.
49019 * manual/job.texi: Likewise.
49020 * manual/lang.texi: Likewise.
49021 * manual/libc.texiinfo: Likewise.
49022 * manual/llio.texi: Likewise.
49023 * manual/locale.texi: Likewise.
49024 * manual/maint.texi: Likewise.
49025 * manual/math.texi: Likewise.
49026 * manual/memory.texi: Likewise.
49027 * manual/message.texi: Likewise.
49028 * manual/nss.texi: Likewise.
49029 * manual/pattern.texi: Likewise.
49030 * manual/process.texi: Likewise.
49031 * manual/resource.texi: Likewise.
49032 * manual/search.texi: Likewise.
49033 * manual/setjmp.texi: Likewise.
49034 * manual/signal.texi: Likewise.
49035 * manual/socket.texi: Likewise.
49036 * manual/startup.texi: Likewise.
49037 * manual/stdio.texi: Likewise.
49038 * manual/string.texi: Likewise.
49039 * manual/sysinfo.texi: Likewise.
49040 * manual/syslog.texi: Likewise.
49041 * manual/terminal.texi: Likewise.
49042 * manual/time.texi: Likewise.
49043 * manual/users.texi: Likewise.
49044 * INSTALL: Regenerated.
49045 * NOTES: Regenerated.
d40c5d54 49046 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49047
450bf206
AS
490482012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49049
49050 * include/dirent.h: Include <dirstream.h> before
49051 <dirent/dirent.h>.
49052
741a235b
DM
490532012-02-28 David S. Miller <davem@davemloft.net>
49054
49055 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49056 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49057 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49058 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49059
d6b5aa58
DM
490602012-02-27 David S. Miller <davem@davemloft.net>
49061
1aff59a3
DM
49062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49064 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49065 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49066
d6b5aa58
DM
49067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49068 frame pointer instead of stack pointer relative arg slot.
49069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49070 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49071 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49072
433f48bf
CD
490732012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49074
49075 [BZ #3992]
49076 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49077
d674b76d
DM
490782012-02-27 David S. Miller <davem@davemloft.net>
49079
49080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49084 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49085 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49086 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49087 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49088
0e7727f7
JM
490892012-02-27 Joseph Myers <joseph@codesourcery.com>
49090
49091 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49092 later. Allow versions 5-9.
43be4ca2 49093 * configure: Regenerated.
0e7727f7
JM
49094 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49095 required minimum version and 4.6 as recommended version. Do not
49096 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49097 * INSTALL: Regenerated.
0e7727f7 49098
a78bc654
DM
490992012-02-27 David S. Miller <davem@davemloft.net>
49100
428d5830
DM
49101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49105 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49106 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49107 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49108 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49109
a78bc654
DM
49110 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49111 manipulate bits before adding and subtracting TWO112[sx].
49112 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49113
4579f81c
RM
491142012-02-27 Roland McGrath <roland@hack.frob.com>
49115
36c8acb4
RM
49116 [BZ #13775]
49117 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49118 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49119 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49120 being in POSIX, because they are in 1003.1-2008.
49121
84ad622b
RM
49122 * rt/tst-aio.c: Include <fcntl.h>.
49123 * rt/tst-aio7.c: Likewise.
49124 * rt/tst-aio64.c: Likewise.
49125
4579f81c
RM
49126 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49127
abd923db
JM
491282012-02-27 Joseph Myers <joseph@codesourcery.com>
49129
49130 * manual/install.texi (--with-headers): Describe headers as
49131 interface headers, not private headers.
49132 (Specific advice for GNU/Linux systems): Describe use of headers
49133 from "make headers_install", not private headers from older
49134 kernels.
43be4ca2 49135 * INSTALL: Regenerated.
abd923db
JM
49136 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49137 Change to 2.6.19.
49138 * sysdeps/unix/sysv/linux/configure: Regenerated.
49139
6664049b
JM
49140 * manual/llio.texi (fclean): Remove documentation.
49141
bb8b6697
JM
49142 * manual/Makefile (libc-texi-generated): New variable. Include
49143 version.texi.
49144 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49145 $(libc-texi-generated), not duplicated list of files.
49146 (version.texi, stamp-version): New rules.
49147 (realclean): Remove $(libc-texi-generated), not individual files
49148 from that list. Do not remove dir-add.texinfo.
49149 * manual/libc.texinfo: Comment out uses of edition numbers and
49150 references to printed manual. Remove last-updated dates.
49151 (EDITION): Comment out.
49152 (ISBN): Likewise.
49153 (VERSION, UPDATED): Remove.
49154 (version.texi): Include.
49155
12e5c3b9
AS
491562012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49157
49158 * sysdeps/posix/spawni.c: Include <signal.h>.
49159 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49160 * sysdeps/pthread/aio_fsync.c: Likewise.
49161
4efeffc1 491622012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49163
ba63ba08
UD
49164 * conform/Makefile (tests): Run only when not cross-compiling and
49165 when fast-check is not defined.
49166
d94a4670
UD
49167 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49168 * conform/data/limits.h-data: Fixes for POSIX2008.
49169 * conform/run-conformtest.sh: Run all tests.
49170 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49171 headers.
49172 * include/bits/dlfcn.h: Likewise.
49173 * include/langinfo.h: Likewise.
49174 * include/monetary.h: Likewise.
49175 * include/sys/poll.h: Likewise.
49176
49177 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49178 for __USE_GNU.
49179 * posix/spawn.h: Define __need_sigset_t.
49180 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49181 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49182 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49183 to get sigevent_t only.
49184 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49185 only for __USE_GNU.
49186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49187 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49188 process_vm_writev only for __USE_GNU.
49189 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49190
49191 * conform/Makefile: For now ignore errors from run-conformtest.
49192 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49193 POSIX to avoid namespace pollution. Don't prepend headers.
49194 * conform/data/aio.h-data: Fixes for POSIX testing.
49195 * conform/data/fcntl.h-data: Likewise.
49196 * conform/data/glob.h-data: Likewise.
49197 * conform/data/grp.h-data: Likewise.
49198 * conform/data/pthread.h-data: Likewise.
49199 * conform/data/pwd.h-data: Likewise.
49200 * conform/data/signal.h-data: Likewise.
49201 * conform/data/spawn.h-data: Likewise.
49202 * conform/data/stdio.h-data: Likewise.
49203 * conform/data/stdlib.h-data: Likewise.
49204 * conform/data/stropts.h-data: Likewise.
49205 * conform/data/sys/mman.h-data: Likewise.
49206 * conform/data/sys/stat.h-data: Likewise.
49207 * conform/data/sys/types.h-data: Likewise.
49208 * conform/data/sys/wait.h-data: Likewise.
49209 * conform/data/time.h-data: Likewise.
49210 * conform/data/unistd.h-data: Likewise.
49211 * conform/data/utime.h-data: Likewise.
49212
49213 * io/sys/stat.h: fchmod was always in POSIX.
49214 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49215 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49216 * rt/aio.h: Define __need_timespec before including <time.h>.
49217 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49218 struct. Add forward declaration of pthread_attr_t and use it in
49219 sigevent.
49220 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49221 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49222 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49223 always remove CLK_TCK definition.
49224
c20105c3
AS
492252012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49226
49227 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49228
7a270350
UD
492292012-02-25 Ulrich Drepper <drepper@gmail.com>
49230
31341567
UD
49231 * conform/run-conformtest.sh: New file.
49232 * conform/Makefile: Run run-conformtest for tests.
49233 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49234 support.
49235
49236 * conform/data/uchar.h-data: New file.
49237 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49238 * conform/data/arpa/inet.h-data: Likewise.
49239 * conform/data/assert.h-data: Likewise.
49240 * conform/data/complex.h-data: Likewise.
49241 * conform/data/cpio.h-data: Likewise.
49242 * conform/data/ctype.h-data: Likewise.
49243 * conform/data/dirent.h-data: Likewise.
49244 * conform/data/dlfcn.h-data: Likewise.
49245 * conform/data/errno.h-data: Likewise.
49246 * conform/data/fcntl.h-data: Likewise.
49247 * conform/data/float.h-data: Likewise.
49248 * conform/data/fmtmsg.h-data: Likewise.
49249 * conform/data/fnmatch.h-data: Likewise.
49250 * conform/data/ftw.h-data: Likewise.
49251 * conform/data/glob.h-data: Likewise.
49252 * conform/data/grp.h-data: Likewise.
49253 * conform/data/iconv.h-data: Likewise.
49254 * conform/data/inttypes.h-data: Likewise.
49255 * conform/data/langinfo.h-data: Likewise.
49256 * conform/data/libgen.h-data: Likewise.
49257 * conform/data/limits.h-data: Likewise.
49258 * conform/data/locale.h-data: Likewise.
49259 * conform/data/math.h-data: Likewise.
49260 * conform/data/monetary.h-data: Likewise.
49261 * conform/data/mqueue.h-data: Likewise.
49262 * conform/data/ndbm.h-data: Likewise.
49263 * conform/data/net/if.h-data: Likewise.
49264 * conform/data/netdb.h-data: Likewise.
49265 * conform/data/netinet/in.h-data: Likewise.
49266 * conform/data/nl_types.h-data: Likewise.
49267 * conform/data/poll.h-data: Likewise.
49268 * conform/data/pthread.h-data: Likewise.
49269 * conform/data/pwd.h-data: Likewise.
49270 * conform/data/regex.h-data: Likewise.
49271 * conform/data/sched.h-data: Likewise.
49272 * conform/data/search.h-data: Likewise.
49273 * conform/data/semaphore.h-data: Likewise.
49274 * conform/data/setjmp.h-data: Likewise.
49275 * conform/data/signal.h-data: Likewise.
49276 * conform/data/spawn.h-data: Likewise.
49277 * conform/data/stdarg.h-data: Likewise.
49278 * conform/data/stdio.h-data: Likewise.
49279 * conform/data/stdlib.h-data: Likewise.
49280 * conform/data/string.h-data: Likewise.
49281 * conform/data/strings.h-data: Likewise.
49282 * conform/data/stropts.h-data: Likewise.
49283 * conform/data/sys/ipc.h-data: Likewise.
49284 * conform/data/sys/mman.h-data: Likewise.
49285 * conform/data/sys/msg.h-data: Likewise.
49286 * conform/data/sys/resource.h-data: Likewise.
49287 * conform/data/sys/select.h-data: Likewise.
49288 * conform/data/sys/sem.h-data: Likewise.
49289 * conform/data/sys/shm.h-data: Likewise.
49290 * conform/data/sys/socket.h-data: Likewise.
49291 * conform/data/sys/stat.h-data: Likewise.
49292 * conform/data/sys/statvfs.h-data: Likewise.
49293 * conform/data/sys/time.h-data: Likewise.
49294 * conform/data/sys/timeb.h-data: Likewise.
49295 * conform/data/sys/times.h-data: Likewise.
49296 * conform/data/sys/types.h-data: Likewise.
49297 * conform/data/sys/uio.h-data: Likewise.
49298 * conform/data/sys/un.h-data: Likewise.
49299 * conform/data/sys/utsname.h-data: Likewise.
49300 * conform/data/sys/wait.h-data: Likewise.
49301 * conform/data/syslog.h-data: Likewise.
49302 * conform/data/tar.h-data: Likewise.
49303 * conform/data/termios.h-data: Likewise.
49304 * conform/data/utime.h-data: Likewise.
49305 * conform/data/utmpx.h-data: Likewise.
49306 * conform/data/varargs.h-data: Likewise.
49307 * conform/data/wchar.h-data: Likewise.
49308 * conform/data/wctype.h-data: Likewise.
49309 * conform/data/wordexp.h-data: Likewise.
49310
49311 * include/stropts.h: New file.
49312 * include/uchar.h: New file.
49313 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49314 * include/assert.h: Likewise.
49315 * include/ctype.h: Likewise.
49316 * include/dirent.h: Likewise.
49317 * include/dlfcn.h: Likewise.
49318 * include/fcntl.h: Likewise.
49319 * include/fnmatch.h: Likewise.
49320 * include/glob.h: Likewise.
49321 * include/grp.h: Likewise.
49322 * include/libio.h: Likewise.
49323 * include/locale.h: Likewise.
49324 * include/math.h: Likewise.
49325 * include/net/if.h: Likewise.
49326 * include/netdb.h: Likewise.
49327 * include/netinet/in.h: Likewise.
49328 * include/pthread.h: Likewise.
49329 * include/pwd.h: Likewise.
49330 * include/regex.h: Likewise.
49331 * include/sched.h: Likewise.
49332 * include/search.h: Likewise.
49333 * include/setjmp.h: Likewise.
49334 * include/signal.h: Likewise.
49335 * include/stdio.h: Likewise.
49336 * include/stdlib.h: Likewise.
49337 * include/string.h: Likewise.
49338 * include/sys/cdefs.h: Likewise.
49339 * include/sys/mman.h: Likewise.
49340 * include/sys/msg.h: Likewise.
49341 * include/sys/resource.h: Likewise.
49342 * include/sys/select.h: Likewise.
49343 * include/sys/socket.h: Likewise.
49344 * include/sys/stat.h: Likewise.
49345 * include/sys/statvfs.h: Likewise.
49346 * include/sys/time.h: Likewise.
49347 * include/sys/times.h: Likewise.
49348 * include/sys/uio.h: Likewise.
49349 * include/sys/utsname.h: Likewise.
49350 * include/sys/wait.h: Likewise.
49351 * include/termios.h: Likewise.
49352 * include/time.h: Likewise.
49353 * include/ulimit.h: Likewise.
49354 * include/unistd.h: Likewise.
49355 * include/utime.h: Likewise.
49356 * include/wchar.h: Likewise.
49357 * include/wctype.h: Likewise.
49358 * include/wordexp.h: Likewise.
49359
49360 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49361
7a270350
UD
49362 * time/time.h: TIME_UTC must be a macro.
49363 Make timespec_get available for ISO C11 only as well.
49364
7724defc
UD
493652012-02-24 Ulrich Drepper <drepper@gmail.com>
49366
49367 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49368 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49369
6b1d1d46
JM
493702012-02-24 Joseph Myers <joseph@codesourcery.com>
49371
49372 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49373
0f8bbd69
JM
493742012-02-24 Joseph Myers <joseph@codesourcery.com>
49375
49376 * manual/texinfo.tex: Update to version 2012-01-19.16.
49377
66ab80bc
JM
493782012-02-24 Joseph Myers <joseph@codesourcery.com>
49379
49380 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49381
74981cc5
RM
493822012-02-24 Roland McGrath <roland@hack.frob.com>
49383
ee968201
RM
49384 [BZ #13738]
49385 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49386 * manual/fdl-1.3.texi: New file.
49387 * manual/fdl-1.1.texi: File removed.
49388
74981cc5
RM
49389 [BZ #13738]
49390 * manual/libc.texinfo (FDL_VERSION): New @set.
49391 Use it for mention of FDL in cover text.
49392 (Documentation License): Use it in @include file name.
49393
7bb764bc
JM
493942012-02-22 Joseph Myers <joseph@codesourcery.com>
49395 Roland McGrath <roland@hack.frob.com>
49396
49397 [BZ #5461]
57f41c40
AS
49398 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49399 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49400 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49401 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49402 name.
49403 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49404
6cbeae47
JM
494052012-02-22 Joseph Myers <joseph@codesourcery.com>
49406
49407 [BZ #2547]
49408 [BZ #11365]
49409 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49410 manipulate bits before adding and subtracting TWO23[sx].
49411 * math/libm-test.inc (nearbyint_test): Add more tests.
49412
fe45ce09
JM
494132012-02-22 Joseph Myers <joseph@codesourcery.com>
49414
49415 [BZ #2548]
49416 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49417 bits before adding and subtracting TWO23[sx].
49418 * math/libm-test.inc (rint_test): Add more tests.
49419 (rint_test_tonearest): Likewise.
49420 (rint_test_towardzero): Likewise.
49421 (rint_test_downward): Likewise.
49422 (rint_test_upward: Likewise.
49423
ff3b3d82
JM
494242012-02-22 Joseph Myers <joseph@codesourcery.com>
49425
49426 [BZ #10110]
49427 * include/stdc-predef.h: New file. Extracted from features.h.
49428 * include/features.h: Include stdc-predef.h.
49429 * Makefile (headers): Add stdc-predef.h.
49430 * CONFORMANCE (Compiler limitations): Update.
49431
ef0aab35
JM
494322012-02-22 Joseph Myers <joseph@codesourcery.com>
49433
49434 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49435
58639409
DM
494362012-02-21 David S. Miller <davem@davemloft.net>
49437
49438 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49439 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49440
c0e70b25
DM
494412012-02-20 David S. Miller <davem@davemloft.net>
49442
49443 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49444 using a normal save/restore sequence, rather than allocating a
49445 dummy stack frame just to store a frame pointer and restore.
49446 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49447
fb06851d
JM
494482012-02-21 Joseph Myers <joseph@codesourcery.com>
49449
49450 * manual/install.texi: Fix stray word in line-wrapped comment.
49451
7a8b71c3
DM
494522012-02-20 David S. Miller <davem@davemloft.net>
49453
d510c123
DM
49454 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49455 both binutils and gcc support GOTDATA.
49456
0722d7c2
DM
49457 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49458 "rd %pc" in the PIC register setup sequences.
49459
3d2b3019
DM
49460 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49461 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49462 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49463 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49464 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49466 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49467 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49469 (SYSCALL_ERROR_HANDLER): Likewise.
49470 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49471 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49473 (SYSCALL_ERROR_HANDLER): Likewise.
49474
c80098a9
DM
49475 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49476 (HAVE_GCC_GOTDATA): New.
49477 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49478 relocation support in both binutils and gcc.
49479 * sysdeps/sparc/elf/configure: Regenerate.
49480
3a2545a0
DM
49481 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49482 * sysdeps/sparc/sparc32/elf/configure: Delete.
49483 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49484 * sysdeps/sparc/sparc64/elf/configure: Delete.
49485 * sysdeps/sparc/elf/configure.in: New file.
49486 * sysdeps/sparc/elf/configure: Generate.
49487
7a8b71c3
DM
49488 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49489 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49490 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49491 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49492 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49493
f1e86fca
JM
494942012-02-21 Joseph Myers <joseph@codesourcery.com>
49495
49496 * manual/install.texi: Do not mention specific glibc version
49497 numbers.
49498 * manual/libc.texinfo (VERSION, UPDATED): Update.
49499 (@copying): Use @copyright{} and range of years.
49500
0e7dfaef
JM
495012012-02-21 Joseph Myers <joseph@codesourcery.com>
49502
49503 [BZ #13695]
49504 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49505 [crti.S not in sysdirs] (generated): Do not append.
49506 [crti.S not in sysdirs] (omit-deps): Likewise.
49507 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49508 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49509 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49510 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49511 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49512 Likewise.
49513 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49514 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49515 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49516 * csu/defs.awk: Remove file.
49517 * sysdeps/generic/initfini.c: Likewise.
49518 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49519 variable.
49520 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49521 Likewise.
49522
599af3ca
JM
495232012-02-20 Joseph Myers <joseph@codesourcery.com>
49524
49525 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49526 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49527 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49528 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49529 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49530 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49531 <bits/epoll.h>.
49532 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49533 (__EPOLL_PACKED): Define to empty if not defined by
49534 <bits/epoll.h>.
49535 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49537 bits/epoll.h.
49538
0e499750
JM
495392012-02-20 Joseph Myers <joseph@codesourcery.com>
49540
49541 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49542 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49543 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49544 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49545 <bits/timerfd.h>.
49546 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49548 bits/timerfd.h.
49549
5ad91f6e
JM
495502012-02-20 Joseph Myers <joseph@codesourcery.com>
49551
49552 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49553 in C locale.
49554 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49555 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49556 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49558
06b99b02
AJ
495592012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49560
49561 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49562 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49563
7638c0fd
AS
495642012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49565
49566 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49567 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49568 defined.
49569 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49570 Likewise.
49571 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49572 entry for 2.16.
49573
92221550
AJ
495742012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49575
49576 * math/w_acos.c: Use non-signaling floating-point comparisons.
49577 * math/w_acosf.c: Likewise.
49578 * math/w_acosh.c: Likewise.
49579 * math/w_acoshf.c: Likewise.
49580 * math/w_acoshl.c: Likewise.
49581 * math/w_acosl.c: Likewise.
49582 * math/w_asin.c: Likewise.
49583 * math/w_asinf.c: Likewise.
49584 * math/w_asinl.c: Likewise.
49585 * math/w_atanh.c: Likewise.
49586 * math/w_atanhf.c: Likewise.
49587 * math/w_atanhl.c: Likewise.
49588 * math/w_exp2.c: Likewise.
49589 * math/w_exp2f.c: Likewise.
49590 * math/w_exp2l.c: Likewise.
49591 * math/w_j0.c: Likewise.
49592 * math/w_j0f.c: Likewise.
49593 * math/w_j0l.c: Likewise.
49594 * math/w_j1.c: Likewise.
49595 * math/w_j1f.c: Likewise.
49596 * math/w_j1l.c: Likewise.
49597 * math/w_jn.c: Likewise.
49598 * math/w_jnf.c: Likewise.
49599 * math/w_log.c: Likewise.
49600 * math/w_log10.c: Likewise.
49601 * math/w_log10f.c: Likewise.
49602 * math/w_log10l.c: Likewise.
49603 * math/w_log2.c: Likewise.
49604 * math/w_log2f.c: Likewise.
49605 * math/w_log2l.c: Likewise.
49606 * math/w_logf.c: Likewise.
49607 * math/w_logl.c: Likewise.
49608 * math/w_sqrt.c: Likewise.
49609 * math/w_sqrtf.c: Likewise.
49610 * math/w_sqrtl.c: Likewise.
49611 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49612 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49613 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49614 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49615 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49616
ebaf36eb
JM
496172012-02-19 Joseph Myers <joseph@codesourcery.com>
49618
49619 [BZ #9739]
49620 * manual/string.texi (strnlen): Use correct parameter name in
49621 equivalent expression.
49622
71c254a6
JM
496232012-02-19 Joseph Myers <joseph@codesourcery.com>
49624
49625 [BZ #11174]
49626 * manual/users.texi (seteuid): Consistently use neweuid for
49627 argument name.
49628
16d2c631
JM
496292012-02-19 Joseph Myers <joseph@codesourcery.com>
49630
49631 [BZ #13704]
49632 * manual/nss.texi (Services in the NSS configuration): Correct
49633 list of services in example configuration file.
49634
cd837b09
NB
496352012-02-19 Nick Bowler <nbowler@draconx.ca>
49636
49637 [BZ #11322]
49638 * manual/arith.texi: Remove statements about negative zero
49639 behaving identically to zero.
49640
02c4bbad
JM
496412012-02-18 Joseph Myers <joseph@codesourcery.com>
49642
49643 [BZ #5993]
49644 * manual/install.texi: Do not document upgrading from libc5.
49645
366842e7
JM
496462012-02-18 Joseph Myers <joseph@codesourcery.com>
49647
49648 [BZ #4596]
49649 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49650
dd54084d
DM
496512012-02-18 David S. Miller <davem@davemloft.net>
49652
49653 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49654 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49655 %o7 across the call.
49656 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49657 instead.
49658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49659 SETUP_PIC_REG_LEAF.
49660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49661 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49662 * sysdeps/sparc/crtn.S: Likewise.
49663
2bcc53a3
UD
496642012-02-17 Ulrich Drepper <drepper@gmail.com>
49665
49666 * aout/Makefile: Remove.
49667
09c093b5
RK
496682012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49669
49670 [BZ #13058]
49671 * manual/examples/argp-ex1.c (main): Format definition in GNU
49672 style.
49673 * manual/examples/argp-ex2.c (main): Likewise.
49674 * manual/examples/argp-ex3.c (main): Likewise.
49675 * manual/examples/argp-ex4.c (main): Likewise.
49676 * manual/examples/longopt.c (main): Use new-style prototype
49677 definition.
49678 * manual/examples/strncat.c (main): Specify return type and use
49679 (void) for arguments.
49680 * manual/examples/subopt.c (main): Use char **argv argument.
49681
2ee633a2
JM
496822012-02-17 Joseph Myers <joseph@codesourcery.com>
49683
49684 [BZ #5077]
49685 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49686 rounding modes.
49687
0520adde
FB
496882012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49689
49690 [BZ #6907]
49691 * manual/string.texi (strchr): Change when strchrnul is
49692 recommended.
49693
3f4081cd
DGM
496942012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49695
49696 [BZ #174]
49697 * manual/locale.texi (setlocale): Document LOCPATH.
49698
d1b10e78
JM
496992012-02-17 Joseph Myers <joseph@codesourcery.com>
49700
49701 [BZ #10210]
49702 * manual/process.texi (execle): Move @dots{} before last argument.
49703
79c6869c
PB
497042012-02-17 Paul Bolle <pebolle@tiscali.nl>
49705
49706 [BZ #12047]
49707 * manual/charset.texi (Generic Charset Conversion): Fix typo
49708 (LC_TYPE -> LC_CTYPE).
49709
cc6e48bc
NB
497102012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49711
49712 [BZ #5805]
49713 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49714 (scalbnf): Likewise.
49715 (scalbnl): Likewise.
49716 (scalbln): Likewise.
49717 (scalblnf): Likewise.
49718 (scalblnl): Likewise.
49719 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49720 (vwarnx): Likewise.
49721 (verr): Likewise.
49722 (verrx): Likewise.
49723 * manual/filesys.texi (telldir): Use braces around return type.
49724 * manual/llio.texi (mmap): Add space after comma.
49725 (mmap64): Likewise.
49726 * manual/math.texi (jn): Use @var{} on parameter names.
49727 (jnf): Likewise.
49728 (jnl): Likewise.
49729 (yn): Likewise.
49730 (ynf): Likewise.
49731 (ynl): Likewise.
49732 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49733 line.
49734 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49735 "...".
49736 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49737 (sched_get_priority_max): Likewise.
49738 * manual/signal.texi (sigvec): Add space after comma.
49739 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49740 names.
49741 (if_indextoname): Likewise.
49742 (if_freenameindex): Likewise.
49743 (sendto): Use ',' instead of '.' in prototype.
49744 * manual/startup.texi (syscall): Use @dots{} instead of literal
49745 "...".
49746 * manual/stdio.texi (__fpending): Separate initial words of
49747 paragraph from @deftypefun line.
49748 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49749 "...".
49750 (vsyslog): Use @var{} on parameter names.
49751 * manual/terminal.texi (stty): Use @var{} on parameter names.
49752 * manual/users.texi (getutmp): Use @var{} on parameter names.
49753 (getutmpx): Likewise.
49754
5b23062f
JM
497552012-02-17 Joseph Myers <joseph@codesourcery.com>
49756
49757 [BZ #6884]
49758 * manual/stdio.texi (fopen): Fix typos in description of
49759 ",ccs=STRING".
49760
8dee4833
AJ
497612012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49762
49763 [BZ #4026]
49764 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49765 get clock_id definition.
49766
9078ce93
TS
497672012-02-17 Thomas Schwinge <thomas@schwinge.name>
49768
49769 [BZ #4822]
49770 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49771 (madvise): Cast every argument to void on its own.
49772
3835c55f
JM
497732012-02-17 Joseph Myers <joseph@codesourcery.com>
49774
49775 [BZ #9902]
49776 * manual/startup.texi (Exit Status): Fix typo.
49777
35c47e37
JM
497782012-02-17 Joseph Myers <joseph@codesourcery.com>
49779
49780 [BZ #10140]
49781 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49782 * manual/examples/argp-ex2.c: Likewise.
49783 * manual/examples/argp-ex3.c: Likewise.
49784
e3b69ca7
RH
497852012-02-16 Richard Henderson <rth@redhat.com>
49786
49787 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49788 * sysdeps/s390/s390-32/initfini.c: Remove.
49789 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49790 * sysdeps/s390/s390-64/initfini.c: Remove.
49791
df83af67
KK
497922012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49793
49794 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49795 compiler output for sysdeps/generic/initfini.c.
49796 * sysdeps/sh/elf/initfini.c: Remove file.
49797
f63f3380
DM
497982012-02-16 David S. Miller <davem@davemloft.net>
49799
fb59b3a4
DM
49800 [BZ #11494]
49801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49802
f63f3380
DM
49803 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49804 * sysdeps/sparc/crti.S: New file.
49805 * sysdeps/sparc/crtn.S: New file.
49806 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49807 * sysdeps/sparc/sparc64/Makefile: Likewise.
49808
df6a4a4a
MF
498092012-02-15 Mike Frysinger <vapier@gentoo.org>
49810
6dd8f3dc 49811 [BZ #3335]
df6a4a4a
MF
49812 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49813
1cac7236
RM
498142012-02-15 Roland McGrath <roland@hack.frob.com>
49815
d2c736f8
RM
49816 [BZ #4822]
49817 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49818
1cac7236
RM
49819 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49820 (write, read, close): Likewise.
49821 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49822
8e475601
JM
498232012-02-15 Joseph Myers <joseph@codesourcery.com>
49824
49825 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49826 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49827 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49828 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49829 <bits/signalfd.h>.
49830 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49832 bits/signalfd.h.
49833
ed656b40
MP
498342012-02-14 Marek Polacek <polacek@redhat.com>
49835
49836 * sysdeps/x86_64/crti.S: New file.
49837 * sysdeps/x86_64/crtn.S: New file.
49838 * sysdeps/x86_64/elf/initfini.c: Remove file.
49839
2a979d3a
JM
498402012-02-13 Joseph Myers <joseph@codesourcery.com>
49841
49842 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49843 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49844 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49845 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49846 <bits/inotify.h>.
49847 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49849 bits/inotify.h.
49850
2a418ac3
JM
498512012-02-13 Joseph Myers <joseph@codesourcery.com>
49852
49853 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49854 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49855 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49856 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49857 <bits/eventfd.h>.
49858 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49860 bits/eventfd.h.
49861
fb779be7
TS
498622012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49863
e19e83c5
RM
49864 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49865 __feraiseexcept instead of feraiseexcept.
7c35ffed 49866
fb779be7
TS
49867 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49868 nanosleep invocations.
49869 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49870 strings, and add error checking for a nanosleep invocations.
49871
59ba27a6
PE
498722012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49873
49874 Replace FSF snail mail address with URLs, as per GNU coding standards.
49875 Most of the snail mail addresses were wrong anyway, and omitting
49876 them makes the source code easier to maintain. Almost all of the
49877 changes are to license notices and to locale LC_IDENTIFICATION
49878 addresses, except for this one:
49879 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49880 not its snail mail address.
49881
57b957eb
RH
498822012-02-09 Richard Henderson <rth@twiddle.net>
49883
af850b1c
RH
49884 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49885 of kernel-features.h.
49886
57b957eb
RH
49887 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49888
6b73181a
MP
498892012-02-08 Marek Polacek <polacek@redhat.com>
49890
49891 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49892 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49893 * sysdeps/gnu/_G_config.h: Likewise.
49894 * sysdeps/generic/_G_config.h: Likewise.
49895
26ecc33a
AS
498962012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49897
6c6dbc63
AS
49898 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49899 tests.
49900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49901
e216c012
AS
49902 * sysdeps/powerpc/powerpc32/crti.S: New file.
49903 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49904 * sysdeps/powerpc/powerpc64/crti.S: New file.
49905 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49906
26ecc33a
AS
49907 * Makeconfig (have-initfini): Don't set.
49908 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49909 * configure.in (nopic_initfini): Don't substitute.
49910 * config.h.in (HAVE_INITFINI): Don't #undef.
49911 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49912 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49913
3add8e13
JM
499142012-02-08 Joseph Myers <joseph@codesourcery.com>
49915
49916 Support crti.S and crtn.S provided directly by architectures.
49917 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49918 [crti.S in sysdirs] (omit-deps): Likewise.
49919 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49920 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49921 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49922 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49923 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49924 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49925 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49926 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49927 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49928 compiler output for sysdeps/generic/initfini.c.
49929 * sysdeps/i386/elf/Makefile: Remove file.
49930 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49931
a22f12b4
MP
499322012-02-07 Marek Polacek <polacek@redhat.com>
49933
49934 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49935 * sysdeps/gnu/_G_config.h: Likewise.
49936 * sysdeps/mach/hurd/_G_config.h: Likewise.
49937
148cf100
MP
499382012-02-07 Marek Polacek <polacek@redhat.com>
49939
49940 * math/Makefile (tests): Add tst-CMPLX2.
49941 * math/tst-CMPLX2.c: New file.
49942
cfdc0dd7
AS
499432012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49944
84ba42c4
AS
49945 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49946
cfdc0dd7
AS
49947 * math/libm-test.inc (jn_test): Add missing L suffix.
49948
622c86f4
MP
499492012-02-06 Marek Polacek <polacek@redhat.com>
49950
49951 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49952 * sysdeps/i386/fpu/e_powf.S: Likewise.
49953 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49954 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49956 * sysdeps/i386/fpu/e_pow.S: Likewise.
49957 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49958 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49959 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49960 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49961 * sysdeps/i386/fpu/e_log2.S: Likewise.
49962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49963 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49964 * sysdeps/i386/fpu/e_powl.S: Likewise.
49965 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49966 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49967 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49968 * sysdeps/i386/fpu/e_logl.S: Likewise.
49969 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49970 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49971 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49972 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49973 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49974 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49975 * sysdeps/i386/fpu/e_log.S: Likewise.
49976 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49977 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49978 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49979 * sysdeps/i386/fpu/e_logf.S: Likewise.
49980 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49981 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49982 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49983 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49984 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49985 * sysdeps/i386/fpu/e_log10.S: Likewise.
49986 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49988 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49989 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49990 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49991 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49992 * sysdeps/i386/asm-syntax.h: Likewise.
49993 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49994 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49995 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49996 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49997 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49998 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49999 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50000 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50001 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50002 * sysdeps/powerpc/sysdep.h: Likewise.
50003 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50004 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50005
d4a54ac6
JM
500062012-02-06 Joseph Myers <joseph@codesourcery.com>
50007
50008 [BZ #411]
50009 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50010
314054ea
JM
500112012-02-06 Joseph Myers <joseph@codesourcery.com>
50012
50013 * sysdeps/i386/sysdep.h: Include <features.h>.
50014 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50015 version.
50016
d8e0ca50
JM
500172012-02-05 Joseph Myers <joseph@codesourcery.com>
50018
50019 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50020 Define.
50021 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50022 LOAD_PIC_REG_STR.
50023
b1da7dd9
JM
500242012-02-03 Joseph Myers <joseph@codesourcery.com>
50025
50026 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50027 (SETUP_PIC_REG): Use GET_PC_THUNK.
50028 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50029 macro.
50030
9a1d9254
JM
500312012-02-03 Joseph Myers <joseph@codesourcery.com>
50032
50033 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50034 for non-PIC compilation.
50035 (SETUP_PIC_REG): Add .p2align directive.
50036 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50037 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50038 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50039 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50040 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50041 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50042 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50043 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50044 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50045 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50046 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50047 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50048 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50049 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50050 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50051 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50052 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50053 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50054 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50055 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50056 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50058 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50059 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50060 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50062 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50063 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50064 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50065 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50066 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50067 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50068 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50069 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50070 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50071 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50072 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50073 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50074 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50075 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50076 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50077
65dc3b75
JM
500782012-02-03 Joseph Myers <joseph@codesourcery.com>
50079
50080 * math/tst-CMPLX.c: Include <stdio.h>.
50081
d55bf177
JM
500822012-01-31 Joseph Myers <joseph@codesourcery.com>
50083
50084 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50085 float.
50086 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50087 * sysdeps/sparc/bits/mathdef.h: Likewise.
50088
69db4f8f
MP
500892012-01-31 Marek Polacek <polacek@redhat.com>
50090
50091 * libio/libio.h: Don't define _PARAMS.
50092 * locale/programs/config.h: Don't define PARAMS.
50093 * stdlib/strtol_l.c: Likewise.
50094 (__strtol_l): Remove PARAMS from the prototype.
50095
41b81892
UD
500962012-01-31 Ulrich Drepper <drepper@gmail.com>
50097
3b49edc0
UD
50098 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50099 names. Just use the correct names. Remove unnecessary wrapper
50100 functions.
50101 * malloc/arena.c: Likewise.
50102 * malloc/hooks.c: Likewise.
50103
41b81892
UD
50104 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50105 ARENA_TEST says not to. Simplify test for creation of a new arena.
50106 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50107
27a25b6e
UD
501082012-01-30 Ulrich Drepper <drepper@gmail.com>
50109
50110 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50111 into tail calls.
50112 (update_get_addr): New function.
50113 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50114 GET_ADDR_MODULE parameter.
50115
c8a89e7d
JM
501162012-01-30 Joseph Myers <joseph@codesourcery.com>
50117
50118 * crypt/cert.c: Remove __STDC__ conditionals.
50119 * crypt/crypt-entry.c: Likewise.
50120 * crypt/crypt_util.c: Likewise.
50121 * libio/filedoalloc.c: Likewise.
50122 * libio/fileops.c: Likewise.
50123 * libio/genops.c: Likewise.
50124 * libio/iofclose.c: Likewise.
50125 * libio/iofdopen.c: Likewise.
50126 * libio/iofopen.c: Likewise.
50127 * libio/iofopen64.c: Likewise.
50128 * libio/iogetdelim.c: Likewise.
50129 * libio/iopopen.c: Likewise.
50130 * libio/obprintf.c: Likewise.
50131 * libio/oldfileops.c: Likewise.
50132 * libio/oldiofclose.c: Likewise.
50133 * libio/oldiofdopen.c: Likewise.
50134 * libio/oldiofopen.c: Likewise.
50135 * libio/oldiopopen.c: Likewise.
50136 * libio/wfiledoalloc.c: Likewise.
50137 * libio/wgenops.c: Likewise.
50138 * locale/programs/xmalloc.c: Likewise.
50139 * misc/syslog.c: Likewise.
50140 * stdio-common/xbug.c: Likewise.
50141 * string/memchr.c: Likewise.
50142 * string/memcmp.c: Likewise.
50143 * string/memrchr.c: Likewise.
50144 * string/rawmemchr.c: Likewise.
50145 * sysdeps/posix/getcwd.c: Likewise.
50146 * time/strftime_l.c: Likewise.
50147
3b100462
JM
501482012-01-30 Joseph Myers <joseph@codesourcery.com>
50149
50150 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50151 * config.make.in (config-cflags-sse2avx): Define.
50152 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50153 Fix typo.
50154
607998af
CM
501552012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50156
50157 * scripts/config.guess: Update from upstream config git repository.
50158 * scripts/config.sub: Likewise.
50159
3601428f
CM
501602012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50161
3ac8b282
CM
50162 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50163 (EM_NUM): Update.
50164 (R_TILEPRO_*, R_TILEGX_*): New macros.
50165
e034841e
CM
50166 * scripts/firstversions.awk: Fix bug in version range handling.
50167
540d7568
CM
50168 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50169
3601428f
CM
50170 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50171
463de862
CM
50172 * include/sys/epoll.h: New file.
50173 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50174 libc_hidden_def.
50175
73139a76
UD
501762012-01-28 Ulrich Drepper <drepper@gmail.com>
50177
96bc5b45
UD
50178 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50179 Avoid unnecessary __WORDSIZE == 64 test.
50180 (fmaxf): Use VEX format if possible.
50181 (fmax): Likewise.
50182 (fminf): Likewise.
50183 (fmin): Likewise.
50184
56f6f6a2
UD
50185 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50186 * math/math_private.h: Remove libc_fegetround* and
50187 libc_fesetround*.
50188 * sysdeps/i386/configure.in: Check for -msse2avx.
50189 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50190 also if SSE2AVX is defined.
50191 Remove libc_fegetround* and libc_fesetround*.
50192 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50193 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50194 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50195 of HAS_YMM_USABLE.
50196 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50197 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50198 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50199 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50200 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50201
73139a76
UD
50202 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50203
d73f93a4
AZ
502042012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50205
50206 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50207 size is not set.
50208 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50209
6ee65ed6
UD
502102012-01-27 Ulrich Drepper <drepper@gmail.com>
50211
50212 [BZ #13618]
50213 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50214 relocation.
50215 * Makeconfig (libm): Define.
50216 * elf/Makefile: Add rules to build and run tst-relsort1.
50217 * elf/tst-relsort1.c: New file.
50218 * elf/tst-relsort1mod1.c: New file.
50219 * elf/tst-relsort1mod2.c: New file.
50220
8db21882
JM
502212012-01-27 Joseph Myers <joseph@codesourcery.com>
50222
50223 * math/s_ldexp.c: Remove __STDC__ conditionals.
50224 * math/s_ldexpf.c: Likewise.
50225 * math/s_ldexpl.c: Likewise.
50226 * math/s_nextafter.c: Likewise.
50227 * math/s_nexttowardf.c: Likewise.
50228 * math/s_significand.c: Likewise.
50229 * math/s_significandf.c: Likewise.
50230 * math/s_significandl.c: Likewise.
50231 * math/w_jnl.c: Likewise.
50232 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50233 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50234 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50235 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50236 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50237 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50238 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50239 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50240 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50241 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50242 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50243 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50244 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50245 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50246 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50247 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50248 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50249 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50251 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50252 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50253 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50254 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50255 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50256 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50257 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50258 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50259 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50260 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50261 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50262 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50263 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50264 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50265 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50266 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50267 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50268 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50269 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50270 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50271 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50272 * sysdeps/ieee754/k_standard.c: Likewise.
50273 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50274 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50275 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50276 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50277 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50278 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50279 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50280 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50281 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50282 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50283 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50284 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50285 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50286 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50287 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50288 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50289 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50290 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50291 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50292 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50294 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50295 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50296 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50297 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50298 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50299 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50300 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50301 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50302 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50303 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50304 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50305 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50306 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50307 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50308 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50309 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50310 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50311 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50312 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50313 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50315 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50316 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50317 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50318 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50319 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50320 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50321 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50322 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50323 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50325 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50326 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50327 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50328 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50329 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50330 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50331 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50332 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50333 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50334 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50335 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50336 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50337 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50338 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50339 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50340 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50341 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50342 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50343 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50344 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50345 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50346 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50347 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50348 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50349 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50350 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50351 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50352 * sysdeps/ieee754/s_matherr.c: Likewise.
50353 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50354 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50355 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50356 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50357
965a54a4
JM
503582012-01-26 Joseph Myers <joseph@codesourcery.com>
50359
50360 * crypt/md5.h: Remove __STDC__ conditionals.
50361 * libio/libioP.h: Likewise.
50362 * locale/programs/config.h: Likewise.
50363 * sysdeps/generic/sysdep.h: Likewise.
50364 * sysdeps/i386/asm-syntax.h: Likewise.
50365 * sysdeps/s390/asm-syntax.h: Likewise.
50366 * sysdeps/unix/sysdep.h: Likewise.
50367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50369
7071ad79
JM
503702012-01-26 Joseph Myers <joseph@codesourcery.com>
50371
50372 * libio/libio.h: Remove __STDC__ conditionals.
50373 * malloc/obstack.h: Likewise.
50374 * math/complex.h: Likewise.
50375 * math/math.h: Likewise.
50376 * sysdeps/generic/_G_config.h: Likewise.
50377 * sysdeps/gnu/_G_config.h: Likewise.
50378 * sysdeps/mach/hurd/_G_config.h: Likewise.
50379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50380 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50381 * sysdeps/sparc/bits/mathdef.h: Likewise.
50382
afc5ed09
UD
503832012-01-26 Ulrich Drepper <drepper@gmail.com>
50384
50385 [BZ #13583]
50386 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50387 Clean up HAS_* macros.
afc5ed09 50388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50389 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50390 possible.
50391 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50392 HAS_AVX.
50393 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50394 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50395 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50396 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50397 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50398
bdb6de1d
JM
503992012-01-25 Joseph Myers <joseph@codesourcery.com>
50400
50401 * elf/tst-unique3.cc (gets): Remove declaration.
50402 * elf/tst-unique3lib.cc (gets): Likewise.
50403 * elf/tst-unique3lib2.cc (gets): Likewise.
50404 * elf/tst-unique4.cc (gets): Likewise.
50405
b15549e6
UD
504062012-01-24 Ulrich Drepper <drepper@gmail.com>
50407
50408 * include/stdio.h: Add C++ protection. Add gets declarations and
50409 definitions.
50410 * debug/tst-chk1.c: Don't declare gets here.
50411 * stdio-common/tst-gets.c: Likewise.
50412
a037381f
JM
504132012-01-24 Joseph Myers <joseph@codesourcery.com>
50414
50415 * posix/glob: Remove directory.
50416
f1d4aa75
JM
504172012-01-24 Joseph Myers <joseph@codesourcery.com>
50418
50419 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50420
81c0c964
PT
504212012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50422
50423 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50424 of the non-standard EPFNOSUPPORT.
50425
0ea698ae
ST
504262011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50427
50428 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50429 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50430 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50431
d220b117
UD
504322012-01-21 Ulrich Drepper <drepper@gmail.com>
50433
50434 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50435
3e1aa84e
UD
504362012-01-20 Ulrich Drepper <drepper@gmail.com>
50437
50438 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50439 transient errors.
50440 * nscd/grpcache.c (cache_addgr): Likewise.
50441 * nscd/hstcache.c (cache_addhst): Likewise.
50442 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50443 * nscd/pwdcache.c (cache_addpw): Likewise.
50444 * nscd/servicescache.c (cache_addserv): Likewise.
50445
400aa020
UD
504462012-01-16 Ulrich Drepper <drepper@gmail.com>
50447
d77e7869
UD
50448 * malloc/malloc.c: Various cleanups.
50449 * malloc/hooks.c: Likewise.
50450
400aa020
UD
50451 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50452 * stdlib/bug-fmtmsg1.c: New file.
50453
50454 * stdlib/fmtmsg.c (init): Add missing unlock.
50455 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50456
e0a309cf
MP
504572012-01-12 Marek Polacek <polacek@redhat.com>
50458
50459 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50460 and _GNU_SOURCE.
50461
929d11c7
WS
504622012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50463
50464 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50465 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50466 macro to ensure uniqueness of label name.
50467 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50468 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50469
41d0e869
UD
504702012-01-11 Ulrich Drepper <drepper@gmail.com>
50471
0cc5ed3b
UD
50472 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50473
41d0e869
UD
50474 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50475 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50476 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50477 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50478
a47a831a
UD
504792012-01-10 Ulrich Drepper <drepper@gmail.com>
50480
daa891c0
UD
50481 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50482
50483 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50484 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50485 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50486
e58ef0f2
UD
50487 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50488
a47a831a 50489 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50490 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50491 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50493
50494 * math/bits/math-finite.h: Add ldexp support.
50495
a0bfc9c7
MP
504962012-01-10 Marek Polacek <polacek@redhat.com>
50497
50498 * locale/programs/localedef.h (show_archive_content): Add noreturn
50499 attribute.
50500
d6e97a1d
UD
505012012-01-09 Ulrich Drepper <drepper@gmail.com>
50502
50503 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50504
d5835c26
UD
505052012-01-08 Ulrich Drepper <drepper@gmail.com>
50506
e5f484c6
UD
50507 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50508
d5835c26
UD
50509 * io/Makefile (headers): Add bits/poll2.h.
50510
d1f741e9
WS
505112011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50512
50513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50514 typo #include statement.
50515
ec09c1c4
UD
505162012-01-08 Ulrich Drepper <drepper@gmail.com>
50517
50518 * include/sys/cdefs.h: Define __attribute_alloc_size.
50519 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50520 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50521 * elf/pldd.c: Likewise.
50522 * iconv/iconv_charmap.c: Likewise.
50523 * iconv/iconvconfig.c: Likewise.
50524 * iconv/strtab.c: Likewise.
50525 * locale/programs/locale.c: Likewise.
50526 * locale/programs/localedef.h: Likewise.
50527 * locale/programs/simple-hash.c: Likewise.
50528 * nscd/nscd.h: Likewise.
50529 * nss/makedb.c: Likewise.
50530 * sysdeps/generic/ldconfig.h: Likewise.
50531 * locale/programs/localedef.c: Remove xmalloc prototype.
50532 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50533
20b38e03
PP
505342012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50535
50536 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50537 appropriate.
50538
a0da5fe1
UD
505392012-01-08 Ulrich Drepper <drepper@gmail.com>
50540
1d5a644a 50541 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50542 * math/tst-CMPLX.c: New file.
1d5a644a 50543
8784a6db
UD
50544 * math/complex.h (CMPLXL): Fix typo.
50545
d9a216c0
UD
50546 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50547 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50548 GLIBC_2.16.
50549 * debug/tst-chk1.c: Add poll and ppoll tests.
50550 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50551 * include/sys/poll.h: Add hidden proto for ppoll.
50552 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50553 * sysdeps/mach/hurd/ppoll.c: Likewise.
50554 * io/ppoll.c: Likewise.
50555 * debug/poll_chk.c: New file.
50556 * debug/ppoll_chk.c: New file.
50557 * include/bits/poll2.h: New file.
50558 * io/bits/poll2.h: New file.
50559
ac097f5c
UD
50560 [BZ #1350]
50561 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50562
2119dcfa
UD
50563 * configure.in: static is always set to yes. Remove.
50564 * config.make.in: Don't set build-static.
50565 * Makeconfig: Remove use of build-static.
50566 * dlfcn/Makefile: Likewise.
50567 * elf/Makefile: Likewise.
50568 * math/Makefile: Likewise.
50569 * misc/Makefile: Likewise.
50570 * nptl/Makefile: Likewise.
50571 * sysdeps/mach/hurd/Makefile: Likewise.
50572
121766a9
UD
50573 * configure.in: PWD_P is not used anymore.
50574 * config.make.in: Remove PWD_P entry.
50575
51a1d39c 50576 * configure.in: Remove last remnants of RANLIB.
8720d066 50577 No need to check for signed size_t anymore.
215f4bdc
UD
50578 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50579 and IA-64.
3857022a 50580 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50581 * aclocal.m4: Likewise.
50582
d3ed7225
UD
50583 * wcsmbs/mbrtoc16.c: Implement using towc function.
50584 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50585 * wcsmbs/wcsmbsload.c: Likewise.
50586 * iconv/gconv_simple.c: Likewise.
50587 * iconv/gconv_int.h: Likewise.
50588 * iconv/gconv_builtin.h: Likewise.
50589 * iconv/iconv_prog.c: Remove CHAR16 handling.
50590
50591 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50592
50593 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50594
a0da5fe1
UD
50595 * configure.in: Remove --with-elf and --enable-bounded options.
50596 Dont set base_machine for ia64. More non-ELF conditions removed.
50597 Remove testing and setting of leading underscore information.
50598 * config.make.in (build-bounded): Set to no.
50599 * config.h.in: Remove NO_UNDERSCORES entry.
50600 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50601 them.
50602 * csu/start.c: Remove !NO_UNDERSCORE code.
50603 * locale/localeinfo.h: Likewise.
50604 * sysdeps/generic/machine-gmon.h: Likewise.
50605 * sysdeps/generic/sysdep.h: Likewise.
50606 * sysdeps/i386/sysdep.h: Likewise.
50607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50608 * sysdeps/mach/sysdep.h: Likewise.
50609 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50610 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50611 * sysdeps/sh/sysdep.h: Likewise.
50612 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50613 * sysdeps/unix/i386/sysdep.S: Likewise.
50614 * sysdeps/unix/sparc/start.c: Likewise.
50615 * sysdeps/unix/sparc/sysdep.S: Likewise.
50616 * sysdeps/unix/sparc/sysdep.h: Likewise.
50617 * sysdeps/unix/start.c: Likewise.
50618 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50619 * sysdeps/x86_64/sysdep.h: Likewise.
50620
df78418a
UD
506212012-01-07 Ulrich Drepper <drepper@gmail.com>
50622
a784e502
UD
50623 [BZ #13553]
50624 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50625 for non-gcc.
50626 * argp/argp-fmtstream.h: Use const instead __const.
50627 * argp/argp.h: Likewise.
50628 * assert/assert.h: Likewise.
50629 * bits/fenv.h: Likewise.
50630 * bits/sched.h: Likewise.
50631 * bits/sigset.h: Likewise.
50632 * bits/sigthread.h: Likewise.
50633 * catgets/nl_types.h: Likewise.
50634 * conform/data/pthread.h-data: Likewise.
50635 * crypt/crypt-private.h: Likewise.
50636 * crypt/crypt.h: Likewise.
50637 * crypt/crypt_util.c: Likewise.
50638 * ctype/ctype.h: Likewise.
50639 * debug/execinfo.h: Likewise.
50640 * debug/mbsnrtowcs_chk.c: Likewise.
50641 * debug/mbsrtowcs_chk.c: Likewise.
50642 * debug/wcsnrtombs_chk.c: Likewise.
50643 * debug/wcsrtombs_chk.c: Likewise.
50644 * debug/wcstombs_chk.c: Likewise.
50645 * dirent/dirent.h: Likewise.
50646 * dlfcn/dlfcn.h: Likewise.
50647 * elf/neededtest4.c: Likewise.
50648 * grp/grp.h: Likewise.
50649 * gshadow/gshadow.h: Likewise.
50650 * iconv/gconv.h: Likewise.
50651 * iconv/gconv_int.h: Likewise.
50652 * iconv/gconv_simple.c: Likewise.
50653 * iconv/iconv.h: Likewise.
50654 * iconv/loop.c: Likewise.
50655 * iconv/skeleton.c: Likewise.
50656 * include/aio.h: Likewise.
50657 * include/aliases.h: Likewise.
50658 * include/argz.h: Likewise.
50659 * include/arpa/inet.h: Likewise.
50660 * include/assert.h: Likewise.
50661 * include/dirent.h: Likewise.
50662 * include/dlfcn.h: Likewise.
50663 * include/execinfo.h: Likewise.
50664 * include/fcntl.h: Likewise.
50665 * include/fenv.h: Likewise.
50666 * include/glob.h: Likewise.
50667 * include/grp.h: Likewise.
50668 * include/libintl.h: Likewise.
50669 * include/mntent.h: Likewise.
50670 * include/netdb.h: Likewise.
50671 * include/pwd.h: Likewise.
50672 * include/rpc/netdb.h: Likewise.
50673 * include/sched.h: Likewise.
50674 * include/search.h: Likewise.
50675 * include/shadow.h: Likewise.
50676 * include/signal.h: Likewise.
50677 * include/stdio.h: Likewise.
50678 * include/stdlib.h: Likewise.
50679 * include/string.h: Likewise.
50680 * include/sys/socket.h: Likewise.
50681 * include/sys/stat.h: Likewise.
50682 * include/sys/statfs.h: Likewise.
50683 * include/sys/statvfs.h: Likewise.
50684 * include/sys/syslog.h: Likewise.
50685 * include/sys/time.h: Likewise.
50686 * include/sys/uio.h: Likewise.
50687 * include/time.h: Likewise.
50688 * include/unistd.h: Likewise.
50689 * include/utmp.h: Likewise.
50690 * include/wchar.h: Likewise.
50691 * include/wctype.h: Likewise.
50692 * inet/aliases.h: Likewise.
50693 * inet/arpa/inet.h: Likewise.
50694 * inet/netinet/ether.h: Likewise.
50695 * inet/netinet/in.h: Likewise.
50696 * intl/libintl.h: Likewise.
50697 * io/bits/fcntl2.h: Likewise.
50698 * io/fcntl.h: Likewise.
50699 * io/ftw.h: Likewise.
50700 * io/sys/poll.h: Likewise.
50701 * io/sys/stat.h: Likewise.
50702 * io/sys/statfs.h: Likewise.
50703 * io/sys/statvfs.h: Likewise.
50704 * io/utime.h: Likewise.
50705 * libio/bits/stdio.h: Likewise.
50706 * libio/bits/stdio2.h: Likewise.
50707 * libio/libio.h: Likewise.
50708 * libio/libioP.h: Likewise.
50709 * libio/stdio.h: Likewise.
50710 * locale/lc-ctype.c: Likewise.
50711 * locale/locale.h: Likewise.
50712 * login/utmp.h: Likewise.
50713 * malloc/arena.c: Likewise.
50714 * malloc/malloc.c: Likewise.
50715 * malloc/malloc.h: Likewise.
50716 * malloc/mcheck.c: Likewise.
50717 * malloc/mtrace.c: Likewise.
50718 * math/bits/mathcalls.h: Likewise.
50719 * math/fenv.h: Likewise.
50720 * math/math_private.h: Likewise.
50721 * misc/bits/error.h: Likewise.
50722 * misc/bits/syslog.h: Likewise.
50723 * misc/err.h: Likewise.
50724 * misc/error.h: Likewise.
50725 * misc/fstab.h: Likewise.
50726 * misc/mntent.h: Likewise.
50727 * misc/regexp.h: Likewise.
50728 * misc/search.h: Likewise.
50729 * misc/sgtty.h: Likewise.
50730 * misc/sys/mman.h: Likewise.
50731 * misc/sys/syslog.h: Likewise.
50732 * misc/sys/uio.h: Likewise.
50733 * misc/sys/xattr.h: Likewise.
50734 * misc/ttyent.h: Likewise.
50735 * nis/rpcsvc/ypclnt.h: Likewise.
50736 * nss/nss.h: Likewise.
50737 * posix/bits/unistd.h: Likewise.
50738 * posix/fnmatch.h: Likewise.
50739 * posix/glob.h: Likewise.
50740 * posix/sched.h: Likewise.
50741 * posix/spawn.h: Likewise.
50742 * posix/sys/wait.h: Likewise.
50743 * posix/unistd.h: Likewise.
50744 * posix/wordexp.h: Likewise.
50745 * pwd/pwd.h: Likewise.
50746 * resolv/netdb.h: Likewise.
50747 * resource/sys/resource.h: Likewise.
50748 * rt/aio.h: Likewise.
50749 * rt/bits/mqueue2.h: Likewise.
50750 * rt/mqueue.h: Likewise.
50751 * shadow/shadow.h: Likewise.
50752 * signal/signal.h: Likewise.
50753 * socket/send.c: Likewise.
50754 * socket/sendto.c: Likewise.
50755 * socket/sys/socket.h: Likewise.
50756 * stdio-common/printf.h: Likewise.
50757 * stdlib/bits/stdlib.h: Likewise.
50758 * stdlib/fmtmsg.h: Likewise.
50759 * stdlib/monetary.h: Likewise.
50760 * stdlib/stdlib.h: Likewise.
50761 * stdlib/ucontext.h: Likewise.
50762 * streams/stropts.h: Likewise.
50763 * string/argz.h: Likewise.
50764 * string/bits/string2.h: Likewise.
50765 * string/string.h: Likewise.
50766 * string/strings.h: Likewise.
50767 * sunrpc/rpc/auth.h: Likewise.
50768 * sunrpc/rpc/auth_des.h: Likewise.
50769 * sunrpc/rpc/clnt.h: Likewise.
50770 * sunrpc/rpc/netdb.h: Likewise.
50771 * sunrpc/rpc/pmap_clnt.h: Likewise.
50772 * sunrpc/rpc/xdr.h: Likewise.
50773 * sysdeps/generic/inttypes.h: Likewise.
50774 * sysdeps/generic/net/if.h: Likewise.
50775 * sysdeps/generic/sys/swap.h: Likewise.
50776 * sysdeps/gnu/net/if.h: Likewise.
50777 * sysdeps/gnu/utmpx.h: Likewise.
50778 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50779 * sysdeps/i386/i486/bits/string.h: Likewise.
50780 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50781 * sysdeps/s390/bits/string.h: Likewise.
50782 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50783 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50784 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50785 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50786 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50787 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50788 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50789 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50790 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50791 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50792 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50793 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50794 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50795 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50796 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50797 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50798 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50800 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50801 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50802 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50803 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50804 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50805 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50806 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50807 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50808 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50809 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50810 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50811 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50812 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50813 * sysvipc/sys/ipc.h: Likewise.
50814 * sysvipc/sys/msg.h: Likewise.
50815 * sysvipc/sys/sem.h: Likewise.
50816 * sysvipc/sys/shm.h: Likewise.
50817 * termios/termios.h: Likewise.
50818 * time/sys/time.h: Likewise.
50819 * time/time.h: Likewise.
50820 * wcsmbs/bits/wchar2.h: Likewise.
50821 * wcsmbs/uchar.h: Likewise.
50822 * wcsmbs/wchar.h: Likewise.
50823 * wctype/wctype.h: Likewise.
50824
0269750c
UD
50825 [BZ #13551]
50826 * Makeconfig: Remove all but ELF support including AIX support.
50827 * Makerules: Likewise.
50828 * config.h.in: Likewise.
50829 * config.make.in: Likewise.
50830 * configure: Likewise.
50831 * configure.in: Likewise.
50832 * csu/Makefile: Likewise.
50833 * csu/version.c: Likewise.
50834 * debug/Makefile: Likewise.
50835 * dlfcn/Makefile: Likewise.
50836 * elf/Makefile: Likewise.
50837 * extra-lib.mk: Likewise.
50838 * iconv/Makefile: Likewise.
50839 * include/libc-symbols.h: Likewise.
50840 * include/shlib-compat.h: Likewise.
50841 * resolv/Makefile: Likewise.
50842 * resolv/res_libc.c: Likewise.
50843 * rt/Makefile: Likewise.
50844 * sysdeps/i386/asm-syntax.h: Likewise.
50845 * sysdeps/i386/sysdep.h: Likewise.
50846 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50847 * sysdeps/mach/sysdep.h: Likewise.
50848 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50849 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50850 * sysdeps/s390/asm-syntax.h: Likewise.
50851 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50853 * sysdeps/sh/sysdep.h: Likewise.
50854 * sysdeps/unix/sparc/sysdep.h: Likewise.
50855 * sysdeps/wordsize-32/divdi3.c: Likewise.
50856 * sysdeps/x86_64/sysdep.h: Likewise.
50857
00bbd29b
UD
50858 * argp/Versions: Remove _argp_unlock_xxx.
50859
50860 [BZ #13559]
50861 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50862 * abilist/libBrokenLocale.abilist: Likewise.
50863 * abilist/libanl.abilist: Likewise.
50864 * abilist/libc.abilist: Likewise.
50865 * abilist/libcrypt.abilist: Likewise.
50866 * abilist/libdl.abilist: Likewise.
50867 * abilist/libm.abilist: Likewise.
50868 * abilist/libnsl.abilist: Likewise.
50869 * abilist/libpthread.abilist: Likewise.
50870 * abilist/libresolv.abilist: Likewise.
50871 * abilist/librt.abilist: Likewise.
50872 * abilist/libthread_db.abilist: Likewise.
50873 * abilist/libutil.abilist: Likewise.
50874 * abilist/libnss_db.abilist: New file.
50875
50876 * scripts/abilist.awk: Add support for indirect functions.
50877
a2693a0e
UD
50878 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50879
3f05895f
UD
50880 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50881
ecb6fb48
UD
50882 * shlib-versions: Remove entries for ports architectures.
50883
664f8cb9
UD
50884 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50885 files in ports.
50886 * elf/stackguard-macros.h: Remove support for IA-64.
50887 * elf/tst-auditmod1.c: Likewise.
50888 * sysdeps/generic/ldsodefs.h: Likewise.
50889
7ae81d88
UD
50890 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50891 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50892 configure files.
50893
bdeba135
UD
50894 [BZ #13552]
50895 * configure.in: Remove --enable-omitfp support.
50896 * FAQ.in: Adjust.
50897 * config.make.in: Likewise.
50898 * Makeconfig: Likewise.
50899 * manual/install.texi: Likewise.
50900
d75a0a62
UD
50901 In case anyone cares, the IA-64 architecture could move to ports.
50902 * sysdeps/ia64/*: Removed.
50903 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50904 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50905
dcc9756b
UD
50906 [BZ #13555]
50907 * configure.in: Remove entries for unsupported architectures.
50908
d3761ebc 50909 [BZ #13533]
9954432e
UD
50910 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50911 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50912 routines.
50913 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50914 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50915 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50916 fall back to using wcrtomb.
50917 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50918 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50919 renaming.
50920 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50921 * wcsmbs/tst-c16c32-1.c: New file.
50922
50923 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50924 local variable.
50925
c3a87236
UD
50926 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50927
28926a1b
UD
50928 * elf/tst-unique3.cc: Add explicit declaration of gets.
50929 * elf/tst-unique3lib.cc: Likewise.
50930 * elf/tst-unique3lib2.cc: Likewise.
50931 * elf/tst-unique4.cc: Likewise.
50932
df78418a
UD
50933 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50934
8ecd6b2a
JM
509352012-01-06 Joseph Myers <joseph@codesourcery.com>
50936
50937 [BZ #13566]
50938 * assert/assert.h (static_assert): Don't define for C++.
50939 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50940 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50941
9f115170
UD
509422012-01-03 Ulrich Drepper <drepper@gmail.com>
50943
5e0d0300
UD
50944 * iconv/loop.c (single loop): Fix assertion in storing of
50945 remaining bytes.
50946
9f115170
UD
50947 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50948
81fb02b0
UD
509492012-01-01 Ulrich Drepper <drepper@gmail.com>
50950
50951 * posix/getconf.c: Update copyright year.
50952 * nss/getent.c: Likewise.
a316c1f6 50953 * nss/makedb.c: Likewise.
81fb02b0
UD
50954 * iconv/iconvconfig.c: Likewise.
50955 * iconv/iconv_prog.c: Likewise.
50956 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50957 * elf/pldd.c: Likewise.
50958 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50959 * catgets/gencat.c: Likewise.
50960 * csu/version.c: Likewise.
50961 * elf/ldd.bash.in: Likewise.
50962 * elf/sprof.c (print_version): Likewise.
50963 * locale/programs/locale.c: Likewise.
50964 * locale/programs/localedef.c: Likewise.
a316c1f6 50965 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50966 * nscd/nscd.c (print_version): Likewise.
50967 * debug/xtrace.sh: Likewise.
50968 * malloc/memusage.sh: Likewise.
50969 * malloc/mtrace.pl: Likewise.
50970 * debug/catchsegv.sh: Likewise.
50971
2ba92745
JJ
509722011-12-30 Jakub Jelinek <jakub@redhat.com>
50973
50974 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50975 pure attribute.
50976
dadebdae
UD
509772011-12-24 Ulrich Drepper <drepper@gmail.com>
50978
d3761ebc 50979 [BZ #13533]
db6af3eb
UD
50980 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50981 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50982 transformations.
50983 * iconv/gconv_int.h: Likewise.
50984 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50985 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50986 from libc for GLIBC_2.16.
50987 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50988 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50989 * wcsmbs/uchar.h: Really define mbstate_t.
50990 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50991 * wcsmbs/c16rtomb.c: New file.
50992 * wcsmbs/mbrtoc16.c: New file.
50993 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50994 for C/POSIX locale.
50995 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50996 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50997
dadebdae
UD
50998 * wcsmbs/wchar.h: Add missing __restrict.
50999
67371b56
UD
510002011-12-23 Ulrich Drepper <drepper@gmail.com>
51001
74033a25
UD
51002 [BZ #13532]
51003 * time/Makefile (routines): Add timespec_get.
51004 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51005 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51006 timespec for ISO C11.
51007 * time/timespec_get.c: New file.
51008 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51009 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51010
380d7e87
UD
51011 [BZ #13531]
51012 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51013 * stdlib/stdlib.h: Declare aligned_alloc.
51014 * Versions.def: Add GLIBC_2.16 for libc.
51015 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51016
4e9e7a35
UD
51017 [BZ 13527]
51018 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51019 ISO C11.
51020
380d7e87 51021 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51022 code.
51023
03a71829
UD
51024 [BZ #13528]
51025 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51026
839e283e
UD
51027 [BZ #13529]
51028 * assert/assert.h (static_assert): Define.
51029
ce5294e2 51030 * version.h: Update for 2.16 development version.
90fa7312 51031
8d44e150 51032 [BZ #13526]
d7809905
UD
51033 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51034 _ISOC11_SOURCE.
51035
c0da14cd
UD
51036 * version.h (RELEASE): Bump for 2.15 release.
51037 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51038
530a3249
MP
51039 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51040 Patch by Marek Polacek <mpolacek@redhat.com>.
51041
67371b56
UD
51042 * bits/byteswap.h: Protect long long constants with __extension__.
51043 * sysdeps/i386/bits/byteswap.h: Likewise.
51044 * sysdeps/ia64/bits/byteswap.h: Likewise.
51045 * sysdeps/s390/bits/byteswap.h: Likewise.
51046 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51047
15db4de1
LD
510482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51049
51050 [BZ #13540]
bbe315ea
LD
51051 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51052 destination buffer.
15db4de1
LD
51053 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51054
2b2596b1
MP
510552011-12-23 Marek Polacek <polacek@redhat.com>
51056
51057 * elf/dl-addr.c (determine_info): Add inline keyword.
51058 * elf/tst-auditmod4b.c (check_avx): Likewise.
51059 * elf/tst-auditmod6b.c (check_avx): Likewise.
51060 * elf/tst-auditmod6c.c (check_avx): Likewise.
51061 * elf/tst-auditmod7b.c (check_avx): Likewise.
51062
70c6c246
UD
510632011-12-23 Ulrich Drepper <drepper@gmail.com>
51064
51065 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51066 !__SSE_MATH__.
51067
c044cf14
LD
510682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51069
15db4de1 51070 [BZ #13540]
c044cf14
LD
51071 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51072 processing for last bytes.
51073
6b13d9d9
BH
510742011-08-06 Bruno Haible <bruno@clisp.org>
51075
d455f537
BH
51076 [BZ #13061]
51077 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51078 U+0385, not to U+1FEE.
51079
6b13d9d9
BH
51080 [BZ #13062]
51081 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51082 entry for U+00A5 U+0301.
51083
db910efd
UD
510842011-12-22 Ulrich Drepper <drepper@gmail.com>
51085
27deeafc
UD
51086 [BZ #13166]
51087 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51088 buffer for the output is too small.
51089
aed9d171
UD
51090 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51091 optimization.
51092
db910efd
UD
51093 [BZ #13185]
51094 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51095 SSE flags if possible.
51096
2bd779ae
LD
510972011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51098
e7f9dac3 51099 [BZ #13540]
2bd779ae
LD
51100 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51101 processing for last bytes.
51102
154bfc16
JM
511032011-12-22 Joseph Myers <joseph@codesourcery.com>
51104
51105 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51106 (syscall-list-default-options, syscall-list-default-condition)
51107 (syscall-list-includes): Define.
51108 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51109 list of ABIs and options and #if conditions for each ABI. Do not
51110 handle common syscalls between ABIs specially.
51111 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51112 Remove.
51113 (syscall-list-variants, syscall-list-32bit-options)
51114 (syscall-list-32bit-condition, syscall-list-64bit-options)
51115 (syscall-list-64bit-condition): Define.
51116 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51117 (syscall-list-variants, syscall-list-32bit-options)
51118 (syscall-list-32bit-condition, syscall-list-64bit-options)
51119 (syscall-list-64bit-condition): Define.
51120 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51121 Remove.
51122 (syscall-list-variants, syscall-list-32bit-options)
51123 (syscall-list-32bit-condition, syscall-list-64bit-options)
51124 (syscall-list-64bit-condition): Define.
51125 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51126 Remove.
51127 (syscall-list-variants, syscall-list-32bit-options)
51128 (syscall-list-32bit-condition, syscall-list-64bit-options)
51129 (syscall-list-64bit-condition): Define.
51130
21eaf3a5
UD
511312011-12-22 Ulrich Drepper <drepper@gmail.com>
51132
16c6f992
UD
51133 * locale/iso-639.def: Add brx entry.
51134
41043168
UD
51135 [BZ #13328]
51136 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51137 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51138
21eaf3a5
UD
51139 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51140 __feraiseexcept_renamed.
51141
e3a851a2
UD
511422011-12-21 Ulrich Drepper <drepper@gmail.com>
51143
4920765e
UD
51144 [BZ #13538]
51145 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51146 EPOLLET with unsigned values.
51147 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51148 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51149
e3a851a2
UD
51150 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51151 to large cancellation.
51152 * math/s_cacoshf.c: Likewise.
51153 * math/s_cacoshl.c: Likewise.
51154
b27e24b8
RK
511552011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51156
51157 [BZ #13305]
aebefeee 51158 [BZ #12786]
b27e24b8
RK
51159 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51160 * math/s_cacoshf.c: Likewise.
51161 * math/s_cacoshl.c: Likewise.
51162
ee190f67
UD
511632011-12-21 Ulrich Drepper <drepper@gmail.com>
51164
51165 [BZ #13439]
51166 * iconv/gconv.h: Define __GCONV_SWAP.
51167 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51168 * iconvdata/utf-16.c: Likewise.
51169 * iconvdata/utf-32.c: Likewise.
51170
707f25df
AS
511712011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51172
51173 [BZ #13524]
51174 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51175 numerator after shifting it by one limb.
51176
d2daaa1e
RÁE
511772011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51178
51179 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51180 under [__USE_EXTERN_INLINES].
51181
a4647e72
UD
511822011-12-17 Ulrich Drepper <drepper@gmail.com>
51183
51184 [BZ #13446]
51185 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51186
f0b264f1
AZ
511872011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51188
51189 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51190 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51191 optimized code.
51192 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51193 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51194 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51195 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51196 for strncasecmp/strncasecmp_l compilation.
51197 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51198 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51199
8ef4f244
MP
512002011-12-08 Marek Polacek <mpolacek@redhat.com>
51201
51202 [BZ #13484]
51203 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51204 of __asm__.
51205
97ac2654
UD
512062011-12-17 Ulrich Drepper <drepper@gmail.com>
51207
51208 [BZ #13506]
51209 * time/tzfile.c (__tzfile_read): Check values from file header.
51210
91d2a845
WS
512112011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51212
51213 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51214 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51215 * powerpc/powerpc32/dl-start.S: Likewise.
51216 * powerpc/powerpc32/elf/start.S: Likewise.
51217 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51218 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51219 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51220 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51221 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51222 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51223 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51224 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51225 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51226 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51227 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51228 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51229 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51230 * powerpc/powerpc32/memset.S: Likewise.
51231 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51232 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51233 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51234 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51235 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51236 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51237 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51238 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51239 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51240 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51241 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51242 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51243 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51244
a1267ba1
AZ
512452011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51246
51247 * math/libm-test.inc: Added more nearbyint tests.
51248 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51249 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51250 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51251 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51252
ad8ac1bd
RL
512532011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51254
51255 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51256 FD_CLOEXEC.
51257
1d3e4b61
UD
512582011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51259
51260 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51261 Add wcscpy-ssse3 wcscpy-c.
51262 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51263 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51264 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51265 * sysdeps/x86_64/wcschr.S: New file.
51266 * sysdeps/x86_64/wcsrchr.S: New file.
51267 * string/test-strcmp.c: Remove checking of wcscmp function for
51268 wrong alignments.
51269 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51270 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51271 wcsrchr-sse2 wcsrchr-c.
51272 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51273 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51274 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51275 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51276 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51277 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51278 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51279 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51280 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51281 * wcsmbc/wcschr.c (WCSCHR): New macro.
51282
5b330a2d
UD
512832011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51284
51285 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51286 * wcsmbs/test-wcsrchr.c: New file.
51287 * string/test-strrchr.c: Add wcsrchr support.
51288 (WIDE): New macro.
51289 * wcsmbs/test-wcscpy.c: New file.
51290 * string/test-strcpy.c: Add wcscpy support.
51291 (WIDE): New macro.
26428b7c 51292
f039c043
UD
512932011-12-10 Ulrich Drepper <drepper@gmail.com>
51294
51295 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51296 the inner loop.
51297
850fb039
AS
512982011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51299
51300 [BZ #13472]
51301 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51302
4efbd5cb
UD
513032011-12-04 Ulrich Drepper <drepper@gmail.com>
51304
52ff5dd0 51305 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51306 Minor optimizations.
52ff5dd0 51307
4efbd5cb
UD
51308 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51309 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51310 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51311
8a426e12
UD
513122011-12-03 Ulrich Drepper <drepper@gmail.com>
51313
aff2453d
UD
51314 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51315 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51316 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51317 for gcc to avoid warnings.
51318 * inet/Makefile (tests): Add tst-checks.
51319 * inet/tst-checks.c: New file.
51320
51321 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51322 warning.
51323
51324 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51325 __wmemcmp_sse2.
51326
51327 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51328 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51329
8a426e12
UD
51330 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51331
9bea3473
UD
513322011-12-02 Ulrich Drepper <drepper@gmail.com>
51333
3a965496
UD
51334 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51335 problem.
51336
9bea3473
UD
51337 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51338
f101631b
UD
513392011-11-29 Joseph Myers <joseph@codesourcery.com>
51340
51341 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51342 conditional on GCC version.
51343 (__arch_compare_and_exchange_val_8_acq)
51344 (__arch_compare_and_exchange_val_16_acq)
51345 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51346 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51347 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51348
a98275aa
UD
513492011-12-02 Joseph Myers <joseph@codesourcery.com>
51350
51351 * sysdeps/sh/backtrace.c: New file.
51352
d4cc29a2
AS
513532011-12-02 Andreas Schwab <schwab@redhat.com>
51354
51355 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51356 parenthesis.
51357
6257af2d
AS
513582011-12-01 Andreas Schwab <schwab@redhat.com>
51359
51360 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51361 falling back to utime.
51362
b5f44c1a
AS
513632011-11-30 Andreas Schwab <schwab@redhat.com>
51364
51365 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51366 expectations for float.
51367
f3a6cc0a
AS
513682011-11-29 Andreas Schwab <schwab@redhat.com>
51369
51370 * locale/weight.h (findidx): Add parameter len.
51371 * locale/weightwc.h (findidx): Likewise.
51372 * posix/fnmatch_loop.c (FCT): Adjust caller.
51373 * posix/regcomp.c (build_equiv_class): Likewise.
51374 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51375 * posix/regexec.c (check_node_accept_bytes): Likewise.
51376 * string/strcoll_l.c (STRCOLL): Likewise.
51377 * string/strxfrm_l.c (STRXFRM): Likewise.
51378
9d65ea3a
UD
513792011-11-17 Ulrich Drepper <drepper@gmail.com>
51380
51381 * Makefile.in: Remove CVSOPT handling.
51382 * configure.in: Remove use of AC_REVISION.
51383 * iconvdata/Makefile (distribute): No need to filter out CVS.
51384 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51385 handling.
51386
5583a086
AS
513872011-11-16 Andreas Schwab <schwab@redhat.com>
51388
51389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51390 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51391 [USE_AS_STRNCASECMP_L]: Likewise.
51392 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51393 NO_TLS_DIRECT_SEG_REFS.
51394 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51395 Fix argument offsets for non-PIC.
51396 [USE_AS_STRNCASECMP_L]: Likewise.
51397 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51398 NO_TLS_DIRECT_SEG_REFS.
51399
d62a8200
UD
514002011-11-15 Ulrich Drepper <drepper@gmail.com>
51401
9d65ea3a 51402 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51403 O_CLOEXEC.
51404 * locale/loadlocale.c (_nl_load_locale): Likewise.
51405
09f93bd3
AS
514062011-11-15 Andreas Schwab <schwab@redhat.com>
51407
446514f9
AS
51408 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51409 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51410 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51411 (SYSCALL_GETTIME): Set errno on error.
51412
09f93bd3
AS
51413 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51414 count references to noai6ai_cached.
51415
312be3f9
UD
514162011-11-15 Ulrich Drepper <drepper@gmail.com>
51417
51418 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51419
51420 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51421 FD_CLOEXEC for /proc/self/maps.
51422
51423 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51424 FD_CLOEXEC for /proc/meminfo.
51425
51426 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51427 gai.conf.
51428
51429 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51430 FD_CLOEXEC for given file.
51431
51432 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51433
51434 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51435 FD_CLOEXEC for /etc/hosts.
51436 (_gethtent): Likewise.
51437
51438 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51439
51440 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51441 cancellation and set FD_CLOEXEC for /etc/netgroup.
51442
51443 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51444 reading /etc/publickey.
51445
51446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51447 allow cancellation when reading /etc/group.
51448
51449 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51450 cancellation.
51451 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51452
51453 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51454 when using data file.
51455
51456 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51457
51458 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51459 (write_nis_obj): Use "c" and "e" in fopen.
51460
51461 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51462
51463 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51464
51465 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51466
51467 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51468
51469 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51470 locale.alias.
51471
51472 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51473
51474 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51475
51476 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51477
51478 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51479 file parsing and set FD_CLOEXEC.
51480
82af0fa8
UD
514812011-11-14 Ulrich Drepper <drepper@gmail.com>
51482
51483 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51484
a5fb313c
AS
514852011-11-14 Andreas Schwab <schwab@redhat.com>
51486
51487 * malloc/arena.c (arena_get2): Don't call reused_arena when
51488 _int_new_arena failed.
51489
6abf3465
UD
514902011-11-14 Ulrich Drepper <drepper@gmail.com>
51491
51492 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51493 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51494 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51495 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51496 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51497 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51498 to compile strcasecmp and strncasecmp.
51499 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51500 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51501
51502 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51503
76e3966e
UD
515042011-11-13 Ulrich Drepper <drepper@gmail.com>
51505
51506 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51507 locale-defines.sym to gen-as-const-headers.
51508 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51509 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51510 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51511 to compile strcasecmp and strncasecmp.
51512 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51513 strcasecmp_l and strncasecmp_l.
51514 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51515 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51516 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51517 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51518 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51519 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51520 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51521 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51522 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51523 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51524 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51525
ab26144e
UD
515262011-11-12 Ulrich Drepper <drepper@gmail.com>
51527
7edb22ef
UD
51528 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51529 result of SYSDEP_GETTIME_CPU to retval.
51530 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51531 parameter list to macro. Remove trailing semicolon. Adjust users.
51532
9694fc44
UD
51533 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51534 variable.
51535
8ad89ef8
UD
51536 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51537 mantissa words.
51538 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51539
0c822ef9
UD
51540 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51541 from unused variable.
51542
874e0564
UD
51543 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51544 DWARF definitions.
51545 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51546 for assembling.
51547
3a2edc79
UD
51548 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51549 over namespaces.
51550
f3c2577f
UD
51551 * sunrpc/rpc_prot.c (rejected): Fix case value.
51552
294ce126
UD
51553 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51554 unsigned long long int to avoid warnings in shift.
51555
5e2b63c6
UD
51556 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51557 of use of trans.
51558 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51559 variable tmp.
51560
e7f4b08e
UD
51561 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51562 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51563 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51564
ab26144e
UD
51565 * nis/nis_table.c (nis_list): Use variable of correct type for
51566 result of __follow_path call.
51567
8a6d5255
AZ
515682011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51569
51570 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51571 of math functions ceil, trunc, floor, round, and sqrt, when
51572 avaliable on the platform.
51573 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51574 name clash.
51575 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51576 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51577 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51578
aaddc98c
MP
515792011-10-30 Marek Polacek <mpolacek@redhat.com>
51580
51581 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51582 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51583
95b7042b
RM
515842011-11-11 Roland McGrath <roland@hack.frob.com>
51585
51586 * include/unistd.h: Fix __readlink return type.
51587 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51588
57769839
UD
515892011-11-11 Ulrich Drepper <drepper@gmail.com>
51590
51591 * stdlib/ucontext.h: Undo last change for makecontext.
51592
edc5984d
AS
515932011-11-11 Andreas Schwab <schwab@redhat.com>
51594
98591e58
AS
51595 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51596
edc5984d
AS
51597 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51598 * setjmp/setjmp.h: Mark functions as non-leaf.
51599 * setjmp/bits/setjmp2.h: Likewise.
51600 * stdlib/ucontext.h: Likewise.
51601
77cdc054
AS
516022011-11-10 Andreas Schwab <schwab@redhat.com>
51603
51604 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51605 (reused_arena): Don't check arena limit.
51606 (arena_get2): Atomically check arena limit.
51607
fe72eebd
UD
516082011-11-08 Ulrich Drepper <drepper@gmail.com>
51609
5f078c32
UD
51610 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51611 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51612
fe72eebd
UD
51613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51614 instructions.
51615
ae1bc2fa
AS
516162011-11-07 Andreas Schwab <schwab@redhat.com>
51617
7583a88d
AS
51618 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51619 handler when locking.
51620
ae1bc2fa
AS
51621 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51622 Fix size of allocated buffer.
51623
10fb0bfa
AS
516242011-11-04 Andreas Schwab <schwab@redhat.com>
51625
998832a4
AS
51626 [BZ #10103]
51627 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51628 declarations for long double functions.
51629 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51630
10fb0bfa
AS
51631 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51632
3d7ba52b
AS
516332011-11-03 Andreas Schwab <schwab@redhat.com>
51634
a9ae54a1
AS
51635 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51636 installed.
51637
3d7ba52b
AS
51638 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51639 is disabled.
51640
bc8db248
ST
516412011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51642
51643 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51644
45b96dd6
AS
516452011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51646
647776f6
AS
51647 * include/alloca.h (stackinfo_alloca_round): Define.
51648 (extend_alloca): Use it.
51649 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51650 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51651 here.
51652
d91a8b93
AS
51653 * scripts/check-local-headers.sh: Ignore libaudit.h.
51654
45b96dd6
AS
51655 * nscd/Makefile (extra-objs): Make recursively expanded.
51656
432d41ce
UD
516572011-11-01 Ulrich Drepper <drepper@gmail.com>
51658
34372fc6
UD
51659 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51661
fadb59f8
UD
51662 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51663 * posix/tst-rfc3484-2.c: Likewise.
51664 * posix/tst-rfc3484-3.c: Likewise.
51665
78239589
UD
51666 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51667 process_vm_writev.
51668 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51669 process_vm_writev.
51670 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51671 process_vm_writev from libc using GLIBC_2.15 version.
51672
432d41ce
UD
51673 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51674
02f9c6cf
PP
516752011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51676
51677 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51678 stack usage.
51679
3a2c0242
UD
516802011-10-31 Ulrich Drepper <drepper@gmail.com>
51681
f4ec4833
UD
51682 [BZ #13367]
51683 * nss/getent.c (initgroups_keys): Show error message in case no group
51684 names are given.
51685
3a2c0242
UD
51686 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51687 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51688 __bump_nl_timestamp.
51689 * nscd/connections (nscd_init): When host database is served open
51690 netlink socket and request notification about configuration changes.
51691 (main_loop_poll): Track netlink file descriptor and bump timestamp
51692 in case data becomes available.
51693 (main_loop_epoll): Likewise.
51694 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51695 (database_pers_head): Add extra_data fileds.
51696 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51697 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51698 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51699 Adjust caller.
51700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51701 in6ai data, call __free_in6ai.
51702 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51703 Add -DHAVE_NETLINK.
51704 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51705 interface information. Reuse previous data if netlink timestamp
51706 is not changed.
51707 (__bump_nl_timestamp): New function.
51708 (__free_in6ai): New function.
51709
636064eb
UD
517102011-10-30 Ulrich Drepper <drepper@gmail.com>
51711
51712 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51713 close_not_cancel_no_status here.
51714 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51715
9beb2334
UD
517162011-10-29 Ulrich Drepper <drepper@gmail.com>
51717
6ef76f3b
UD
51718 [BZ #13276]
51719 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51720 return value.
51721
0ffc4f3e 51722 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51723 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51724 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51725
cb95113e
UD
517262011-07-03 Andreas Jaeger <aj@suse.de>
51727
51728 [BZ #10709]
51729 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51730 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51731 * math/libm-test.inc (sin_test): Add test case.
51732
a1b560ff
UD
517332011-10-29 Ulrich Drepper <drepper@gmail.com>
51734
c9aaface
UD
51735 [BZ #13337]
51736 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51737 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51738
d272e7f1
UD
51739 * elf/chroot_canon.c (chroot_canon): Cleanups.
51740
1bc33071
UD
51741 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51742
1760874d
TJ
51743 [BZ #13335]
51744 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51745 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51746
51d91b18
UD
51747 * string/test-strchr.c: Make usable for strchrnul testing.
51748 * string/test-strchrnul.c: New file.
51749 * string/Makefile (strop-tests): Add strchrnul.
51750
a1b560ff 51751 * po/it.po: Update from translation team.
b611fb81 51752 * po/es.po: Likewise.
a1b560ff 51753
a5b81e1f
UD
517542011-10-28 Ulrich Drepper <drepper@gmail.com>
51755
fd52bc6d
UD
51756 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51757 the three constants needed as parameters. Drop the others.
51758 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51759 __m128i_strloadu_tolower.
52e4b9eb
UD
51760 Create and initialize variable zero and use it in all the places
51761 where _mm_setzero_si128 was used.
fd52bc6d 51762
a5b81e1f
UD
51763 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51764 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51765 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51766 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51767 anymore.
51768 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51769 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51770 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51771 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51772 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51773 __mpranred, __mptan.
51774 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51775 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51776 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51777 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51778 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51779 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51780 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51781 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51782 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51783
b4343346
AS
517842011-10-28 Andreas Schwab <schwab@redhat.com>
51785
0c92d8a8
AS
51786 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51787 redefine if SHARED.
51788 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51789
b4343346
AS
51790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51791 wide char related routines to wcsmbs subdir.
51792
3871f58f
AS
517932011-10-27 Andreas Schwab <schwab@redhat.com>
51794
51795 [BZ #13344]
51796 * misc/sys/cdefs.h (__THROWNL): Define.
51797 * posix/unistd.h: Use __THREADNL instead of __THREAD
51798 for memory synchronization functions.
51799
94d44d9f
RM
518002011-10-26 Roland McGrath <roland@hack.frob.com>
51801
21b64b15 51802 [BZ #13349]
94d44d9f
RM
51803 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51804 doesn't exist.
51805 * manual/stdio.texi (Obstack Streams): Node removed.
51806
f6ce9294
AS
518072011-10-26 Andreas Schwab <schwab@redhat.com>
51808
80479147
AS
51809 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51810 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51811 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51812
f6ce9294
AS
51813 * math/math_private.h (math_force_eval): Allow non-addressable
51814 arguments.
51815 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51816
618280a1
UD
518172011-10-25 Ulrich Drepper <drepper@gmail.com>
51818
e0016b11
UD
51819 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51820 file is not needed.
51821
51822 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51823 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51824 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51825 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51826 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51828 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51829 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51830 Add AVX variants.
51831 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51832 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51833 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51834 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51835 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51836 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51837 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51838 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51839 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51840 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51841 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51842 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51843 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51844 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51845 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51846 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51847 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51848 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51849 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51850
51851 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51852 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51853
618280a1
UD
51854 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51855 place. Use VEX encoding when compiling for AVX.
51856
37822576
AS
518572011-10-25 Andreas Schwab <schwab@redhat.com>
51858
1f1e1947
AS
51859 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51860 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51861
37822576
AS
51862 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51863
31ea014d
UD
518642011-10-25 Ulrich Drepper <drepper@gmail.com>
51865
d7826aa1 51866 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51867 useless if() expression.
d7826aa1
UD
51868 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51869 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51870 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51871 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51872 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51873 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51874 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51875 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51876 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51877 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51878 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51879 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51880 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51881 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51882 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51883 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51884 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51885 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51886 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51887
31ea014d
UD
51888 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51889
16437fec
AS
518902011-10-25 Andreas Schwab <schwab@redhat.com>
51891
51892 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51893 condition.
51894 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51895
31d3cc00
UD
518962011-10-25 Ulrich Drepper <drepper@gmail.com>
51897
51898 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51899 .text section. Avoid duplicate constants.
51900 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51901 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51902 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51904 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51908 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51909 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51910 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51911 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51912 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51913 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51914 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51915 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51916 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51917 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51918 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51920 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51921 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51922 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51923 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51924 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51925 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51926 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51927 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51928 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51929 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51930 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51931 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51932 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51933 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51934 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51935 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51936 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51937 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51938 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51939 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51940 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51941 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51942 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51943 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51944 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51945
58985aa9
UD
519462011-10-24 Ulrich Drepper <drepper@gmail.com>
51947
202c9deb
UD
51948 * sysdeps/x86_64/dla.h: Move to ...
51949 * sysdeps/x86_64/fpu/dla.h: ...here.
51950 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51951 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51952
af968f62
UD
51953 * config.make.in: Add have-mfma4 entry.
51954 * configure.in: Substitute libc_cv_cc_fma4.
51955 * math/Makefile (dbl-only-routines): Add sincostab.
51956 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51957 Use __sincostab not sincos.
51958 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51959 name is a macro.
51960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51964 using __copysign.
51965 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51966 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51967 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51968 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51969 and __inv.
51970 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51971 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51972 __copysign.
51973 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51974 define aliases when function name is a macro.
51975 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51976 sysdeps/ieee754/dbl-64/sincos.tbl.
51977 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51978 fma4-enabled routines.
51979 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51980 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51981 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51982 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51983 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51984 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51985 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51986 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51987 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51988 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51989 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51990 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51991 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51992 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51993 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51994 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51995 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51996 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51997 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51998 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51999 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52000 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52001 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52002 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52003 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52004 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52006 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52007 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52008 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52009
58985aa9
UD
52010 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52011 rename.
52012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52017 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52018 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52020
a201fbcf
AS
520212011-10-24 Andreas Schwab <schwab@redhat.com>
52022
52023 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52024
fc2ee42a
LD
520252011-10-23 Ulrich Drepper <drepper@gmail.com>
52026
bb3129bd
UD
52027 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52028
0275fff8
UD
52029 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52030 prediction.
52031 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52032
2fa2ae85
UD
52033 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52034 Remove unused variable magic_bits.
52035 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52036
fc2ee42a
LD
52037 * string/strnlen.c: Define and use STRNLEN macro.
52038 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52039 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52040 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52041 * wcsmbs/wcslen.c: Define and use WCSLEN.
52042 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52043 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52044 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52045 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52046 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52047 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52048 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52049
ce7dd29f
LD
520502011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52051
52052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52053 strnlen-sse2-no-bsf.
52054 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52055 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52056 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52057 Add strnlen support.
52058 (USE_AS_STRNLEN): New macro.
52059 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52060 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52061 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52062 * sysdeps/x86_64/wcslen.S: New file.
52063
979c70a3
MZ
520642011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52065
52066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52067 XMM-moves are used for copying on small sizes.
52068
2d09f82f
LD
520692011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52070
52071 * wcsmbs/Makefile (strop-tests): Add wcschr.
52072 * wcsmbs/test-wcschr.c: New file.
52073 * string/test-strchr.c: Update.
52074 Add wcschr support.
52075 (WIDE): New macro.
52076
619fccca
LD
520772011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52078
2d09f82f 52079 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52080 * wcsmbs/test-wcslen.c: New file.
52081 * string/test-strlen.c: Update.
52082 Add wcslen support.
52083 (WIDE): New macro.
52084
09f699ea
UD
520852011-10-23 Ulrich Drepper <drepper@gmail.com>
52086
52087 * po/it.po: Update from translation team.
52088
95584d3b
LD
520892011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52090
52091 * sysdeps/x86_64/wcscmp.S: Update.
52092 Fix wrong comparison semantics.
52093 wcscmp shall use signed comparison not unsigned.
52094 Don't use substraction to avoid overflow bug.
52095 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52096 * wcsmbc/wcscmp.c: Likewise.
52097 * string/test-strcmp.c: Likewise.
52098 Add new tests to check cases with negative values.
52099
c8b3296b
UD
521002011-10-23 Ulrich Drepper <drepper@gmail.com>
52101
52102 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52103 * sysdeps/x86_64/dla.h: ...here. New file.
52104 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52105 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52107 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52108 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52111 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52112 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52113
246ad57a
AS
521142011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52115
52116 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52117 __ynl_finite aliases.
52118
a1a87169
UD
521192011-10-22 Ulrich Drepper <drepper@gmail.com>
52120
0d355eb7
UD
52121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52122
a1a87169
UD
52123 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52124 define DLA_FMA.
52125 [DLA_FMA] (EMULV): Use DLA_FMA.
52126 [DLA_FMA] (MUL12): Use EMULV.
52127 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52128 that are not needed.
52129 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52132 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52136
ee2aafe0
AS
521372011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52138
52139 * math/s_nan.c: Undef __nan.
52140 * math/s_nanf.c: Undef __nanf.
52141 * math/s_nanl.c: Undef __nanl.
52142 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52143 "math_private.h".
52144
bc62c2fb
UD
521452011-10-22 Ulrich Drepper <drepper@gmail.com>
52146
77425c63
UD
52147 * math/s_catan.c: Add branch predictions.
52148 * math/s_catanf.c: Likewise.
52149 * math/s_catanh.c: Likewise.
52150 * math/s_catanhf.c: Likewise.
52151 * math/s_catanhl.c: Likewise.
52152 * math/s_catanl.c: Likewise.
52153 * math/s_cexp.c: Likewise.
52154 * math/s_cexpf.c: Likewise.
52155 * math/s_cexpl.c: Likewise.
52156 * math/s_clog.c: Likewise.
52157 * math/s_clog10.c: Likewise.
52158 * math/s_clog10f.c: Likewise.
52159 * math/s_clog10l.c: Likewise.
52160 * math/s_clogf.c: Likewise.
52161 * math/s_clogl.c: Likewise.
52162 * math/s_csqrt.c: Likewise.
52163 * math/s_csqrtf.c: Likewise.
52164 * math/s_csqrtl.c: Likewise.
52165 * math/s_ctanf.c: Likewise.
52166 * math/s_ctanh.c: Likewise.
52167 * math/s_ctanhf.c: Likewise.
52168 * math/s_ctanhl.c: Likewise.
52169 * math/s_ctanl.c: Likewise.
52170
bc62c2fb
UD
52171 * math/math_private.h: Define __nan, __nanf, __nanl.
52172 * math/s_cacosh.c: Include <math_private.h>.
52173 * math/s_cacoshl.c: Likewise.
52174 * math/s_casinh.c: Likewise.
52175 * math/s_casinhf.c: Likewise.
52176 * math/s_casinhl.c: Likewise.
52177 * math/s_ccos.c: Rely entire on ccosh.
52178 * math/s_ccosf.c: Rely entire on ccoshf.
52179 * math/s_ccosl.c: Rely entirely on ccoshl.
52180 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52181 Remove tests for FE_INVALID.
52182 * math/s_ccoshf.c: Likewise.
52183 * math/s_ccoshl.c: Likewise.
52184 * math/s_csin.c: Likewise.
52185 * math/s_csinf.c: Likewise.
52186 * math/s_csinh.c Likewise.
52187 * math/s_csinhf.c: Likewise.
52188 * math/s_csinhl.c: Likewise.
52189 * math/s_csinl.c: Likewise.
52190 * math/s_ctan.c: Likewise.
52191 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52192 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52193 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52194
8ec250a4
UD
521952011-10-21 Ulrich Drepper <drepper@gmail.com>
52196
c196fed8
UD
52197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52198 compilation problems.
52199
8ec250a4
UD
52200 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52201 __builtin_expect.
52202
8d4f46c6
UD
522032011-10-20 Ulrich Drepper <drepper@gmail.com>
52204
ed72b654
UD
52205 * sysdeps/i386/configure.in: Test for -mfma4 option.
52206 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52207 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52208 COMMON_CPUID_INDEX_80000001.
52209 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52210 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52211 use it if FMA3 is not supported.
52212 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52213
8d4f46c6
UD
52214 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52215 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52216
d45c60c2
AS
522172011-10-20 Andreas Schwab <schwab@redhat.com>
52218
52219 [BZ #12892]
52220 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52221 it would create a cycle with a link time dependency.
52222
d9a4d2ab
UD
522232011-10-19 Ulrich Drepper <drepper@gmail.com>
52224
855d1560
UD
52225 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52226 instruction.
52227 * string/Makefile (strop-tests): Add rawmemchr.
52228 * string/test-rawmemchr.c: New file.
52229
d9a4d2ab
UD
52230 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52232 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52233 when compiling str{,n}casecmp and when AVX is available. Hook up
52234 new optimized code in initializers.
52235
8f3b1ffe
AS
522362011-10-19 Andreas Schwab <schwab@redhat.com>
52237
52238 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52239 __feraiseexcept instead of feraiseexcept.
52240
d38f1dba
UD
522412011-10-18 Ulrich Drepper <drepper@gmail.com>
52242
d9a8d0ab
UD
52243 * math/math_private.h: Define defaults for libc_fetestexcept and
52244 libc_feupdateenv.
52245 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52246 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52247 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52248 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52249 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52250 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52251 libc_fetestexcept and libc_feupdateenv.
52252
4855e3dd
UD
52253 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52254 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52255 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52256 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52257 libc_feholdexcept_setround.
52258
581d30e3
UD
52259 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52260 Add s_nearbyint-c and s_nearbyintf-c.
52261 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52262 nearbyintf inlines.
52263 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52264 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52265 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52266 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52267
d38f1dba
UD
52268 * math/math_private.h: Define defaults for libc_fegetround,
52269 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52270 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52271 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52272 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52273 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52274 standard functions.
52275 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52276 Remove comments and hacks for old compiler versions.
52277 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52278 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52279 libc_feholdexceptl.
52280
caa6c9d8
AS
522812011-10-18 Andreas Schwab <schwab@redhat.com>
52282
52283 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52284 (__feraiseexcept_renamed): Add __NTH.
52285 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52286 namespace violations.
52287
97c066e6
UD
522882011-10-17 Ulrich Drepper <drepper@gmail.com>
52289
99ce7b04
UD
52290 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52291
1004d182
UD
52292 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52293
228a984d
UD
52294 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52295 recently added interfaces.
52296 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52297
c8553a6a
UD
52298 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52299 about macro parameter expansion.
52300
ed22dcf6
UD
52301 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52302 __NO_MATH_INLINES is defined. Cleanups.
52303
52304 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52305 and __floorf is target has SSE4.1.
52306 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52307 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52308 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52309 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52310
b171c137
UD
52311 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52312 name.
52313 (floorf): Likewise.
52314
97c066e6
UD
52315 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52316
629f62ef
AS
523172011-10-17 Andreas Schwab <schwab@redhat.com>
52318
49a43d80
AS
52319 * misc/sys/cdefs.h: Fix last change.
52320
629f62ef
AS
52321 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52322 database lookup.
52323
e453f6cd
UD
523242011-10-16 Ulrich Drepper <drepper@gmail.com>
52325
aa78043a
UD
52326 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52327
ad0f5cad
UD
52328 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52329 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52330 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52331 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52332 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52333 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52334 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52335 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52336 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52337 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52338 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52339 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52340 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52341 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52342 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52343 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52344 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52345 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52346 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52347 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52348 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52349 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52350
52351 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52352 ceil, ceilf, floor, floorf.
52353
52354 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52355 Perform IRELATIVE relocations last.
52356
e453f6cd
UD
52357 * elf/do-rel.h: Add another parameter nrelative, replacing the
52358 local variable with the same name. Change name of the function
52359 to end in Rel or Rela (uppercase).
52360 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52361 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52362 elf_dynamic_do_##reloc function.
52363
fd5bdc09
UD
523642011-10-15 Ulrich Drepper <drepper@gmail.com>
52365
79b195b5
UD
52366 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52367 is sufficient, at least on modern CPUs.
52368
d4a28569
UD
52369 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52370
b61099b5
UD
52371 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52372 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52373
bcf01e6d
UD
52374 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52375 __expl_finite.
52376 * math/bits/math-finite.h: Add entries for exp.
52377 * math/e_expl.c: Add __*_finite alias.
52378 * sysdeps/i386/fpu/e_exp.S: Likewise.
52379 * sysdeps/i386/fpu/e_expf.S: Likewise.
52380 * sysdeps/i386/fpu/e_expl.c: Likewise.
52381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52382 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52383 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52384 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52385 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52386 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52387 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52388
ba1a0d59
UD
52389 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52390 is sufficient, at least on modern CPUs.
52391
fd5bdc09
UD
52392 * ctype/ctype-info.c (__ctype_init): Define.
52393 * include/ctype.h (__ctype_init): Declare.
52394 (__ctype_b_loc): The variable is always initialized.
52395 (__ctype_toupper_loc): Likewise.
52396 (__ctype_tolower_loc): Likewise.
52397 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52398 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52399
7872cfb0
AS
524002011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52401
b468825a
AS
52402 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52403
7872cfb0
AS
52404 * configure.in: Also look in $cxxmachine/include for C++ system
52405 headers.
52406
be13f7bf
LD
524072011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52408
52409 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52410 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52411 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52412 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52413 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52414 (USE_AS_WMEMCMP): New macro.
52415 Fixing indents.
52416 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52417 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52418 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52419 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52421 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52422 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52423 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52424 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52425 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52426 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52427 (USE_AS_WMEMCMP): New macro.
52428 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52429 * sysdeps/string/test-memcmp.c: Update.
52430 Fix simple_wmemcmp.
52431 Add new tests.
52432 * wcsmbs/wmemcmp.c: Update.
52433 (WMEMCMP): New macro.
52434 Fix overflow bug.
52435
556a2007
AJ
524362011-10-12 Andreas Jaeger <aj@suse.de>
52437
52438 [BZ #13268]
52439 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52440
538faaa7
UD
524412011-10-15 Ulrich Drepper <drepper@gmail.com>
52442
ab6737ff
UD
52443 * libio/iofwide.c (do_length): Avoid warning.
52444
538faaa7
UD
52445 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52446
396a21b1
UD
524472011-10-14 Ulrich Drepper <drepper@gmail.com>
52448
cdf2901f
UD
52449 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52450
38ad40ce
UD
52451 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52452 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52453 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52454 * sysdeps/i386/i686/fpu/e_log.S: New file.
52455 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52456 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52457
396a21b1
UD
52458 * ctype/ctype.h: Add support for inlined isXXX functions when
52459 compiling C++ code.
52460
6b1f68c9
AS
524612011-10-14 Andreas Schwab <schwab@redhat.com>
52462
349290c0
AS
52463 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52464
6b1f68c9
AS
52465 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52466
f2282d42
RM
524672011-10-13 Roland McGrath <roland@hack.frob.com>
52468
52469 [BZ #13291]
52470 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52471
5298ffa8
AS
524722011-10-13 Andreas Schwab <schwab@redhat.com>
52473
714fad23
AS
52474 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52475 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52476 feraiseexcept.
52477
81dcc7fb
AS
52478 * sysdeps/x86_64/memrchr.S: Check for zero size.
52479
5298ffa8
AS
52480 * string/stratcliff.c: Add memrchr tests.
52481
951fbcec
LD
524822011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52483
52484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52485 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52486 rawmemchr-sse2 rawmemchr-sse2-bsf.
52487 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52488 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52489 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52490 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52491 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52492 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52493 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52494 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52495 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52496 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52497 * string/memrchr.c (MEMRCHR): New macro.
52498
0ac5ae23
UD
524992011-10-12 Ulrich Drepper <drepper@gmail.com>
52500
52501 Add integration with gcc's -ffinite-math-only and optimize wrapper
52502 functions in libm.
52503 * Versions.def: Define GLIBC_2.15 version for libm.
52504 * math/Makefile (headers): Add bits/math-finite.h.
52505 * math/bits/math-finite.h: New file.
52506 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52507 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52508 * math/e_acoshl.c: Add __*_finite alias.
52509 * math/e_acosl.c: Likewise.
52510 * math/e_asinl.c: Likewise.
52511 * math/e_atan2l.c: Likewise.
52512 * math/e_atanhl.c: Likewise.
52513 * math/e_coshl.c: Likewise.
52514 * math/e_exp10.c: Likewise.
52515 * math/e_exp10f.c: Likewise.
52516 * math/e_exp10l.c: Likewise.
52517 * math/e_exp2l.c: Likewise.
52518 * math/e_fmodl.c: Likewise.
52519 * math/e_gammal_r.c: Likewise.
52520 * math/e_hypotl.c: Likewise.
52521 * math/e_j0l.c: Likewise.
52522 * math/e_j1l.c: Likewise.
52523 * math/e_jnl.c: Likewise.
52524 * math/e_lgammal_r.c: Likewise.
52525 * math/e_log10l.c: Likewise.
52526 * math/e_log2l.c: Likewise.
52527 * math/e_logl.c: Likewise.
52528 * math/e_powl.c: Likewise.
52529 * math/e_sinhl.c: Likewise.
52530 * math/e_sqrtl.c: Likewise.
52531 * math/e_scalb.c: Completely rewritten and optimized.
52532 * math/e_scalbf.c: Likewise.
52533 * math/e_scalbl.c: Likewise.
52534 * math/w_acos.c: Likewise.
52535 * math/w_acosf.c: Likewise.
52536 * math/w_acosl.c: Likewise.
52537 * math/w_acosh.c: Likewise.
52538 * math/w_acoshf.c: Likewise.
52539 * math/w_acoshl.c: Likewise.
52540 * math/w_asin.c: Likewise.
52541 * math/w_asinf.c: Likewise.
52542 * math/w_asinl.c: Likewise.
52543 * math/w_atan2.c: Likewise.
52544 * math/w_atan2f.c: Likewise.
52545 * math/w_atan2l.c: Likewise.
52546 * math/w_atanh.c: Likewise.
52547 * math/w_atanhf.c: Likewise.
52548 * math/w_atanhl.c: Likewise.
52549 * math/w_exp10.c: Likewise.
52550 * math/w_exp10f.c: Likewise.
52551 * math/w_exp10l.c: Likewise.
52552 * math/w_fmod.c: Likewise.
52553 * math/w_fmodf.c: Likewise.
52554 * math/w_fmodl.c: Likewise.
52555 * math/w_j0.c: Likewise.
52556 * math/w_j0f.c: Likewise.
52557 * math/w_j0l.c: Likewise.
52558 * math/w_j1.c: Likewise.
52559 * math/w_j1f.c: Likewise.
52560 * math/w_j1l.c: Likewise.
52561 * math/w_jn.c: Likewise.
52562 * math/w_jnf.c: Likewise.
52563 * math/w_log.c: Likewise.
52564 * math/w_logf.c: Likewise.
52565 * math/w_logl.c: Likewise.
52566 * math/w_log10.c: Likewise.
52567 * math/w_log10f.c: Likewise.
52568 * math/w_log10l.c: Likewise.
52569 * math/w_log2.c: Likewise.
52570 * math/w_log2f.c: Likewise.
52571 * math/w_log2l.c: Likewise.
52572 * math/w_pow.c: Likewise.
52573 * math/w_powf.c: Likewise.
52574 * math/w_powl.c: Likewise.
52575 * math/w_remainder.c: Likewise.
52576 * math/w_remainderf.c: Likewise.
52577 * math/w_remainderl.c: Likewise.
52578 * math/w_scalb.c: Likewise.
52579 * math/w_scalbf.c: Likewise.
52580 * math/w_scalbl.c: Likewise.
52581 * math/w_sqrt.c: Likewise.
52582 * math/w_sqrtf.c: Likewise.
52583 * math/w_sqrtl.c: Likewise.
52584 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52585 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52586 used.
52587 * math/math_private.h: Declare __kernel_standard_f.
52588 * math/w_cosh.c: Remove cruft and optimize a bit.
52589 * math/w_coshf.c: Likewise.
52590 * math/w_coshl.c: Likewise.
52591 * math/w_exp2.c: Likewise.
52592 * math/w_exp2f.c: Likewise.
52593 * math/w_exp2l.c: Likewise.
52594 * math/w_hypot.c: Likewise.
52595 * math/w_hypotf.c: Likewise.
52596 * math/w_hypotl.c: Likewise.
52597 * math/w_lgamma.c: Likewise.
52598 * math/w_lgamma_r.c: Likewise.
52599 * math/w_lgammaf.c: Likewise.
52600 * math/w_lgammaf_r.c: Likewise.
52601 * math/w_lgammal.c: Likewise.
52602 * math/w_lgammal_r.c: Likewise.
52603 * math/w_sinh.c: Likewise.
52604 * math/w_sinhf.c: Likewise.
52605 * math/w_sinhl.c: Likewise.
52606 * math/w_tgamma.c: Likewise.
52607 * math/w_tgammaf.c: Likewise.
52608 * math/w_tgammal.c: Likewise.
52609 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52610 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52611 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52612 Minor optimizations. Pretty printing. Remove cruft.
52613 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52614 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52615 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52616 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52617 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52618 * sysdeps/i386/fpu/e_asin.S: Likewise.
52619 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52620 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52621 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52622 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52623 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52624 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52625 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52626 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52627 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52628 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52629 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52630 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52631 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52632 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52633 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52634 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52635 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52636 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52637 * sysdeps/i386/fpu/e_log.S: Likewise.
52638 * sysdeps/i386/fpu/e_log10.S: Likewise.
52639 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52640 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52641 * sysdeps/i386/fpu/e_log2.S: Likewise.
52642 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52643 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52644 * sysdeps/i386/fpu/e_logf.S: Likewise.
52645 * sysdeps/i386/fpu/e_logl.S: Likewise.
52646 * sysdeps/i386/fpu/e_pow.S: Likewise.
52647 * sysdeps/i386/fpu/e_powf.S: Likewise.
52648 * sysdeps/i386/fpu/e_powl.S: Likewise.
52649 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52650 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52651 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52652 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52653 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52654 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52655 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52656 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52657 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52658 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52659 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52661 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52662 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52663 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52664 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52665 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52666 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52667 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52668 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52669 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52671 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52672 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52673 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52674 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52675 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52676 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52677 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52678 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52679 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52680 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52681 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52682 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52683 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52684 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52685 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52686 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52687 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52688 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52689 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52690 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52691 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52692 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52693 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52694 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52695 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52696 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52697 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52698 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52699 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52700 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52701 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52702 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52703 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52704 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52705 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52706 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52707 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52708 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52709 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52710 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52711 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52712 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52713 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52714 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52715 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52716 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52717 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52718 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52719 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52720 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52723 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52724 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52725 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52726 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52727 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52728 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52729 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52730 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52731 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52732 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52734 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52735 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52736 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52737 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52738 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52739 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52740 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52741 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52742 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52743 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52744 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52745 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52746 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52747 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52748 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52749 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52750 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52751 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52752 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52753 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52754 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52755 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52756 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52757 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52758 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52759 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52760 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52761 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52762 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52763 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52764 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52766 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52767 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52768 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52769 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52770 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52771 (__isnanf): Likewise.
52772 (__isinf_ns): Likewise.
52773 (__isinf_nsf): Likewise.
52774 (__finite): Likewise.
52775 (__finitef): Likewise.
52776 (__ieee754_sqrt): Define as macro.
52777 (__ieee754_sqrtf): Define as macro.
52778 (__ieee754_sqrtl): Define as macro.
52779 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52780 inlined copy.
52781 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52782 __FINITE_MATH_ONLY__ consistent.
52783 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52784
12cc2fcd
AS
527852011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52786
a843a204
AS
52787 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52788 of rawmemchr.
52789
12cc2fcd
AS
52790 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52791
c853acd5
UD
527922011-10-09 Ulrich Drepper <drepper@gmail.com>
52793
52794 * po/ja.po: Update from translation team.
52795
c658d255
RM
527962011-10-08 Roland McGrath <roland@hack.frob.com>
52797
110946e4
RM
52798 * locale/programs/locarchive.c (prepare_address_space): New function.
52799 (create_archive, enlarge_archive, open_archive): Use it.
52800
50604220
RM
52801 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52802 inside [SHARED], where it is used.
52803
c658d255
RM
52804 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52805
52806 * nss/getent.c (netgroup_keys): Remove unused variable.
52807 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52808
6a621eb7
UD
528092011-10-08 Ulrich Drepper <drepper@gmail.com>
52810
7edb55ce
UD
52811 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52812 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52814 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52815 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52816 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52817 * math/Makefile (libm-calls): Add s_isinf_ns.
52818 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52819 * math/multc3.c: Likewise.
52820 * math/s_casin.c: Likewise.
52821 * math/s_casinf.c: Likewise.
52822 * math/s_casinl.c: Likewise.
52823 * math/s_ccos.c: Likewise.
52824 * math/s_ccosf.c: Likewise.
52825 * math/s_ccosl.c: Likewise.
52826 * math/s_ctan.c: Likewise.
52827 * math/s_ctanf.c: Likewise.
52828 * math/s_ctanh.c: Likewise.
52829 * math/s_ctanhf.c: Likewise.
52830 * math/s_ctanhl.c: Likewise.
52831 * math/s_ctanl.c: Likewise.
52832 * math/w_fmod.c: Likewise.
52833 * math/w_fmodf.c: Likewise.
52834 * math/w_fmodl.c: Likewise.
52835 * math/w_remainder.c: Likewise.
52836 * math/w_remainderf.c: Likewise.
52837 * math/w_remainderl.c: Likewise.
52838 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52839 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52840 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52842 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52843 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52844 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52845 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52846
187da0ae
UD
52847 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52848 of the number.
52849 * stdio-common/printf_fphex.c: Likewise.
52850 * stdio-common/printf_size.c: Likewise.
52851
9277c064
UD
52852 * math/e_exp10.c: Include math_private.h using <...> not "...".
52853 * math/e_exp10f.c: Likewise.
52854 * math/e_exp10l.c: Likewise.
52855 * math/e_exp2l.c: Likewise.
52856 * math/e_j0l.c: Likewise.
52857 * math/e_j1l.c: Likewise.
52858 * math/e_jnl.c: Likewise.
52859 * math/e_lgammal_r.c: Likewise.
52860 * math/e_rem_pio2l.c: Likewise.
52861 * math/e_scalb.c: Likewise.
52862 * math/e_scalbf.c: Likewise.
52863 * math/e_scalbl.c: Likewise.
52864 * math/k_cosl.c: Likewise.
52865 * math/k_sinl.c: Likewise.
52866 * math/k_tanl.c: Likewise.
52867 * math/s_cacoshf.c: Likewise.
52868 * math/s_catan.c: Likewise.
52869 * math/s_catanf.c: Likewise.
52870 * math/s_catanh.c: Likewise.
52871 * math/s_catanhf.c: Likewise.
52872 * math/s_catanhl.c: Likewise.
52873 * math/s_catanl.c: Likewise.
52874 * math/s_ccosh.c: Likewise.
52875 * math/s_ccoshf.c: Likewise.
52876 * math/s_ccoshl.c: Likewise.
52877 * math/s_cexp.c: Likewise.
52878 * math/s_cexpf.c: Likewise.
52879 * math/s_cexpl.c: Likewise.
52880 * math/s_clog.c: Likewise.
52881 * math/s_clog10.c: Likewise.
52882 * math/s_clog10f.c: Likewise.
52883 * math/s_clog10l.c: Likewise.
52884 * math/s_clogf.c: Likewise.
52885 * math/s_clogl.c: Likewise.
52886 * math/s_csin.c: Likewise.
52887 * math/s_csinf.c: Likewise.
52888 * math/s_csinh.c: Likewise.
52889 * math/s_csinhf.c: Likewise.
52890 * math/s_csinhl.c: Likewise.
52891 * math/s_csinl.c: Likewise.
52892 * math/s_csqrt.c: Likewise.
52893 * math/s_csqrtf.c: Likewise.
52894 * math/s_csqrtl.c: Likewise.
52895 * math/s_ctan.c: Likewise.
52896 * math/s_ctanf.c: Likewise.
52897 * math/s_ctanh.c: Likewise.
52898 * math/s_ctanhf.c: Likewise.
52899 * math/s_ctanhl.c: Likewise.
52900 * math/s_ctanl.c: Likewise.
52901 * math/s_ldexp.c: Likewise.
52902 * math/s_ldexpf.c: Likewise.
52903 * math/s_ldexpl.c: Likewise.
52904 * math/s_significand.c: Likewise.
52905 * math/s_significandf.c: Likewise.
52906 * math/s_significandl.c: Likewise.
52907 * math/w_acos.c: Likewise.
52908 * math/w_acosf.c: Likewise.
52909 * math/w_acosh.c: Likewise.
52910 * math/w_acoshf.c: Likewise.
52911 * math/w_acoshl.c: Likewise.
52912 * math/w_acosl.c: Likewise.
52913 * math/w_asin.c: Likewise.
52914 * math/w_asinf.c: Likewise.
52915 * math/w_asinl.c: Likewise.
52916 * math/w_atan2.c: Likewise.
52917 * math/w_atan2f.c: Likewise.
52918 * math/w_atan2l.c: Likewise.
52919 * math/w_atanh.c: Likewise.
52920 * math/w_atanhf.c: Likewise.
52921 * math/w_atanhl.c: Likewise.
52922 * math/w_cosh.c: Likewise.
52923 * math/w_coshf.c: Likewise.
52924 * math/w_coshl.c: Likewise.
52925 * math/w_dremf.c: Likewise.
52926 * math/w_exp10.c: Likewise.
52927 * math/w_exp10f.c: Likewise.
52928 * math/w_exp10l.c: Likewise.
52929 * math/w_exp2.c: Likewise.
52930 * math/w_exp2f.c: Likewise.
52931 * math/w_fmod.c: Likewise.
52932 * math/w_fmodf.c: Likewise.
52933 * math/w_fmodl.c: Likewise.
52934 * math/w_hypot.c: Likewise.
52935 * math/w_hypotf.c: Likewise.
52936 * math/w_hypotl.c: Likewise.
52937 * math/w_j0.c: Likewise.
52938 * math/w_j0f.c: Likewise.
52939 * math/w_j0l.c: Likewise.
52940 * math/w_j1.c: Likewise.
52941 * math/w_j1f.c: Likewise.
52942 * math/w_j1l.c: Likewise.
52943 * math/w_jn.c: Likewise.
52944 * math/w_jnf.c: Likewise.
52945 * math/w_jnl.c: Likewise.
52946 * math/w_lgamma.c: Likewise.
52947 * math/w_lgamma_r.c: Likewise.
52948 * math/w_lgammaf.c: Likewise.
52949 * math/w_lgammaf_r.c: Likewise.
52950 * math/w_lgammal.c: Likewise.
52951 * math/w_lgammal_r.c: Likewise.
52952 * math/w_log.c: Likewise.
52953 * math/w_log10.c: Likewise.
52954 * math/w_log10f.c: Likewise.
52955 * math/w_log10l.c: Likewise.
52956 * math/w_log2.c: Likewise.
52957 * math/w_log2f.c: Likewise.
52958 * math/w_log2l.c: Likewise.
52959 * math/w_logf.c: Likewise.
52960 * math/w_logl.c: Likewise.
52961 * math/w_pow.c: Likewise.
52962 * math/w_powf.c: Likewise.
52963 * math/w_powl.c: Likewise.
52964 * math/w_remainder.c: Likewise.
52965 * math/w_remainderf.c: Likewise.
52966 * math/w_remainderl.c: Likewise.
52967 * math/w_scalb.c: Likewise.
52968 * math/w_scalbf.c: Likewise.
52969 * math/w_scalbl.c: Likewise.
52970 * math/w_sinh.c: Likewise.
52971 * math/w_sinhf.c: Likewise.
52972 * math/w_sinhl.c: Likewise.
52973 * math/w_sqrt.c: Likewise.
52974 * math/w_sqrtf.c: Likewise.
52975 * math/w_sqrtl.c: Likewise.
52976 * math/w_tgamma.c: Likewise.
52977 * math/w_tgammaf.c: Likewise.
52978 * math/w_tgammal.c: Likewise.
52979
6a621eb7
UD
52980 * po/ja.po: Update from translation team.
52981
bf582445
AJ
529822011-09-29 Andreas Jaeger <aj@suse.de>
52983
f9efbf3a
AJ
52984 [BZ #13179]
52985 * sunrpc/netname.c (netname2host): Fix logic.
52986
bf582445
AJ
52987 [BZ #6779]
52988 [BZ #6783]
52989 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52990 correctly.
52991 * math/w_remainder.c (__remainder): Likewise.
52992 * math/w_remainderf.c (__remainderf): Likewise.
52993 * math/libm-test.inc (remainder_test): Add test cases.
52994
48693bea
AK
529952011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52996
52997 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52998 sdiv_qrnnd.
52999
42622229
LD
530002011-10-07 Ulrich Drepper <drepper@gmail.com>
53001
53002 * string/test-memcmp.c: Avoid unncessary #defines.
53003 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53004
093ecf92
LD
530052011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53006
53007 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53008 Use new sse2 version for core i3 - i7 as it's faster
53009 than sse42 version.
53010 (bit_Prefer_PMINUB_for_stringop): New.
53011 * sysdeps/x86_64/rawmemchr.S: Update.
53012 Replace with faster SSE2 version.
53013 * sysdeps/x86_64/memrchr.S: New file.
53014 * sysdeps/x86_64/memchr.S: Update.
53015 Replace with faster SSE2 version.
53016
fde56e5c
MP
530172011-09-12 Marek Polacek <mpolacek@redhat.com>
53018
53019 * elf/dl-load.c (lose): Add cast to avoid warning.
53020
21fd49a9
UD
530212011-10-07 Ulrich Drepper <drepper@gmail.com>
53022
5a06e643
UD
53023 * po/ca.po: Update from translation team.
53024
684ae515
UD
53025 * inet/getnetgrent_r.c: Hook up nscd.
53026 * nscd/Makefile (routines): Add nscd_netgroup.
53027 (nscd-modules): Add netgroupcache.
53028 (CFLAGS-netgroupcache.c): Define.
53029 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53030 (cache_search): Add const to second parameter.
53031 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53032 INNETGR.
53033 (dbs): Add netgrdb entry.
53034 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53035 (verify_persistent_db): Handle netgrdb.
53036 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53037 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53038 GETFDNETGR.
53039 (netgroup_response_header): Define.
53040 (innetgroup_response_header): Define.
53041 (datahead): Add netgroup_response_header and innetgroup_response_header
53042 elements.
53043 * nscd/nscd.conf: Add entries for netgroup cache.
53044 * nscd/nscd.h (dbtype): Add netgrdb.
53045 (_PATH_NSCD_NETGROUP_DB): Define.
53046 (netgroup_iov_disabled): Declare.
53047 (xmalloc, xcalloc, xrealloc): Move declarations here.
53048 (cache_search): Adjust prototype.
53049 Add netgroup-related prototypes.
53050 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53051 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53052 (__nscd_innetgr): Declare.
53053 * nscd/selinux.c (perms): Use access_vector_t as element type and
53054 add netgroup-related initializers.
53055 * nscd/netgroupcache.c: New file.
53056 * nscd/nscd_netgroup.c: New file.
53057 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53058 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53059 For four parameters use innetgr.
53060 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53061 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53062 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53063 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53064
21fd49a9
UD
53065 * nscd/connections.c (register_traced_file): Don't register file
53066 for disabled databases.
53067
054c0457
UD
530682011-10-06 Ulrich Drepper <drepper@gmail.com>
53069
32b63198
UD
53070 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53071
054c0457
UD
53072 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53073 from tree and freeing node.
53074
64031225
JO
530752011-09-25 Jiri Olsa <jolsa@redhat.com>
53076
53077 * nss/nsswitch.c (__nss_database_lookup): Handle
53078 nss_parse_service_list out of memory case.
53079
0490345c
JO
530802011-09-15 Jiri Olsa <jolsa@redhat.com>
53081
53082 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53083 out of memory case.
53084
3a62d00d
AS
530852011-10-04 Andreas Schwab <schwab@redhat.com>
53086
53087 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53088 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53089 pass it down.
53090 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53091 elf_machine_rela, elf_machine_lazy_rel.
53092 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53093 (ELF_DYNAMIC_DO_REL): Likewise.
53094 (ELF_DYNAMIC_DO_RELA): Likewise.
53095 (ELF_DYNAMIC_RELOCATE): Likewise.
53096 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53097 to ELF_DYNAMIC_DO_REL.
53098 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53099 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53100 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53101 elf_machine_rela.
53102 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53103 skip_ifunc, don't call ifunc function if non-zero.
53104 (elf_machine_rela): Likewise.
53105 (elf_machine_lazy_rel): Likewise.
53106 (elf_machine_lazy_rela): Likewise.
53107 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53108 (elf_machine_lazy_rel): Likewise.
53109 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53110 Likewise.
53111 (elf_machine_lazy_rel): Likewise.
53112 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53113 Likewise.
53114 (elf_machine_lazy_rel): Likewise.
53115 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53116 (elf_machine_lazy_rel): Likewise.
53117 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53118 (elf_machine_lazy_rel): Likewise.
53119 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53120 (elf_machine_lazy_rel): Likewise.
53121 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53122 (elf_machine_lazy_rel): Likewise.
53123 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53124 (elf_machine_lazy_rel): Likewise.
53125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53126 (elf_machine_lazy_rel): Likewise.
53127
68577918
UD
531282011-09-28 Ulrich Drepper <drepper@gmail.com>
53129
53130 * nss/nss_files/files-init.c (_nss_files_init): Use static
53131 initialization for all the *_traced_file variables.
53132
68822d74
AS
531332011-09-28 Andreas Schwab <schwab@redhat.com>
53134
53135 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53136
2056100b
RM
531372011-09-27 Roland McGrath <roland@hack.frob.com>
53138
53139 [BZ #13226]
53140 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53141
32c76b63
AS
531422011-09-27 Andreas Schwab <schwab@redhat.com>
53143
53144 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53145 Reread the line before reparsing it.
53146
bf972c9d
AS
531472011-09-26 Andreas Schwab <schwab@redhat.com>
53148
53149 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53150
e057a1b5
JM
531512011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53152 Maxim Kuvyrkov <maxim@codesourcery.com>
53153 Joseph Myers <joseph@codesourcery.com>
53154
53155 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53156 if needed for __stack_chk_guard.
53157
bc7e1c36
RM
531582011-09-19 Roland McGrath <roland@hack.frob.com>
53159
ecb1482f
RM
53160 * sysdeps/posix/spawni.c (script_execute): Always define it.
53161 It will be optimized away if unused.
53162 (maybe_script_execute): New function.
53163 (__spawni): Call it.
53164
bc7e1c36
RM
53165 * Makerules: Don't include tls.make.
53166 (config-tls): Always set to thread.
53167 * tls.make.c: File removed.
53168
1c3b002b
MF
531692011-09-19 Mike Frysinger <vapier@gentoo.org>
53170
53171 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53172 * config.make.in (CPPFLAGS-config): New substituted variable.
53173
2840865d
UD
531742011-09-15 Ulrich Drepper <drepper@gmail.com>
53175
88738eb6
UD
53176 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53177
cbf645a6 53178 [BZ #13192]
2840865d
UD
53179 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53180 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53181
b402e91a
RM
531822011-09-15 Roland McGrath <roland@hack.frob.com>
53183
53184 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53185 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53186 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53187 (CALL_FAIL): Likewise.
53188 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53189 (CALL_FAIL): Macro removed.
53190 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53191
4c1a1f71
UD
531922011-09-15 Ulrich Drepper <drepper@gmail.com>
53193
53194 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53195 for __FINITE_MATH_ONLY__ == 1.
53196
edc121be
AS
531972011-09-15 Andreas Schwab <schwab@redhat.com>
53198
53199 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53200 __ieee754_sqrt instead of sqrt.
53201 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53202 __ieee754_sqrtf instead of sqrtf.
53203 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53204 __floorf instead of floorf.
53205 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53206 __floorf, __truncf instead of floorf, truncf.
53207
cd205654
UD
532082011-09-14 Ulrich Drepper <drepper@gmail.com>
53209
ee4d0315
UD
53210 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53211
cd205654
UD
53212 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53213 __extern_always_inline.
53214 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53215 32-bit.
53216
48b67d71
AS
532172011-09-14 Andreas Schwab <schwab@redhat.com>
53218
53219 * elf/rtld.c (dl_main): Also relocate in dependency order when
53220 doing symbol dependency testing.
53221
1ae12c75
AS
532222011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53223
53224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53225 Always define `refsym'.
53226
995a80df
AS
532272011-09-13 Andreas Schwab <schwab@redhat.com>
53228
e529793b
AS
53229 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53230 (__FD_ELT): Renamed from __FDELT.
53231 * misc/bits/select2.h (__FD_ELT): Likewise.
53232 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53233 __FD_MASK instead of __FDELT, __FDMASK.
53234 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53235 Likewise.
53236 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53237 Likewise.
53238
52d4fef8
AS
53239 * elf/Makefile (gen-ldd): Fix pattern.
53240
995a80df
AS
53241 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53242 (init_tls): Likewise.
53243
8682f8b0
UD
532442011-09-12 Ulrich Drepper <drepper@gmail.com>
53245
53246 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53247
de82006d
AS
532482011-09-12 Andreas Schwab <schwab@redhat.com>
53249
a7c8e6a1
AS
53250 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53251 `struct cmsghdr *' instead of `void *'.
53252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53253 Likewise.
53254
0f31fe77
AS
532552011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53256
53257 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53258 if non-absolute.
53259 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53260 ldd_rewrite_script.
0f31fe77 53261
32b4c839
UD
532622011-09-11 Ulrich Drepper <drepper@gmail.com>
53263
83cd1420
UD
53264 * configure.in: Remove --with-tls option.
53265 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53266 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53267 out in case it is missing.
53268 * sysdeps/ia64/elf/configure.in: Likewise.
53269 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53270 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53271 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53272 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53273 * sysdeps/sh/elf/configure.in: Likewise.
53274 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53275 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53276 * sysdeps/x86_64/elf/configure.in: Likewise.
53277 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53278 * sysdeps/mach/hurd/tls.h: Likewise.
53279
633f745d
UD
53280 [BZ #13067]
53281 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53282
f318beb8
UD
53283 [BZ #13090]
53284 * configure.in: Fix use of AC_INIT.
53285
32b4c839
UD
53286 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53287
3ce1f295
UD
532882011-09-10 Ulrich Drepper <drepper@gmail.com>
53289
bb016596
UD
53290 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53291 __set_errno.
8e58439c
UD
53292 * malloc/hooks.c: Likewise.
53293
aebae053 53294 [BZ #11929]
02d46fc4
UD
53295 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53296 variables statically.
53297 (narenas): Initialize.
53298 (list_lock): Initialize.
bb016596
UD
53299 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53300 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53301 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53302 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53303 Add initializers to main_arena and mp_.
53304 (malloc_state): Remove pagesize member. Change all users to use
53305 GLRO(dl_pagesize).
53306
53307 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53308 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53309 is always initialized.
53310
22a89187
UD
53311 * malloc/malloc.c: Removed unused configurations and dead code.
53312 * malloc/arena.c: Likewise.
53313 * malloc/hooks.c: Likewise.
02d46fc4 53314 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53315
d063d164
UD
53316 * include/tls.h: Removed. USE___THREAD must always be defined.
53317 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53318 * elf/dl-libc.c: Likewise.
53319 * elf/dl-tsd.c: Likewise.
53320 * include/errno.h: Likewise.
53321 * include/netdb.h: Likewise.
53322 * include/resolv.h: Likewise.
53323 * inet/herrno-loc.c: Likewise.
53324 * inet/herrno.c: Likewise.
53325 * malloc/arena.c: Likewise.
53326 * malloc/hooks.c: Likewise.
53327 * malloc/malloc.c: Likewise.
53328 * resolv/res-state.c: Likewise.
53329 * resolv/res_libc.c: Likewise.
53330 * sysdeps/i386/dl-machine.h: Likewise.
53331 * sysdeps/ia64/dl-machine.h: Likewise.
53332 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53333 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53334 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53335 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53336 * sysdeps/sh/dl-machine.h: Likewise.
53337 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53338 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53339 * sysdeps/unix/i386/sysdep.S: Likewise.
53340 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53341 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53342 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53344 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53346 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53348 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53350 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53351 * sysdeps/x86_64/dl-machine.h: Likewise.
53352 * tls.make.c: Likewise.
53353
3ce1f295
UD
53354 * configure.in: Remove --with-__thread option. Make tests for
53355 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53356 tls_model attribute fail if no support is available. Remove
53357 USE_IN_LIBIO.
53358 * Makeconfig: Adjust for dropped configure option. All features are
53359 now mandatory.
53360 * Makerules: Likewise.
53361 * Versions.def: Likewise.
53362 * argp/argp-fmtstream.c: Likewise.
53363 * argp/argp-fmtstream.h: Likewise.
53364 * argp/argp-help.c: Likewise.
53365 * assert/assert.c: Likewise.
53366 * config.h.in: Likewise.
53367 * config.make.in: Likewise.
53368 * configure: Likewise.
53369 * configure.in: Likewise.
53370 * csu/Versions: Likewise.
53371 * csu/init.c: Likewise.
53372 * elf/tst-audit2.c: Likewise.
53373 * elf/tst-tls10.c: Likewise.
53374 * elf/tst-tls10.h: Likewise.
53375 * elf/tst-tls11.c: Likewise.
53376 * elf/tst-tls12.c: Likewise.
53377 * elf/tst-tls14.c: Likewise.
53378 * elf/tst-tlsmod11.c: Likewise.
53379 * elf/tst-tlsmod12.c: Likewise.
53380 * elf/tst-tlsmod13.c: Likewise.
53381 * elf/tst-tlsmod13a.c: Likewise.
53382 * elf/tst-tlsmod14a.c: Likewise.
53383 * elf/tst-tlsmod15b.c: Likewise.
53384 * elf/tst-tlsmod16a.c: Likewise.
53385 * elf/tst-tlsmod16b.c: Likewise.
53386 * elf/tst-tlsmod7.c: Likewise.
53387 * elf/tst-tlsmod8.c: Likewise.
53388 * elf/tst-tlsmod9.c: Likewise.
53389 * gmon/gmon.c: Likewise.
53390 * grp/fgetgrent_r.c: Likewise.
53391 * grp/putgrent.c: Likewise.
53392 * hurd/fopenport.c: Likewise.
53393 * include/libc-symbols.h: Likewise.
53394 * include/tls.h: Likewise.
53395 * intl/gettextP.h: Likewise.
53396 * intl/loadinfo.h: Likewise.
53397 * locale/global-locale.c: Likewise.
53398 * locale/localeinfo.h: Likewise.
53399 * mach/devstream.c: Likewise.
53400 * malloc/arena.c: Likewise.
53401 * malloc/set-freeres.c: Likewise.
53402 * misc/err.c: Likewise.
53403 * misc/getttyent.c: Likewise.
53404 * misc/mntent_r.c: Likewise.
53405 * posix/getopt.c: Likewise.
53406 * posix/wordexp.c: Likewise.
53407 * pwd/fgetpwent_r.c: Likewise.
53408 * resolv/Versions: Likewise.
53409 * resolv/res_hconf.c: Likewise.
53410 * shadow/fgetspent_r.c: Likewise.
53411 * shadow/putspent.c: Likewise.
53412 * stdio-common/printf_fphex.c: Likewise.
53413 * stdio-common/tmpfile.c: Likewise.
53414 * stdlib/abort.c: Likewise.
53415 * stdlib/fmtmsg.c: Likewise.
53416 * sunrpc/auth_unix.c: Likewise.
53417 * sunrpc/clnt_perr.c: Likewise.
53418 * sunrpc/clnt_tcp.c: Likewise.
53419 * sunrpc/clnt_udp.c: Likewise.
53420 * sunrpc/clnt_unix.c: Likewise.
53421 * sunrpc/openchild.c: Likewise.
53422 * sunrpc/svc_simple.c: Likewise.
53423 * sunrpc/svc_tcp.c: Likewise.
53424 * sunrpc/svc_udp.c: Likewise.
53425 * sunrpc/svc_unix.c: Likewise.
53426 * sunrpc/xdr.c: Likewise.
53427 * sunrpc/xdr_array.c: Likewise.
53428 * sunrpc/xdr_rec.c: Likewise.
53429 * sunrpc/xdr_ref.c: Likewise.
53430 * sunrpc/xdr_stdio.c: Likewise.
53431
1248c1c4
PB
534322011-09-09 Ulrich Drepper <drepper@gmail.com>
53433
53434 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53435
534362011-07-03 Andreas Jaeger <aj@suse.de>
53437
53438 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53439 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53440 regenerate with gen-libm-tests.pl.
53441
534422010-05-12 Petr Baudis <pasky@suse.cz>
53443
53444 [BZ #11589]
53445 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53446 around j0() zero points by switching to j1().
53447 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53448 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53449 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53450 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53451
f22e1074
UD
534522011-09-09 Ulrich Drepper <drepper@gmail.com>
53453
f19009c1
UD
53454 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53455 instead of 0.
53456 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53457 instead of 0.
f19009c1
UD
53458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53459 Patch in part by Pavel Roskin <proski@gnu.org>.
53460
3f8cc204
UD
53461 [BZ #13138]
53462 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53463 realloc.
53464 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53465 Free memory block if necessary.
53466
f22e1074
UD
53467 [BZ #12847]
53468 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53469 be NULL. Don't lock in this case.
53470
0a2349f9
RM
534712011-09-09 Roland McGrath <roland@hack.frob.com>
53472
53473 * elf/elf.h (ELFOSABI_GNU): New macro.
53474 (ELFOSABI_LINUX): Define to that.
53475
f3cdd467
DZ
534762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53477
53478 * string/strncat.c (strncat): Undef the symbol in case it has been
53479 defined in bits/string.h.
53480
74718d13
UD
534812011-09-09 Ulrich Drepper <drepper@gmail.com>
53482
633e9e0f
UD
53483 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53484
0a2349f9 53485 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53486 link map.
53487
f9924780
AJ
534882011-08-17 Andreas Jaeger <aj@suse.de>
53489
53490 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53491
7f5517aa
PP
534922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53493 Ian Lance Taylor <iant@google.com>
53494
53495 * math/libm-test.inc (lround_test): New testcase.
53496 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53497
762011fe
UD
534982011-09-08 Ulrich Drepper <drepper@gmail.com>
53499
92963737
UD
53500 * Makefile: Remove support for automatic cvs check-ins.
53501 * Makerules: Likewise.
53502 * config.make.in: Likewise.
53503 * configure.in: Likewise.
53504 * intl/Makefile: Likewise.
53505 * locale/Makefile: Likewise.
53506 * po/Makefile: Likewise.
53507 * posix/Makefile: Likewise.
53508 * sysdeps/gnu/Makefile: Likewise.
53509 * sysdeps/mach/hurd/Makefile: Likewise.
53510 * sysdeps/sparc/sparc32/Makefile: Likewise.
53511
b0727fd8
JS
53512 [BZ #13118]
53513 * posix/Makefile (bug-regex32-ENV): Define.
53514 Patch by John Stanley <jpsinthemix@verizon.net>.
53515
a0f33f99
UD
53516 * misc/Makefile (headers): Add bits/select2.h.
53517 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53518 * misc/bits/select2.h: New file.
53519 * include/bits/select2.h: New file.
53520 * debug/Makefile (routines): Add fdelt_chk.
53521 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53522 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53523 FD_ISSET.
53524 * debug/fdelt_chk.c: New file.
53525
762011fe
UD
53526 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53527 * wcsmbs/test-wmemcmp.c: Likewise.
53528 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53529 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53530
535312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53532
53533 * string/Makefile (strop-tests): Add memcmp.
53534 * string/test-wmemcmp.c: New file.
53535 * string/test-memcmp.c: Add wmemcmp support.
53536
7f513ec8
RM
535372011-09-08 Roland McGrath <roland@hack.frob.com>
53538
0442afb4
RM
53539 [BZ #13153]
53540 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53541 2011-07-19 change.
53542
7f513ec8
RM
53543 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53544 garbage value in a __mach_port_mod_refs call in the cases of the
53545 task-self and thread-self ports.
53546
a12b2239
ST
535472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53548
53549 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53550
610f9ab4
AS
535512011-09-08 Andreas Schwab <schwab@redhat.com>
53552
7f513ec8 53553 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53554
48882a1a
LD
535552011-09-07 Ulrich Drepper <drepper@gmail.com>
53556
b49865be
UD
53557 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53558
fdc86bc9
UD
53559 * elf/dl-libc.c (dlerror_run): Pass back error code from
53560 dl_catch_error.
53561
c966526a
UD
53562 [BZ #13123]
53563 * elf/dl-load.c (lose): Free l_origin if it is valid.
53564
48882a1a
LD
53565 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53566 names.
53567 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53568 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53569 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53570 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53571 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53572 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53573
77a2a8b4
AZ
535742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53575
53576 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53577 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53578 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53579 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53580 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53581 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53582 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53583 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53584 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53585 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53586
24f579d8
AM
535872011-08-15 Alan Modra <amodra@gmail.com>
53588
53589 [BZ #13092]
53590 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53591 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53592 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53593 ppc_mcount to static-only-routines.
53594 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53595 __mcount_internal.
53596 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53597 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53598
3d4837df
UD
535992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53600
53601 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53602 for finite and infinity parameters.
53603
22700377
WS
536042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53605
53606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53607 and add nop instructions for throughput optimization.
53608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53609
5025581e
WS
536102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53611
53612 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53613 aligned copy for power7 with vector-scalar instructions.
53614 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53615
08a300c9
L
536162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53617
53618 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53619 AVX check.
53620
59178ef9
AS
536212011-09-07 Andreas Schwab <schwab@redhat.com>
53622
53623 [BZ #13144]
53624 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53625 last change.
53626
e38ba7ab
UD
536272011-09-07 Ulrich Drepper <drepper@gmail.com>
53628
53629 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53630 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53631 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53632 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53633 clock_gettime.
53634
d53a73ac
UD
536352011-09-06 Ulrich Drepper <drepper@gmail.com>
53636
fc8bffcc
UD
53637 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53638 Forgot to demangle the pointer.
53639
ceaa0c5d
UD
53640 * sysdeps/i386/sysdep.h: Define atom_text_section.
53641 * sysdeps/x86_64/sysdep.h: Likewise.
53642 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53643 section with atom_text_section.
53644 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53645 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53646 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53647 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53648 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53649
a77d3c17
UD
53650 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53651 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53652 already be defined. Change to take two parameters and don't assign
53653 result to variable. Adjust all users.
53654 Define INTERNAL_GETTIME if not already defined.
53655 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53656 call.
53657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53658 HAVE_CLOCK_GETTIME_VSYSCALL.
53659 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53660
d53a73ac
UD
53661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53662 gettimeofday vsyscall, just use time.
53663
a8f84144
AS
536642011-09-06 Andreas Schwab <schwab@redhat.com>
53665
53666 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53667 <errno.h>.
53668
ef606249
UD
536692011-09-06 Ulrich Drepper <drepper@gmail.com>
53670
53671 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53672 syscall on x86-64.
53673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53674 syscall.
53675 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53676 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53677 syscall if possible.
53678
6585cb60
UD
536792011-09-05 Ulrich Drepper <drepper@gmail.com>
53680
53681 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53682 e_ident. Don't pass to find_mapsXX.
53683 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53684
a5f524e4
LD
536852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53686
53687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53688 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53689 * sysdeps/x86_64/multiarch/strchr.S: Update.
53690 Check bit_slow_BSF bit.
53691 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53692 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53693 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53694
554881ef
UD
536952011-09-05 Ulrich Drepper <drepper@gmail.com>
53696
d96de963
UD
53697 [BZ #13134]
53698 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53699 before glibc 2.15.
53700 (tryshell): Define.
53701 (__spawni): Change last parameter to be flag. Test
53702 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53703 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53704 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53705 * posix/spawni.c: Likewise.
53706 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53707 * posix/spawnp.c: Likewise. Change normal version to use
53708 SPAWN_XFLAGS_USE_PATH.
53709 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53710 SPAWN_XFLAGS_TRY_SHELL.
53711
d48e5868
UD
53712 [BZ #13150]
53713 * posix/glob.h: Remove gcc 1.x support.
53714
554881ef
UD
53715 [BZ #13068]
53716 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53717
693fb948
LD
537182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53719
53720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53721 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53722 strrchr-sse2-bsf
53723 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53724 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53725 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53726 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53727 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53728 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53729
1b48c537
UD
537302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53731
49d42c37
UD
53732 * sysdeps/x86_64/wcscmp.S: New file.
53733
1b48c537
UD
53734 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53735 wcscmp-c wcscmp-sse2
53736 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53737 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53738 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53739 * wcsmbs/wcscmp.c: Allow renaming.
53740
15c95c5d
DM
537412011-09-05 David S. Miller <davem@davemloft.net>
53742
53743 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53744 stack slot, rather than the struct return pointer slot.
53745 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53746 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53748 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53749
2f0ad8f3
UD
537502011-09-05 Ulrich Drepper <drepper@gmail.com>
53751
d88ae418
UD
53752 * po/ja.po: Update from translation team.
53753
2f0ad8f3
UD
53754 [BZ #13144]
53755 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53756 kernel in 64-bit binaries.
53757
5f4318d1
DM
537582011-09-01 David S. Miller <davem@davemloft.net>
53759
53760 * elf/elf.h (HWCAP_SPARC_*): Move to..
53761 * sysdeps/sparc/sysdep.h: this new file and add new values.
53762 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53763 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53764 _DL_HWCAP_COUNT to 24.
53765 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53766 entries.
53767 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53768 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53769 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53771 instead of magic constants.
53772 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53773
3ba57516
DM
537742011-08-31 David S. Miller <davem@davemloft.net>
53775
53776 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53777 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53778 Reimplement to do errno handling inline.
53779 (SYSCALL_ERROR_HANDLER): New macro.
53780 (__SYSCALL_STRING): Do not do errno handling in asm.
53781 (__CLONE_SYSCALL_STRING): Delete.
53782 (__INTERNAL_SYSCALL_STRING): Delete.
53783 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53784 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53785 (PSEUDO): Reimplement to do errno handling inline.
53786 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53787 (SYSCALL_ERROR_HANDLER): New macro.
53788 (__SYSCALL_STRING): Do not do errno handling in asm.
53789 (__CLONE_SYSCALL_STRING): Delete.
53790 (__INTERNAL_SYSCALL_STRING): Delete.
53791 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53792 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53793 i386.
53794 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53795 (inline_syscall*): Add 'err' argument.
53796 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53797 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53798 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53799 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53800
53801 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53802 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53803
2bc17433
AS
538042011-08-30 Andreas Schwab <schwab@redhat.com>
53805
53806 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53807
fbeb5f4d
JO
538082011-08-29 Jiri Olsa <jolsa@redhat.com>
53809
53810 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53811 directive.
53812
ad69cc26
DM
538132011-08-24 David S. Miller <davem@davemloft.net>
53814
53815 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53816
39dd69df
AS
538172011-08-24 Andreas Schwab <schwab@redhat.com>
53818
53819 * elf/Makefile: Add rules to build and run unload8 test.
53820 * elf/unload8.c: New file.
53821 * elf/unload8mod1.c: New file.
53822 * elf/unload8mod1x.c: New file.
53823 * elf/unload8mod2.c: New file.
53824 * elf/unload8mod3.c: New file.
53825
53826 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53827 it wasn't used.
53828
2c0b250a
DM
538292011-08-23 David S. Miller <davem@davemloft.net>
53830
53831 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53832 subtract stack bias.
53833 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53834 %sp not %fp in calculations.
53835 (_JMPBUF_UNWINDS_ADJ): Likewise.
53836
22044b48
DM
53837 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53838 (aio_suspend): Call it to force an exception region around the
53839 AIO_MISC_WAIT() invocation.
53840
2cae4995
AS
538412011-08-23 Andreas Schwab <schwab@redhat.com>
53842
53843 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53844 backslash.
53845
873a772e
AJ
538462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53847
53848 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53849 protection macro.
53850 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53851 and <dl-machine.h>.
53852 (Elf64_FuncDesc): Remove.
53853
25ad0df1
DM
538542011-08-22 David S. Miller <davem@davemloft.net>
53855
53856 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53857 sigaltstack check, add missing cfi directives.
53858 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53859 missing cfi directives, and sigaltstack handling.
53860
e888bcbe
AS
538612011-08-16 Andreas Schwab <schwab@redhat.com>
53862
53863 [BZ #11724]
53864 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53865 object is seen twice.
53866 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53867
53868 * elf/Makefile (distribute): Add tst-initorder2.c.
53869 (tests): Add tst-initorder2.
53870 (modules-names): Add tst-initorder2a tst-initorder2b
53871 tst-initorder2c tst-initorder2d. Add rules to build them.
53872 ($(objpfx)tst-initorder2.out): New rule.
53873 * elf/tst-initorder2.c: New file.
53874 * elf/tst-initorder2.exp: New file.
53875
87162f46
AS
538762011-08-22 Andreas Schwab <schwab@redhat.com>
53877
70538b7f
AS
53878 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53879
f55ffe58
AS
53880 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53881 dependencies back to end of function.
53882
87162f46
AS
53883 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53884 $(elfobjdir)/ld.so.
53885
91b392a4
UD
538862011-08-21 Ulrich Drepper <drepper@gmail.com>
53887
53888 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53889 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53890 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53891 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53892 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53893 of __vdso_gettimeofday.
53894 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53895 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53896 attribute_hidden.
53897 (_libc_vdso_platform_setup): Remove initialization of
53898 __vdso_gettimeofday and __vdso_time.
53899
5c43483f
UD
539002011-08-20 Ulrich Drepper <drepper@gmail.com>
53901
775a77e7
UD
53902 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53903 and fgetc_unlocked.
53904 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53905 getc_unlocked.
89f447ed 53906
49c74ba9
UD
53907 * elf/dl-open.c (add_to_global): Report additions to the global scope
53908 for LD_DEBUG=scopes.
53909 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53910 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53911
5c43483f
UD
53912 [BZ #13114]
53913 * stdio-common/Makefile (tests): Add bug24.
53914 * stdio-common/bug24.c: New file.
53915
a101b025
AJ
539162011-08-19 Andreas Jaeger <aj@suse.de>
53917
53918 [BZ #13114]
53919 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53920 non-existant file when using close-on-exec mode.
53921
c88f1766
UD
539222011-08-20 Ulrich Drepper <drepper@gmail.com>
53923
0276a718
UD
53924 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53925 the very first instruction.
53926
c88f1766
UD
53927 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53928 the CFI state in the end.
53929 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53930 inclusion of dl-trampoline.h.
53931 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53932
51ccffa0
AS
539332011-08-19 Andreas Schwab <schwab@redhat.com>
53934
94d7165f
AS
53935 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53936 expectations for long double.
53937
51ccffa0
AS
53938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53939 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53940
fd708658 539412011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53942
53943 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53944 artificual limit depends upon the system page size.
53945
44f0a71e
UD
539462011-08-17 Ulrich Drepper <drepper@gmail.com>
53947
53948 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53949 * resolv/Makefile: Define CFLAGS-libresolv.
53950
8de79a24
AS
539512011-08-17 Andreas Schwab <schwab@redhat.com>
53952
53953 * nss/makedb.c (compute_tables): Make variables used in nested
53954 function static.
53955
27724598
UD
539562011-08-17 Ulrich Drepper <drepper@gmail.com>
53957
c5305d88
UD
53958 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53959 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53960 if buffer was too small.
53961
27724598
UD
53962 * elf/pldd.c (main): Attach to all threads in the process.
53963 Rewrite /proc handling to use *at functions.
53964
076fe015
UD
539652011-08-16 Ulrich Drepper <drepper@gmail.com>
53966
174baab3
UD
53967 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53968 specifies first scope to show.
53969 (dl_open_worker): Update callers. Move printing scope of new
53970 object to before the relocation.
44f0a71e 53971 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53972 * sysdeps/generic/ldsodefs.h: Update declaration.
53973
076fe015
UD
53974 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53975 string for the scope number.
53976
a60df2c3
UD
539772011-08-14 Ulrich Drepper <drepper@gmail.com>
53978
53979 * nscd/servicescache.c (cache_addserv): Make sure written is always
53980 initialized.
53981
5e4287d1
RM
539822011-08-14 Roland McGrath <roland@hack.frob.com>
53983
85ae0589
RM
53984 * sysdeps/i386/i486/bits/atomic.h
53985 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53986 statement expression, so as to suppress "set but not used" warning.
53987 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53988
69f63097
RM
53989 * string/strncat.c (STRNCAT): Use prototype definition.
53990
675456ef
RM
53991 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53992 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53993 -Iprograms here.
53994 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53995 (localedef-modules): Add localedef.
53996 (locale-modules): Add locale.
53997
5e4287d1
RM
53998 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53999 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54000 to avoid a warning.
54001
9c96ff23
DM
540022011-08-14 David S. Miller <davem@davemloft.net>
54003
54004 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54005 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54006
f9ddf089
UD
540072011-08-13 Ulrich Drepper <drepper@gmail.com>
54008
44f0a71e 54009 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54010 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54011 * elf/rtld.c (dl_main): Set l_name of vDSO.
54012 Call _dl_show_scope when DL_DEBUG_SCOPES.
54013 (process_dl_debug): Recognize scopes flag and also set it for all.
54014 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54015 Declare _dl_show_scope.
54016
1dc27704
UD
54017 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54018 (do_dlopen): Pass caller_dlopen to dl_open.
54019 (__libc_dlopen_mode): Initialize caller_dlopen.
54020
f9ddf089
UD
54021 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54022 of libc. Make tolower call locale-independent. Optimize a bit by
54023 using isdigit instead of isalnum.
54024 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54025
9ac533d3
UD
540262011-08-12 Ulrich Drepper <drepper@gmail.com>
54027
54028 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54029 was a dependency or dynamically loaded.
54030
89edf2e9
UD
540312011-08-11 Ulrich Drepper <drepper@gmail.com>
54032
8e999d29
UD
54033 * intl/l10nflist.c: Allow architecture-specific pop function.
54034 * sysdeps/x86_64/l10nflist.c: New file.
54035
89edf2e9
UD
54036 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54037 classification.
54038
14d96785
AS
540392011-08-10 Andreas Schwab <schwab@redhat.com>
54040
54041 * include/dirent.h: Add libc_hidden_proto for scandirat and
54042 scandirat64. Don't declare __scandirat64.
54043 * dirent/scandirat.c: Add libc_hidden_def.
54044 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54045 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54046
6761ac04
DM
540472011-08-10 David S. Miller <davem@davemloft.net>
54048
54049 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54050 enum.
54051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54052 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54054
c55fbd1e
UD
540552011-08-09 Ulrich Drepper <drepper@gmail.com>
54056
54057 * Versions.def [libc]: Add GLIBC_2.15.
54058 * dirent/Makefile (routines): Add scandirat and scandirat64.
54059 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54060 GLIBC_2.15.
54061 * dirent/dirent.h: Declare scandirat and scandirat64.
54062 * dirent/scandirat.c: New file.
54063 * dirent/scandirat64.c: New file.
54064 * sysdeps/wordsize-64/scandirat.c: New file.
54065 * sysdeps/wordsize-64/scandirat64.c: New file.
54066 * dirent/opendir.c: Define opendirat.
54067 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54068 using scandirat.
54069 * dirent/scandir64.c: Adjust for scandir.c change.
54070 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54071 __scandirat64, and __scandir_cancel_handler.
54072 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54073 additional parameter and use openat instead of open (outside of ld.so).
54074 Add new __opendir as wrapper around __opendirat.
54075 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54076 here without requiring old scandirat implementation.
54077
879165f2
UD
540782011-08-08 Ulrich Drepper <drepper@gmail.com>
54079
54080 * dirent/scandir.c (cancel_handler): Renamed to
54081 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54082 defined. Adjust users.
54083 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54084 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54085
cb7e923b
UD
540862011-08-04 Ulrich Drepper <drepper@gmail.com>
54087
16292edd
UD
54088 * string/test-string.h (IMPL): Use __STRING to expand name and then
54089 stringify it.
54090
cb7e923b
UD
54091 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54092 of cleanups.
54093
cff82933
LD
540942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54095
54096 * string/Makefile: Update.
54097 (strop-tests): Append strncat.
54098 * string/test-wcscmp.c: New file.
54099 New comprehensive test for wcscmp.
54100 * string/test-strcmp.c: Update.
54101 (WIDE): New define.
54102
9be9bfcc
AS
541032011-07-22 Andreas Schwab <schwab@redhat.com>
54104
54105 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54106 line.
54107
2e96f1c7
AS
541082011-07-26 Andreas Schwab <schwab@redhat.com>
54109
54110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54111 encoding to ACE if AI_IDN.
54112
85188888
JJ
541132011-08-01 Jakub Jelinek <jakub@redhat.com>
54114
54115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54116 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54117
5fa16e9b
LD
541182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54119
54120 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54121 Fix overflow bug in strncat.
54122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54123
54124 * string/test-strncat.c: Update.
54125 Add new tests for checking overflow bugs.
54126
541272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54128
54129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54130 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54131 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54132 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54133 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54134 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54135 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54136 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54137 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54138
54139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54140 (USE_AS_STRCAT): Define.
54141 Add strcat and strncat support.
54142 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54143
8c1a459f
AS
541442011-07-25 Andreas Schwab <schwab@redhat.com>
54145
54146 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54147 __n bigger than INT_MAX+1.
54148 (__strncmp_g): Likewise.
54149
bba33c28
UD
541502011-07-23 Ulrich Drepper <drepper@gmail.com>
54151
798be72d
UD
54152 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54153 * libio/stido.h: Likewise.
54154
8accd4dc
UD
54155 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54156 (AF_NFC): Define.
54157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54158 (AF_NFC): Define.
54159
cbff0d96
UD
54160 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54161 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54162 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54163 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54164 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54165
9191c04a
UD
54166 [BZ #13021]
54167 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54168 installed.
54169
bba33c28
UD
54170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54171 typo.
54172 (_dl_x86_64_save_sse): Likewise.
54173
90f139dd
UD
541742011-07-22 Ulrich Drepper <drepper@gmail.com>
54175
1aae088a
UD
54176 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54177 OSXSAVE.
54178 (_dl_x86_64_save_sse): Likewise.
54179
8e2045f5
UD
54180 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54181
90f139dd
UD
54182 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54183
1d002f25
AS
541842011-07-21 Andreas Schwab <schwab@redhat.com>
54185
54186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54187 change.
54188 (_dl_x86_64_save_sse): Use correct AVX check.
54189
21137f89
UD
541902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54191
54192 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54193 bug in strncpy/strncat.
54194 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54195
a65c0b7a
UD
541962011-07-21 Ulrich Drepper <drepper@gmail.com>
54197
54198 * string/tester.c (test_strcat): Add tests for different alignments
54199 of source and destination.
54200 (test_strncat): Likewise.
54201
6986b98a
UD
542022011-07-20 Ulrich Drepper <drepper@gmail.com>
54203
90bb2039
UD
54204 [BZ #12852]
54205 * posix/glob.c (glob): Check passed in values before using them in
54206 expressions to avoid some overflows.
54207 (glob_in_dir): Likewise.
54208
5644ef54
UD
54209 [BZ #13007]
54210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54211 check for AVX enablement so that we don't crash with old kernels and
54212 new hardware.
54213 * elf/tst-audit4.c: Add same checks here.
54214 * elf/tst-audit6.c: Likewise.
54215
54216 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54217
bfc9dc9b
AS
542182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54219
54220 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54221
702e64bb
UD
542222011-07-20 Ulrich Drepper <drepper@gmail.com>
54223
54224 * po/cs.po: Update from translation team.
54225 * po/bg.po: Likewise.
54226
295e904f
MP
542272011-07-12 Marek Polacek <mpolacek@redhat.com>
54228
54229 * misc/sys/cdefs.h: Add support for const attribute.
54230 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54231 to gnu_dev_{major,minor,makedev} functions.
54232
3ff94596
MP
542332011-07-20 Marek Polacek <mpolacek@redhat.com>
54234
54235 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54236
28b59fca
AS
542372011-07-20 Andreas Schwab <schwab@redhat.com>
54238
54239 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54240 strlen results.
54241
19df733e
AK
542422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54243
54244 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54245 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54246 register in order to avoid conflicts with the soft frame pointer
54247 being held in r11 when necessary.
54248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54249 (INTERNAL_VSYSCALL_NCS): Likewise.
54250
c8835729
MP
542512011-07-14 Marek Polacek <mpolacek@redhat.com>
54252
54253 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54254 * elf/dl-fini.c (_dl_fini): Adjust caller.
54255 * elf/dl-close.c (_dl_close_worker): Likewise.
54256 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54257
b902330c
MP
542582011-07-15 Marek Polacek <mpolacek@redhat.com>
54259
8991e135
MP
54260 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54261 "aux_cache->nlibs < 0".
54262
b902330c
MP
54263 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54264 in the reload-count case.
54265
99710781
LD
542662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54267
54268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54269 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54270 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54271 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54272 * sysdeps/x86_64/multiarch/strcat.S: New file.
54273 * sysdeps/x86_64/multiarch/strncat.S: New file.
54274 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54275 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54276 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54277 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54278 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54279 (USE_AS_STRCAT): Define.
54280 Add strcat and strncat support.
54281 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54283 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54284 * string/strncat.c: Update.
54285 (USE_AS_STRNCAT): Define.
54286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54287 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54288 and i7.
54289 * sysdeps/x86_64/multiarch/init-arch.h
54290 (bit_Prefer_PMINUB_for_stringop): New.
54291 (index_Prefer_PMINUB_for_stringop): Likewise.
54292 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54293 bit_Prefer_PMINUB_for_stringop.
54294
7dc6bd90
UD
542952011-07-19 Ulrich Drepper <drepper@gmail.com>
54296
54297 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54298 buffer64.
54299 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54300 of casting of buffer.
54301 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54302 buffer32 and buffer64.
54303 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54304 writes instead of casting of buffer.
54305 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54306 buffer32.
54307 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54308 casting of buffer.
54309
e0e72284
AS
543102011-07-19 Andreas Schwab <schwab@redhat.com>
54311
54312 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54313
feb1eb0b
UD
543142011-07-19 Ulrich Drepper <drepper@gmail.com>
54315
54316 * nscd/nscd.c (termination_handler): Don't do anything for a database
54317 if it has not yet been initialized.
54318
298711ff
UD
543192011-07-18 Ulrich Drepper <drepper@gmail.com>
54320
54321 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54322
543232011-07-15 Marek Polacek <mpolacek@redhat.com>
54324
54325 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54326
f9d68389
UD
543272011-07-18 Ulrich Drepper <drepper@gmail.com>
54328
54329 * po/nl.po: Update from translation team.
54330 * po/sv.po: Likewise.
54331
db290cf5
RM
543322011-07-16 Roland McGrath <roland@hack.frob.com>
54333
54334 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54335 now disallowed by GCC.
5c550700 54336
fd5e21c7
RM
54337 * configure.in (use-default-link): Default to yes if a test -shared
54338 link meets our qualifications.
54339 * configure: Regenerated.
54340
5c550700
RM
54341 * config.make.in (output-format): New variable.
54342 * configure.in: Check for ld --print-output-format support.
54343 * configure: Regenerated.
54344 * Makerules ($(common-objpfx)format.lds)
54345 [$(output-format) != unknown]: Just use $(output-format),
54346 instead of the linker-script munging.
54347
9fa2c032
RM
543482011-07-14 Roland McGrath <roland@hack.frob.com>
54349
a6928d51
RM
54350 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54351 of $(common-objpfx)shlib.lds.
54352 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54353
661607b3
RM
54354 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54355 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54356
9fa2c032
RM
54357 * configure.in (-z relro check): Adjust test code to add a large
54358 writable data section after it.
54359 * configure: Regenerated.
54360
defe9061
RM
543612011-07-11 Roland McGrath <roland@hack.frob.com>
54362
54363 * configure.in (-z relro check): Fix test code to make the variable
54364 truly const.
54365 * configure: Regenerated.
54366
319b9ad4
UD
543672011-07-11 Ulrich Drepper <drepper@gmail.com>
54368
54369 * nscd/nscd.h (struct traced_file): Define.
54370 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54371 elements. Add traced_files.
54372 (inotify_fd): Declare.
54373 (register_traced_file): Declare.
54374 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54375 (inotify_fd): Export.
54376 (resolv_conf_descr): Remove.
54377 (nscd_init): Move inotify descriptor creation to main.
54378 Don't register files for notification here.
54379 (register_traced_file): New function.
54380 (invalidate_cache): Don't use reset_res to determine whether to call
54381 res_init, go through the list of registered files.
54382 (main_loop_poll): The inotify descriptors are now stored in the
54383 structures for the traced files.
54384 (main_loop_epoll): Likewise
54385 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54386 to __nss_disable_nscd.
54387 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54388 for a database anymore. Check the records for all the registered
54389 files instead.
54390 * nss/Makefile (libnss_files-routines): Add files-init.
54391 (libnss_db-routines): Add db-init.
54392 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54393 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54394 * nss/nss_db/db-init.c: New file.
54395 * nss/nss_files/files-init.c: New file.
54396 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54397 __nss_lookup_function.
54398 (__nss_lookup_function): Call nss_load_library.
54399 (nss_load_all_libraries): New function.
54400 (__nss_disable_nscd): Take parameter with callback function for files
54401 to register. Set is_nscd. Load all the DSOs for the NSS modules
54402 used for the cached services.
54403 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54404 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54405 options for features to all the files in nscd.
54406
54407 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54408
23bee3e8
RM
544092011-07-10 Roland McGrath <roland@hack.frob.com>
54410
54411 * csu/elf-init.c (__libc_csu_init): Comment typo.
54412
46a5b7f0
UD
544132011-07-09 Ulrich Drepper <drepper@gmail.com>
54414
54415 * po/pl.po: Update from translation team.
54416 * po/ja.po: Likewise.
54417 * po/ru.po: Likewise.
54418 * po/ko.po: Likewise.
54419 * po/fr.po: Likewise.
54420
d30cf5bb
RM
544212011-07-09 Roland McGrath <roland@hack.frob.com>
54422
113ddea4
RM
54423 * configure.in (.ctors/.dtors header and trailer check):
54424 Use an empirical test on a built program.
54425 * configure: Regenerated.
54426
574920b4
RM
54427 * configure.in (-z relro check): Use an empirical test on a built DSO.
54428 Detect, but do not require, on ia64.
54429 * configure: Regenerated.
54430
d30cf5bb
RM
54431 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54432 Update tests that use readelf to use $READELF instead.
54433 * configure: Regenerated.
54434
8538fdb3
UD
544352011-07-08 Ulrich Drepper <drepper@gmail.com>
54436
54437 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54438 if the result is not used.
54439
04d08991
AJ
544402011-07-05 Andreas Jaeger <aj@suse.de>
54441
54442 [BZ#9696]
54443 * stdlib/tst-strtod.c: Add testcase.
54444
de283087
AD
544452011-07-07 Ulrich Drepper <drepper@gmail.com>
54446
4e5f31c8 54447 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54448 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54449 The latter has a higher limit. Take additional parameter to pass to
54450 the new function.
54451 (__pathconf): Pass file to __statfs_link_max.
54452 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54453 __statfs_link_max.
54454 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54455 __statfs_link_max.
54456
de283087
AD
54457 [BZ #12868]
54458 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54459 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54460 Handle Lustre.
54461 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54462 (__statfs_filesize_max): Likewise.
54463 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54464
c75fa153
AJ
544652011-07-05 Andreas Jaeger <aj@suse.de>
54466
54467 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54468
1a544854
UD
544692011-07-06 Marek Polacek <mpolacek@redhat.com>
54470
54471 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54472 `status' variable.
54473 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54474 Likewise.
54475
6f0eec67
UD
544762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54477
54478 * Makefile (strop-tests): Add strncat.
54479 * string/test-strncat.c: New file.
54480
aae30307
UD
544812011-06-30 Marek Polacek <mpolacek@redhat.com>
54482
54483 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54484
c0cfb5eb
UD
544852011-06-21 Andreas Jaeger <aj@suse.de>
54486
54487 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54488 Copy rule from iconvdata/Makefile.
54489
01636b21
UD
544902011-07-06 Ulrich Drepper <drepper@gmail.com>
54491
54492 [BZ #12922]
54493 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54494 but no long options are defined, just return 'W'.
54495
9895c8bc
UD
544962011-06-22 Marek Polacek <mpolacek@redhat.com>
54497
54498 [BZ #9696]
54499 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54500
5d4cf042
UD
545012011-07-06 Ulrich Drepper <drepper@gmail.com>
54502
54503 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54504 netgroups to read.
960e5535 54505 (innetgr): Likewise.
5d4cf042 54506
751eb97e
RM
545072011-07-05 Roland McGrath <roland@hack.frob.com>
54508
54509 * config.make.in (install_root): Default to $(DESTDIR).
54510
f15f1e45
UD
545112011-07-05 Ulrich Drepper <drepper@gmail.com>
54512
54513 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54514
4e34ac6a
RM
545152011-07-02 Roland McGrath <roland@hack.frob.com>
54516
5e9b6af4
RM
54517 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54518
84f9ea0f
RM
54519 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54520 containing directory rather than embedding absolute directory names.
54521
ea5ee9f7
RM
54522 * scripts/check-local-headers.sh: Rewritten using awk.
54523 Match by word, not by line. Print error messages for matches.
54524 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54525
1b74661a
RM
54526 * Makerules [shlib-lds-flags empty]:
54527 ($(common-objpfx)libc_pic.opts): New target.
54528 ($(common-objpfx)libc_pic.os.clean): New target.
54529 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54530
54531 * config.make.in (OBJCOPY): New variable.
54532 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54533 * configure: Regenerated.
54534
f781ef40
RM
54535 * config.make.in (use-default-link): New variable.
54536 * configure.in (use_default_link): Grok --with-default-link to set it.
54537 * configure: Regenerated.
54538 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54539 (shlib-lds, shlib-lds-flags): Define to empty.
54540
2d4fa81e
RM
54541 * Makerules (shlib-lds): New variable.
54542 (shlib-lds-flags): New variable.
54543 (build-shlib, build-moduile, build-module-asneeded): Use it.
54544 ($(common-objpfx)libc.so): Use $(shlib-lds).
54545 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54546 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54547
31fffa6b
RM
54548 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54549 DT_FLAGS/DT_FLAGS_1 with zero flags.
54550
4e34ac6a
RM
54551 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54552 linker script munging.
54553
fcfc776b
UD
545542011-07-02 Ulrich Drepper <drepper@gmail.com>
54555
54556 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54557 as 128-bit value.
54558 * crypt/sha512.c (sha512_process_block): Perform total addition using
54559 128-bit if possible.
54560 (__sha512_finish_ctx): Likewise.
54561 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54562 as 64-bit value.
54563 * crypt/sha256.c (SWAP64): Define.
54564 (sha256_process_block): Perform total addition using 64-bit if
54565 possible.
54566 (__sha256_finish_ctx): Likewise.
54567
99231d9a
UD
545682011-07-01 Ulrich Drepper <drepper@gmail.com>
54569
54570 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54571 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54572 * nscd/hstcache.c (cache_addhst): Likewise.
54573 * nscd/grpcache.c (cache_addgr): Likewise.
54574 * nscd/aicache.c (addhstaiX): Likewise
54575 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54576
445b4a53
TK
545772011-07-01 Thorsten Kukuk <kukuk@suse.de>
54578
54579 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54580 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54581 * nscd/hstcache.c (cache_addhst): Likewise.
54582 * nscd/grpcache.c (cache_addgr): Likewise.
54583 * nscd/aicache.c (addhstaiX): Likewise
54584
6d4d8e8e
AS
545852011-07-01 Andreas Schwab <schwab@redhat.com>
54586
54587 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54588 domain only when needed.
54589
89f654c5
AS
545902011-06-30 Andreas Schwab <schwab@redhat.com>
54591
54592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54593 is always restored.
54594
cf3b23ff
UD
545952011-06-29 Ulrich Drepper <drepper@gmail.com>
54596
54597 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54598 are re-adding the entry.
54599 * nscd/servicescache.c (cache_addserv): Likewise.
54600
751626f9
AJ
546012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54602
54603 * sysdeps/generic/dl-irel.h: fix protection against multiple
54604 inclusions.
54605 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54606
9113ea1f
UD
546072011-06-28 Ulrich Drepper <drepper@gmail.com>
54608
5c0b8d90
UD
54609 [BZ #12935]
54610 * malloc/memusage.sh: Fix quoting in message.
54611 * debug/xtrace.sh: Likewise.
54612
9113ea1f
UD
54613 * configure.in: Remove support for --experimental-malloc option, make
54614 it the default.
54615 * config.make.in: Likewise.
54616 * malloc/Makefile: Likewise.
54617
a4172181
AS
546182011-06-27 Andreas Schwab <schwab@redhat.com>
54619
54620 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54621 two-byte characters.
54622
78a7eee7
RM
546232011-06-27 Roland McGrath <roland@hack.frob.com>
54624
62bede13
RM
54625 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54626 AC_CACHE_CHECK invocation.
54627 * configure: Regenerated.
54628
78a7eee7
RM
54629 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54630
5ce33a62
UD
546312011-06-27 Ulrich Drepper <drepper@gmail.com>
54632
034807a9
UD
54633 [BZ #12350]
54634 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54635 bit from old_res_options.
54636
4902da17
UD
54637 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54638
5ce33a62
UD
54639 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54640 value type for setfct.
54641
c2344f56
L
546422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54643
54644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54645 __gettimeofday instead of gettimeofday.
54646
68468076
UD
546472011-06-26 Ulrich Drepper <drepper@gmail.com>
54648
54649 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54650
acb0d739
L
546512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54652
54653 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54654
54655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54656 info.
54657
8912479f
L
546582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54659
54660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54661 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54662 strcpy-sse2-unaligned strncpy-sse2-unaligned
54663 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54664 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54665 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54666 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54667 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54668 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54670 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54671 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54672 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54673 (STRCPY): Support SSE2 and SSSE3 versions.
54674
d5495a11
UD
546752011-06-24 Ulrich Drepper <drepper@gmail.com>
54676
54677 [BZ #12874]
54678 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54679 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54680 kernels which artificially limit size of requests.
54681
0b1cbaae
L
546822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54683
54684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54685 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54686 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54687 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54688 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54689 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54690 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54691 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54692 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54693 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54694 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54695 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54696 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54697 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54698 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54700 Enable unaligned load optimization for Intel Core i3, i5 and i7
54701 processors.
54702 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54703 Define.
54704 (index_Fast_Unaligned_Load): Define.
54705 (HAS_FAST_UNALIGNED_LOAD): Define.
54706
07f494a0
MP
547072011-06-23 Marek Polacek <mpolacek@redhat.com>
54708
54709 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54710
fa3fc0fe
UD
547112011-06-22 Ulrich Drepper <drepper@gmail.com>
54712
54713 [BZ #12907]
54714 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54715 until it is clear that the information is realy needed.
54716 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54717
e12df166
AS
547182011-06-22 Andreas Schwab <schwab@redhat.com>
54719
54720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54721
852eb34d
UD
547222011-06-22 Ulrich Drepper <drepper@gmail.com>
54723
84e2a551
UD
54724 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54725 /sys/devices/system/cpu/online if it is usable.
54726
852eb34d
UD
54727 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54728 reading the information from the /proc filesystem to once a second.
54729
6e502e19
UD
547302011-06-21 Andreas Jaeger <aj@suse.de>
54731
54732 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54733 NULL after inclusion of kernel headers.
54734
75d39ff2
UD
547352011-06-21 Ulrich Drepper <drepper@gmail.com>
54736
51f9aa6a
UD
54737 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54738 calls to internal_setent.
54739
c0244a9d
UD
54740 [BZ #12885]
54741 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54742 addresses using gethostbyname4_r ignore IPv4 addresses.
54743
c5e3c2ae
UD
54744 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54745 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54746
75d39ff2
UD
54747 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54748
42675c6f
DM
547492011-06-20 David S. Miller <davem@davemloft.net>
54750
54751 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54752 inclusions.
54753 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54754
54755 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54756 (elf_irel): Use it.
54757 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54758 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54759 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54760 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54761 * sysdeps/x86_64/dl-irel.h: Likewise.
54762
54763 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54764 * elf/dl-sym.c: Likewise.
54765
57912a71
UD
547662011-06-15 Ulrich Drepper <drepper@gmail.com>
54767
54768 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54769 need to dereference resplen2.
54770
ee22793d
AS
547712011-06-14 Andreas Schwab <schwab@redhat.com>
54772
54773 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54774
a9e836b0
UD
547752011-06-15 Ulrich Drepper <drepper@gmail.com>
54776
77fb9117
UD
54777 * Makeconfig: Define vardbdir and inst_vardbdir.
54778 * nss/Makefile: Add rules to install db-Makefile.
54779
40c1b22c
UD
54780 * nss/nss_db/db-XXX.c: Cleanup.
54781
9f2da732
UD
54782 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54783 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54784 GLIBC_PRIVATE.
54785 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54786 * nss/makedb.c: Implement -g option to specify that value strings
54787 are generated and should not be added to table iterated over for
54788 get*ent calls.
54789 * nss/nss_db/db-initgroups.c: New file.
54790
82e9a1f7
UD
54791 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54792 interface.
54793
c41af17e
UD
54794 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54795 (internal_getgrouplist): Adjust to name change.
54796 Update use_initgroups_entry if this is not the first call.
54797 * nss/databases.def: Add initgroups entry.
54798
a9e836b0
UD
54799 * nss/makedb.c (compute_tables): Check result of multiple hash table
54800 sizes to minimize maximum chain length.
54801
2666d441
UD
548022011-06-14 Ulrich Drepper <drepper@gmail.com>
54803
54804 * Versions.def: Add entry for libnss_db.
54805 * shlib-versions: Likewise.
54806 * nss/Makefile: Add rules to build libnss_db.
54807 * nss/Versions: Add libnss_db information. Organize libnss_files
54808 entries better.
54809 * nss/db-Makefile: Add gshadow support. Change rules for the new
54810 makedb progra. Some minor improvements to generate smaller files.
54811 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54812 here from...
54813 * nss/makedb.c: ...here.
54814 Improve database format to be smaller and require less memory at
54815 runtime.
54816 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54817 db anymore.
54818 * nss/nss_db/db-netgrp.c: Likewise.
54819 * nss/nss_db/db-open.c: Likewise.
54820 * nss/nss_files/flies-XXX.x: Adjust comments.
54821 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54822 * nss/nss_files/files-grp.c: Likewise.
54823 * nss/nss_files/files-hosts.c: Likewise.
54824 * nss/nss_files/files-network.c: Likewise.
54825 * nss/nss_files/files-proto.c: Likewise.
54826 * nss/nss_files/files-pwd.c: Likewise.
54827 * nss/nss_files/files-rpc.c: Likewise.
54828 * nss/nss_files/files-service.c: Likewise.
54829 * nss/nss_files/files-sgrp.c: Likewise.
54830 * nss/nss_files/files-spwd.c: Likewise.
54831 * nss/nss_db/db-alias.c: Removed.
54832 * nss/nss_db/dummy-db.h: Removed.
54833
9ee76b5a
UD
548342011-06-02 Ulrich Drepper <drepper@gmail.com>
54835
54836 * nss/makedb.c: Rewritten to not use database library.
54837 * nss/Makefile: Update to build new makedb program.
54838
c71ca1f8
AJ
548392011-06-14 Andreas Jaeger <aj@suse.de>
54840
54841 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54842 memset declaration.
54843
3154bfb8
UD
548442011-06-10 Andreas Schwab <schwab@redhat.com>
54845
54846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54847 tmpbuf.
54848
b350afab
RM
548492011-06-10 Roland McGrath <roland@hack.frob.com>
54850
decd4e50
RM
54851 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54852 * elf/Makefile ($(objpfx)ld.so): Likewise.
54853
5615eaf2
RM
54854 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54855 Don't list ld.so twice in dependencies.
54856
54857 * posix/bug-regex31.c: Include <stdlib.h>.
54858
54859 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54860
54861 * nis/nss_compat/compat-spwd.c
54862 (getspent_next_nss_netgr): Remove unused variable.
54863 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54864
54865 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54866 nonmembers" output to use the right array.
54867
54868 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54869
54870 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54871
54872 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54873 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54874 * catgets/gencat.c (read_input_file): Likewise.
54875 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54876
54877 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54878 variable definition inside #if's controlling its use.
54879
54880 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54881
54882 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54883
54884 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54885
54886 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54887 unreachable code.
54888
54889 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54890
b68e08db
RM
54891 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54892 * configure: Regenerated.
54893
b350afab
RM
54894 * Makerules: Revert last change.
54895 * elf/Makefile: Likewise.
54896
28368601
RM
548972011-06-09 Roland McGrath <roland@hack.frob.com>
54898
54899 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54900 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54901 (reloc-link): Likewise.
54902
11988f8f
UD
549032011-06-09 Ulrich Drepper <drepper@gmail.com>
54904
54905 * elf/Makefile: Add rules to build pldd.
54906 * elf/pldd.c: New file.
54907 * elf/pldd-xx.c: New file.
54908
e80fab37
UD
549092011-06-07 Ulrich Drepper <drepper@gmail.com>
54910
54911 * version.h: Update for 2.15 development version.
54912
9b849836
DM
549132011-06-07 David S. Miller <davem@davemloft.net>
54914
54915 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54916 ifuncs.
54917 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54918 elf_machine_lazy_rel): Likewise.
54919 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54920 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54921 elf_machine_lazy_rel): Likewise.
54922 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54923 dl_hwcap via passed in argument.
54924 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54925 Likewise.
54926
5a31b283
AK
549272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54928
54929 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54930
069e52f8
RM
549312011-06-06 Roland McGrath <roland@hack.frob.com>
54932
54933 [BZ #12849]
54934 * manual/fdl-1.1.texi: New file, verbatim from:
54935 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54936 * manual/lgpl-2.1.texi: New file, verbatim from:
54937 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54938 * manual/Makefile (licenses): New variable, list those new file names.
54939 (texis): Use it.
54940 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54941
54942 * manual/fdl.texi: File removed.
54943 * manual/lesser.texi: File removed.
54944 * manual/libc.texinfo (Copying, Documentation License):
54945 Use new @include file names, put @appendix directive before @include.
54946
f16846a5
JJ
549472011-06-04 Jakub Jelinek <jakub@redhat.com>
54948
54949 [BZ #12841]
54950 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54951 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54952 (mq_open): Add __NTH.
54953
3d29045b
L
549542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54955
54956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54957 Assume Intel Core i3/i5/i7 processor if AVX is available.
54958
8c297311
UD
549592011-05-31 Ulrich Drepper <drepper@gmail.com>
54960
54961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54962 typo.
54963
c8fc0c91
UD
549642011-05-31 Andreas Schwab <schwab@redhat.com>
54965
54966 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54967 memory. Use alloca_account. Fix memory leak when retrying.
54968
5b27a807
UD
549692011-05-31 Ulrich Drepper <drepper@gmail.com>
54970
356f8bc6
UD
54971 * version.h (RELEASE): Bump for 2.14 release.
54972 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54973
5b27a807
UD
54974 * config.make.in (RANLIB): Remove entry.
54975
01f16ab0
UD
549762011-05-30 Ulrich Drepper <drepper@gmail.com>
54977
41fce8bd
UD
54978 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54979 (libc.pot): Work around missing support for .ksh extension in xgettext.
54980
4769ae77
UD
54981 [BZ #12684]
54982 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54983 if both request failed.
54984 (send_dg): In case of server errors clear resplen or *resplen2.
54985
6b1e7d19
UD
54986 [BZ #12454]
54987 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54988 when there are multiple maps.
54989 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54990 (_dl_fini): Remove test here.
54991
01f16ab0
UD
54992 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54993
b1ebd700
UD
549942011-05-29 Ulrich Drepper <drepper@gmail.com>
54995
7ae22829
UD
54996 [BZ #12350]
54997 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54998 bit from old_res_options.
54999 (gaih_inet): Likewise.
55000
553149f6 55001 [BZ #11099]
18a84741 55002 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55003 as signed.
55004
652ffab1
UD
55005 * resolv/res_init.c (res_setoptions): Make the code more compact.
55006
16985fd0
UD
55007 [BZ #11558]
55008 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55009 set RES_USEVC.
55010
0464f746
UD
55011 [BZ #11634]
55012 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55013
7d17596c
UD
55014 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55015
cf6bbbd7
UD
55016 [BZ #11781]
55017 * malloc/malloc.h: Declare malloc hook variables as volatile.
55018
13f1ab36
UD
55019 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55020 in last patch.
55021
b1ebd700
UD
55022 [BZ #11799]
55023 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55024 raise in the comment.
80e2212d
UD
55025 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55026 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55027 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55028
ce67228d
UD
550292011-05-28 Ulrich Drepper <drepper@gmail.com>
55030
8887a920
UD
55031 [BZ #12811]
55032 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55033 grow the buffers more if it already has to be sufficient.
55034 (build_wcs_upper_buffer): Likewise.
55035 * posix/regexec.c (check_matching): Likewise.
55036 (clean_state_log_if_needed): Likewise.
55037 (extend_buffers): Don't enlarge buffers beyond size of the input
55038 buffer.
55039 Patches mostly by Emil Wojak <emil@wojak.eu>.
55040 * posix/bug-regex32.c: New file.
55041 * posix/Makefile (tests): Add bug-regex32.
55042
4f031072
UD
55043 * locale/findlocale.c (_nl_find_locale): Return right away if
55044 _nl_explode_name failed.
55045 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55046
d0478f0c
UD
55047 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55048
de81b246
UD
55049 * debug/xtrace.sh: Unify messages.
55050 * malloc/memusage.sh: Likewise.
55051
c738465a
UD
55052 [BZ #12813]
55053 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55054 time symbol from vDSO. Substitute with vsyscall if not available.
55055 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55056 __vdso_time.
55057
f1f929d7
UD
55058 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55059 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55060 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55061 Add sendmmsg and internal_sendmmsg.
55062 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55063 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55064 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55065
ce67228d
UD
55066 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55067 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55068 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55069
e57420c6
UD
550702011-05-27 Ulrich Drepper <drepper@gmail.com>
55071
a8509ca5
UD
55072 [BZ #12813]
55073 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55074 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55075 available.
55076 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55077 __vdso_getcpu.
55078
e57420c6
UD
55079 [BZ #12814]
55080 * iconvdata/Makefile (tests): Add bug-iconv9.
55081 * iconvdata/bug-iconv9.c: New file.
55082
4d07db15
AS
550832011-05-27 Andreas Schwab <schwab@redhat.com>
55084
55085 [BZ #12814]
55086 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55087
ea486f69
JJ
550882011-05-25 Jakub Jelinek <jakub@redhat.com>
55089
55090 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55091 (struct user_regs_struct): Change intcs field back to cs.
55092
6f038433
UD
550932011-05-25 Ulrich Drepper <drepper@gmail.com>
55094
55095 * po/ja.po: Update from translation team.
55096
67f86a25
UD
550972011-05-23 Ulrich Drepper <drepper@gmail.com>
55098
55099 [BZ #12795]
55100 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55101 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55102
def7fbd6
AS
551032011-05-20 Andreas Schwab <schwab@redhat.com>
55104
55105 * stdlib/longlong.h: Update from GCC.
55106
f50ef8f1
AS
551072011-05-23 Andreas Schwab <schwab@redhat.com>
55108
55109 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55110 parameter name.
55111 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55112 Add parameter name.
55113 (__sysconf): Pass it down.
55114
de7ce8f1
UD
551152011-05-22 Ulrich Drepper <drepper@gmail.com>
55116
f2962a71
UD
55117 [BZ #12671]
55118 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55119 some situations.
55120 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55121 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55122 add in in __libc_use_alloca calls. Adjust callers.
55123 (glob): Use malloc in some situations.
55124
de7ce8f1
UD
55125 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55126 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55127 pltexit.
55128
aec84f53
UD
551292011-05-21 Ulrich Drepper <drepper@gmail.com>
55130
05bb4a68
UD
55131 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55132 and CLOCK_BOOTTIME_ALARM.
55133
7ea72f99
UD
55134 [BZ #12782]
55135 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55136 is returned.
55137
7e4afad5
UD
55138 * string/_strerror.c (__strerror_r): Print negative errors as signed
55139 numbers.
55140
8e211fec
UD
55141 [BZ #12777]
55142 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55143 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55144 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55145
f7d82dc9
UD
55146 * configure.in: Fix typo in redirection and correct removal of test
55147 files in two cases.
55148
cc9e536d
UD
55149 [BZ #12788]
55150 * locale/setlocale.c (new_composite_name): Fix test to check for
55151 identical name of all categories.
55152
aec84f53
UD
55153 [BZ #12792]
55154 * libio/filedoalloc.c (local_isatty): New function.
55155 (_IO_file_doallocate): Use local_isatty.
55156 * stdio-common/perror.c (perror): In case a new stream is used
55157 forward the stream error.
55158 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55159 error flag.
55160
78e64fdc
RT
551612011-05-20 Ulrich Drepper <drepper@gmail.com>
55162
34a9094f
UD
55163 [BZ #11869]
55164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55165 alloca.
55166 * include/alloca.h (extend_alloca_account): Define.
55167
78e64fdc
RT
55168 [BZ #11857]
55169 * posix/regex.h: Fix comments with documentation of user-accessible
55170 fields after compilation and describe correct free'ing of pattern
55171 after re_compile_pattern.
55172 Patch by Reuben Thomas <rrt@sc3d.org>.
55173
457bddfc
RA
551742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55175
55176 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55177 and -mno-altivec to prevent the compiler from using Altivec and/or
55178 VSX instructions when the corresponding registers are not available.
55179
a4527b51
AS
551802011-05-19 Andreas Schwab <schwab@redhat.com>
55181
55182 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55183
ed690b2f
UD
551842011-05-19 Ulrich Drepper <drepper@gmail.com>
55185
55186 * libio/freopen.c (freopen): Use __dup2, not dup2.
55187 * libio/freopen64.c (freopen64): Likewise.
55188
8db73634
L
551892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55190
55191 [BZ #12775]
55192 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55193 * math/Makefile (tests): Add test-powl.
55194 (CFLAGS-test-powl.c): Define.
55195 * math/test-powl.c: New file.
55196
0a197a9d
L
551972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55198
55199 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55200
ee30c380
UD
552012011-05-17 Ulrich Drepper <drepper@gmail.com>
55202
55203 [BZ #11837]
55204 * iconvdata/gb18030.c: Update to GB18020-2005.
55205
6ce75379
UD
552062011-05-16 Ulrich Drepper <drepper@gmail.com>
55207
a4b89fd8
AR
55208 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55209 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55210 Patch by Aharon Robbins <arnold@skeeve.com>.
55211
ea389b12
UD
55212 [BZ #11892]
55213 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55214 on the stack.
55215
68a3f91f
UD
55216 [BZ #11895]
55217 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55218 through underflows.
55219
15cc7dd1
UD
55220 [BZ #12766]
55221 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55222 point to strings before performing equality test for error_one_per_line
55223 mode.
55224
f3799213
UD
55225 [BZ #11697]
55226 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55227
d79a9c94
UD
55228 [BZ #11820]
55229 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55230 (struct user_fpregs_struct): Avoid __uint*_t types.
55231
56e5eb46
UD
55232 [BZ #6420]
55233 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55234 symbol info. Use it instead of calling _dl_addr locally.
55235 (lock_and_info): New function.
55236 (tr_freehook): Call lock_and_info and pass symbol info as additional
55237 parameter to tr_where.
55238 (tr_mallochook): Likewise.
55239 (tr_reallochook): Likewise.
55240 (tr_memalignhook): Likewise.
55241
6ce75379
UD
55242 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55243 used and couldn't be at all thread-safe.
55244
f8a3b5bf
UD
552452011-05-15 Ulrich Drepper <drepper@gmail.com>
55246
94b7cc37
UD
55247 * libio/freopen.c (freopen): Don't close old file descriptor
55248 before the new one is opened. Instead dup the new file descriptor
55249 to the old one after the new stream is created.
55250 * libio/freopen64.c (freopen64): Likewise.
55251 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55252 * libio/fileops.c (_IO_new_file_close_it): Handle new
55253 _IO_FLAGS2_NOCLOSE flag.
55254 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55255 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55256 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55257 _IO_FLAGS2_NOCLOSE flag.
55258 * include/unistd.h: Add hidden_proto for dup3.
55259 Define __have_dup3.
55260 * io/dup3.c: Define hidden symbol.
55261 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55262
bd25564e
UD
55263 [BZ #7101]
55264 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55265 when an incomplete long option is used.
55266 * posix/tst-getopt_long1.c: New file.
55267 * posix/Makefile (tests): Add tst-getopt_long1.
55268
c84cfef4
UD
55269 [BZ #10138]
55270 * scripts/config.guess: Update from autoconf-2.68.
55271 * scripts/config.sub: Likewise.
55272
3b85df27
UD
55273 [BZ #10157]
55274 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55275 tests into ...
55276 (has_cpuclock): ...this. New function.
55277 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55278 macro here based on has_cpuclock code.
55279
15a856b1
UD
55280 [BZ #10149]
55281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55282 First byte (not low byte) is now always NUL.
55283 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55284
05f399e6
UD
55285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55286 Use non-cancelable interfaces.
55287
10a52685 55288 [BZ #9809]
94ecc67d
UD
55289 * locale/iso-639.def: Add entry for Sorani.
55290
f8a3b5bf
UD
55291 [BZ #11901]
55292 * include/stdlib.h: Move include protection to the right place.
55293 Define abort_msg_s. Declare __abort_msg with it.
55294 * stdlib/abort.c (__abort_msg): Adjust type.
55295 * assert/assert.c (__assert_fail_base): New function. Majority
55296 of code from __assert_fail. Allocate memory for __abort_msg with
55297 mmap.
55298 (__assert_fail): Now call __assert_fail_base.
55299 * assert/assert-perr.c: Remove bulk of implementation. Use
55300 __assert_fail_base.
55301 * include/assert.hL Declare __assert_fail_base.
55302 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55303 mmap.
55304 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55305
1af4e298
UD
553062011-05-14 Ulrich Drepper <drepper@gmail.com>
55307
f8a3b5bf 55308 [BZ #11952]
d26dfc60
MG
55309 [BZ #12453]
55310 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55311 until all modules are registered in the DTV.
55312 * elf/Makefile: Add rules to build and run tst-tls19.
55313 * elf/tst-tls19.c: New file.
55314 * elf/tst-tls19mod1.c: New file.
55315 * elf/tst-tls19mod2.c: New file.
55316 * elf/tst-tls19mod3.c: New file.
55317 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55318
2fc54d6f
UD
55319 [BZ #12083]
55320 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55321 correctly.
55322
98d76b46
UD
55323 [BZ #12601]
55324 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55325 two-byte sequence errors.
55326 * iconvdata/Makefile (tests): Add bug-iconv8.
55327 * iconvdata/bug-iconv8.c: New file.
55328
da3c19ef
UD
55329 [BZ #12626]
55330 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55331 buf2 definition.
55332
ca408c15
UD
55333 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55334
d6f67f7d
UD
55335 [BZ #12432]
55336 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55337 (dummy_getcfa): New function.
55338 (init): Get _Unwind_GetCFA address, use dummy if not found.
55339 (backtrace_helper): In recursion check, also check whether CFA changes.
55340 (__backtrace): Completely initialize arg.
55341
1af4e298 55342 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55343 storing incomplete byte sequence in state object. Avoid testing for
55344 guaranteed too small input if we know there is enough data available.
1af4e298 55345
da62f81b
AS
553462011-05-11 Andreas Schwab <schwab@redhat.com>
55347
55348 * Makeconfig (+link-pie): Indent.
55349 * Rules (binaries-pie): Define if $(have-fpie) and
55350 $(build-shared).
55351 (binaries-shared): Also filter out $(binaries-pie).
55352 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55353 * nscd/Makefile (others-pie): Add nscd.
55354 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55355 ($(objpfx)nscd): Remove command override.
55356 * login/Makefile (others-pie): Add pt_chown.
55357 ($(objpfx)pt_chown): Remove command override.
55358 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55359 remove command overrides.
55360
fcabc0f8
UD
553612011-05-13 Ulrich Drepper <drepper@gmail.com>
55362
20030ae6
UD
55363 * libio/tst_putwc.c: Fix error messages.
55364
fcabc0f8
UD
55365 [BZ #12724]
55366 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55367 currently writing and seek to current position when not.
55368 * libio/Makefile (tests): Add bug-fclose1.
55369 * libio/bug-fclose1.c: New file.
55370
320a5dc0
PB
553712011-05-12 Ulrich Drepper <drepper@gmail.com>
55372
55373 [BZ #12511]
55374 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55375 don't set DF_1_NODELETE here.
55376 (do_lookup_x): When entering new entry test for copy relocation
55377 and if necessary set DF_1_NODELETE flag.
55378 * elf/tst-unique4.cc: New file.
55379 * elf/tst-unique4.h: New file.
55380 * elf/tst-unique4lib.cc: New file.
55381 * elf/Makefile: Add rules to build and run tst-unique4.
55382 Patch by Piotr Bury <pbury@goahead.com>.
55383
22836f52
UD
553842011-05-11 Ulrich Drepper <drepper@gmail.com>
55385
f574184a
UD
55386 [BZ #12052]
55387 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55388
e1fb097f
UD
55389 [BZ #12625]
55390 * misc/mntent_r.c (addmntent): Flush the stream after the output
55391
22836f52
UD
55392 [BZ #12393]
55393 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55394 (is_trusted_path_normalize): Skip initial colon. Append slash
55395 to empty buffer. Duplicate is_trusted_path code but allow
55396 constructed patch to be prefix.
55397 (is_dst): Allow $ORIGIN followed by /.
55398 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55399 Correct testing of result of is_trusted_path_normalize
55400 (decompose_rpath): Fix warning.
55401
7b3b0b2a
UD
554022011-05-10 Ulrich Drepper <drepper@gmail.com>
55403
55404 [BZ #11257]
55405 * grp/initgroups.c (internal_getgrouplist): When we found the service
55406 list through the initgroups entry in nsswitch.conf do not always
55407 continue on a successful lookup. Don't always use the
eac80ce2 55408 __nss_group_database value if it is set.
7b3b0b2a
UD
55409 * nss/nsswitch.conf (initgroups): Change action for successful db
55410 lookup to continue for compatibility.
55411
2a81eaa5
UD
554122011-05-09 Ulrich Drepper <drepper@gmail.com>
55413
be97a69e
UD
55414 [BZ #11532]
55415 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55416 and CP774 modules.
55417 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55418 and CP774 modules.
55419 * iconvdata/tst-tables.sh: Likewise.
55420 * iconvdata/cp770.c: New file.
55421 * iconvdata/cp771.c: New file.
55422 * iconvdata/cp772.c: New file.
55423 * iconvdata/cp773.c: New file.
55424 * iconvdata/cp774.c: New file.
55425 * iconvdata/testdata/CP770: New file.
55426 * iconvdata/testdata/CP770..UTF8: New file.
55427 * iconvdata/testdata/CP771: New file.
55428 * iconvdata/testdata/CP771..UTF8: New file.
55429 * iconvdata/testdata/CP772: New file.
55430 * iconvdata/testdata/CP772..UTF8: New file.
55431 * iconvdata/testdata/CP773: New file.
55432 * iconvdata/testdata/CP773..UTF8: New file.
55433 * iconvdata/testdata/CP774: New file.
55434 * iconvdata/testdata/CP774..UTF8: New file.
55435
55436 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55437 END CHARMAP line.
55438 * iconvdata/gen-8bit-gap.sh: Likewise.
55439 * iconvdata/gen-8bit.sh: Likewise.
55440
c1e9e399
UD
55441 * locale/iso-639.def: Add ary entry.
55442
24c55fb3 55443 [BZ #11258]
96b4b1b0
UD
55444 * locale/C-translit.h.in: Add U20A1 transliteration.
55445
bdc2f971
KB
55446 [BZ #12178]
55447 * locale/iso-639.def: Add wae entry.
55448 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55449
2952b117
UD
55450 [BZ #12545]
55451 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55452 for n.
55453
2a81eaa5
UD
55454 [BZ #12711]
55455 * locale/C-translit.h.in: Add entry for U20B9.
55456 Patch by pravin.d.s@gmail.com.
55457
28377d1b
UD
554582011-05-08 Ulrich Drepper <drepper@gmail.com>
55459
7fb90fb8
UD
55460 [BZ #12713]
55461 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55462 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55463 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55464 in rtld. Use *stat64.
7fb90fb8 55465 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55466 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55467 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55468 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55469 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55470 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55471 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55472 __fstatat64 macros.
7fb90fb8
UD
55473 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55474 * dirent/rewinddir.c: Add libc_hidden_def.
55475 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55476 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55477
28377d1b
UD
55478 * include/dirent.h (__alloc_dir): Add flags parameter.
55479 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55480 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55481 __alloc_dir.
55482 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55483 from fdopendir if O_CLOEXEC is already set.
55484
66bdbaa4
AM
554852011-03-15 Alan Modra <amodra@gmail.com>
55486
55487 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55488 l_tls_firstbyte_offset non-zero. Save padding offset in
55489 l_tls_firstbyte_offset for later use.
55490 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55491 freeing static tls block.
55492
95721191
JN
554932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55494
55495 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55496 where #ifdef was intended. The intent is to prevent ARG_MAX from
55497 being defined by the kernel headers.
55498
f87dfb1f
UD
554992011-05-07 Ulrich Drepper <drepper@gmail.com>
55500
55501 [BZ #12734]
55502 * resolv/resolv.h: Define RES_NOTLDQUERY.
55503 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55504 no-tld-query and set RES_NOTLDQUERY.
55505 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55506 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55507 modern BIND to search name as TLD unless forbidden.
55508
47c3cd7a
UD
555092011-05-07 Petr Baudis <pasky@suse.cz>
55510 Ulrich Drepper <drepper@gmail.com>
55511
55512 [BZ #12393]
55513 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55514 (is_trusted_path): ...to here.
c1e9ea35 55515 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55516 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55517 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55518
8a35c912
PP
555192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55520
55521 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55522 __BEGIN/__END_DECLS.
55523
acd41f47
UD
555242011-05-06 Ulrich Drepper <drepper@gmail.com>
55525
55526 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55527 NSS_STATUS_NOTFOUND if no record was found.
55528
597df647
AS
555292011-05-05 Andreas Schwab <schwab@redhat.com>
55530
55531 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55532 (headers-not-in-tirpc): Remove rpc/netdb.h
55533 * resolv/netdb.h: Revert last change.
55534
b9af1301
PP
555352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55536
55537 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55538 circular dependency between libgcc.a and libc.a.
55539
4e34d5f5
AS
555402011-05-05 Andreas Schwab <schwab@redhat.com>
55541
55542 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55543 * nis/Makefile: Don't install rpcsvc/*.
55544 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55545 instead of <rpc/types.h>.
55546 (MAXHOSTNAMELEN): Define.
55547
00ee369c
AS
555482011-05-03 Andreas Schwab <schwab@redhat.com>
55549
55550 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55551
0b592a30
MB
555522011-04-28 Maciej Babinski <mbabinski@google.com>
55553
55554 [BZ #12714]
55555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55556 gethostbyname4_r when IPv6 results are possible.
55557
6e04cbbe
UD
555582011-05-02 Ulrich Drepper <drepper@gmail.com>
55559
55560 [BZ #12723]
55561 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55562 _PC_PIPE_BUF handling.
55563
e4ecafe0
BH
555642011-04-30 Bruno Haible <bruno@clisp.org>
55565
55566 [BZ #12717]
55567 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55568 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55569 to 'int'.
55570 * inet/getnameinfo.c (getnameinfo): Likewise.
55571
125ee683
UD
555722011-04-29 Ulrich Drepper <drepper@gmail.com>
55573
55574 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55575 to groups setting in database lookup.
55576 * nss/nsswitch.conf: Add initgroups entry.
55577
b722481a
EB
555782011-04-22 Ulrich Drepper <drepper@gmail.com>
55579
55580 [BZ #12685]
55581 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55582 mode string.
55583 Patch by Eric Blake <eblake@redhat.com>.
55584
4df46dbd
L
555852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55586
55587 * sunrpc/Makefile (need-export-routines): Add svc_run.
55588 (routines): Remove svc_run.
55589 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55590 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55591 * sunrpc/svc_run.c (svc_run): Likewise.
55592 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55593
e84142d2
UD
555942011-04-21 Ulrich Drepper <drepper@gmail.com>
55595
55596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55597 problem in reallocation in last patch.
55598
877175d8
UD
555992011-04-20 Ulrich Drepper <drepper@gmail.com>
55600
55601 * sunrpc/Makefile: Move inclusion of Rules.
55602
ab8eed78
UD
556032011-04-19 Ulrich Drepper <drepper@gmail.com>
55604
55605 * nss/nss_files/files-initgroups.c: New file.
55606 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55607 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55608 _nss_files_initgroups_dyn.
55609
e3d8f584
RS
556102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55611
55612 * elf/elf.h (R_ARM_IRELATIVE): Define.
55613
af190f45
UD
556142011-04-19 Ulrich Drepper <drepper@gmail.com>
55615
55616 * po/ru.po: Update from translation team.
55617
53cf59ef
UD
556182011-04-17 Ulrich Drepper <drepper@gmail.com>
55619
55620 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55621 dependencies.
55622
4c559bcd
MF
556232011-02-06 Mike Frysinger <vapier@gentoo.org>
55624
55625 [BZ #12653]
55626 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55627 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55629 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55630 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55631
4420675c
AS
556322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55633
55634 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55635 differing bytes.
55636 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55637 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55638 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55639
75ea32ab
UD
556402011-04-17 Ulrich Drepper <drepper@gmail.com>
55641
55642 [BZ #12420]
55643 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55644 storing it.
55645 * stdlib/bug-getcontext.c: New file.
55646 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55647
27390476
AK
556482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55649
55650 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55651 instructions into .machine "z9-109".
55652 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55653 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55654
10442705
AK
556552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55656
55657 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55658 between environment variables and auxiliary vector.
55659
7b57bfe5
UD
556602011-04-16 Ulrich Drepper <drepper@gmail.com>
55661
55662 * Makefile: Add rules to build linkobj/libc.so.
55663 * include/libc-symbols.h: Define libc_hidden_nolink.
55664 * include/rpc/auth.h: Mark functions which are to be hidden.
55665 * include/rpc/auth_des.h: Likewise.
55666 * include/rpc/auth_unix.h: Likewise.
55667 * include/rpc/clnt.h: Likewise.
55668 * include/rpc/des_crypt.h: Likewise.
55669 * include/rpc/key_prot.h: Likewise.
55670 * include/rpc/pmap_clnt.h: Likewise.
55671 * include/rpc/pmap_prot.h: Likewise.
55672 * include/rpc/pmap_rmt.h: Likewise.
55673 * include/rpc/rpc_msg.h: Likewise.
55674 * include/rpc/svc.h: Likewise.
55675 * include/rpc/svc_auth.h: Likewise.
55676 * include/rpc/xdr.h: Likewise.
55677 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55678 * nss/Makefile: Likewise.
55679 * sunrpc/Makefile: Don't install headers. Build library with normal
55680 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55681 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55682 for the compat linking library. Remove use of INTDEF/INTUSE.
55683 * sunrpc/auth_none.c: Likewise.
55684 * sunrpc/auth_unix.c: Likewise.
55685 * sunrpc/authdes_prot.c: Likewise.
55686 * sunrpc/authuxprot.c: Likewise.
55687 * sunrpc/clnt_gen.c: Likewise.
55688 * sunrpc/clnt_perr.c: Likewise.
55689 * sunrpc/clnt_raw.c: Likewise.
55690 * sunrpc/clnt_simp.c: Likewise.
55691 * sunrpc/clnt_tcp.c: Likewise.
55692 * sunrpc/clnt_udp.c: Likewise.
55693 * sunrpc/clnt_unix.c: Likewise.
55694 * sunrpc/des_crypt.c: Likewise.
55695 * sunrpc/des_soft.c: Likewise.
55696 * sunrpc/get_myaddr.c: Likewise.
55697 * sunrpc/key_call.c: Likewise.
55698 * sunrpc/key_prot.c: Likewise.
55699 * sunrpc/netname.c: Likewise.
55700 * sunrpc/pm_getmaps.c: Likewise.
55701 * sunrpc/pm_getport.c: Likewise.
55702 * sunrpc/pmap_clnt.c: Likewise.
55703 * sunrpc/pmap_prot.c: Likewise.
55704 * sunrpc/pmap_prot2.c: Likewise.
55705 * sunrpc/pmap_rmt.c: Likewise.
55706 * sunrpc/publickey.c: Likewise.
55707 * sunrpc/rpc_cmsg.c: Likewise.
55708 * sunrpc/rpc_common.c: Likewise.
55709 * sunrpc/rpc_dtable.c: Likewise.
55710 * sunrpc/rpc_prot.c: Likewise.
55711 * sunrpc/rpc_thread.c: Likewise.
55712 * sunrpc/rtime.c: Likewise.
55713 * sunrpc/svc.c: Likewise.
55714 * sunrpc/svc_auth.c: Likewise.
55715 * sunrpc/svc_authux.c: Likewise.
55716 * sunrpc/svc_raw.c: Likewise.
55717 * sunrpc/svc_run.c: Likewise.
55718 * sunrpc/svc_simple.c: Likewise.
55719 * sunrpc/svc_tcp.c: Likewise.
55720 * sunrpc/svc_udp.c: Likewise.
55721 * sunrpc/svc_unix.c: Likewise.
55722 * sunrpc/svcauth_des.c: Likewise.
55723 * sunrpc/xcrypt.c: Likewise.
55724 * sunrpc/xdr.c: Likewise.
55725 * sunrpc/xdr_array.c: Likewise.
55726 * sunrpc/xdr_float.c: Likewise.
55727 * sunrpc/xdr_intXX_t.c: Likewise.
55728 * sunrpc/xdr_mem.c: Likewise.
55729 * sunrpc/xdr_rec.c: Likewise.
55730 * sunrpc/xdr_ref.c: Likewise.
55731 * sunrpc/xdr_sizeof.c: Likewise.
55732 * sunrpc/xdr_stdio.c: Likewise.
55733
e6c61494
UD
557342011-04-10 Ulrich Drepper <drepper@gmail.com>
55735
55736 [BZ #12650]
55737 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55738 * sysdeps/ia64/dl-tls.h: Likewise.
55739 * sysdeps/powerpc/dl-tls.h: Likewise.
55740 * sysdeps/s390/dl-tls.h: Likewise.
55741 * sysdeps/sh/dl-tls.h: Likewise.
55742 * sysdeps/sparc/dl-tls.h: Likewise.
55743 * sysdeps/x86_64/dl-tls.h: Likewise.
55744 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55745
34fe483e
AS
557462011-03-14 Andreas Schwab <schwab@redhat.com>
55747
55748 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55749 rpath element also skip the following colon.
55750 (expand_dynamic_string_token): Add is_path parameter and pass
55751 down to DL_DST_REQUIRED and _dl_dst_substitute.
55752 (decompose_rpath): Call expand_dynamic_string_token with
55753 non-zero is_path. Ignore empty rpaths.
55754 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55755 with zero is_path.
55756
f12a32e6
AS
557572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55758
55759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55760 Make cancelable.
55761
38a7d692
UD
557622011-04-09 Ulrich Drepper <drepper@gmail.com>
55763
55764 [BZ #12655]
55765 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55766 Patch by Filipe David Manana <fdmanana@apache.org>.
55767
e451d22b
AS
557682011-04-07 Andreas Schwab <schwab@redhat.com>
55769
55770 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55771 Maintain aligned stack.
55772 (CHECK_RSP): Remove unused macro.
55773
dedc7c7b
UD
557742011-04-03 Ulrich Drepper <drepper@gmail.com>
55775
55776 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55777 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55778
94521213
UD
557792011-04-02 Ulrich Drepper <drepper@gmail.com>
55780
55781 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55782
8cb700c0 55783 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55784
0354e355
L
557852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55786
55787 [BZ #12518]
55788 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55789 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55790 * sysdeps/x86_64/memmove.c: New file.
55791 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55792 (memcpy): Renamed to ...
55793 (__new_memcpy): This.
55794 (memcpy): Provide GLIBC_2_14 memcpy.
55795 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55796 (memcpy): Provide GLIBC_2_2_5 memcpy.
55797
8593482f
UD
557982011-04-01 Ulrich Drepper <drepper@gmail.com>
55799
55800 [BZ #12631]
55801 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55802
81a5726b
AS
558032011-03-30 Andreas Schwab <schwab@redhat.com>
55804
55805 * misc/syncfs.c: New file.
55806 * misc/Makefile (routines): Add syncfs.
55807 * posix/unistd.h: Declare syncfs.
55808 * sysdeps/unix/syscalls.list: Add syncfs.
55809
00e5419f
AS
558102011-04-01 Andreas Schwab <schwab@redhat.com>
55811
55812 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55813 open_by_handle_at.
55814 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55815 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55816 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55817 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55819 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55820 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55821
748876bf
UD
558222011-04-01 Ulrich Drepper <drepper@gmail.com>
55823
658e451d
UD
55824 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55825 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55826 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55828 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55830 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55831
748876bf
UD
55832 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55833 sync_file_range.c with -fexceptions.
55834 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55835 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55836 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55837 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55838 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55839 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55841 sync_file_range as cancellation point
55842 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55843 now a wrapper around __call_sync_file_range with cancellation handling.
55844 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55845 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55846 function name to __call_sync_file_range.
55847 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55848 Add call_sync_file_range.
748876bf 55849
6e63d5e1
AS
558502011-04-01 Andreas Schwab <schwab@redhat.com>
55851
55852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55853 bits/timex.h.
6e63d5e1 55854
46998f74
UD
558552011-04-01 Ulrich Drepper <drepper@gmail.com>
55856
4c1423ed
UD
55857 * iconv/iconv.h: Fix typo in comment.
55858 * io/fcntl.h: Likewise.
55859 * libio/stdio.h: Likewise.
55860 * posix/spawn.h: Likewise.
55861 * posix/unistd.h: Likewise.
55862 * stdlib/stdlib.h: Likewise.
55863 * time/time.h: Likewise.
55864 * wcsmbs/wchar.h: Likewise.
55865
158648c0
UD
55866 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55867 open_by_handle): Add.
55868 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55869 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55870 Augment a few comments.
55871 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55872 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55873 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55875 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55876 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55877 open_by_handle.
55878
46998f74
UD
55879 * io/fcntl.h (AT_EMPTY_PATH): Define.
55880
83fe108b
UD
558812011-03-30 Ulrich Drepper <drepper@gmail.com>
55882
55883 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55884 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55885 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55886 to...
55887 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55888 * Versions.def: Add GLIBC_2.14.
55889 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55890 Export.
83fe108b 55891
bb242059
UD
558922011-03-22 Ulrich Drepper <drepper@gmail.com>
55893
55894 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55895 round counter.
55896 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55897
c97a1282
L
558982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55899
55900 [BZ #12597]
55901 * string/test-strncmp.c (do_page_test): New function.
55902 (check2): Likewise.
55903 (test_main): Call check2.
55904 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55905
2a115601
UD
559062011-03-20 Ulrich Drepper <drepper@gmail.com>
55907
55908 [BZ #12587]
55909 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55910 Handle cache information in CPU leaf 4.
55911 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55912
8126d904
UD
559132011-03-18 Ulrich Drepper <drepper@gmail.com>
55914
042c49c6 55915 [BZ #12583]
8126d904
UD
55916 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55917 character representation.
55918 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55919
ccfe366e
RA
559202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55921
55922 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55923 END(__isnan) to END(__isnanf) to match function entry point/label
55924 EALIGN(__isnanf,...).
55925
c6e13027
JJ
559262011-03-10 Jakub Jelinek <jakub@redhat.com>
55927
55928 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55929
33f85a3f
UD
559302011-03-10 Ulrich Drepper <drepper@gmail.com>
55931
028478fa
UD
55932 [BZ #12510]
55933 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55934 copy from the symbol referenced in the relocation to initialize the
55935 used variable.
55936 Patch by Piotr Bury <pbury@goahead.com>.
55937 * elf/Makefile: Add rules to build and tst-unique3.
55938 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55939 * elf/tst-unique3.cc: New file.
55940 * elf/tst-unique3.h: New file.
55941 * elf/tst-unique3lib.cc: New file.
55942 * elf/tst-unique3lib2.cc: New file.
55943
33f85a3f
UD
55944 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55945
03592fc7
MF
559462011-03-10 Mike Frysinger <vapier@gentoo.org>
55947
55948 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55949 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55950 to _start.
03592fc7 55951
6a5ee102
UD
559522011-03-06 Ulrich Drepper <drepper@gmail.com>
55953
55954 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55955 to-be-loaded object along a path to loader is ld.so.
55956
7e4ba49c
HJ
559572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55958 Ulrich Drepper <drepper@gmail.com>
55959
55960 * sysdeps/x86_64/memset.S: After aligning destination, code
55961 branches to different locations depending on the value of
55962 misalignment, when multiarch is enabled. Fix this.
55963
559642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55965
55966 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55967 Set _x86_64_preferred_memory_instruction for AMD processsors.
55968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55969 Set bit_Prefer_SSE_for_memop for AMD processors.
55970
13a804de
UD
559712011-03-04 Ulrich Drepper <drepper@gmail.com>
55972
55973 * libio/fmemopen.c (fmemopen): Optimize a bit.
55974
9d25c392
AS
559752011-03-03 Andreas Schwab <schwab@redhat.com>
55976
55977 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55978
a5543c6a
RM
559792011-03-03 Roland McGrath <roland@redhat.com>
55980
55981 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55982
012d35f7
DM
559832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55984
7e4ba49c 55985 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55986 __bzero_ultra1 instead of __memset_ultra1.
55987
4bff6e01
AS
559882011-02-23 Andreas Schwab <schwab@redhat.com>
55989 Ulrich Drepper <drepper@gmail.com>
55990
55991 [BZ #12509]
55992 * include/link.h (struct link_map): Add l_orig_initfini.
55993 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55994 returning unsuccessfully.
55995 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55996 close of a file loaded at startup, restore the original l_initfini
55997 list.
55998 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55999 list, store the pointer.
56000 * elf/Makefile ($(objpfx)noload-mem): New rule.
56001 (noload-ENV): Define.
56002 (tests): Add $(objpfx)noload-mem.
56003 * elf/noload.c: Include <memcheck.h>.
56004 (main): Call mtrace. Close all opened handles.
56005
f2092faf
AS
560062011-02-17 Andreas Schwab <schwab@redhat.com>
56007
56008 [BZ #12454]
56009 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56010 dependencies are missing.
56011
6c8a2e88
ST
560122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56013
f2092faf 56014 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56015 Hurd needs munmap.
56016 * sysdeps/mach/hurd/ifreq.h: New file.
56017
84a42118
PB
560182011-01-27 Petr Baudis <pasky@suse.cz>
56019 Ulrich Drepper <drepper@gmail.com>
56020
071f805e 56021 [BZ 12445]#
84a42118
PB
56022 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56023 to extend_alloca().
56024 * stdio-common/bug23.c: New file.
56025 * stdio-common/Makefile (tests): Add bug23.
56026
e23fe25b
AS
560272010-09-28 Andreas Schwab <schwab@redhat.com>
56028 Ulrich Drepper <drepper@gmail.com>
56029
56030 [BZ #12489]
56031 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56032 before performing relro protection. At old place add assertion
56033 to make sure nothing changed.
56034
d3f02e10
NS
560352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56036 Glauber de Oliveira Costa <glommer@gmail.com>
56037
56038 * elf/elf.h: Add new ARM TLS relocs.
56039
d55fd7a5
RA
560402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56041
56042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56043 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56044 cast from r3.
56045 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56046 'tests' variable.
56047 * sysdeps/wordsize-64/tst-writev.c: New file.
56048
2206397e
RA
560492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56050
56051 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56052 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56053 insns in _dl_start to prevent a TOC reference before relocs are
56054 resolved.
56055
e9433893
UD
560562011-02-15 Ulrich Drepper <drepper@gmail.com>
56057
56058 [BZ #12469]
56059 * Makeconfig: Remove RANLIB definition.
56060 * Makerules: Don't use RANLIB.
56061 * aclocal.m4: Remove ranlib test.
56062 * configure.in: No need to check for ranlib.
56063 * elf/rtld-Rules: Don't use RANLIB.
56064
f75286c6
ST
560652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56066
8e31c82d
ST
56067 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56068 protection macro.
56069 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56070 inclusion protection macro.
56071
f75286c6
ST
56072 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56073 SIGRTMIN and SIGRTMAX and print information in that case only when
56074 SIGRTMIN is defined.
56075
c1d0e639
JJ
560762011-02-11 Jakub Jelinek <jakub@redhat.com>
56077
56078 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56079 arginfo fn returning -1.
56080
56081 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56082 and thousands string is zero terminated.
56083
edf9294e
AS
560842011-02-03 Andreas Schwab <schwab@redhat.com>
56085
56086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56087 sysdeps/unix/sysv/linux/bits/socket.h.
56088
2b7e92df
ST
560892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56090
edf9294e
AS
56091 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56092 (__CPU_COUNT): Remove old macros.
56093 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56094 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56095 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56096 (__sched_cpualloc, __sched_cpufree): Add declarations.
56097
a4c7ea7b
UD
560982011-02-05 Ulrich Drepper <drepper@gmail.com>
56099
56100 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56101 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56102 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56103 (readdhstai): Return value of addhstaiX call.
56104 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56105 (addgrbyX): Return value returned by cache_addgr.
56106 (readdgrbyname): Return value returned by addgrbyX.
56107 (readdgrbygid): Likewise.
56108 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56109 (addpwbyX): Return value returned by cache_addpw.
56110 (readdpwbyname): Return value returned by addhstbyX.
56111 (readdpwbyuid): Likewise.
56112 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56113 (addservbyX): Return value returned by cache_addserv.
56114 (readdservbyname): Return value returned by addservbyX:
56115 (readdservbyport): Likewise.
56116 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56117 (addhstbyX): Return value returned by cache_addhst.
56118 (readdhstbyname): Return value returned by addhstbyX.
56119 (readdhstbyaddr): Likewise.
56120 (readdhstbynamev6): Likewise.
56121 (readdhstbyaddrv6): Likewise.
56122 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56123 (readdinitgroups): Return value returned by addinitgroupsX.
56124 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56125 (prune_cache): Keep track of timeout value of re-added entries.
56126 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56127 * nscd/nscd.h: Adjust prototypes of readd* functions.
56128
a0bf67cc
RM
561292011-02-04 Roland McGrath <roland@redhat.com>
56130
56131 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56132 (nis_stats): Likewise.
56133 * nis/nis_modify.c (nis_modify): Likewise.
56134 * nis/nis_remove.c (nis_remove): Likewise.
56135 * nis/nis_add.c (nis_add): Likewise.
56136
56137 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56138
56139 * posix/fnmatch_loop.c: Add some consts.
56140
56141 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56142
435b95eb
L
561432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56144
56145 [BZ #12460]
56146 * config.make.in (config-cflags-novzeroupper): Define.
56147 * configure.in: Substitute libc_cv_cc_novzeroupper.
56148 * elf/Makefile (AVX-CFLAGS): Define.
56149 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56150 (CFLAGS-tst-auditmod4a.c): Likewise.
56151 (CFLAGS-tst-auditmod4b.c): Likewise.
56152 (CFLAGS-tst-auditmod6b.c): Likewise.
56153 (CFLAGS-tst-auditmod6c.c): Likewise.
56154 (CFLAGS-tst-auditmod7b.c): Likewise.
56155 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56156
8517b15e
UD
561572011-02-02 Ulrich Drepper <drepper@gmail.com>
56158
56159 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56160 function to the callback.
56161 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56162
10a656fe
AS
561632011-02-02 Andreas Schwab <schwab@redhat.com>
56164
56165 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56166 of errno.
56167
968dad0a
UD
561682011-01-19 Ulrich Drepper <drepper@gmail.com>
56169
9f94d2ea 56170 [BZ #11724]
968dad0a
UD
56171 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56172 of constructors.
56173 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56174 of destructors.
56175 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56176
56177 [BZ #11724]
56178 * elf/Makefile: Add rules to build and run new test.
56179 * elf/tst-initorder.c: New file.
56180 * elf/tst-initorder.exp: New file.
56181 * elf/tst-initordera1.c: New file.
56182 * elf/tst-initordera2.c: New file.
56183 * elf/tst-initordera3.c: New file.
56184 * elf/tst-initordera4.c: New file.
56185 * elf/tst-initorderb1.c: New file.
56186 * elf/tst-initorderb2.c: New file.
56187 * elf/tst-order-a1.c: New file.
56188 * elf/tst-order-a2.c: New file.
56189 * elf/tst-order-a3.c: New file.
56190 * elf/tst-order-a4.c: New file.
56191 * elf/tst-order-b1.c: New file.
56192 * elf/tst-order-b2.c: New file.
56193 * elf/tst-order-main.c: New file.
56194 New test case by George Gensure <werkt0@gmail.com>.
56195
86e92359
UD
561962010-10-01 Andreas Schwab <schwab@redhat.com>
56197
56198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56199 decoding ACE if AI_CANONIDN.
56200
5d5732b0
UD
562012011-01-18 Ulrich Drepper <drepper@gmail.com>
56202
56203 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56204
a77e8cbc
UD
562052011-01-17 Ulrich Drepper <drepper@gmail.com>
56206
6392473f
UD
56207 * version.h (RELEASE): Bump for 2.13 release.
56208 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56209
620a0529
UD
56210 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56211
18ba70a5
UD
56212 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56213 MADV_NOHUGEPAGE.
32465c3e
UD
56214 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56216 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56217 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56218 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56220
c0dafcf1
UD
56221 * posix/getconf.c: Update copyright year.
56222 * catgets/gencat.c: Likewise.
56223 * csu/version.c: Likewise.
56224 * debug/catchsegv.sh: Likewise.
56225 * debug/xtrace.sh: Likewise.
56226 * elf/ldconfig.c: Likewise.
56227 * elf/ldd.bash.in: Likewise.
56228 * elf/sprof.c (print_version): Likewise.
56229 * iconv/iconv_prog.c: Likewise.
56230 * iconv/iconvconfig.c: Likewise.
56231 * locale/programs/locale.c: Likewise.
56232 * locale/programs/localedef.c: Likewise.
56233 * malloc/memusage.sh: Likewise.
56234 * malloc/mtrace.pl: Likewise.
56235 * nscd/nscd.c (print_version): Likewise.
56236 * nss/getent.c: Likewise.
56237
a77e8cbc
UD
56238 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56239 PF_CAIF, and PF_ALG.
56240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56241
77e8bddf
AS
562422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56243
1f20b93a
AS
56244 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56245 (modules-names): Use them.
56246 (ifunc-test-modules, ifunc-pie-tests): Define.
56247 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56248 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56249 (test-extras): Likewise.
56250 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56251 $(compile-command.c).
56252 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56253 (all-built-dso): Define.
56254 (check-textrel.out, check-execstack.out): Depend on it.
56255
77e8bddf
AS
56256 * configure.in: Don't override --enable-multi-arch.
56257
bc425b33
UD
562582011-01-15 Ulrich Drepper <drepper@gmail.com>
56259
56260 [BZ #6812]
56261 * nscd/hstcache.c (tryagain): Define.
56262 (cache_addhst): Return tryagain not notfound for temporary errors.
56263 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56264 failed.
56265
794c3ad3
UD
562662011-01-14 Ulrich Drepper <drepper@gmail.com>
56267
70181fdd
UD
56268 [BZ #10563]
56269 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56270 to make the syscall.
56271 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56272
794c3ad3
UD
56273 [BZ #12378]
56274 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56275 and fall back to matching as normal character if the string ends before
56276 the matching ']' is found. This is what POSIX requires.
56277 * posix/testfnm.c: Adjust test result.
56278 * posix/globtest.sh: Adjust test result. Add new test.
56279 * posix/tst-fnmatch.input: Likewise.
56280 * posix/tst-fnmatch2.c: Add new test.
56281
68dc9497
AS
562822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56283
56284 * elf/Makefile (check-execstack): Revert last change. Depend on
56285 check-execstack.h.
56286 (check-execstack.h): New target.
56287 (generated): Add check-execstack.h.
56288 * elf/check-execstack.c: Include "check-execstack.h".
56289 (main): Revert last change.
56290 (handle_file): Return zero if GNU_STACK is absent and
56291 DEFAULT_STACK_PERMS doesn't include PF_X.
56292
451f001b
UD
562932011-01-13 Ulrich Drepper <drepper@gmail.com>
56294
cfa28e56
UD
56295 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56296 in child fails because the descriptor is already closed.
8cf8ce17
UD
56297 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56298 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56299 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56300
1086d70d
UD
56301 [BZ #12397]
56302 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56303 syscall.
56304
451f001b
UD
56305 [BZ #10484]
56306 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56307 temporary buffer used to handle multi lookups locally.
a85b5cb4 56308 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56309
08769175
UD
563102011-01-12 Ulrich Drepper <drepper@gmail.com>
56311
56312 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56313 loader is ld.so.
56314
5e49c52e
UD
563152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56316
56317 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56318 alignment for SSE2.
56319
60522a5f
UD
563202011-01-12 Ulrich Drepper <drepper@gmail.com>
56321
56322 [BZ #12394]
56323 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56324 characters. When rounding increased number of integer digits recompute
56325 number of groups.
56326 * stdio-common/tst-grouping.c: New file.
56327 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56328
f257bbd7
UD
563292011-01-09 Ulrich Drepper <drepper@gmail.com>
56330
56331 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56332 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56333
56334 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56335 void.
56336 * bits/select.h: Likewise.
56337
fa9c15cb
UD
563382011-01-08 Ulrich Drepper <drepper@gmail.com>
56339
56340 * po/ja.po: Update from translation team.
56341
16c2895f
DM
563422011-01-04 David S. Miller <davem@sunset.davemloft.net>
56343
56344 [BZ #11155]
56345 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56346 implementation just like for lxstat, fxstatat, et al.
56347
2543fef2
JM
563482010-12-27 Jim Meyering <meyering@redhat.com>
56349
56350 [BZ #12348]
56351 * posix/regexec.c (build_trtable): Return failure indication upon
56352 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56353
98727dbe
UD
563542010-12-25 Ulrich Drepper <drepper@gmail.com>
56355
5bd6dc5c
UD
56356 [BZ #12201]
56357 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56358 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56359 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56360 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56361
97983464
UD
56362 [BZ #12207]
56363 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56364
98727dbe
UD
56365 [BZ #12204]
56366 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56367 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56368
4a531bb0
L
563692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56370
56371 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56372 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56373 script has SORT_BY_INIT_PRIORITY.
56374 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56375 NO_CTORS_DTORS_SECTIONS is defined.
56376 * elf/soinit.c: Likewise.
56377 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56378 NO_CTORS_DTORS_SECTIONS is defined.
56379 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56380 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56381 * sysdeps/sh/init-first.c: Likewise.
56382 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56383
07eb4b71
UD
563842010-12-24 Ulrich Drepper <drepper@gmail.com>
56385
56386 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56387 always use the slow path.
56388
30950a5f
RA
563892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56390
56391 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56392 similar rule which adds the sysdep directories to the header search in
56393 order to pick up the correct platform stackinfo.h.
56394 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56395 perform test if it is, otherwise return successfully without testing.
56396 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56397 DEFAULT_STACK_PERMS define in stackinfo.h.
56398 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56399 defined in stackinfo.h.
56400 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56401 DEFAULT_STACK_PERMS defined in stackinfo.h.
56402 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56403 * sysdeps/ia64/stackinfo.h: Likewise.
56404 * sysdeps/s390/stackinfo.h: Likewise.
56405 * sysdeps/sh/stackinfo.h: Likewise.
56406 * sysdeps/sparc/stackinfo.h: Likewise.
56407 * sysdeps/x86_64/stackinfo.h: Likewise.
56408 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56409 PF_X for powerpc64. Retain PF_X for powerpc32.
56410
db753e2c
UD
564112010-12-19 Ulrich Drepper <drepper@gmail.com>
56412
14b697f7
UD
56413 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56414 accurately.
db753e2c
UD
56415 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56416 GETDENTS_64BIT_ALIGNED.
56417
28300719
UD
564182010-12-14 Ulrich Drepper <dreper@gmail.com>
56419
14b697f7 56420 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56421
4f197237
AS
564222010-12-10 Andreas Schwab <schwab@redhat.com>
56423
dbb0472f
AS
56424 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56425 _GNU_SOURCE.
56426
4f197237
AS
56427 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56428 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56429 Remove __restrict.
56430 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56431 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56432
fb88ac72
UD
564332010-12-09 Ulrich Drepper <drepper@gmail.com>
56434
56435 [BZ #11655]
56436 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56437 are initialized.
56438
42acbb92
JJ
564392010-12-09 Jakub Jelinek <jakub@redhat.com>
56440
56441 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56442
c038d98d
UD
564432010-12-03 Ulrich Drepper <drepper@gmail.com>
56444
56445 * po/it.po: Update from translation team.
56446
3a4a2499
L
564472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56448
56449 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56450 unused codes.
56451
1e24cf6e
UD
564522010-11-30 Ulrich Drepper <drepper@gmail.com>
56453
56454 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56455
a7690819
AS
564562010-11-24 Andreas Schwab <schwab@redhat.com>
56457
56458 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56459 specially.
56460 (gaih_getanswer_slice): Likewise.
56461
3bf8d1b1
JJ
564622010-10-20 Jakub Jelinek <jakub@redhat.com>
56463
56464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56465
6db52fbb
PB
564662010-05-31 Petr Baudis <pasky@suse.cz>
56467
56468 [BZ #11149]
56469 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56470 silently even in the chroot mode.
56471
eaca7569
UD
564722010-11-22 Ulrich Drepper <drepper@gmail.com>
56473
56474 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56475 last patch a bit. Pretty printing
56476
3056dcdb
UD
564772010-05-31 Petr Baudis <pasky@suse.cz>
56478
56479 [BZ #10085]
56480 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56481 initialization of skip_initgroups_dyn.
56482
cf7c9078
UD
564832010-11-19 Ulrich Drepper <drepper@gmail.com>
56484
56485 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56486 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56487
a1fb5e3e
UD
564882010-11-16 Ulrich Drepper <drepper@gmail.com>
56489
56490 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56491
3540d66b
AS
564922010-11-11 Andreas Schwab <schwab@redhat.com>
56493
56494 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56495 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56496 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56497 ($(objpfx)tst-fnmatch-mem): New rule.
56498 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56499 * posix/tst-fnmatch.c (main): Call mtrace.
56500
13b69574
L
565012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56502
56503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56504 Support Intel processor model 6 and model 0x2c.
56505
da93d214
LM
565062010-11-10 Luis Machado <luisgpm@br.ibm.com>
56507
56508 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56509 signed comparison.
56510
8ca52c6e
L
565112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56512
56513 [BZ #12205]
56514 * string/test-strncasecmp.c (check_result): New function.
56515 (do_one_test): Use it.
56516 (check1): New function.
56517 (test_main): Use it.
56518 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56519 Support strcasecmp and strncasecmp.
56520
69da074d
UD
565212010-11-08 Ulrich Drepper <drepper@gmail.com>
56522
56523 [BZ #12194]
56524 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56525 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56526
ff02d528
L
565272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56528
56529 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56530 IFUNC support.
56531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56532 memset-x86-64.
56533 * sysdeps/x86_64/multiarch/bzero.S: New file.
56534 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56535 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56536 * sysdeps/x86_64/multiarch/memset.S: New file.
56537 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56539 Set bit_Prefer_SSE_for_memop for Intel processors.
56540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56541 Define.
56542 (index_Prefer_SSE_for_memop): Define.
56543 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56544
344d0b54
LM
565452010-11-04 Luis Machado <luisgpm@br.ibm.com>
56546
56547 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56548 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56549
c0dde15b
UD
565502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56551
56552 [BZ #12191]
56553 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56554 (__x86_64_raw_data_cache_size_half): Likewise.
56555 (__x86_64_raw_shared_cache_size): Likewise.
56556 (__x86_64_raw_shared_cache_size_half): Likewise.
56557
56558 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56559 (__x86_64_raw_data_cache_size_half): Likewise.
56560 (__x86_64_raw_shared_cache_size): Likewise.
56561 (__x86_64_raw_shared_cache_size_half): Likewise.
56562 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56563 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56564 and __x86_64_raw_shared_cache_size_half. Round
56565 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56566 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56567 to multiple of 256 bytes.
56568
0e516e0e
MS
565692010-11-03 Ulrich Drepper <drepper@gmail.com>
56570
56571 [BZ #12167]
56572 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56573 of inacessible symlinks. Verify result of symlink before returning it.
56574 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56575 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56576
0e012e87
ER
565772010-10-28 Erich Ritz <erichritz@gmail.com>
56578
56579 * math/math.h (isinf): Fix typo in comment.
56580
de0ff7bc
UD
565812010-11-01 Ulrich Drepper <drepper@gmail.com>
56582
56583 * po/da.po: Update from translation team.
56584
fa41c84d
UD
565852010-10-26 Ulrich Drepper <drepper@gmail.com>
56586
56587 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56588 is added to the list.
56589
f0967738
AK
565902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56591 Ulrich Drepper <drepper@gmail.com>
56592
56593 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56594 the global list here. Move code to...
56595 (_dl_add_to_namespace_list): ...here. New function.
56596 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56597 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56598 * elf/dl-load.c (lose): Don't remove the element from the list.
56599 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56600 (_dl_map_object): Likewise.
56601
566022010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56603
56604 [BZ #12159]
56605 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56606 into all bytes of SSE register.
56607 Patch by Richard Li <richardpku@gmail.com>.
56608
f0967738 566092010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56610
56611 [BZ #12140]
56612 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56613 perturbing.
56614
d0b9e94f
MB
566152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56616
56617 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56618 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56619 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56620 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56622 submachine.
56623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56624
8e9f92e9
AS
566252010-10-22 Andreas Schwab <schwab@redhat.com>
56626
56627 * include/dlfcn.h (__RTLD_SECURE): Define.
56628 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56629 mode & __RTLD_SECURE instead.
56630 (open_path): Rename preloaded parameter to secure.
56631 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56632 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56633 * elf/dl-deps.c (openaux): Likewise.
56634 * elf/rtld.c (struct map_args): Remove is_preloaded.
56635 (map_doit): Don't use it.
56636 (dl_main): Likewise.
56637 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56638 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56639
bc96fbda
AS
566402010-09-09 Andreas Schwab <schwab@redhat.com>
56641
56642 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56643 (sysd-rules-targets): Remove duplicates.
56644 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56645 rtld-%.$o dependency.
56646
22cd1c9b
AS
566472010-10-18 Andreas Schwab <schwab@redhat.com>
56648
56649 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56650 _dl_map_object do it.
56651
18edac48
UD
566522010-10-19 Ulrich Drepper <drepper@gmail.com>
56653
56654 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56655 fast fma builtins, define the macros in the C99 standard.
56656 (FP_FAST_FMAF): Likewise.
56657 (FP_FAST_FMAL): Likewise.
56658 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56659
56660 * bits/mathdef.h: Update copyright year.
56661 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56662
d2050124
MM
566632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56664
56665 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56666 builtins, define the macros in the C99 standard.
56667 (FP_FAST_FMAF): Likewise.
56668 (FP_FAST_FMAL): Likewise.
56669 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56670 multiply/add.
56671 (FP_FAST_FMAF): Likewise.
56672
475facd1
JJ
566732010-10-15 Jakub Jelinek <jakub@redhat.com>
56674
56675 [BZ #3268]
56676 * math/libm-test.inc (fma_test): Some new testcases.
56677 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56678 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56679 y and infinite z. Do multiplication by C already in long double.
56680 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56682 y and infinite z. Do bitwise or of inexact bit into u.d.
56683 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56684 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56685 * sysdeps/i386/fpu/s_fma.S: Removed.
56686 * sysdeps/i386/fpu/s_fmal.S: Removed.
56687
7c08a05c
JJ
566882010-10-16 Jakub Jelinek <jakub@redhat.com>
56689
56690 [BZ #3268]
56691 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56693 computation is not scheduled after fetestexcept. Fix value
56694 of minimum denormal long double.
56695
f3f7372d
JJ
566962010-10-14 Jakub Jelinek <jakub@redhat.com>
56697
56698 [BZ #3268]
56699 * math/libm-test.inc (fma_test): Add some more tests.
56700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56701 correctly.
56702
14d43591
AS
567032010-10-15 Andreas Schwab <schwab@redhat.com>
56704
56705 * scripts/data/localplt-s390-linux-gnu.data: New file.
56706 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56707
5e908464
JJ
567082010-10-13 Jakub Jelinek <jakub@redhat.com>
56709
56710 [BZ #3268]
56711 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56712 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56713 instead of dbl-64.
56714 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56715 inlines.
56716 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56718 if one of x and y is very large and the other is subnormal.
56719 * sysdeps/s390/fpu/s_fmaf.c: New file.
56720 * sysdeps/s390/fpu/s_fma.c: New file.
56721 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56722 * sysdeps/powerpc/fpu/s_fma.S: New file.
56723 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56724 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56725 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56726
567272010-10-12 Jakub Jelinek <jakub@redhat.com>
56728
56729 [BZ #3268]
56730 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56731 fma tests.
56732 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56733 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56734 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56735 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56736 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56737 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56738 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56739
b833d51f
UD
567402010-10-12 Ulrich Drepper <drepper@redhat.com>
56741
56742 [BZ #12078]
56743 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56744 * posix/bug-regex31.input: Add test case.
56745
1751705d
UD
567462010-10-11 Ulrich Drepper <drepper@gmail.com>
56747
e9b9cbf5
UD
56748 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56749 * posix/bug-regex31.input: New file.
56750
56751 [BZ #12078]
56752 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56753 (parse_sub_exp): Fix last change, use postorder.
56754
ef06edbe
UD
56755 * posix/bug-regex31.c: New file.
56756 * posix/Makefile: Add rules to build and run bug-regex31.
56757
a129c80d
UD
56758 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56759
56760 [BZ #12078]
56761 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56762
b76b818e
UD
56763 [BZ #12108]
56764 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56765 to have entries in sys_siglist.
56766
1751705d
UD
56767 [BZ #12093]
56768 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56769 be NULL.
56770
9ff8d36f
JJ
567712010-10-07 Jakub Jelinek <jakub@redhat.com>
56772
56773 [BZ #3268]
56774 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56775 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56776 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56777 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56778 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56779 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56780 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56781 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56782 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56783 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56784 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56785 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56786 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56787 * math/ftestexcept.c (fetestexcept): Likewise.
56788 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56789 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56790 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56791 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56792 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56793 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56794 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56795
af325969
UD
567962010-10-11 Ulrich Drepper <drepper@gmail.com>
56797
c579b202 56798 [BZ #12107]
af325969
UD
56799 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56800 newline.
56801
67a67b95
UD
568022010-10-06 Ulrich Drepper <drepper@gmail.com>
56803
56804 * string/bug-strstr1.c: New file.
56805 * string/Makefile: Add rules to build and run bug-strstr1.
56806
5fb308bc
EB
568072010-10-05 Eric Blake <eblake@redhat.com>
56808
56809 [BZ #12092]
56810 * string/str-two-way.h (two_way_long_needle): Always clear memory
56811 when skipping input due to the shift table.
56812
45db99c7
UD
568132010-10-03 Ulrich Drepper <drepper@gmail.com>
56814
3b111893
UD
56815 [BZ #12005]
56816 * malloc/mcheck.c: Handle large requests.
56817
45db99c7
UD
56818 [BZ #12077]
56819 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56820 for strncmp and strncasecmp.
56821 * string/stratcliff.c: Add tests for strcmp and strncmp.
56822 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56823
cf7a1eb8
NI
568242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56825
56826 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56827 __set_fpscr.
56828
6484ba5e
AJ
568292010-09-30 Andreas Jaeger <aj@suse.de>
56830
56831 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56832 (CGROUP_SUPER_MAGIC): Define.
56833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56834 Handle btrfs and cgroup file systems.
56835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56836 Likewise.
56837
91c42559
LM
568382010-09-27 Luis Machado <luisgpm@br.ibm.com>
56839
56840 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56841 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56842
87a97932
AK
568432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56844
56845 [BZ #12067]
56846 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56847 trying to locate the ELF header.
56848
c21cc9bc
AS
568492010-09-27 Andreas Schwab <schwab@redhat.com>
56850
56851 [BZ #11611]
56852 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56853 Mask out sign-bit copies when constructing f_fsid.
56854
315970f6
PB
568552010-09-24 Petr Baudis <pasky@suse.cz>
56856
56857 * debug/stack_chk_fail_local.c: Add missing licence exception.
56858 * debug/warning-nop.c: Likewise.
56859
1ac7a2c7
JM
568602010-09-15 Joseph Myers <joseph@codesourcery.com>
56861
56862 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56863 implementing getdents64 using getdents syscall, set d_type if
56864 __ASSUME_GETDENTS32_D_TYPE.
56865
56801c50
AS
568662010-09-16 Andreas Schwab <schwab@redhat.com>
56867
56868 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56869 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56870
dda51327
UD
568712010-09-21 Ulrich Drepper <drepper@redhat.com>
56872
56873 [BZ #12037]
56874 * posix/unistd.h: Undo change of feature selection for ftruncate from
56875 2010-01-11.
56876
8ffcee4a
UD
568772010-09-20 Ulrich Drepper <drepper@redhat.com>
56878
a545ecd9 56879 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56880 detection.
56881
e24f0a8b
AS
568822010-09-20 Andreas Schwab <schwab@redhat.com>
56883
56884 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56885 fanotify_mark.
56886 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56887
7291c56f
AS
568882010-09-14 Andreas Schwab <schwab@redhat.com>
56889
56890 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56891 variables after CHECK_SP call.
56892 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56893
bc5fb037
AS
568942010-09-13 Andreas Schwab <schwab@redhat.com>
56895 Ulrich Drepper <drepper@redhat.com>
56896
56897 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56898 re-relocationg ld.so.
56899 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56900 _dl_init_paths call.
56901 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56902 here anymore.
56903
e66e7419
UD
569042010-09-14 Ulrich Drepper <drepper@redhat.com>
56905
56906 * resolv/res_init.c (__res_vinit): Count the default server we added.
56907
c044aa75
CLT
569082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56909 Ulrich Drepper <drepper@redhat.com>
56910
56911 [BZ #11968]
56912 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56913 (____longjmp_chk): Use %ebx for saving value across system call.
56914 Add unwind info.
56915
32cf4069
AS
569162010-09-06 Andreas Schwab <schwab@redhat.com>
56917
56918 * manual/Makefile: Don't mix pattern rules with normal rules.
56919
817328ee
AS
569202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56921
56922 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56923 operation.
56924 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56925 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56926 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56927 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56928 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56929 Likewise.
56930
29fddf61
UD
569312010-09-04 Ulrich Drepper <drepper@redhat.com>
56932
56933 [BZ #11979]
56934 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56935 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56936
0959ffc9
UD
569372010-09-02 Ulrich Drepper <drepper@redhat.com>
56938
56939 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56940 * sysdeps/x86_64/addmul_1.S: Likewise.
56941 * sysdeps/x86_64/lshift.S: Likewise.
56942 * sysdeps/x86_64/mul_1.S: Likewise.
56943 * sysdeps/x86_64/rshift.S: Likewise.
56944 * sysdeps/x86_64/sub_n.S: Likewise.
56945 * sysdeps/x86_64/submul_1.S: Likewise.
56946
ece29840
ST
569472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56948
0959ffc9
UD
56949 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56950 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56951 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56952 * bits/sched.h [__need_schedparam]
ece29840 56953 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56954 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56955 (__defined_schedparam): Define to 1.
ece29840
ST
56956 (__sched_param): New structure, identical to sched_param.
56957 (__need_schedparam): Undefine.
56958
e53a31fe
MF
569592010-08-31 Mike Frysinger <vapier@gentoo.org>
56960
fdc0c10d
MF
56961 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56962 (epoll_create1): Declare.
56963
e53a31fe
MF
56964 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56965
a726d796
AS
569662010-08-31 Andreas Schwab <schwab@redhat.com>
56967
56968 [BZ #7066]
56969 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56970 shifting retval into place.
56971
2f3e3dc7
UD
569722010-09-01 Ulrich Drepper <drepper@redhat.com>
56973
f2933da9
UD
56974 * nis/rpcsvc/nis.h: Update copyright notice.
56975 * nis/rpcsvc/nis.x: Likewise.
56976 * nis/rpcsvc/nis_callback.h: Likewise.
56977 * nis/rpcsvc/nis_callback.x: Likewise.
56978 * nis/rpcsvc/nis_object.x: Likewise.
56979 * nis/rpcsvc/nis_tags.h: Likewise.
56980 * nis/rpcsvc/yp.h: Likewise.
56981 * nis/rpcsvc/yp.x: Likewise.
56982 * nis/rpcsvc/ypupd.h: Likewise.
56983 * nis/yp_xdr.c: Likewise.
56984 * nis/ypupdate_xdr.c: Likewise.
56985
2f3e3dc7
UD
56986 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56987 mainly the body of pmap_getport. Add parameters to specify timeouts.
56988 (pmap_getport): Use __libc_rpc_getport.
56989 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56990 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56991 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56992
f3dcc2f9
AS
569932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56994
56995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56996 fanotify_mark.
56997
6d34eb5b
RM
569982010-08-27 Roland McGrath <roland@redhat.com>
56999
57000 * sysdeps/i386/i686/multiarch/Makefile
57001 (CFLAGS-varshift.c): New variable.
57002
9ea3de11
UD
570032010-08-27 Ulrich Drepper <drepper@redhat.com>
57004
c96d23fc
UD
57005 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57006 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57007
9ea3de11
UD
57008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57009
57010 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57011
623aac7f
L
570122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57013
57014 * sysdeps/x86_64/strlen.S: Unroll the loop.
57015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57016 strlen-sse2 strlen-sse2-bsf.
57017 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57018 __strlen_no_bsf if bit_Slow_BSF is set.
57019 (__strlen_sse42): Removed.
57020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57021 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57022
8b2b7715
RM
570232010-08-25 Roland McGrath <roland@redhat.com>
57024
57025 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57026 * sysdeps/x86_64/multiarch/varshift.c: New file.
57027 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57028 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57029 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57030 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57031
e73015f2
L
570322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57033
57034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57035 strlen-sse2 strlen-sse2-bsf.
57036 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57037 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57038 (__strlen_sse2): Removed.
57039 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57040 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57042 bit_Slow_BSF for Atom.
57043 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57044 (index_Slow_BSF): Define.
57045 (HAS_SLOW_BSF): Define.
57046
df24a73e
UD
570472010-08-25 Ulrich Drepper <drepper@redhat.com>
57048
57049 [BZ #10851]
57050 * resolv/res_init.c (__res_vinit): When no server address at all
57051 is given default to loopback.
57052
f2ac4868
RM
570532010-08-24 Roland McGrath <roland@redhat.com>
57054
09055553
RM
57055 * configure.in: Remove config-name.h generation.
57056 * configure: Regenerated.
57057 * config-name.in: File removed.
57058 * scripts/config-uname.sh: New file.
57059 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57060 ($(objdir)config-name.h): New target.
57061
f2ac4868
RM
57062 * sunrpc/rpc_parse.h: Avoid nested comment.
57063
73f27d5e
RH
570642010-08-24 Richard Henderson <rth@redhat.com>
57065 Ulrich Drepper <drepper@redhat.com>
57066 H.J. Lu <hongjiu.lu@intel.com>
57067
57068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57070 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57071 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57072 _mm_alignr_epi8 with _mm_loadu_si128.
57073 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57074 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57075 (__m128i_shift_right): Removed.
57076 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57077 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57078 * sysdeps/x86_64/multiarch/varshift.h: New file.
57079 * sysdeps/x86_64/multiarch/varshift.S: New file.
57080
84b9230c
MF
570812010-08-21 Mike Frysinger <vapier@gentoo.org>
57082
57083 * configure.in: Move assembler checks to before sysdep dir checking.
57084
9bbd0ddc
PB
570852010-08-20 Petr Baudis <pasky@suse.cz>
57086
57087 * LICENSES: Sync the sunrpc license.
57088
9da4bb31
UD
570892010-08-19 Ulrich Drepper <drepper@redhat.com>
57090
a7ab6ec8
UD
57091 * sunrpc/auth_des.c: Update copyright notice once again.
57092 * sunrpc/auth_none.c: Likewise.
57093 * sunrpc/auth_unix.c: Likewise.
57094 * sunrpc/authdes_prot.c: Likewise.
57095 * sunrpc/authuxprot.c: Likewise.
57096 * sunrpc/bindrsvprt.c: Likewise.
57097 * sunrpc/clnt_gen.c: Likewise.
57098 * sunrpc/clnt_perr.c: Likewise.
57099 * sunrpc/clnt_raw.c: Likewise.
57100 * sunrpc/clnt_simp.c: Likewise.
57101 * sunrpc/clnt_tcp.c: Likewise.
57102 * sunrpc/clnt_udp.c: Likewise.
57103 * sunrpc/clnt_unix.c: Likewise.
57104 * sunrpc/des_crypt.c: Likewise.
57105 * sunrpc/des_soft.c: Likewise.
57106 * sunrpc/get_myaddr.c: Likewise.
57107 * sunrpc/getrpcport.c: Likewise.
57108 * sunrpc/key_call.c: Likewise.
57109 * sunrpc/key_prot.c: Likewise.
57110 * sunrpc/openchild.c: Likewise.
57111 * sunrpc/pm_getmaps.c: Likewise.
57112 * sunrpc/pm_getport.c: Likewise.
57113 * sunrpc/pmap_clnt.c: Likewise.
57114 * sunrpc/pmap_prot.c: Likewise.
57115 * sunrpc/pmap_prot2.c: Likewise.
57116 * sunrpc/pmap_rmt.c: Likewise.
57117 * sunrpc/rpc/auth.h: Likewise.
57118 * sunrpc/rpc/auth_unix.h: Likewise.
57119 * sunrpc/rpc/clnt.h: Likewise.
57120 * sunrpc/rpc/des_crypt.h: Likewise.
57121 * sunrpc/rpc/key_prot.h: Likewise.
57122 * sunrpc/rpc/netdb.h: Likewise.
57123 * sunrpc/rpc/pmap_clnt.h: Likewise.
57124 * sunrpc/rpc/pmap_prot.h: Likewise.
57125 * sunrpc/rpc/pmap_rmt.h: Likewise.
57126 * sunrpc/rpc/rpc.h: Likewise.
57127 * sunrpc/rpc/rpc_des.h: Likewise.
57128 * sunrpc/rpc/rpc_msg.h: Likewise.
57129 * sunrpc/rpc/svc.h: Likewise.
57130 * sunrpc/rpc/svc_auth.h: Likewise.
57131 * sunrpc/rpc/types.h: Likewise.
57132 * sunrpc/rpc/xdr.h: Likewise.
57133 * sunrpc/rpc_clntout.c: Likewise.
57134 * sunrpc/rpc_cmsg.c: Likewise.
57135 * sunrpc/rpc_common.c: Likewise.
57136 * sunrpc/rpc_cout.c: Likewise.
57137 * sunrpc/rpc_dtable.c: Likewise.
57138 * sunrpc/rpc_hout.c: Likewise.
57139 * sunrpc/rpc_main.c: Likewise.
57140 * sunrpc/rpc_parse.c: Likewise.
57141 * sunrpc/rpc_parse.h: Likewise.
57142 * sunrpc/rpc_prot.c: Likewise.
57143 * sunrpc/rpc_sample.c: Likewise.
57144 * sunrpc/rpc_scan.c: Likewise.
57145 * sunrpc/rpc_scan.h: Likewise.
57146 * sunrpc/rpc_svcout.c: Likewise.
57147 * sunrpc/rpc_tblout.c: Likewise.
57148 * sunrpc/rpc_util.c: Likewise.
57149 * sunrpc/rpc_util.h: Likewise.
57150 * sunrpc/rpcinfo.c: Likewise.
57151 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57152 * sunrpc/rpcsvc/key_prot.x: Likewise.
57153 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57154 * sunrpc/rpcsvc/mount.x: Likewise.
57155 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57156 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57157 * sunrpc/rpcsvc/rex.x: Likewise.
57158 * sunrpc/rpcsvc/rstat.x: Likewise.
57159 * sunrpc/rpcsvc/rusers.x: Likewise.
57160 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57161 * sunrpc/rpcsvc/spray.x: Likewise.
57162 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57163 * sunrpc/rtime.c: Likewise.
57164 * sunrpc/svc.c: Likewise.
57165 * sunrpc/svc_auth.c: Likewise.
57166 * sunrpc/svc_authux.c: Likewise.
57167 * sunrpc/svc_raw.c: Likewise.
57168 * sunrpc/svc_run.c: Likewise.
57169 * sunrpc/svc_simple.c: Likewise.
57170 * sunrpc/svc_tcp.c: Likewise.
57171 * sunrpc/svc_udp.c: Likewise.
57172 * sunrpc/svc_unix.c: Likewise.
57173 * sunrpc/svcauth_des.c: Likewise.
57174 * sunrpc/xcrypt.c: Likewise.
57175 * sunrpc/xdr.c: Likewise.
57176 * sunrpc/xdr_array.c: Likewise.
57177 * sunrpc/xdr_float.c: Likewise.
57178 * sunrpc/xdr_mem.c: Likewise.
57179 * sunrpc/xdr_rec.c: Likewise.
57180 * sunrpc/xdr_ref.c: Likewise.
57181 * sunrpc/xdr_sizeof.c: Likewise.
57182 * sunrpc/xdr_stdio.c: Likewise.
57183
9da4bb31
UD
57184 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57185 handling.
57186
bdaa77bc
AS
571872010-08-19 Andreas Schwab <schwab@redhat.com>
57188
57189 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57190
fe2f79db
LM
571912010-08-19 Luis Machado <luisgpm@br.ibm.com>
57192
57193 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57194 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57195 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57196 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57197 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57198 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57199 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57200 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57201 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57202 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57203 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57204 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57205 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57206 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57207
b9b42ee0
AB
572082010-07-26 Anton Blanchard <anton@samba.org>
57209
57210 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57211 * malloc/arena.c (heap_trim): Likewise.
57212
1c06ba31
UD
572132010-08-16 Ulrich Drepper <drepper@redhat.com>
57214
57215 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57216 here. Not...
57217 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57218 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57219
f8392f40
L
572202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57221
57222 * sysdeps/i386/elf/Makefile: New file.
57223
3162f12e
AS
572242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57225
57226 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57227 from fanotify_init.
57228 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57229 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57230
28c90b2c
UD
572312010-08-15 Ulrich Drepper <drepper@redhat.com>
57232
57233 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57234 of strncasecmp_l.
1feccb6c 57235 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57236
ca6bb004
UD
572372010-08-14 Ulrich Drepper <drepper@redhat.com>
57238
e9f82e0d
UD
57239 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57240 strncase_l-nonascii.
57241 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57242 Add strncase_l-ssse3.
57243 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57244 * sysdeps/x86_64/strcmp.S: Likewise.
57245 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57246 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57247 * sysdeps/x86_64/strncase.S: New file.
57248 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57249 * sysdeps/x86_64/strncase_l.S: New file.
57250 * string/Makefile (strop-tests): Add strncasecmp.
57251 * string/test-strncasecmp.c: New file.
57252
57253 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57254 warning.
57255
ca6bb004
UD
57256 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57257 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57258
052fa7b3
AS
572592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57260
57261 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57262
962dba78
UD
572632010-08-12 Ulrich Drepper <drepper@redhat.com>
57264
57265 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57266 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57267 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57268
bebff237
AM
572692010-05-01 Alan Modra <amodra@gmail.com>
57270
57271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57272 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57273 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57274 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57275 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57276 tidying. Don't tail-call __sigjmp_save for static lib.
57277 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57278 save location.
57279 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57280 (CALL_MCOUNT): Add eh info, and nop after bl.
57281 (TAIL_CALL_SYSCALL_ERROR): New macro.
57282 (PSEUDO_RET): Use it.
57283 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57284 Correct save location of integer regs and cr.
57285 (_dl_profile_resolve): Correct cr save location. Delete nops
57286 after bl when SHARED. Reduce cfi size a little by better
57287 placement of cfi directives.
57288 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57289 make a stack frame. Instead use parm save area as a temp.
57290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57291 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57293 Don't make a stack frame for parent, use parm save area.
57294 Increase child stack frame to 112 bytes. Don't save unused reg,
57295 and adjust reg usage. Set up cfi on error recovery and
57296 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57298 (__makecontext): Add dummy nop after jump to exit.
57299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57300 Use correct parm save area and cr save, reduce stack frame.
57301 Correct cfi for possible PSEUDO_RET frame setup.
57302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57303 Branch to local label emitted by PSEUDO_RET rather than
57304 __syscall_error.
57305
02637374
AS
573062010-08-12 Andreas Schwab <schwab@redhat.com>
57307
57308 [BZ #11904]
57309 * locale/programs/locale.c (print_assignment): New function.
57310 (show_locale_vars): Use it.
57311
c3e2f19b
UD
573122010-08-11 Ulrich Drepper <drepper@redhat.com>
57313
3cdaa6ad
UD
57314 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57315 field.
57316 (struct statfs64): Likewise.
57317 (_STATFS_F_FLAGS): Define.
57318 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57319 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57320 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57321 (ST_VALID): Define locally.
57322 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57323 __statvfs_getflags, use the provided value.
57324 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57325 __ASSUME_STATFS_F_FLAGS.
57326
754f7da3
UD
57327 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57328
10b3bedc
UD
57329 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57330 Add sys/fanotify.h.
57331 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57332 fanotify_mask for GLIBC_2.13.
57333 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57334 fanotify_init and fanotify_mark.
57335 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57336 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57337
c08fb0d7
UD
57338 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57339 Add prlimit.
57340 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57341 prlimit64 for GLIBC_2.13.
57342 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57343 prlimit64.
57344 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57345 syscall.
57346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57347 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57348 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57349 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57350 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57351 add prlimit alias.
57352 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57353
15bac72b
UD
57354 [BZ #11903]
57355 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57356 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57357
c3e2f19b
UD
57358 * nss/Makefile: Add rules to build and run tst-nss-test1.
57359 * shlib-versions: Add entry for libnss_test1.
57360 * nss/nss_test1.c: New file.
57361 * nss/tst-nss-test1.c: New file.
57362
57363 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57364 (__nss_configure_lookup): Set appropriate entry in
57365 __nss_configure_lookup to true.
57366 * nss/nsswitch.h: Define enum with indeces of databases in
57367 databases and __nss_database_custom arrays. Declare
57368 __nss_database_custom.
57369 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57370 to avoid using nscd when custom rules are installed.
57371 * nss/getXXbyYY_r.c: Likewise.
57372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57373
57374 * nss/nss_files/files-parse.c: Whitespace fixes.
57375
f15ce4d8
UD
573762010-08-09 Ulrich Drepper <drepper@redhat.com>
57377
57378 [BZ #11883]
57379 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57380 * posix/fnmatch_loop.c: Likewise.
57381
d22e4cc9
AK
573822010-07-17 Andi Kleen <ak@linux.intel.com>
57383
57384 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57385 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57386 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57387 * Versions.def [GLIBC_2.13]: Add.
57388
805bc17d
UD
573892010-08-06 Ulrich Drepper <drepper@redhat.com>
57390
57391 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57392 Also fail if tpwd after pwuid call is NULL.
57393
5a42321d
ST
573942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57395
57396 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57397 when converting to ms.
57398
fd3ebeda
ST
573992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57400
57401 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57402 EOPNOTSUPP errors with ENOTTY.
57403 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57404 EOPNOTSUPP errors with ENOTTY.
57405
73507d3a
UD
574062010-07-31 Ulrich Drepper <drepper@redhat.com>
57407
57408 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57409 Add strcasecmp_l-ssse3.
57410 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57411 strcasecmp.
57412 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57413 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57414 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57415
fe36dd02
UD
574162010-07-30 Ulrich Drepper <drepper@redhat.com>
57417
66f6765a
UD
57418 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57419
42e08a54
UD
57420 * string/Makefile (strop-tests): Add strcasecmp.
57421 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57422 strcasecmp_l-nonascii.
57423 (gen-as-const-headers): Add locale-defines.sym.
57424 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57425 * sysdeps/x86_64/strcasecmp.S: New file.
57426 * sysdeps/x86_64/strcasecmp_l.S: New file.
57427 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57428 * sysdeps/x86_64/locale-defines.sym: New file.
57429 * string/test-strcasecmp.c: New file.
57430
fe36dd02
UD
57431 * string/test-strcasestr.c: Test both ends of the range of characters.
57432 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57433
48cbc0d6
RM
574342010-07-29 Roland McGrath <roland@redhat.com>
57435
76e6d6bc 57436 [BZ #11856]
48cbc0d6
RM
57437 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57438
880113d9
UD
574392010-07-27 Ulrich Drepper <drepper@redhat.com>
57440
57441 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57442 for ld.so.
57443
deb9cabb
AS
574442010-07-27 Andreas Schwab <schwab@redhat.com>
57445
57446 * manual/memory.texi (Malloc Tunable Parameters): Document
57447 M_PERTURB.
57448
1c7570ff
RM
574492010-07-26 Roland McGrath <roland@redhat.com>
57450
57451 [BZ #11840]
57452 * configure.in (-fgnu89-inline check): Set and substitute
57453 gnu89_inline, not libc_cv_gnu89_inline.
57454 * configure: Regenerated.
57455 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57456
24fb0f88
UD
574572010-07-26 Ulrich Drepper <drepper@redhat.com>
57458
57459 * string/test-strnlen.c: New file.
57460 * string/Makefile (strop-tests): Add strnlen.
57461 * string/tester.c (test_strnlen): Add a few more test cases.
57462 * string/tst-strlen.c: Better error reporting.
57463
57464 * sysdeps/x86_64/strnlen.S: New file.
57465
8e96b93a
UD
574662010-07-24 Ulrich Drepper <drepper@redhat.com>
57467
57468 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57469 lower-latency instructions.
57470
dbc676d4
UD
574712010-07-23 Ulrich Drepper <drepper@redhat.com>
57472
57473 * string/test-strcasestr.c: New file.
57474 * string/test-strstr.c: New file.
57475 * string/Makefile (strop-tests): Add strstr and strcasestr.
57476 * string/str-two-way.h: Don't undefine MAX.
57477 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57478
f6a31e0e
AS
574792010-07-21 Andreas Schwab <schwab@redhat.com>
57480
57481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57482 strcasestr-nonascii.
57483 (CFLAGS-strcasestr-nonascii.c): Define.
57484 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57485 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57486 Remove unused attribute.
57487
5dbc3b6c
RM
574882010-07-20 Roland McGrath <roland@redhat.com>
57489
57490 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57491 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57492 ld.so.cache was broken. With it, there is no way to disable dsocaps
57493 like LD_HWCAP_MASK can disable hwcaps.
57494
23d101d8
EPM
574952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57496
57497 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57498
cc9f2e47
UD
574992010-07-16 Ulrich Drepper <drepper@redhat.com>
57500
57501 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57502 call in strcasestr.
57503 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57504 __strcasestr_sse42_nonascii.
57505 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57506 strcasestr-nonascii.c.
57507 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57508
77c1b069
LM
575092010-06-15 Luis Machado <luisgpm@br.ibm.com>
57510
57511 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57512 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57513 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57514 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57515
440566c3
UD
575162010-07-09 Ulrich Drepper <drepper@redhat.com>
57517
57518 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57519 fcntl.
57520
5be9d05d
AS
575212010-07-06 Andreas Schwab <schwab@redhat.com>
57522
c30b7ee2 57523 [BZ #11577]
5be9d05d
AS
57524 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57525 dl_signal_cerror.
57526
8a492a67
UD
575272010-07-06 Ulrich Drepper <drepper@redhat.com>
57528
57529 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57530 _PC_PIPE_BUF using F_GETPIPE_SZ.
57531
713df3d5
RM
575322010-07-05 Roland McGrath <roland@redhat.com>
57533
57534 * manual/arith.texi (Rounding Functions): Fix rint description
57535 implicit in round description.
57536
702e8f14
UD
575372010-07-02 Ulrich Drepper <drepper@redhat.com>
57538
57539 * elf/Makefile: Fix linking for a few tests to make recent linker
57540 happy.
57541
52ed8be9
AS
575422010-06-30 Andreas Schwab <schwab@redhat.com>
57543
57544 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57545 $(common-objpfx)libc_nonshared.a.
57546
f47c9a11
LM
575472010-06-21 Luis Machado <luisgpm@br.ibm.com>
57548
57549 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57550 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57551 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57552 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57553 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57554 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57555 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57556 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57571 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57572 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57573 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57574 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57575 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57576 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57577 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57578 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57579 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57580 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57581 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57582 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57597
6fb8cbcb
L
575982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57599
57600 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57601 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57602 * string/memmove.c (memmove): Renamed to ...
57603 (MEMMOVE): ...this. Default to memmove.
57604 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57605 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57606 (END_CHK): Define.
57607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57608 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57609 mempcpy-ssse3-back memmove-ssse3-back.
57610 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57611 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57612 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57613 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57614 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57615 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57616 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57617 * sysdeps/x86_64/multiarch/memmove.c: New file.
57618 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57619 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57620 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57621 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57622 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57623 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57624 Define.
57625 (index_Fast_Copy_Backward): Define.
57626 (HAS_ARCH_FEATURE): Define.
57627 (HAS_FAST_REP_STRING): Define.
57628 (HAS_FAST_COPY_BACKWARD): Define.
57629
4e733bac 576302010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57631
57632 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57633 Restore proper fallback handling.
57634
63c4ed22
UD
576352010-06-19 Ulrich Drepper <drepper@redhat.com>
57636
ac2b484c
UD
57637 [BZ #11701]
57638 * posix/group_member.c (__group_member): Correct checking loop.
57639
63c4ed22
UD
57640 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57641 OOM in getpwuid_r correctly. Return error number when the caller
57642 should return, otherwise -1.
57643 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57644 call returning > 0 value.
57645 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57646
765ade4b
AS
576472010-06-07 Andreas Schwab <schwab@redhat.com>
57648
57649 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57650 libc_nonshared.a from targets in modules-names.
57651
80da2e09
KS
576522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57653
57654 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57655 requires it.
57656
158db122
LM
576572010-06-10 Luis Machado <luisgpm@br.ibm.com>
57658
57659 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57660 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57661 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57662 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57663
caa78cf8
AS
576642010-06-02 Andreas Schwab <schwab@redhat.com>
57665
57666 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57667
b2ef2c01
UD
576682010-06-14 Ulrich Drepper <drepper@redhat.com>
57669
57670 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57671 and F_GETPIPE_SZ.
57672 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57673 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57674 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57676 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57677 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57678
fbd643b6
RM
576792010-06-14 Roland McGrath <roland@redhat.com>
57680
57681 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57682
f32f2869
JJ
576832010-06-07 Jakub Jelinek <jakub@redhat.com>
57684
57685 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57686 __REDIRECT followed by __THROW.
57687 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57688 * posix/getopt.h (getopt): Likewise.
57689
2a50c078
EPM
576902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57691
57692 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57693 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57694 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57695 in AT_FLAGS.
57696 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57697 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57698
eb5ad2eb
LM
576992010-05-28 Luis Machado <luisgpm@br.ibm.com>
57700
57701 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57702
3c88fe1e
L
577032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57704
57705 [BZ #11640]
57706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57707 Properly check family and model.
57708
d2f73151
TY
577092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57710
57711 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57712
ebd2e13d
LM
577132010-05-24 Luis Machado <luisgpm@br.ibm.com>
57714
57715 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57716
b32b8b45
UD
577172010-05-21 Ulrich Drepper <drepper@redhat.com>
57718
57719 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57720 symbol reference.
57721
9acbe24d
AS
577222010-05-19 Andreas Schwab <schwab@redhat.com>
57723
57724 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57725 symbol reference.
57726
f0ccf6ea
AS
577272010-05-21 Andreas Schwab <schwab@redhat.com>
57728
3d04ff3a
AS
57729 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57730 and internal_recvmmsg.
57731 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57732 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57733 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57734 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57735
f0ccf6ea
AS
57736 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57737 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57738 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57739
5b08ac57
AS
577402010-05-20 Andreas Schwab <schwab@redhat.com>
57741
57742 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57743
4828935d
LM
577442010-05-17 Luis Machado <luisgpm@br.ibm.com>
57745
57746 POWER7 optimizations.
57747 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57748 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57749
373d545e
UD
577502010-05-19 Ulrich Drepper <drepper@redhat.com>
57751
57752 * version.h: Update for 2.13 development version.
57753
21a2b1ae
AS
577542010-05-12 Andrew Stubbs <ams@codesourcery.com>
57755
57756 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57757 exceptions. Return 0.
57758
3f7dcb2b
RM
577592010-05-07 Roland McGrath <roland@redhat.com>
57760
57761 * elf/ldconfig.c (main): Add a const.
57762
5f24d53a 577632010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57764
a160f8d8
UD
57765 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57766 (args_options): Add no-idn option.
57767 (ahosts_keys_int): Add idn_flags to ai_flags.
57768 (parse_option): Handle 'i' option to clear idn_flags.
57769
5f24d53a
UD
57770 * malloc/malloc.c (_int_free): Possible race in the most recently
57771 added check. Only act on the data if no current modification
57772 happened.
265bb1ce
UD
57773
57774See ChangeLog.17 for earlier changes.
This page took 8.668134 seconds and 5 git commands to generate.